Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 633
  • Last Modified:

Java web frameworks

Forgive me if my question did not make sense but I am a beginner in java web applications. I have been online to find out which web frame work is the best for general web application development. I came across a couple of them but i don't really know which one will be the best for me to start with.

I came across the following
1. jsp
2. jsf
3. struts
4. Tapestry
5. swing (e.t.c....)
Can i please know why all this confusing frameworks for Java.
0
Atouray
Asked:
Atouray
2 Solutions
 
afibarraCommented:
  • If you a really beginner your best shot should be JSP/Servlets. Head First - Servlets and JSP book from O'Reilly it is a great resource to learn them.
  • If you like to use JSF, you could give Seam a shot (www.seamframework.org). Seam is a GREAT framework to do JSF base web applications.Nevertheless JSF/Seam has a steepy learning curve. Seams involves JSF,EJB3,JPA, so, I do not recommend it for beginners.
  • There are a lot of java web frameworks available: Struts, Tapestry, Wicket, Vaadin, Spring MVC, Play, Grails.
  • Grails is a Groovy/Spring/Hibernate based framework. If you don't mind in learn Groovy which is a Java based language and believe me, it is REALLY EASY to learn. Grails has great IDE, community and documentation support (www.grails.org).
  • Swing is not a web framework thought.
0
 
AtourayAuthor Commented:
Thanks for the info i will look into JSP/Servlets/JSF or Groovy and see if I am going to be comfortable with them.
0
 
arch-itectCommented:
Frameworks suck.  

Use html and javascript for the front end until you need the database, then use a servlet to connect to the database.  Hit the servlet from javascript with an xml http request (ajax).

http://en.wikipedia.org/wiki/XMLHttpRequest

By the time you start getting uncomfortable with this you will know which framework to go for (if at all).  Necessity will give you a check list.  

Or you will find employment and your boss will tell you :)

0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now