PacktLib: Java EE Development with Eclipse

Java EE Development with Eclipse

Credits

About the Author

About the Reviewers

www.PacktPub.com

Preface

EJB 3.0 Database Persistence

Configuring a data source

Creating tables in the Oracle database

Creating an EJB project

Adding the JPA facet

Creating entity beans from tables

Creating a session bean facade

Creating the application.xml descriptor

Creating a test client

Packaging and deploying the entity bean application

Testing the JSP client

Summary

O/X Mapping with JAXB 2.x

JAXB 2.x advantages

Creating a JAXB project

Creating an XML Schema

Compiling the XML Schema

Marshalling an XML document

Unmarshalling an XML document

Java to XML mapping

Summary

Developing a Web Project for JasperReports

Setting the environment

Creating a Dynamic Web project in Eclipse

Creating the configuration file

Creating a web application

Packaging and deploying the web application

Running the web application

Summary

Creating a JSF Data Table

Setting the environment

Creating a web project

Creating a managed bean

Creating a JSF page

Running the JSF page

Summary

Templating with Facelets

Facelets structure

Setting the environment

Configuring JSF 2.0 support in WLS

Creating a Facelets project

Creating a managed bean

Creating a Facelets template

Creating Facelets

Creating navigation

Running the Facelets application

Summary

Creating Apache Trinidad User Interfaces

Configuring Trinidad

Setting the environment

Creating a Trinidad project

Creating Trinidad UIs

Creating a managed bean

Adding Trinidad components

Running the Trinidad application

Summary

Creating an AJAX Application

Setting the environment

Creating a Dynamic Web project

Creating a web application for AJAX

Creating a servlet

Developing the AJAX web application

Packaging the web application

Deploying the web application

Running the web application

Summary

Creating a JAX-WS Web Service

Setting the environment

Creating a web service project

Creating a WebLogic web service

Running the web service on the server

Generating a WSDL

Testing WSDL in web services explorer

Generating a bindings file

Creating a client class

Creating a build file

Testing the web service

Summary

RESTful Web Services Using the JAX-RS API

Setting the environment

Creating a web project

Creating and running a resource class

Creating and running a test client

Summary

Spring

Setting the environment

Creating a web project with Spring facet

Method Interception

Schema-based aspect definitions

Creating a JSF page

Summary

Index