We are refactoring one of our apps. In the process we are planning to seperate Business Logic and DAOs that both are works in our Spring's context now. We think about two main solutions, one is convert our DAO classes to web services ( probably RESTful ) the other is serve DAOs with EJB.
But we are not clear on pros and cons of both solutions. What are your opinions ? Thanks for all answers.