To reorganize code, what to choose between library and service?
        Posted  
        
            by 
                essbeev
            
        on Programmers
        
        See other posts from Programmers
        
            or by essbeev
        
        
        
        Published on 2012-03-31T11:31:55Z
        Indexed on 
            2012/03/31
            11:40 UTC
        
        
        Read the original article
        Hit count: 284
        
I want to reorganize a large application with lot of code duplication into multiple components. Plus, some code is also duplicated over other applications.
The common set of functionality that can be taken out of main application is clearly defined.
Now, do I write a library or do I write a service for this functionality; so that all such applications continue to work and there is only one code-base (of common functionality) to maintain ?
© Programmers or respective owner