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 Which Framework Combination do you use? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Other Application Frameworks
Bookmark "Which Framework Combination do you use?" Watch "Which Framework Combination do you use?" New topic
Author

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é
Sheriff

Joined: Nov 24, 2005
Posts: 14687
    
  16

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: 15299
    
    6

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:

Stripes
Spring (DAOs and Transactional Services)
iBatis


GenRocket - Experts at Building Test Data
Deha Peker
Greenhorn

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.

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

Vyas, Anirudh
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Which Framework Combination do you use?
 
Similar Threads
confusion?
"Concepts of hibernate"
To Paul
Which java MVC Framework is being used most ?
Struts,Spring,Hibernate in the industry.