We help IT Professionals succeed at work.

Which Java Framework should be selected

theartha
theartha asked
on
404 Views
Last Modified: 2012-05-07
I am about to start a new application, I will be using Eclipse IDE and java, SQL Server 2005 for database and Tomcat. I am little confused to pick the framework(Not considering Struts and Ejb's). My application will have a lot of transactions. The framework should be compatible with AJAX tools.

I am thinking to use Spring MVC, Hibernate, DOJO...JUnit for testing, ANT for build

Please advice!
Comment
Watch Question

Kevin CrossChief Technology Officer
CERTIFIED EXPERT
Most Valuable Expert 2011

Commented:
theartha,

See if these help you as they provide a lot of good detail.

http://articles.techrepublic.com.com/5100-10878_11-5070873.html
(dated a bit, but still has some substance)

http://developers.sun.com/learning/javaoneonline/2008/pdf/TS-6457.pdf

Regards,
Kevin
Top Expert 2009

Commented:
Consider Struts2 (Webwork), with the json-plugin it works very well with AJAX frameworks. For a high volume website Webwork does not quite perform as well as Spring MVC, but from a richness perspective, its more of a productive framework for me.

Also consider ExtJS for a your AJAX/front-end, though it is a heavy framework. Not the one you want if you want just light AJAX components, but great for "windows" style apps.

I've had success with two commercial projects in a row using Struts2 + Spring + Hibernate + Ext JS / JQuery

Struts2 is NOT Struts1, and is actually productive! :)


Kevin CrossChief Technology Officer
CERTIFIED EXPERT
Most Valuable Expert 2011

Commented:
Here's another specifically comparing Java Server Faces (JSF), Spring MVC, Struts 2, etc. with pros and cons:
http://static.raibledesigns.com/repository/presentations/ComparingJavaWebFrameworks-ApacheConUS2007.pdf
Kevin CrossChief Technology Officer
CERTIFIED EXPERT
Most Valuable Expert 2011

Commented:
As usual, I would agree with MrJoltCola. :)
Top Expert 2009

Commented:
Glad someone agrees with me around here. ;)


I will say the performance difference I mentioned is not based on personal experience, but one of the Struts2 developers told me personally (he is a friend of mine) that due to the velocity template engine it lagged behind lighter frameworks. I hear that there is a new template engine in the works. But its not that Struts2 will fall on its face, its just something to be aware of page hit vs. page hit.

Performance vs Productivity is sometimes a give and take. You could also argue the same for Java vs Assembler but noone wants to write a web app in Assembler. (Well, noone sane anyway)


Top Expert 2009

Commented:
Sorry, I meant freemarker templating engine.
Commented:
Unlock this solution and get a sample of our free trial.
(No credit card required)
UNLOCK SOLUTION
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a sample view!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.