EJB Or Spring To Separate Web Tier And Business Tier
posted 6 years ago
I am working on enterprise application that is build using GWT, Struts 2 and Hibernate 3. I am following complete MVC architecture in which I have presentation in GWT, Action layer in Struts 2 used by client, BL as Facade layer used by Action layer and persistence layer used by facade layer. Now I want to migrate my Facade layer to separate Business Tier server. I am planning to do it by using session beans of EJB. My target is just separation of web and business layers to different servers. Which can reside on remote locations over internet.
I want to know that which technology would better suit for this purpose? I have heard that Spring can resolve this issue very easily as well. I am new to both the technologies EJB & Spring. It would be great if I can get on which way to go and which solution will be more maintainable, scalable and less time consuming. Specially when my half of the application is already developed.