NetBeans 6.8 M1 introduces support for
creating Java EE 6 applications ... cool!
This Tip Of The Day (TOTD) shows how to create a simple web
application using JPA 2.0 and Servlet 3.0 and deploy on GlassFish
v3 latest promoted build (58 as of this writing). If you can work with
the one week older build then NetBeans 6.8 M1 comes pre-bundled
with 57. The example below should work fine on that as
well.
- Create the database, table, and populate some data into it as
shown below:
~/tools/glassfish/v3/58/glassfishv3/bin >sudo mysql --user root
…