aspose file tools
The moose likes Struts and the fly likes Which framework is best for Java-Database integration? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Reply Bookmark "Which framework is best for Java-Database integration?" Watch "Which framework is best for Java-Database integration?" New topic
Author

Which framework is best for Java-Database integration?

Vartan Nazarian
Greenhorn

Joined: Jan 26, 2004
Posts: 6
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)
Jason Cox
Ranch Hand

Joined: Jan 21, 2004
Posts: 287
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"


<a href="http://www.unfetteredblather.com" target="_blank" rel="nofollow">Unfettered Blather</a> - Updated daily nonsense
Vartan Nazarian
Greenhorn

Joined: Jan 26, 2004
Posts: 6
Thanks for your reply. I think I'll just use Struts.
Vartan
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Which framework is best for Java-Database integration?
 
Similar Threads
Leaving your company after 6 months...
Java Collections Framework
Any GUI application controller framework?
Java Micromedia Flash
OOP in web development