Book Image

Java EE 5 Development with NetBeans 6

Book Image

Java EE 5 Development with NetBeans 6

Overview of this book

Table of Contents (17 chapters)
Java EE 5 Development with NetBeans 6
Credits
About the Author
About the Reviewers
Preface
Identifying Performance Issues with NetBeans Profiler

Summary


In this chapter we looked at how several of the technologies discussed in the book can be used together to create an enterprise application. We covered how to create Java Persistence API (JPA) entity beans by simply generating them from existing tables in the database.

Additionally, we saw how the Data Access Object (DAO) design pattern can be implemented by generating stateless session beans from existing JPA entities in our project. Session beans are a good choice when writing DAO logic with JPA since we can take advantage of EJB transactions without having to manually write any transaction handling code.

We also saw how to create a JSF application visually by taking advantage of NetBean's Visual Web JSF functionality. In our example we took a close look at the visual web table component, and how to write code to maintain its state on the server side. We also saw how NetBeans can generate JSF action listener methods by simply double-clicking on a component that fires an action event...