Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Java EE 7 Development with NetBeans 8
  • Table Of Contents Toc
  • Feedback & Rating feedback
Java EE 7 Development with NetBeans 8

Java EE 7 Development with NetBeans 8

By : David R Heffelfinger
4.8 (6)
close
close
Java EE 7 Development with NetBeans 8

Java EE 7 Development with NetBeans 8

4.8 (6)
By: David R Heffelfinger

Overview of this book

The book is aimed at Java developers who wish to develop Java EE applications while taking advantage of NetBeans functionality to automate repetitive tasks. Familiarity with NetBeans or Java EE is not assumed.
Table of Contents (13 chapters)
close
close
12
Index

Developing our first JSF application

From an application developer's point of view, a JSF application consists of a series of XHTML pages that contain custom JSF tags, one or more CDI named beans, and an optional configuration file named faces-config.xml.

Note

The faces-config.xml file was required in JSF 1.x; however, in JSF 2.0, some conventions were introduced to reduce the need for configuration. Additionally, a number of JSF configurations can be specified using annotations, reducing and, in some cases, eliminating the need for this XML configuration file.

Previous versions of JSF required JSF managed beans to implement server-side functionalities. For backward compatibility, JSF managed beans are still supported; however, CDI named beans are preferred in modern JSF applications.

Creating a new JSF project

To create a new JSF project, we need to go to File | New Project, select the Java Web project category, and select Web Application as the project type.

After clicking on Next, we...

Unlock full access

Continue reading for free

A Packt free trial gives you instant online access to our library of over 7000 practical eBooks and videos, constantly updated with the latest in tech

Create a Note

Modal Close icon
You need to login to use this feature.
notes
bookmark search playlist download font-size

Change the font size

margin-width

Change margin width

day-mode

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Delete Bookmark

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete

Delete Note

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete

Edit Note

Modal Close icon
Write a note (max 255 characters)
Cancel
Update Note

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY