What do we have in this session 3?
|
NetBeans Update Prompt
If there is an update prompt, you can update the NetBeans IDE.
|
Now, we are going to build a sample Java web application taken from NetBeans documentation that can be found at NetBeans Java EE 6 Application. Select File > New Project.
------------------------------------------------------
Select Java Web in Categories and Web Application for Projects. Click Next.
Put the project name as SimpleEE6App and select the project location and folder as needed. De-select the Use Dedicated Folder for Storing Libraries option, if selected. Leave other as is and click Next.
Select the GlassFish Server and set the Java EE Version to Java EE 6 Web. Click Next.
Select JavaServer Faces in the Frameworks pane. Click Finish.
By default, the IDE will select the JSF 2.0 library if you are developing a Java EE 6 web application and deploying to the GlassFish server. The JSF 2.0 library enables you to use Facelets as the page language and also provides support for JSF 1.2 and JSP.
When you click Finish, the IDE creates the project and opens the project in the Projects window. The IDE automatically creates the JSF page index.xhtml and opens the page in the editor.