File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Is JSF/JSP the only choice if I use the java ee to develope my site?

 
pan la
Greenhorn
Posts: 2
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am studying java ee technology. I noticed that JSF is an available choice for developing web application. But is it the only choice if I wanna use java ee tech?
 
Hussein Baghdadi
clojure forum advocate
Bartender
Posts: 3479
Clojure Mac Objective C
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No of course not (thankfully!).

Keep in mind that JSF is a web framework while JSP is a template technology.

Alternatives to JSF: SpringMVC, Stripes, Wicket, Struts2 ..
Alternatives to JSP: Thymeleaf, Velocity, FreeMarker, StringTemplate.
 
Jaikiran Pai
Marshal
Pie
Posts: 10444
227
IntelliJ IDE Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ultimately, it's HTML which gets rendered, so it doesn't really matter what/how it's generated as long as it fits within your application design and follows the general guidelines of programming.

 
Tim Holloway
Saloon Keeper
Pie
Posts: 17620
39
Android Eclipse IDE Linux
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the JavaRanch, Pan!

There are lots of different J2EE development platforms. JSF has the advantage of being part of the JEE standard spec, but that doesn't make it the only possible choice by any means. Different needs work better with different platforms.
 
Hussein Baghdadi
clojure forum advocate
Bartender
Posts: 3479
Clojure Mac Objective C
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Tim Holloway wrote:Welcome to the JavaRanch, Pan!

There are lots of different J2EE development platforms. JSF has the advantage of being part of the JEE standard spec, but that doesn't make it the only possible choice by any means. Different needs work better with different platforms.


Why JSF has the advantages of being a 'standard'? I never got that.

Don't want to go into a "flaming discussion" but to me, JSF is such a poor standard and this isn't an advantage.
 
Tim Holloway
Saloon Keeper
Pie
Posts: 17620
39
Android Eclipse IDE Linux
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The advantage of being part of the core JEE standard is that any product that wants to claim full JEE compliance MUST include JSF as well. It's part of the Lowest-Common-Denominator. Because it's part of the standard, less liberties can be taken with specific implementations and therefore apps are more likely to be "write once/run anywhere".

Likewise, anyone who's a cert-freak is going to have to be able to at least memorize-and-barf a certain level of familiarity with JSF in order to acquire a full JEE certification. Thus increasing the pool of questionably-competent JSF developers for when prospective employers look for a cheap platform to develop their business on. Employers love questionably-competent developers. They can get quantity discounts.

Not everyone loves JSF. I do, but that doesn't mean that I'm dogmatically going to use it for things where it's not an appropriate fit, and there are a lot of things in this world where JSF is not an appropriate fit. It's just nice to have the option.
 
Kiran Kanitkar
Greenhorn
Posts: 4
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No not necssary
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic