The sample web application we just deployed is a simple application that
demonstrates a nice feature that was introduced in Java EE 6, namely the ability to
use dependency injection on a stateless session bean without the need to implement
a business interface for said bean like it was required in Java EE 5, or without
needing to use a home interface to obtain an instance of the session bean as we had
to do back in the days of J2EE.
If our browser is displaying a page similar to the one above, then we can be certain
that NetBeans and GlassFish are working properly and we are ready to start
developing our own Java EE applications.
NetBeans tips for effective development
Although NetBeans offers a wide array of features that make Java EE development
easier and faster, it also has a lot of features that ease Java development in general.
In the following few sections we cover some of the most useful features.
The NetBeans code editor includes very good code completion, for example, if we
wish to create a private variable, we don't need to type the whole "private" word. We
can simply write the first three letters ("pri"), then hit Ctrl+space , and NetBeans will
complete the word "private" for us.