Which framework is best for Java-Database integration?
Joined: Jan 26, 2004
I'm new to Java frameworks. To make matters a bit more difficult, I need to prove to management at work that it's possible to have a RAD tool in Java. Most of our Java work is to integrate Desktop-apps and Web-apps to Oracle DB. I want to prove to them that by using the correct framework you can do as good of a job if not better than Delphi or PowerBuilder. I've looked a bit at Struts, Sophia and JavaServer Faces but before jumping in I wanted a suggestion from more experienced framework developers. Thanks for your time. Vartan (Java fan)
Joined: Jan 21, 2004
I've used Struts and Tapestry, and for both of those there is NO database integration. What I have done instead is to simply call a service from either the Struts Action classes or the Tapestry Page classes that fetches the information I need to get/update/etc. The services are really just simple classes that act as a gateway to my actual database logic. That way I can use whatever I need for information retrieval. I can switch databases, persistence logic, or even the very nature of how I store information (JDBC/Hibernate/etc.) without having to ever modify my front-end logic. It's really not very complicated to do and I actually like having my web front-end cleanly seperated from the "heavy-lifting"