Free Sample
+ Collection

Java EE 5 Development with NetBeans 6


Develop professional enterprise Java EE applications quickly and easily with this popular IDE
RRP $29.99
RRP $49.99
Print + eBook

Want this title & more?

$12.99 p/month

Subscribe to PacktLib

Enjoy full and instant access to over 2000 books and videos – you’ll find everything you need to stay ahead of the curve and make sure you can always get the job done.

Book Details

ISBN 139781847195463
Paperback400 pages

About This Book

  • Use features of the popular NetBeans IDE to improve Java EE development
  • Careful instructions and screenshots lead you through the options available
  • Covers the major Java EE APIs such as JSF, EJB 3 and JPA, and how to work with them in NetBeans
  • Covers the NetBeans Visual Web designer in detail

Who This Book Is For

The book is aimed at Java developers who wish to develop Java EE applications while taking advantage of NetBeans functionality to automate repetitive tasks and to ease their software development efforts. Familiarity with Java EE is not assumed.

Table of Contents

Chapter 1: Getting Started with NetBeans
Downloading NetBeans
Installing NetBeans
Starting NetBeans for the First Time
Configuring NetBeans for Java EE Development
Deploying Our First Application
NetBeans Tips for Effective Development
Chapter 2: Developing Web Applications with Servlets and JSPs
Creating Our First Web Application
Servlet Development
Securing Web Applications
JSP Fragments
Monitoring Web Applications with NetBeans HTTP Monitor
Chapter 3: Enhancing JSP Functionality with JSTL and Custom Tags
Core JSTL Tags
Closing Remarks about JSTL
Custom JSP Tags
Chapter 4: Developing Web Applications using JavaServer Faces
Introduction to JavaServer Faces
Developing Our first JSF Application
JSF Validation
Displaying Tabular Data
Chapter 5: Interacting with Databases through the Java Persistence API
Creating Our First JPA Entity
Automated Generation of JPA Entities
Generating JSF Applications from JPA Entities
Chapter 6: Visual Web JSF Development
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
Session Bean Transaction Management
Implementing Aspect-Oriented Programming with Interceptors
EJB Timer Service
Generating Session Beans from JPA Entities
Chapter 8: Messaging with JMS and Message Driven Beans
Introduction to JMS
Creating the Project and JMS Resources
Sending Messages to a Message Destination
Processing JMS Messages with Message Driven Beans
Chapter 9: Web Services
Introduction to Web Services
Creating a Simple Web Service
Exposing EJBs as Web Services
Chapter 10: Putting it all Together
Creating Our Enterprise Project

What You Will Learn

  • Develop Java web applications by leveraging NetBeans functionality
  • Build standard JSF applications by taking advantage of NetBeans features
  • Integrate NetBeans with third-party RDBMS
  • Develop JavaServer Pages (JSPs) to display both static and dynamic content in a web browser
  • Visually develop aesthetically pleasing JSF web applications with the NetBeans Visual Web designer
  • Quickly and easily develop applications taking advantage of the Java Persistence API
  • Implement the Model-View-Controller design pattern by using JavaBeans as the model component
  • Take advantage of NetBeans functionality to easily develop Enterprise JavaBeans, including configuring transaction management via annotations
  • Use static and dynamic navigation to define navigation between pages
  • Utilize NetBeans to easily add messaging functionality to enterprise applications, through the Java Messaging Service API and through messag-driven EJBs
  • Develop web services using NetBeans, including exposing EJB functionality as web services

In Detail

Java EE, the successor to J2EE, greatly simplifies the development of enterprise applications. The popular IDE, NetBeans, has several features that greatly simplify Java EE development, and this book shows you how to make use of these features to make your Java programming more efficient and productive than ever before.

With many features and great flexibility, the Java developer can become overwhelmed by the options available in NetBeans, This book helps you get control of the environment, and make it work for you so that you can concentrate on the important parts of your application.

This book takes you through the most important parts of Java EE programming and, with clear, careful instructions and screenshots, shows you how to use the features of NetBeans that will improve your development experience. This book will not only show you time-saving tricks, keyboard shortcuts and other productivity enhancements possible with NetBeans, it will take you through the major Java EE APIs and how to get them working in the NetBeans environment.

While focusing on NetBeans features, you will learn about developing applications using the servlet API and JSPs, including taking advantage of JSTL and developing custom JSP tags. Developing applications that take advantage of JavaServer Faces is also covered in detail, including how to generate standard JSF applications from an existing database schema. The book also covers how to easily develop elegant JSF applications by taking advantage of the NetBeans Visual Web designer.


Read More