File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Other Application Frameworks and the fly likes what is the Best Frameworks combination Spring-Struts-Hibernate, or JDO, or etc... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Other Application Frameworks
Bookmark "what is the Best Frameworks combination Spring-Struts-Hibernate, or JDO, or etc..." Watch "what is the Best Frameworks combination Spring-Struts-Hibernate, or JDO, or etc..." New topic
Author

what is the Best Frameworks combination Spring-Struts-Hibernate, or JDO, or etc...

Emman lopez
Ranch Hand

Joined: Mar 11, 2004
Posts: 38
Hi I would like to know if there is a standard way to figure out what is the best frameworks combination

Spring -struts -Hibernate/JDO
Spring -Tapestry, Spring- Velocity
or just plain vanilla SpringMVC- Spring-JDBC


E.L.<br /> <br />SCJP
Matt Raible
author
Ranch Hand

Joined: Jan 11, 2001
Posts: 114
For web frameworks, I think it depends on whether you want to do component-based development or request-based development. For component-based development, I'd choose Tapestry over JSF. It's learning curve is a bit steeper b/c you don't get to re-use your JSP knowledge, but it's a API seems cleaner and more intuitive. For request-based development, I'd choose WebWork because it's simple, yet powerful. Spring MVC would be a secondary choice.

For the middle-tier/backend, I'd use Spring and Hibernate or iBATIS. iBATIS works well when you're integrating with an existing database with lots of tables that need to be joined.

Spring Live's Chapter 12 has a web framework comparison between Struts, Spring MVC, WebWork, Tapestry and JSF - as well as explicit examples of how to develop an app with each. ;-)


Matt<br /> <br />Author: <a href="http://springlive.com" target="_blank" rel="nofollow">Spring Live</a> and <a href="http://www.apress.com/book/bookDisplay.html?bID=256" target="_blank" rel="nofollow">Pro JSP</a><br />Weblogs: <a href="http://raibledesigns.com" target="_blank" rel="nofollow">Raible Designs</a> <a href="http://jroller.com/page/raible" target="_blank" rel="nofollow">Spring Live Blog</a>
Craig Walls
author
Ranch Hand

Joined: Sep 19, 2003
Posts: 301
Originally posted by Matt Raible:
For component-based development, I'd choose Tapestry over JSF...For the middle-tier/backend, I'd use Spring and Hibernate or iBATIS.


I have to fully agree with Matt on this one. I'm in the middle of developing my 3rd app with Tapestry in the front, Spring in the middle, and Hibernate in the backend...and it's been nothing but a pleasure.

For grins, I'm about to port one of my smaller Tapestry/Spring/Hibernate apps to have JSF in the front...for educations-sake. But from what I've already done with JSF, I don't anticipate having quite as much fun.


Spring in Action - Unleash POJO power in your applications!
Modular Java - Discover the secret weapon to modularity on the Java platform!
XDoclet in Action - Your complete guide to code generation with XDoclet.
John Freshman
Greenhorn

Joined: Jun 19, 2005
Posts: 12
I have heard that Hibernate is known to really bog down e-commerce types sites that have a high volume of users hitting the db. Does anybody have a source reference for benchmarking its performance?
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15299
    
    6

Originally posted by John Freshman:
I have heard that Hibernate is known to really bog down e-commerce types sites that have a high volume of users hitting the db. Does anybody have a source reference for benchmarking its performance?


You might want start a brand new topic in the ORM forum instead of drudging up and then hijacking older threads.


GenRocket - Experts at Building Test Data
Juan Rolando Prieur-Reza
Ranch Hand

Joined: Jun 20, 2003
Posts: 236
Originally posted by Emman lopez:
... standard way to figure out what is the best frameworks combination


This is a great question deserving of more attention in general. It would be nice if there were an ISO, W3, or WS-I guideline for accumulating, assessing and communicating experiential inforation on the frameworks by defining a base infoset and process for ease of collaborative exchange.

Failing that, the WS-I working group on sample applications on various frameworks may eventually address the question somewhat, at least for WS related frameworks subscribing to WS-Interoperability. See http://www.ws-i.org/docs/charters/WSBasic_Sample_Applications_Charter2-2.pdf .


[ September 13, 2005: Message edited by: john prieur ]

[ September 13, 2005: Message edited by: john prieur ]
[ September 13, 2005: Message edited by: john prieur ]

Juan Rolando Prieur-Reza, M.S., LSSBB, SCEA, SCBCD, SCWCD, SCJP/1.6, IBM OOAD, SCSA
Aniruddha Mukhopadhyay
Ranch Hand

Joined: Nov 15, 2000
Posts: 59
Cocoon (http://cocoon.apache.org/index.html)is another good framework to use in specific cases where clients may be using various devices to access a common server.

Of course, there are other XML / XSL based frameworks which does provide the same functionality.


Aniruddha
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: what is the Best Frameworks combination Spring-Struts-Hibernate, or JDO, or etc...