Buying Options
Java Enterprise in a Nutshell, Third Edition
Print $44.95
Add to Cart
Safari Books Online
Add to Cart
What is this?
Print £34.50
Add to Cart
What is this?
Description
Revised and updated for the new 1.4 version of Sun Microsystems Java Enterprise Edition software, Java Enterprise in a Nutshell, 3rd Edition is a practical guide for enterprise Java developers.
Full Description
Table of Contents
  1. The Java Enterprise APIs

    1. Chapter 1 Introduction

      1. Enterprise Computing Defined
      2. Enterprise Computing Demystified
      3. Standard Java Enterprise APIs
      4. De Facto Standard Enterprise Development Tools
      5. An Enterprise Computing Scenario
      6. Other Enterprise APIs
    2. Chapter 2 Application Assembly and Deployment

      1. J2EE Application Assembly Model
      2. Component Modules
      3. Application Assemblies
      4. Deploying J2EE Applications
    3. Chapter 3 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 Filters
      9. Thread Safety
      10. Cookies
      11. Session Tracking
      12. Databases and Non-HTML Content
    4. Chapter 4 JavaServer Pages

      1. JSP Basics
      2. JSP Actions
      3. The JSP Expression Language
      4. JSP Standard Tag Library
      5. Custom Tags
      6. Wrapping Up
    5. Chapter 5 JavaServer Faces

      1. The Sample Application
      2. Structure of a JSF Application
      3. Managed Beans
      4. The JSF Expression Language
      5. JSF Actions and Views
      6. Building Tables
      7. Validation
      8. Moving on with JSF
    6. Chapter 6 Enterprise JavaBeans

      1. What Version Is Covered Here?
      2. EJB Component Model Overview
      3. EJB Tutorial
      4. Deploying EJBs
      5. Using Enterprise JavaBeans
      6. Session Bean Specifics
      7. Entity Beans
      8. Message-Driven Beans
      9. Transaction Management
      10. EJB 3.0
    7. Chapter 7 Java and XML

      1. Using XML Documents
      2. Java API for XML Processing
      3. SAX
      4. DOM
      5. XSLT
    8. Chapter 8 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. RowSets
    9. Chapter 9 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
    10. Chapter 10 J2EE Security

      1. Basic Security Concepts
      2. A Look at Java and J2EE Security Standards
      3. Declarative Security Versus Programmatic Security
      4. Web Component Security
      5. EJB Component Security
      6. Other J2EE Security Topics
      7. Limitations of J2EE Security
    11. Chapter 11 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. Unified Messaging
      7. Transactional Messaging
    12. Chapter 12 Web Services with JAX-RPC and SAAJ

      1. What's Covered Here?
      2. Brief Introduction to Web Services
      3. Java Web Services
      4. Writing Web Service Clients
      5. Writing Web Services
      6. Deploying Web Services
    13. Chapter 13 Remote Method Invocation

      1. What's Covered Here?
      2. Introduction to RMI
      3. Defining Remote Objects
      4. Creating the Stubs and Skeletons
      5. Accessing Remote Objects as a Client
      6. Dynamic Classloading
      7. Remote Object Activation
      8. RMI and Native Method Calls
      9. RMI Over IIOP
    14. Chapter 14 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?
    15. Chapter 15 JavaMail

      1. Email and JavaMail
      2. Creating and Sending Messages
      3. Retrieving Messages
      4. Multipart Messages
    16. Chapter 16 Transactions

      1. Transaction Overview
      2. Programmatic Transactions Versus Declarative Transactions
      3. Optimistic Concurrency
      4. EJB Transaction Management
      5. Some Common Programming Scenarios
      6. Transaction Best Practices
  2. Open Source Enterprise Tools

    1. Chapter 17 Ant

      1. What Version Is Covered Here?
      2. Ant Overview
      3. Ant Fundamentals
      4. Core Tasks
      5. Enterprise Tasks
      6. Creating Portable Build Processes
    2. Chapter 18 JUnit and Cactus

      1. What's Covered Here?
      2. Unit Testing Concepts
      3. JUnit Overview
      4. Using JUnit with Ant
      5. Testing Enterprise Components with Cactus
    3. Chapter 19 Struts

      1. The Scope of Struts
      2. The Sample Application
      3. The Development Process with Struts
      4. The Struts Controller
      5. The Action Class
      6. Views in Struts
      7. Struts Tags
      8. Struts Plug-ins
      9. DynaActionForms and the Struts Validator
    4. Chapter 20 Hibernate

      1. The Sample Application
      2. Principles of Hibernate
      3. Configuration and Mapping
      4. The Hibernate API
      5. HQL (Hibernate Query Language)
      6. Hibernate Services
      7. Conclusion
    5. Chapter 21 Annotations with XDoclet and J2SE Metadata

      1. What's Covered Here?
      2. What Are Code Annotations?
      3. Annotation Tools
      4. XDoclet Tutorial
      5. J2SE Annotations Tutorial
  3. Appendixes

    1. Appendix A J2EE Deployment Descriptor Reference

      1. Web Components (web.xml)
      2. Enterprise JavaBeans (ejb-jar.xml)
      3. Application Archives (application .xml)
      4. Web Services (webservices.xml)
      5. Web Service Java/WSDL Mappings
    2. Appendix B JavaServer Faces Tag Libraries

      1. JSF Core Tags
      2. JSF HTML Tags
    3. Appendix C Enterprise JavaBeans Query Language Syntax

      1. Basic Structure of EJB QL Queries
      2. FROM Clause
      3. SELECT Clause
      4. WHERE Clause
      5. ORDER BY Clause
    4. Appendix D SQL Reference

      1. Relational Databases
      2. Data Types
      3. Schema Manipulation Commands
      4. Data Manipulation Commands
      5. Functions
      6. Return Codes
    5. Appendix E JMS Message Selector Syntax

      1. Structure of a Selector
      2. Identifiers
      3. Literals
      4. Operators
      5. Expressions
    6. Appendix F FRMI Tools

    7. Appendix G 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
    8. Appendix H HJava IDL Tools

  1. About the Authors

  2. Colophon

View Full Table of Contents
Product Details
Title:
Java Enterprise in a Nutshell, Third Edition
By:
Jim Farley, William Crawford
With:
Justin Gehtland, Prakash Malani, John G. Norman
Publisher:
O'Reilly Media
Formats:
  • Print
  • Safari Books Online
Print Release:
November 2005
Pages:
896
Print ISBN:
978-0-596-10142-8
| ISBN 10:
0-596-10142-2
Customer Reviews
About the Authors
  1. Jim Farley

    Jim Farley is a technology strategist, architect, manager and author. His current focus is his role as the technology solutions architect for the Harvard Business School, working to assemble enterprise systems for both the instructional and back-office operations at the school. Jim also consults for various organizations in strategic technology and development, lectures in the computer science department at Harvard's Division of Continuing Education, and publishes articles in a number of forums. Jim's history with computing, enterprise and otherwise, has spanned numerous domains, including manufacturing, artificial intelligence, multimedia, collaboration tools, and content management.

    View Jim Farley's full profile page.

  2. William Crawford

    William Crawford has developed web-based enterprise applications since 1995, including one of the first web-based electronic medical record systems, and some of the first enterprise-level uses of Java. He's also consulted for Boston Children's Hospital, Harvard Medical Center, and several Fortune 500 companies. He was Chief Technology Officer at Invantage, Inc., and Principal Software Architect at Perceptive, Informatics, Inc. He is also the co-author O'Reilly's of "J2EE Design Patterns" and "Java Servlet Programming." Will has taken a temporary leave from Enterprise Java development to pursue MBA and MS degrees at MIT.

    View William Crawford'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, Third 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 toward 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.

Abby Fox was the production editor for Java Enterprise in a Nutshell, Third Edition. Norma Emory was the copyeditor, and Genevieve Rajewski was the proofreader. Matt Hutchinson and Marlowe Shaeffer provided quality control. Lydia Onofrei, Loranah Dimant, and Jansen Fernald provided production assistance. Johnna VanHoose Dinse wrote the index.

Edie Freedman designed the cover of this book, using a 19th-century engraving from the Dover Pictorial Archive. Karen Montgomery produced the cover layout with Adobe InDesign CS using Adobe's ITC Garamond font.

David Futato designed the interior layout. This book was converted by Keith Fahlgren from Microsoft Word to FrameMaker 5.5.6 with a format conversion tool created by Erik Ray, Jason McIntosh, Neil Walls, and Mike Sierra that uses Perl and XML technologies. The text font is Linotype Birka; the heading font is Adobe Myriad Condensed; and the code font is LucasFont's TheSans Mono Condensed. The illustrations that appear in the book were produced by Robert Romano, Jessamyn Read, and Lesley Borash using Macromedia FreeHand MX and Adobe Photoshop CS. The tip and warning icons were drawn by Christopher Bing. This colophon was written by Clairemarie Fisher O'Leary.

  • Book cover of Java Enterprise in a Nutshell