9/18/2012

JEE6 and Primefaces with Netbeans Tutorial Part 1/2

Today I was setting up JEE6 and Primefaces with Netbeans. In this post I will explain how to set up the IDE to run JEE and Primefaces. Prior to that I have read that Netbeans supports you by handling the configuration stuff. Yes it is true, it is doing some configurations even automatically, Netbeans is definitely a good choice to use for JEE and Primefaces.

1.) Download Netbeans from http://netbeans.org/downloads/


2.) Install Netbeans, run it and Create New Project ...


3.) Select project location (directory) and projectname

5.) Keep Glassfish as server of your choise, JEE6 as Java EE Version and name of project as context path

6.) Add JavaServer Faces to Frameworks you wanna use in your web application and configure it in the tab components by selecting primefaces and select the preconfigured library primefaces 3.2

7.) By pushing on the big green play button the application is deployed on the Glassfish application server and then reachable under http://localhost:8080/projectname , there you will also find your first primefaces page "welcomePrimefaces.xhtml".

In the next part of the tutorial you we will programm a small application including a RESTfel Webservice and a Primefaces frontend--->

No comments:

Post a Comment