Table of Contents
Preface
Chapter 1: Getting Started with NetBeans
Chapter 2: Developing Web Applications with Servlets and JSPs
Chapter 3: Enhancing JSP Functionality with JSTL and Custom Tags
Chapter 4: Developing Web Applications using JavaServer Faces
Chapter 5: Interacting with Databases through the Java Persistence API
Chapter 6: Visual Web JSF Development
Chapter 7: Implementing the Business Tier with Session Beans
Chapter 8: Messaging with JMS and Message Driven Beans
Chapter 9: Web Services
Chapter 10: Putting it all Together
Appendix A: Debugging Enterprise Applications with the NetBeans Debugger
Appendix B: Identifying Performance Issues with NetBeans Profiler
Index
- Chapter 1: Getting Started with NetBeans
- Introduction
- Downloading NetBeans
- Installing NetBeans
- Microsoft Windows
- Mac OS X
- Linux and Solaris
- Other Platforms
- Installation Procedure
- Starting NetBeans for the First Time
- Configuring NetBeans for Java EE Development
- Integrating NetBeans with a Third Party Application Server
- Integrating NetBeans with a Third Party RDBMS
- Adding a JDBC Driver to NetBeans
- Connecting to a Third Party RDBMS
- Deploying Our First Application
- NetBeans Tips for Effective Development
- Code Completion
- Code Templates
- Keyboard Shortcuts
- Understanding NetBeans Visual Cues
- Summary
- Chapter 2: Developing Web Applications with Servlets and JSPs
- Creating Our First Web Application
- Modifying NetBeans' Generated Code
- Developing the Input Page
- Developing the Output Page
- Modifying NetBeans' Generated Code
- Servlet Development
- Adding a Servlet to Our Application
- Securing Web Applications
- Implementing Form Based Authentication
- Implementing the Login Page
- Implementing a Login Error Page
- Configuring Our Application for Form-Based Authentication
- Implementing Form Based Authentication
- JSP Fragments
- Creating a JSP Fragment in NetBeans
- Monitoring Web Applications with NetBeans HTTP Monitor
- Summary
- Creating Our First Web Application
- Chapter 3: Enhancing JSP Functionality with JSTL and Custom Tags
- Core JSTL Tags
- Conditionally Displaying Part of a Page with the <c:if> Tag
- Displaying Mutually Exclusive Markup with the <c:choose> Tag
- Iterating through Arrays or Collections with the <c:forEach> Tag
- SQL JSTL Tags
- Retrieving Database Data with the <sql:query> Tag
- Modifying Database Data with the <sql:update> Tag
- Inserting Database Data
- Updating Database Data
- Deleting Database Data
- Closing Remarks about JSTL
- Custom JSP Tags
- Summary
- Core JSTL Tags
- Chapter 4: Developing Web Applications using JavaServer Faces
- Developing Our first JSF Application
- Creating a New JSF Project
- Modifying Our JSP to Capture User Data
- Creating Our Managed Bean
- Implementing Navigation
- Executing Our Application
- Creating a New JSF Project
- JSF Validation
- Displaying Tabular Data
- Summary
- Developing Our first JSF Application
- Chapter 5: Interacting with Databases through the Java Persistence API
- Creating Our First JPA Entity
- Adding Persistent Fields to Our Entity
- Creating a Data Access Object (DAO)
- Generating the User Interface
- Implementing the Controller
- Trying Out Our Application
- Automated Generation of JPA Entities
- Named Queries and JPQL
- Entity Relationships
- Generating JSF Applications from JPA Entities
- Summary
- Creating Our First JPA Entity
- Chapter 6: Visual Web JSF Development
- Writing Our first Visual Web Application
- Adding Additional Components to Our Application
- Adding Additional Text Fields
- Adding a Drop-Down List Component
- Adding a Message Component to Each Input Field
- Grouping Error Messages with the Message Group Component
- Ajax Autovalidation
- Organizing Our Page into Tabs
- Binding a Drop-Down List to a Database Table
- Ajax-Enabling Visual Web Applications
- Adding Additional Components to Our Application
- Summary
- Writing Our first Visual Web Application
- Chapter 7: Implementing the Business Tier with Session Beans
- Introduction to Session Beans
- Creating a Session Bean in NetBeans
- Accessing the Bean from a Client
- Executing the Client
- Session Bean Transaction Management
- Implementing Aspect-Oriented Programming with Interceptors
- Implementing the Interceptor Class
- Decorating the EJB with the @Interceptors Annotations
- EJB Timer Service
- Implementing the Client
- Generating Session Beans from JPA Entities
- Summary
- Chapter 8: Messaging with JMS and Message Driven Beans
- Introduction to JMS
- Creating the Project and JMS Resources
- Creating a JMS Destination
- Sending Messages to a Message Destination
- Processing JMS Messages with Message Driven Beans
- Summary
- Chapter 9: Web Services
- Introduction to Web Services
- Creating a Simple Web Service
- Testing Our Web Service
- Developing a Client for Our Web Service
- Exposing EJBs as Web Services
- Implementing New Web Services as EJBs
- Exposing Existing EJBs as Web Services
- Creating a Web Service from an Existing WSDL
- Summary
- Chapter 10: Putting it all Together
- Creating Our Enterprise Project
- Implementing the Data Access Layer
- Implementing the User Interface Layer
- Adding User Interface Components to the Page
- Populating the Table
- Testing Our Application
- Adding Missing Functionality
- Defining Navigation Rules
- Testing the Completed Application
- Summary
- Creating Our Enterprise Project
- Appendix A: Debugging Enterprise Applications with the NetBeans Debugger
- Debugging Enterprise Applications
- Summary
- Appendix B: Identifying Performance Issues with NetBeans Profiler
- Profiling Our Application
- Summary



