Solved

Which a better framework? JSF, Struts 2, or Spring Framework?

Posted on 2011-02-23
6
1,062 Views
Last Modified: 2012-05-11
Which is a better Framework to work with?
 JSF(Java Server Faces) , Struts 2, or Spring Framework?

Is there  another one better suited for secure e-commerce these days?
0
Comment
Question by:Robert Silver
  • 3
  • 3
6 Comments
 
LVL 92

Expert Comment

by:objects
ID: 34966374
my personal preference is spring
0
 
LVL 2

Author Comment

by:Robert Silver
ID: 34966417
Why Spring? Have looked at Seam? How does that compare?
Also if you used Spring can you use Spring only with a spring web server environment or can it also be used in say an Apache/Tomcat Jboss platform?

Does Spring provide any special features that makes it stand out more besides the cost??
Correct me if I am wrong but doesn't Spring cost a license fee? What makes it worth the cost?
0
 
LVL 92

Accepted Solution

by:
objects earned 500 total points
ID: 34966696
> Why Spring? Have looked at Seam? How does that compare?

haven't used seams so can't say
have a read here http://stackoverflow.com/questions/958907/what-are-the-advantages-disadvantages-of-seam-over-spring

> Also if you used Spring can you use Spring only with a spring web server environment or can it also be used in say an Apache/Tomcat Jboss platform?

you can use whatever container you like

> Does Spring provide any special features that makes it stand out more besides the cost??

I've just found it more intuitive. And I like its IoC approach

> Correct me if I am wrong but doesn't Spring cost a license fee? What makes it worth the cost?

no, it is free

comparing spring with JSF and struts also isn't the best comparison, as spring has wider scope than the other two. You're really comparing them to Spring MVC. You can in fact use Spring with tiles or JSF if desired.

0
Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

 
LVL 2

Author Comment

by:Robert Silver
ID: 34982787
What about Struts 2 - I have heard a lot of great things about Struts 2 framework?
I expect its fairly new - It is said to integrate with Spring nicely. Heard anything about Struts 2??
0
 
LVL 92

Expert Comment

by:objects
ID: 34983887
Haven't used struts2
I used struts 1 many years ago and didn't like it
0
 
LVL 2

Author Closing Comment

by:Robert Silver
ID: 35010888
Yes I did some checking and it appears that
SpringSource Framework  is not as popular as
say Struts 2 or Struts as a full blown MVC
I don't think JSF is a full blown MVC. As I understand it its more of a visual part of the MVC. I am still delving into it though!
0

Featured Post

Get up to 2TB FREE CLOUD per backup license!

An exclusive Black Friday offer just for Expert Exchange audience! Buy any of our top-rated backup solutions & get up to 2TB free cloud per system! Perform local & cloud backup in the same step, and restore instantly—anytime, anywhere. Grab this deal now before it disappears!

Join & Write a Comment

It is possible to boost certain documents at query time in Solr. Query time boosting can be a powerful resource for finding the most relevant and "best" content. Of course the more information you index, the more fields you will be able to use for y…
In Solr 4.0 it is possible to atomically (or partially) update individual fields in a document. This article will show the operations possible for atomic updating as well as setting up your Solr instance to be able to perform the actions. One major …
The purpose of this video is to demonstrate how to set up the WordPress backend so that each page automatically generates a Mailchimp signup form in the sidebar. This will be demonstrated using a Windows 8 PC. Tools Used are Photoshop, Awesome…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now