Click here to Skip to main content
15,918,268 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
any one can suggest me.

I have modules like HR,Accounts, Audits and Xyz..

present we are done with Accounts and another module Operation these are fuly dependent .
Ok , but now we want to develope HR Complete module with all futures , i where suggested to make different application with different database because HR Module should be like Serveice plug-in if any customer wants we have to give permisisions for HR if not dis service HR module .

If we take different data base and application how can we provide interface between two projects base on serveice required not required.


Thanks
karthik
Posted
Comments
Mehul M Thakkar 20-Aug-11 6:47am    
Before posting question please make sure you have checked spelling & grammar.

1 solution

I see no justification for different projects at all. You can and usually should have different threads, different assemblies and make some assemblies as plug-ins loading them during run time, depending on configuration.

Splitting the solution into different processes adds good amount of hassles, but what would be the benefits? You would have some benefits if you need a potential for making the application distributed, scalable — adding more client and/or server computer, especially if you need to do this during run time, without stopping of your production. In other cases it would not make any sense. Here is one simple criteria: if you plan to use the whole application on one single computer (I do not count database servers here), there is no sense to make it multi-process. This is one more case when you need more than one process: for interoperability between 32-bit and 64-bit code — they cannot leave on a single process.

So, if you really need to make an application composed from different processes, you need to use, not surprisingly… IPC (Inter-Process Communication), see http://en.wikipedia.org/wiki/Inter-process_communication[^].

In .NET it can be classical remoting or WCF. Learn about it.

—SA
 
Share this answer
 
Comments
karthikkushala 21-Aug-11 3:52am    
yes i agree with you , my intention is not to split application but for HR module i want to use my SQL instead of SQLserver because it is open source any one can easily afford and how can i use single application with different DB

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900