Java EE 5 Tutorial, The (3rd Edition) and over one million other books are available for Amazon Kindle. Learn more


or
Sign in to turn on 1-Click ordering.
or
Amazon Prime Free Trial required. Sign up when you check out. Learn More
Kindle Edition
 
   
Sell Back Your Copy
For a $0.48 Gift Card
Trade in
More Buying Choices
Have one to sell? Sell yours here
Java™ EE 5 Tutorial, The (3rd Edition)
 
 
Start reading Java EE 5 Tutorial, The (3rd Edition) on your Kindle in under a minute.

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.

Java™ EE 5 Tutorial, The (3rd Edition) [Paperback]

Eric Jendrock (Author), Jennifer Ball (Author), Debbie Carson (Author), Ian Evans (Author), Scott Fordin (Author), Kim Haase (Author)
3.0 out of 5 stars  See all reviews (12 customer reviews)

List Price: $64.99
Price: $47.44 & this item ships for FREE with Super Saver Shipping. Details
You Save: $17.55 (27%)
  Special Offers Available
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
In Stock.
Ships from and sold by Amazon.com. Gift-wrap available.
Only 5 left in stock--order soon (more on the way).
Want it delivered Tuesday, January 31? Choose One-Day Shipping at checkout. Details
Textbook Student FREE Two-Day Shipping for Students. Learn more

Formats

Amazon Price New from Used from
Kindle Edition $41.59  
Paperback $47.44  
There is a newer edition of this item:
The Java EE 6 Tutorial: Basic Concepts (4th Edition) (Java Series) The Java EE 6 Tutorial: Basic Concepts (4th Edition) (Java Series) 3.5 out of 5 stars (8)
$27.49
In Stock.

Book Description

0321490290 978-0321490292 November 13, 2006 3

The Java EE 5 Tutorial is an introduction to programming server-side Java applications. This book takes a task-oriented, example-driven approach to show you how to build applications for the Java EE 5 platform. This book also describes the features and functionalities available with NetBeans 5.5.

 

What's new in this edition? The author team have updated the existing chapters to reflect the changes to JSP, EJB, Servlets, and more. Also, the authors have added new chapters on the Sun Java System Application Server 9 as a deployment environment for server-side technologies. The web-tier technology chapters cover the components used in developing the presentation layer of a Java EE 5 or stand-alone web application. The web services technology chapters cover the APIs used in developing standard web services. The Enterprise JavaBeans (EJB) technology chapters cover the components used in developing the business logic of a Java EE 5 application. The Persistence technology chapters cover the Java Persistence API, which is used for accessing databases from Java EE applications. The platform services chapters cover the system services used by all the Java EE 5 component technologies


Special Offers and Product Promotions

  • Buy $50 in qualifying physical textbooks, get $5 in Amazon MP3 Credit. Here's how (restrictions apply)

Frequently Bought Together

Customers buy this book with The Java EE 6 Tutorial: Basic Concepts (4th Edition) (Java Series) $27.49

Java™ EE 5 Tutorial, The (3rd Edition) + The Java EE 6 Tutorial: Basic Concepts (4th Edition) (Java Series)


Editorial Reviews

About the Author

Eric Jendrock leads Sun's Java EE Tutorial and Java WSIT Tutorial teams.

Jennifer Ball has documented JavaServer Faces technology, the Java2D API, deploytool, and JAXB.

Debbie Carson documents the Java EE, Java SE, and Java WSIT platforms.

Ian Evans documents the Java EE and Java Web Services platforms, and edits Java EE platform specifications.

Scott Fordin has written numerous articles and Sun guidebooks on Java, XML, and web service technologies.

Kim Haase documents the Java EE platform and Java Web Services, including Java Message Service (JMS), Java API for XML Registries (JAXR), and the SAAJ.

Excerpt. © Reprinted by permission. All rights reserved.

About This Tutorial

This tutorial is a guide to developing enterprise applications for the Java Platform, Enterprise Edition 5 (Java EE 5). Here we cover all the things you need to know to make the best use of this tutorial.

Who Should Use This Tutorial

This tutorial is intended for programmers who are interested in developing and deploying applications on the Sun Java System Application Server Platform Edition 9.

Prerequisites

Before proceeding with this tutorial, you should have a good knowledge of the Java programming language. A good way to get to that point is to work through The Java&38482; Tutorial, Fourth Edition, Sharon Zakhour et al. (Addison-Wesley, 2006). You should also be familiar with the relational database features described in JDBC API Tutorial and Reference, Third Edition, Maydene Fisher et al. (Addison-Wesley, 2003).

How to Read This Tutorial

The Java EE 5 platform is quite large, and this tutorial reflects this. However, you don't have to digest everything in it at once. The tutorial has been divided into parts to help you navigate the content more easily.

This tutorial opens with an introductory chapter, which you should read before proceeding to any specific technology area. Chapter 1 covers the Java EE 5 platform architecture and APIs along with the Sun Java System Application Server Platform Edition 9.

When you have digested the basics, you can delve into one or more of the five main technology areas listed next. Because there are dependencies between some of the chapters, the following list contains a roadmap for navigating through the tutorial.

  • The web-tier technology chapters cover the components used in developing the presentation layer of a Java EE 5 or stand-alone web application:
  • Java Servlet
  • JavaServer Pages (JSP)
  • JavaServer Pages Standard Tag Library (JSTL)
  • JavaServer Faces
  • Web application internationalization and localization
  • The web services technology chapters cover the APIs used in developing standard web services:
  • The Java API for XML-based Web Services (JAX-WS)
  • The Java API for XML Binding (JAXB)
  • The Streaming API for XML (StAX)
  • The SOAP with Attachments API for Java (SAAJ)
  • The Java API for XML Registries (JAXR)
  • The Enterprise JavaBeans (EJB) technology chapters cover the components used in developing the business logic of a application:
  • Session beans
  • Message-driven beans
  • The Persistence technology chapters cover the Java Persistence API, which is used for accessing databases from Java EE applications:
  • Introduction to the Java Persistence API
  • Persistence in the Web Tier
  • Persistence in the EJB Tier
  • The Java Persistence Query Language
  • The platform services chapters cover the system services used by all the Java EE 5 component technologies:
  • Transactions
  • Resource connections
  • Security
  • Java Message Service
  • The Connector architecture

After you have become familiar with some of the technology areas, you are ready to tackle the case studies, which tie together several of the technologies discussed in the tutorial. The Coffee Break Application describes an application that uses the web application and web services APIs. The Duke's Bank Application describes an application that employs web application technologies, enterprise beans, and the Java Persistence API.

Finally, the appendix contains information about Java encoding schemes that may be helpful to the Java EE 5 application developer.

About the Examples

This section tells you everything you need to know to install, build, and run the examples.

Required Software

The following software is required to run the examples.

Tutorial Bundle

The tutorial example source is contained in the tutorial bundle. If you are viewing this online, you need to click on the Download link at the top of any page.

After you have installed the tutorial bundle, the example source code is in the INSTALL›/javaeetutorial5/examples/ directory, with subdirectories for each of the technologies discussed in the tutorial.

Application Server

The Sun Java System Platform Application Server Platform Edition 9 is targeted as the build and runtime environment for the tutorial examples. To build, deploy, and run the examples, you need a copy of the Application Server and Java 2 Platform, Standard Edition 5.0 (J2SE 5.0). If you already have a copy of the J2SE SDK, you can download the Application Server from: http://java.sun.com/javaee/downloads/index.html

You can also download the Java EE 5 SDK--which contains the Application Server and the J2SE SDK--from the same site.

Application Server Installation Tips

In the Admin configuration pane of the Application Server installer:

  • Select the Don't Prompt for Admin User Name radio button. This will save the user name and password so that you won't need to provide them when performing administrative operations with asadmin. You will still have to provide the user name and password to log in to the Admin Console.
  • Note the HTTP port at which the server is installed. This tutorial assumes that you are accepting the default port of 8080. If 8080 is in use during installation and the installer chooses another port or if you decide to change it yourself, you will need to update the common build properties file (described in the next section) and the configuration files for some of the tutorial examples to reflect the correct port.

In the Installation Options pane, check the Add Bin Directory to PATH checkbox so that Application Server scripts (asadmin, wsimport, wsgen, xjc, and schemagen) override other installations.

NetBeans 5.5

The NetBeans integrated development environment (IDE) is a free, open-source IDE for developing Java applications, including enterprise applications. NetBeans 5.5 supports the Java EE 5 platform. You can build, package, deploy, and run the tutorial examples from within NetBeans 5.5, which you can download at http://www.netbeans.org/downloads/index.html. For information on creating enterprise applications in NetBeans 5.5, see http://www.netbeans.org/kb/55/index.html.

Apache Ant

Ant is a Java technology-based build tool developed by the Apache Software Foundation (http://ant.apache.org), and is used to build, package, and deploy the tutorial examples. Ant is included with the Application Server. To use the ant command, add JAVAEE_HOME›/lib/ant/bin to your PATH environment variable.

Registry Server

You need a registry server to run the examples discussed in Chapter 19. Instructions for obtaining and setting up a registry server are provided in Chapter 19.

Building the Examples

The tutorial examples are distributed with a configuration file for either NetBeans 5.5 or Ant. Directions for building the examples are provided in each chapter. Either NetBeans 5.5 or Ant may be used to build, package, deploy, and run the examples.

Building the Examples Using NetBeans 5.5

To run the tutorial examples in NetBeans 5.5, you must register your Application Server installation as a NetBeans Server Instance. Follow these instructions to register the Application Server in NetBeans 5.5.

  1. Select Tools→Server Manager to open the Server Manager dialog.
  2. Click Add Server.
  3. Under Server, select Sun Java System Application Server and click Next.
  4. Under Platform Location, enter the location of your Application Server installation.
  5. Select Register Local Default Domain and click Next.
  6. Under Admin Username and Admin Password, enter the admin name and password you specified while installing the Application Server.
  7. Click Finish.

Building the Examples on the Command-Line Using Ant

Build properties common to all the examples are specified in the build.properties file in the INSTALL›/javaeetutorial5/examples/bp-project/ directory. You must create this file before you can run the examples. We've included a sample file, build.properties.sample, that you should rename to build.properties and edit to reflect your environment. The tutorial examples use the Java BluePrints (http://java.sun.com/reference/blueprints/) build system and application layout structure.

To run the Ant scripts, you must set common build properties in the file INSTALL› /javaeetutorial5/examples/bp-project/build.properties as follows:

  • Set the javaee.home property to the location of your Application Server installation. The build process uses the javaee.home property to include the libraries in JAVAEE_HOME›/lib/ in the classpath. All examples that run on the Application Server include the Java EE library archive--JAVAEE_HOME›/lib/javaee.jar--in the build classpath. Some examples use additional libraries in JAVAEE_HOME›/lib/; the required libraries are enumerated in the individual technology chapters. JAVAEE_HOME refers to the directory where you have installed the Application Serv...

Product Details

  • Paperback: 1360 pages
  • Publisher: Prentice Hall; 3 edition (November 13, 2006)
  • Language: English
  • ISBN-10: 0321490290
  • ISBN-13: 978-0321490292
  • Product Dimensions: 9.3 x 7.4 x 2 inches
  • Shipping Weight: 4.5 pounds (View shipping rates and policies)
  • Average Customer Review: 3.0 out of 5 stars  See all reviews (12 customer reviews)
  • Amazon Best Sellers Rank: #387,307 in Books (See Top 100 in Books)

 

Customer Reviews

12 Reviews
5 star:
 (3)
4 star:
 (1)
3 star:
 (4)
2 star:
 (1)
1 star:
 (3)
 
 
 
 
 
Average Customer Review
3.0 out of 5 stars (12 customer reviews)
 
 
 
 
Share your thoughts with other customers:
Most Helpful Customer Reviews

19 of 19 people found the following review helpful:
2.0 out of 5 stars This is a great introduction to JEE5 as long as you already know JEE!, September 21, 2007
This review is from: Java™ EE 5 Tutorial, The (3rd Edition) (Paperback)
The book description says "This book takes a task-oriented, example-driven approach to show you how to build applications for the Java EE 5 platform."

That is a very misleading half truth. You would expect step by step instructions to write and deploy simple examples. Well the authors have decided to take a short cut instead. They say 'Here is a nice little example we have written the other day. And we will just tell you how to deploy and run it!. True, they 'discuss' the code in the text. But obviously that is not as good as guiding you through the process of building and deploying from scratch. As a result, you have to learn some stuff the hard way by struggling with error messages (for example how to set up library references in netbeans when creating Application Clients or how to edit the build.properties before using ant to create JMS resources etc are not mentioned)
In the preface you get a 'road map' diagram to help you 'navigate' through the tutorial. But that doesn't tell the whole story.For example the diagram doesn't really tell you that to learn about Message driven beans (which is around the in the middle of the book) you should first learn JMS( which is near the end of the book) Too many forward references makes this very difficult to use.

I am not saying it is completely useless. With a little pain and some googling you can stumble through this stuff very slowly. But it just could be an awful lot better.

Sun says they have simplified JEE so much with version 5. If that is so why can't they write a complete tutorial that readers new to JEE can read and work through step by step? The biggest criticism leveled against JEE is that it is too complex. By writing a better tutorial Sun can go a long way towards making JEE easier to use.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


5 of 5 people found the following review helpful:
1.0 out of 5 stars Buy this only if you already know Java EE, March 30, 2008
By 
Jeez (Florida, USA) - See all my reviews
This book makes sense only if you already know Java EE, but in that case you don't need it. One of the worst tutorial I've ever seen. Wasted a lot of time trying to understand what it says, but that's so hard because it keeps referring to concepts that are be not covered until later chapters (forward referencing). The examples are working, but no clear explanation on what each of them does, how to reassemble them, etc. No step by step guide. Even concepts aren't explained well enough.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


7 of 9 people found the following review helpful:
4.0 out of 5 stars Nice Book, February 6, 2007
This review is from: Java™ EE 5 Tutorial, The (3rd Edition) (Paperback)
Thats a nice Book! the problem is this book is not portable like the java language. I sugest you to read the pdf before buy this book, so, if you like it, then purchase it. The pdf in the sun's site is equals this book, but for me is unbearable to read much time on PC.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No

Share your thoughts with other customers: Create your own review
 
 
 
Most Recent Customer Reviews










Only search this product's reviews



What Other Items Do Customers Buy After Viewing This Item?


Tags Customers Associate with This Product

 (What's this?)
Click on a tag to find related items, discussions, and people.
 
(4)
(1)

Your tags: Add your first tag
 

Customer Discussions

This product's forum
Discussion Replies Latest Post
No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
Topic:
First post:
Prompts for sign-in
 


Active discussions in related forums
Search Customer Discussions
Search all Amazon discussions
   
Related forums



So You'd Like to...


Create a guide


Look for Similar Items by Category


Look for Similar Items by Subject