Geertjan is a DZone Zone Leader and has posted 457 posts at DZone. You can read more from them at their website. View Full User Profile

Interview: David Heffelfinger, Author of Java EE 6 with NetBeans 7

06.30.2011
| 9246 views |
  • submit to reddit

When David Heffelfinger's Java EE 6 with NetBeans 7 was released a few weeks ago, readers of David's Java EE 5 with NetBeans 6, as well as anyone new to his work, had reason to celebrate! Another great book by a great author and advocate of Java EE, GlassFish, and the NetBeans IDE.

Below, a quick interview with David Heffelfinger, focusing on the highlights of the book, the differences with the previous version, and the Java EE highlights of NetBeans IDE 7.

What are the highlights of the new book, for you?

Java EE 5 made development of enterprise application so much easier than was possible before. Java EE 6 makes development even easier, and NetBeans IDE makes writing sophisticated Java EE applications almost trivial.

The book covers not only the latest versions of all major Java EE APIs and specification, but also NetBeans IDE features to greatly ease application development.

What are the differences/updates from the previous version?

The book has has been updated to cover NetBeans IDE 7.0's support for all major Java EE 6 APIs, including JSF 2.0, EJB 3.1, JPA 2.0, CDI 1.0 and Servlets 3.0. The book also covers NetBeans IDE's support for PrimeFaces, a very popular high quality JSF 2.0 component library.

  • Development of web applications taking advantage of the new Servlet 3.0 and JSF 2.0 features is covered. New JSF 2.0 features such as XML-less configuration, project stages, new JSF 2.0 conventions, resource directories, Facelets templating (including predefined templates included with NetBeans IDE) are covered as well. The book also explains how NetBeans IDE can help application developers build JSF 2.0 components using markup only, without having to develop any Java code.

  • The book explains how to develop sophisticated JSF 2.0 applications with PrimeFaces, an awesome JSF 2.0 component library which is bundled with NetBeans IDE 7.

  • New EJB 3.1 features such as the new EJB timer service are covered.

  • The book also covers NetBeans IDE 7 support for JPA 2.0, including the new Criteria API, and how to use NetBeans IDE to automatically generate JPA code from existing databases; as well as generating complete Java EE CRUD applications from an existing database schema.

  • Contexts and Dependency Injection (CDI) is covered as well, including coverage of CDI named beans, scopes, CDI Qualifiers, Stereotypes and Interceptor Binding Types are covered as well.

  • A brand new chapter covering RESTful web services with JAX-RS was added, including NetBeans support on how to automatically generate RESTful web services from an existing database.

What things in NetBeans IDE 7.0 are especially useful, over previous releases?

There is so much that it is hard to narrow it down! I like the new CDI support, making it easy to develop CDI artifacts such as qualifiers, stereotypes and interceptor binding types.



I also like how the JPA wizards now support the new Bean Validation annotations that were added to Java EE 6.
 
I love how NetBeans IDE can generate a complete application; and restful web services, from an existing database:



Last, but certainly not least; I just can't live without the awesome NetBeans-GlassFish integration. The NetBeans/GlassFish combo is a great productivity boost, reducing the usual code-compile-build-deploy-reload-test cycle to just save-reload-test. Changes to the code are reflected immediately in the deployed application, and the session is not even lost. This feature was introduced in an earlier version of NetBeans IDE, but it is so awesome that I think deserves to be mentioned!

Thanks for the interview David and all the best with Java EE 6 with NetBeans 7

Published at DZone with permission of its author, Geertjan Wielenga.
Tags: