Buying Options
Java Enterprise in a Nutshell, Second Edition
Safari Books Online
Add to Cart
What is this?

Product Editions

Please consider the latest edition.

  1. Java Enterprise in a Nutshell, Third Edition - November 2005
  2. Java Enterprise in a Nutshell, Second Edition - April 2002
  3. Java Enterprise in a Nutshell - September 1999
Description
Completely revised and updated for the new 2.0 version of Sun Microsystems Java Enterprise Edition software, Java Enterprise in a Nutshell covers all of the J2EE APIs, including RMI, Java IDL, JDBC, JNDI, Java Servlet, and Enterprise JavaBeans, with a fast-paced tutorial and compact reference on each technology. Then Java Enterprise in a Nutshell goes even further, providing a classic O'Reilly-style quick reference for all of the classes in the various packages that comprise the Enterprise APIs - covering the core enterprise APIs as well as numerous standard extensions.
Full Description
Table of Contents
  1. Introducing the Java Enterprise APIs

    1. Chapter 1 Introduction

      1. Enterprise Computing Defined
      2. Enterprise Computing Demystified
      3. The Java Enterprise APIs
      4. Enterprise Computing Scenarios
      5. Other Enterprise APIs
    2. Chapter 2 JDBC

      1. JDBC Architecture
      2. Connecting to the Database
      3. Statements
      4. Results
      5. Handling Errors
      6. Prepared Statements
      7. BLOBs and CLOBs
      8. Metadata
      9. Transactions
      10. Stored Procedures
      11. Escape Sequences
      12. The JDBC Optional Package
      13. JDBC 3.0
    3. Chapter 3 Remote Method Invocation

      1. Introduction to RMI
      2. Defining Remote Objects
      3. Creating the Stubs and Skeletons
      4. Accessing Remote Objects as a Client
      5. Dynamically Loaded Classes
      6. Remote Object Activation
      7. RMI and Native Method Calls
      8. RMI Over IIOP
    4. Chapter 4 Java IDL (CORBA)

      1. A Note on Evolving Standards
      2. The CORBA Architecture
      3. Creating CORBA Objects
      4. Putting It in the Public Eye
      5. Finding and Using Remote Objects
      6. What if I Don't Have the Interface?
    5. Chapter 5 Java Servlets

      1. Getting a Servlet Environment
      2. Servlet Basics
      3. Web Applications
      4. Servlet Requests
      5. Servlet Responses
      6. Custom Servlet Initialization
      7. Security
      8. Servlet Chains and Filters
      9. Thread Safety
      10. Cookies
      11. Session Tracking
      12. Databases and Non-HTML Content
    6. Chapter 6 JavaServer Pages

      1. JSP Basics
      2. JSP Actions
      3. Custom Tags
      4. Wrapping Up
    7. Chapter 7 JNDI

      1. JNDI Architecture
      2. A Simple Example
      3. Introducing the Context
      4. Looking Up Objects in a Context
      5. The NamingShell Application
      6. Listing the Children of a Context
      7. Creating and Destroying Contexts
      8. Binding Objects
      9. Accessing Directory Services
      10. Modifying Directory Entries
      11. Creating Directory Entries
      12. Searching a Directory
      13. Event Notification
    8. Chapter 8 Enterprise JavaBeans (EJB)

      1. A Note on Evolving Standards
      2. EJB Roles
      3. Implementing a Basic EJB
      4. Using Enterprise JavaBeans
      5. Implementing Session Beans
      6. Implementing Entity Beans
      7. Implementing Message-Driven Beans
      8. Transaction Management
    9. Chapter 9 Java and XML

      1. Using XML Documents
      2. Java API for XML Processing
      3. SAX
      4. DOM
      5. XSLT
    10. Chapter 10 Java Message Service

      1. JMS in the J2EE Environment
      2. Elements of Messaging with JMS
      3. The Anatomy of Messages
      4. Point-to-Point Messaging
      5. Publish-Subscribe Messaging
      6. Transactional Messaging
      7. Message Selector Syntax
      8. Structure of a Selector
      9. Identifiers
      10. Literals
      11. Operators
      12. Expressions
    11. Chapter 11 JavaMail

      1. Email and JavaMail
      2. Creating and Sending Messages
      3. Retrieving Messages
      4. Multipart Messages
  2. Enterprise Reference

    1. Chapter 12 SQL Reference

      1. Relational Databases
      2. Data Types
      3. Schema Manipulation Commands
      4. Data Manipulation Commands
      5. Functions
      6. Return Codes
    2. Chapter 13 RMI Tools

    3. Chapter 14 IDL Reference

      1. IDL Keywords
      2. Identifiers
      3. Comments
      4. Basic Data Types
      5. Constants and Literals
      6. Naming Scopes
      7. User-Defined Data Types
      8. Exceptions
      9. Module Declarations
      10. Interface Declarations
      11. Value Type Declarations
    4. Chapter 15 CORBA Services Reference

      1. Collection Service
      2. Concurrency Service
      3. Enhanced View of Time Service
      4. Event Service
      5. Externalization Service
      6. Licensing Service
      7. Life Cycle Service
      8. Naming Service
      9. Notification Service
      10. Persistent Object Service
      11. Property Service
      12. Query Service
      13. Relationship Service
      14. Security Service
      15. Time Service
      16. Trading Object Service
      17. Transaction Service
    5. Chapter 16 Java IDL Tools

    6. Chapter 17 Enterprise JavaBeans Query Language Syntax

      1. Basic Structure of EJB QL Queries
      2. FROM Clause
      3. SELECT Clause
      4. WHERE Clause
  3. API Quick Reference

    1. Chapter 18 java.rmi

    2. Chapter 19 java.rmi.activation

    3. Chapter 20 java.rmi.dgc

    4. Chapter 21 java.rmi.registry

    5. Chapter 22 java.rmi.server

    6. Chapter 23 java.sql

    7. Chapter 24 javax.ejb and javax.ejb.spi

    8. Chapter 25 javax.jms

    9. Chapter 26 javax.mail and Subpackages

    10. Chapter 27 javax.naming

    11. Chapter 28 javax.naming.directory

    12. Chapter 29 javax.naming.event

    13. Chapter 30 javax.naming.ldap

    14. Chapter 31 javax.naming.spi

    15. Chapter 32 javax.resource

    16. Chapter 33 javax.resource.cci

    17. Chapter 34 javax.resource.spi and javax.resource.spi.security

    18. Chapter 35 javax.rmi and javax.rmi.CORBA

    19. Chapter 36 javax.servlet

    20. Chapter 37 javax.servlet.http

    21. Chapter 38 javax.servlet.jsp

    22. Chapter 39 javax.sql

    23. Chapter 40 javax.transaction and javax.transaction.xa

    24. Chapter 41 org.omg.CORBA and Subpackages

    25. Chapter 42 org.omg.CORBA_2_3 and org.omg.CORBA_2_3.portable

    26. Chapter 43 org.omg.CosNaming and Subpackages

    27. Chapter 44 org.omg.PortableServer and Subpackages

  1. Colophon

View Full Table of Contents
Product Details
Title:
Java Enterprise in a Nutshell, Second Edition
By:
William Crawford, Jim Farley, David Flanagan
Publisher:
O'Reilly Media
Formats:
  • Print
  • Safari Books Online
Print Release:
April 2002
Pages:
992
Print ISBN:
978-0-596-00152-0
| ISBN 10:
0-596-00152-5
Customer Reviews
About the Authors
  1. William Crawford

    William Crawford has been developing web-based enterprise applications since 1995, including one of the first web-based electronic medical record systems (at Children's Hospital in Boston) and some of the first enterprise-level uses of Java. He has consulted for a variety of institutional clients, including Boston Children's Hospital, Harvard Medical Center, numerous startups and several Fortune 500 companies. Prior to an acquisition he was CTO of Invantage, Incorporated in Cambridge, MA. He received a degree in history and economics from Yale University. He is the co-author of Java Servlet Programming, 2nd Edition, Java Enterprise in a Nutshell, 2nd Edition, and two forthcoming O'Reilly titles. Will is currently Principal Software Architect at Perceptive Informatics, Inc.Massachusetts, provider of software and services to the pharmaceutical industry. He can be reached at http://www.williamcrawford.info

    View William Crawford's full profile page.

  2. Jim Farley

    Jim Farley is a software engineer, computer scientist, and IT manager. His recent activities have included heading up the engineering group at the Harvard Business School and bringing good things to life at GE's Research and Development center. He's dealt with computing (distributed and otherwise) in lots of different ways, from automated image inspection to temporal reasoning systems. Jim has Bachelor's and Master's degrees in computer systems engineering from Rensselaer Polytechnic Institute.

    View Jim Farley's full profile page.

  3. David Flanagan

    David Flanagan is a computer programmer who spends most of his time writing about JavaScript and Java. His books with O'Reilly include Java in a Nutshell, Java Examples in a Nutshell, Java Foundation Classes in a Nutshell, JavaScript: The Definitive Guide, and JavaScript Pocket Reference. David has a degree in computer science and engineering from the Massachusetts Institute of Technology. He lives with his wife and son in the U.S. Pacific Northwest bewteen the cities of Seattle, Washington and Vancouver, British Columbia. David has a simple website at http://www.davidflanagan.com.

    View David Flanagan's full profile page.

Colophon

Our look is the result of reader comments, our own experimentation, and feedback from distribution channels. Distinctive covers complement our distinctive approach to technical topics, breathing personality and life into potentially dry subjects. The animal appearing on the cover of Java Enterprise in a Nutshell, Second Edition, is a sand dollar (Echinarachnius parma). The sand dollar is a flattened, rigid, diskshaped marine invertebrate related to sea urchins and sea stars. It is found in large numbers on the sandy bottoms in the coastal waters of many parts of the world. The sand dollar's shell, or test, is often perforated with petal-shaped slots arranged around a central point. The mouth is located in this central position on the underside of the shell. The shell is covered with spines of varying lengths. These spines aid the sand dollar in locomotion and enable it to burrow just below the surface of the sandy bottom. In this sand, the sand dollar finds the tiny organic material it feeds on, pushing the food towards its mouth with tiny tube feet. Additional tube feet on the upper side of the sand dollar are used for breathing.

The sand dollar's flower-like appearance and its abundance in many parts of the world have made it a favorite of shell collectors. Scientists have also taken an interest in this small invertebrate. The sand dollar is frequently used in the study of mitosis, the process of cell division. It is believed that a better understanding of mitosis may lead to a better understanding of cancer. Mary Anne Weeks Mayo was the production editor for Java Enterprise in a Nutshell, Second Edition. Mary Brady copyedited the book. Jane Ellin and Sheryl Avruch provided quality control. David Chu, Julie Flanagan, and Phil Dangler provided production assistance. Ellen Troutman-Zaig wrote the index. Lenny Muellner provided XML support.

Edie Freedman designed the cover of this book, using a 19th-century engraving from the Dover Pictorial Archive. Emma Colby produced the cover layout with Quark-XPress 4.1 using Adobe's ITC Garamond font.

David Futato designed the interior layout based on a series design by Nancy Priest. The text and heading fonts are ITC Garamond Light and Garamond Book; the code font is Adobe ITC Franklin Gothic.

For Parts I and II, Neil Walls converted the files from SGML to FrameMaker 5.5.6 using tools created by Mike Sierra, as well as tools written in Perl by Erik Ray, Jason McIntosh, and Neil Walls. The print version of Part III was generated from XML using a basic macro set developed by Steve Talbott from the GNU troff -gs macros and adapted to the book design by Lenny Muellner; Norm Walsh wrote the Perl filter that translates XML source into those macros.

The illustrations that appear in the book were produced by Robert Romano and Jessamyn Read using Macromedia FreeHand 9 and Adobe Photoshop 6. The hierarchy diagrams that appear in Part III were produced in encapsulated PostScript format by a Java program written by David Flanagan. This colophon was written by Clairemarie Fisher O'Leary.

  • Book cover of Java Enterprise in a Nutshell