views:

1224

answers:

11

Does anyone know of a good way to get started with JSF for a servlets/JSP person?

I'm interested but not sure where to start!

Thanks,

+5  A: 

I recommend using Netbeans IDE for JSF development. It will help you get started quickly. This is one of the many tutorials available.

kgiannakakis
Thanks for the link, I have been meaning to start Java Web development, and this is definitely going to help kick start it. Though I have not used Netbeans - but don't think it will be hard to learn.
Helen Neely
agree about NetBeans with JSF (and whole pure Java techs)
Xorty
+2  A: 

Chapter 10 of the Java EE 5 Tutorial gives some good nuts'n'bolts information on how to work with the core JSF API. The API & specifications are also useful (see version 1.2).

Both Netbeans and Eclipse (and many commercial IDEs) provide JSF support with WYSIWYG page editors. If you're doing servlet/JSP development, then presumably you already have a JEE5 server and tooling. If you wish to use JSF with a previous version of J2EE, you'll need to install the libraries yourself. If want to use Tomcat, you'll need to download a JSF implementation (e.g. MyFaces or Mojarra).

McDowell
I am sorry, woodstock project of NetBeans is offically unsupported. It's general mistake saying that NetBeans has WYSIWYG editor, since it doesn't in latest version and it is not goint to have in next version (6.9 RC is already out)
Xorty
+1  A: 

Be aware that the way that the JEE Tutorial presents JSF development is completely different from how the NetBeans IDE actually DOES JSF development.

For example, the tutorial focuses on binding to bean values (like String name), whereas NB binds to actual controls (TextControl name).

They're both "JSF", but completely different idioms for development.

Will Hartung
+3  A: 

Core JavaServer Faces By David Geary and Cay Horstmann book will be easy for a begginner to start JSF.I used eclipse as the IDE and Maven as the server.

Warrior
+1  A: 

Here is a good link to several tutorials: tutorials

boyd4715
+2  A: 

I recomend javapassion.com as best place for beginners to Java and related technology. Here is JSF course

cetnar
+1  A: 

I would like to recommend exadel.com's JSF kickstart tutorial which you can find at http://exadel.com/tutorial/jsf/jsftutorial-kickstart.html

I would also recommend getting the book Core JavaServer Faces second edition. Third edition of this book is scheduled to release 2009/10/16 if you wanna wait for it.

ChrisAD
+1  A: 

This is probably the best, fastest guide I've found: http://blogs.steeplesoft.com/bootstrapping-a-jsf-2-project/

Lincoln
+1  A: 

Check out www.javaserverfaces.org/get-started

It's a great, quick tutorial.

Lincoln
+2  A: 

I like Marty Hall's Coreservlets.com tutorials. Here's the JSF 2.x section.

BalusC
A: 

This is the best tutorial I've seen so far. Unfortunately it is in German, but probably handy for some of you.

http://jsfatwork.irian.at/semistatic/introduction.html

bangasali