-
The Java Enterprise APIs
-
Chapter 1 Introduction
- Enterprise Computing Defined
- Enterprise Computing Demystified
- Standard Java Enterprise APIs
- De Facto Standard Enterprise Development Tools
- An Enterprise Computing Scenario
- Other Enterprise APIs
-
Chapter 2 Application Assembly and Deployment
- J2EE Application Assembly Model
- Component Modules
- Application Assemblies
- Deploying J2EE Applications
-
Chapter 3 Java Servlets
- Getting a Servlet Environment
- Servlet Basics
- Web Applications
- Servlet Requests
- Servlet Responses
- Custom Servlet Initialization
- Security
- Servlet Filters
- Thread Safety
- Cookies
- Session Tracking
- Databases and Non-HTML Content
-
Chapter 4 JavaServer Pages
- JSP Basics
- JSP Actions
- The JSP Expression Language
- JSP Standard Tag Library
- Custom Tags
- Wrapping Up
-
Chapter 5 JavaServer Faces
- The Sample Application
- Structure of a JSF Application
- Managed Beans
- The JSF Expression Language
- JSF Actions and Views
- Building Tables
- Validation
- Moving on with JSF
-
Chapter 6 Enterprise JavaBeans
- What Version Is Covered Here?
- EJB Component Model Overview
- EJB Tutorial
- Deploying EJBs
- Using Enterprise JavaBeans
- Session Bean Specifics
- Entity Beans
- Message-Driven Beans
- Transaction Management
- EJB 3.0
-
Chapter 7 Java and XML
- Using XML Documents
- Java API for XML Processing
- SAX
- DOM
- XSLT
-
Chapter 8 JDBC
- JDBC Architecture
- Connecting to the Database
- Statements
- Results
- Handling Errors
- Prepared Statements
- BLOBs and CLOBs
- Metadata
- Transactions
- Stored Procedures
- Escape Sequences
- RowSets
-
Chapter 9 JNDI
- JNDI Architecture
- A Simple Example
- Introducing the Context
- Looking Up Objects in a Context
- The NamingShell Application
- Listing the Children of a Context
- Creating and Destroying Contexts
- Binding Objects
- Accessing Directory Services
- Modifying Directory Entries
- Creating Directory Entries
- Searching a Directory
- Event Notification
-
Chapter 10 J2EE Security
- Basic Security Concepts
- A Look at Java and J2EE Security Standards
- Declarative Security Versus Programmatic Security
- Web Component Security
- EJB Component Security
- Other J2EE Security Topics
- Limitations of J2EE Security
-
Chapter 11 Java Message Service
- JMS in the J2EE Environment
- Elements of Messaging with JMS
- The Anatomy of Messages
- Point-to-Point Messaging
- Publish-Subscribe Messaging
- Unified Messaging
- Transactional Messaging
-
Chapter 12 Web Services with JAX-RPC and SAAJ
- What's Covered Here?
- Brief Introduction to Web Services
- Java Web Services
- Writing Web Service Clients
- Writing Web Services
- Deploying Web Services
-
Chapter 13 Remote Method Invocation
- What's Covered Here?
- Introduction to RMI
- Defining Remote Objects
- Creating the Stubs and Skeletons
- Accessing Remote Objects as a Client
- Dynamic Classloading
- Remote Object Activation
- RMI and Native Method Calls
- RMI Over IIOP
-
Chapter 14 Java IDL (CORBA)
- A Note on Evolving Standards
- The CORBA Architecture
- Creating CORBA Objects
- Putting It in the Public Eye
- Finding and Using Remote Objects
- What If I Don't Have the Interface?
-
Chapter 15 JavaMail
- Email and JavaMail
- Creating and Sending Messages
- Retrieving Messages
- Multipart Messages
-
Chapter 16 Transactions
- Transaction Overview
- Programmatic Transactions Versus Declarative Transactions
- Optimistic Concurrency
- EJB Transaction Management
- Some Common Programming Scenarios
- Transaction Best Practices
-
-
Open Source Enterprise Tools
-
Chapter 17 Ant
- What Version Is Covered Here?
- Ant Overview
- Ant Fundamentals
- Core Tasks
- Enterprise Tasks
- Creating Portable Build Processes
-
Chapter 18 JUnit and Cactus
- What's Covered Here?
- Unit Testing Concepts
- JUnit Overview
- Using JUnit with Ant
- Testing Enterprise Components with Cactus
-
Chapter 19 Struts
- The Scope of Struts
- The Sample Application
- The Development Process with Struts
- The Struts Controller
- The Action Class
- Views in Struts
- Struts Tags
- Struts Plug-ins
- DynaActionForms and the Struts Validator
-
Chapter 20 Hibernate
- The Sample Application
- Principles of Hibernate
- Configuration and Mapping
- The Hibernate API
- HQL (Hibernate Query Language)
- Hibernate Services
- Conclusion
-
Chapter 21 Annotations with XDoclet and J2SE Metadata
- What's Covered Here?
- What Are Code Annotations?
- Annotation Tools
- XDoclet Tutorial
- J2SE Annotations Tutorial
-
-
Appendixes
-
Appendix A J2EE Deployment Descriptor Reference
- Web Components (web.xml)
- Enterprise JavaBeans (ejb-jar.xml)
- Application Archives (application .xml)
- Web Services (webservices.xml)
- Web Service Java/WSDL Mappings
-
Appendix B JavaServer Faces Tag Libraries
- JSF Core Tags
- JSF HTML Tags
-
Appendix C Enterprise JavaBeans Query Language Syntax
- Basic Structure of EJB QL Queries
- FROM Clause
- SELECT Clause
- WHERE Clause
- ORDER BY Clause
-
Appendix D SQL Reference
- Relational Databases
- Data Types
- Schema Manipulation Commands
- Data Manipulation Commands
- Functions
- Return Codes
-
Appendix E JMS Message Selector Syntax
- Structure of a Selector
- Identifiers
- Literals
- Operators
- Expressions
-
Appendix F FRMI Tools
-
Appendix G IDL Reference
- IDL Keywords
- Identifiers
- Comments
- Basic Data Types
- Constants and Literals
- Naming Scopes
- User-Defined Data Types
- Exceptions
- Module Declarations
- Interface Declarations
- Value Type Declarations
-
Appendix H HJava IDL Tools
-
-
About the Authors
-
Colophon
- Title:
- Java Enterprise in a Nutshell, Third Edition
- By:
- Jim Farley, William Crawford
- With:
- Prakash Malani, Justin Gehtland, John G. Norman
- Publisher:
- O'Reilly Media
- Formats:
-
- Safari Books Online
- Print Release:
- November 2005
- Pages:
- 896
- Print ISBN:
- 978-0-596-10142-8
- | ISBN 10:
- 0-596-10142-2
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.
