File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Other Application Frameworks and the fly likes Which Framework Combination do you use? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Other Application Frameworks
Bookmark "Which Framework Combination do you use?" Watch "Which Framework Combination do you use?" New topic

Which Framework Combination do you use?

nitin pai
Ranch Hand

Joined: May 30, 2006
Posts: 185
I have listed out some of the most widely used combinations as (Not in specific order):

1. Struts 1.x + Hibernate
2. Struts 2.x + Spring + Hibernate
3. Spring MVC + Spring + Hibernate
4. Adobe Flex + Spring
5. JSF + Spring
6. DWR + Spring

Which according to you is the most effective combination and why?

Sripathi Krishnamurthy
Ranch Hand

Joined: Mar 07, 2005
Posts: 232
for me its, Spring MVC + Spring + Hibernate
I say so because I have used and found it to be very good.

But majority will say Struts2+hibernate since they feel struts is better.

I can also recommend Tapestry web framework (which is object oriented framework) + hibernate.
Christophe Verré

Joined: Nov 24, 2005
Posts: 14688

It's not a matter of magic combination, but a matter of requirements. So I'd say that it depends.

[My Blog]
All roads lead to JavaRanch
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15302

Originally posted by Christophe Verre:
It's not a matter of magic combination, but a matter of requirements. So I'd say that it depends.

While I agree with this my projects tend to use:

Spring (DAOs and Transactional Services)

GenRocket - Experts at Building Test Data
Deha Peker

Joined: Feb 22, 2008
Posts: 9
>>1. Struts 1.x + Hibernate
>>2. Struts 2.x + Spring + Hibernate
>>3. Spring MVC + Spring + Hibernate
>>4. Adobe Flex + Spring
>>5. JSF + Spring
>>6. DWR + Spring

Eventhough, I don't think you are comparing the right options in your list, but any way, forget about option number 1. It is obselete.
If you need RIA requirements in your application go with Flex + Spring etc.
If you just need to implement RWA (Ajax with DHTML)
You could definetely use DWR with Spring MVC and/or Struts 1/2 without any problem. But you need to hand code DHTML your self or you could use a gadget library such as YUI/GWT/DOJO or you could use a robust framework like TIBCO GI.
If you can deploy your application in Java 5 app server, consider using JBoss Seam (JSF + EJB3) if not, you could consider using JSF and Spring with some JSF open source library like jsf4jajax etc.
Anirudh Vyas
Ranch Hand

Joined: Oct 23, 2006
Posts: 93
Refer to : How Wicket Stacks up against other frameworks
For my thoughts on presentation tier frameworks (or web frameworks). I'd say flex is decent, GWT is average, i didn't like it, Tapestry is impressive. But please stay away from action based framework using XML configurations, Struts, Struts2, Stripes etc. JSF is a nightmare! Man i have had so much trouble customizing my components using JSF and AJAX does NOT gel that well with JSF (yea i have used AJAX4JSF), Data Table pagination and other blah blah to do is nightmarish.

As far as Business tier is concerned, I'd go for Spring / EJB 3 (i don't care, i could use Plexus if AOP was primary concern.).

Data access is a no-brainer : Hibernate.

Vyas, Anirudh
[ April 19, 2008: Message edited by: Anirudh Vyas ]

Vyas, Anirudh
I agree. Here's the link:
subject: Which Framework Combination do you use?
It's not a secret anymore!