Install and Use NetBeans 6.9 part 3

 

 

 

What do we have in this session 3?

 

  1. NetBeans Update Prompt

  2. Building a Simple Java Web Application Sample

 

 

NetBeans Update Prompt

 

If there is an update prompt, you can update the NetBeans IDE.

 

NetBeans IDE Installer: NetBeans auto update

 

NetBeans IDE Installer: NetBeans auto update, license agreement

 

NetBeans IDE Installer: NetBeans auto update was completed successfully

 

 

Building a Simple Java Web Application Sample

 

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.

 

 

 

 

 

 

 

 

 

 

------------------------------------------------------

NetBeans IDE Installer: Invoking new project

 

Select Java Web in Categories and Web Application for Projects. Click Next.

 

NetBeans IDE: selecting the Java web application project

 

 

Put the project name as SimpleEE6App and select the project location and folder as needed. Deselect the Use Dedicated Folder for Storing Libraries option, if selected. Leave other as is and click Next.

 

NetBeans IDE: selecting the Java web application project name and location

 

Select the GlassFish Server and set the Java EE Version to Java EE 6 Web. Click Next.

 

NetBeans IDE: selecting the Java web application project GlassFish web server settings

 

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.

 

NetBeans IDE: selecting the Java web application project Java Server Faces (JSF) framework

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

NetBeans IDE: selecting the Java web application project JSF framework

 

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.

 

NetBeans IDE: the Java web application project, the generated project template

 

 

 

 

 

< NetBeans and Java Web 2 | Java and Friends | NetBeans and Java Web 4 >


NetBeans and Java Web 1 | NetBeans and Java Web 2 | NetBeans and Java Web 3 | NetBeans and Java Web 4 | NetBeans and Java Web 5 | NetBeans and Java Web 6 | NetBeans and Java Web 7 | NetBeans and Java Web 8 | Java and Friends