Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Which Framework Combination do you use?

 
nitin pai
Ranch Hand
Posts: 185
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 232
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It's not a matter of magic combination, but a matter of requirements. So I'd say that it depends.
 
Gregg Bolinger
GenRocket Founder
Ranch Hand
Posts: 15302
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Deha Peker
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
>>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
Posts: 93
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic