• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

Which Framework Combination do you use?

 
Ranch Hand
Posts: 185
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
Ranch Hand
Posts: 232
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Sheriff
Posts: 14691
16
Eclipse IDE VI Editor Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 15304
6
Mac OS X IntelliJ IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 93
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ]
 
Brace yourself while corporate america tries to sell us its things. Some day they will chill and use tiny ads.
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic