I have a web application running in tomcat. The application is using postgresql, hibernate, spring webflow.
Now I have to divide the application into two(or more) parts. These two parts will use the same database. I want to use some application server for shared application logic.
What technology should I use? I don't know, if EJB is the right technology for me. My application is written and working, now I need somehow deploy my DAO classes into some application server and then access them in web application deployed in tomcat.