Java Enterprise in a Nutshell, Second Edition

Book description

Nothing is as constant as change, and this is as true in enterprise computing as anywhere else. Since Java Enterprise in a Nutshell was first published in September of 1999, a dozen or more new APIs have been added to the platform, reflecting the new and different ways developers implement their enterprise objectives. And now developers are being called on to add even greater, more complex levels of interconnectivity to their applications, as the concepts behind Web Services solidify and implementation decisions need coding. Java developers today need a clear understanding of the new APIs, tools, capabilities and pitfalls in J2EE 2.0 so they can plan a technology and implementation strategy for new enterprise projects. Fortunately, this is exactly what they get with the new Java Enterprise in a Nutshell, 2nd edition! Completely revised and updated for the new 2.0 version of Sun Microsystems Java Enterprise Edition software, Java Enterprise in a Nutshell 2nd edition 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.

Table of contents

  1. Java Enterprise in a Nutshell, 2nd Edition
    1. Preface
      1. Contents of This Book
      2. Related Books
      3. Java Programming Resources Online
      4. Examples Online
      5. Conventions Used in This Book
      6. Comments and Questions
      7. Acknowledgments
        1. Jim Farley
        2. William Crawford
        3. David Flanagan
    2. I. Introducing the Java Enterprise APIs
      1. 1. Introduction
        1. Enterprise Computing Defined
        2. Enterprise Computing Demystified
        3. The Java Enterprise APIs
          1. JDBC: Working with Databases
          2. RMI: Remote Method Invocation
          3. Java IDL: CORBA Distributed Objects
          4. JAXP: XML Parsing and Messaging
          5. JNDI: Accessing Naming and Directory Services
          6. JMS: Enterprise Messaging
          7. JavaMail: Email-Based Messaging
          8. Enterprise JavaBeans: Distributed Components
          9. Servlets and JavaServer Pages (JSPs): Web-Based Components/UIs
          10. JTA: Managing Distributed Transactions
        4. Enterprise Computing Scenarios
          1. Enabling E-Commerce for a Mail-Order Enterprise
          2. Updating CornCo with Enterprise JavaBeans
        5. Other Enterprise APIs
      2. 2. JDBC
        1. JDBC Architecture
          1. JDBC Basics
          2. JDBC Drivers
          3. JDBC URLs
          4. The JDBC-ODBC Bridge
        2. Connecting to the Database
        3. Statements
          1. Multiple Result Sets
        4. Results
          1. Handling Nulls
          2. Large Data Types
          3. Dates and Times
          4. Advanced Results Handling
          5. Java-Aware Databases
        5. Handling Errors
          1. SQL Warnings
        6. Prepared Statements
          1. Batch Updates
        7. BLOBs and CLOBs
        8. Metadata
          1. DatabaseMetaData
          2. ResultSetMetaData
        9. Transactions
        10. Stored Procedures
        11. Escape Sequences
        12. The JDBC Optional Package
          1. DataSource Objects
            1. Connection pooling
            2. Distributed transactions
          2. RowSets
        13. JDBC 3.0
          1. Savepoints
          2. SQL99 Types
      3. 3. Remote Method Invocation
        1. Introduction to RMI
          1. RMI in Action
          2. RMI Architecture
          3. RMI Object Services
            1. Naming/registry service
            2. Object activation service
            3. Distributed garbage collection
        2. Defining Remote Objects
          1. Key RMI Classes for Remote Object Implementations
        3. Creating the Stubs and Skeletons
        4. Accessing Remote Objects as a Client
          1. The Registry and Naming Services
          2. Remote Method Arguments and Return Values
          3. Factory Classes
        5. Dynamically Loaded Classes
          1. Configuring Clients and Servers for Remote Class Loading
          2. Loading Classes from Applets
        6. Remote Object Activation
          1. Persistent Remote References
          2. Defining an Activatable Remote Object
            1. The Activatable class
            2. Implementing an activatable object
          3. Registering Activatable Objects
            1. Registering an activatable object without instantiating
            2. Passing data with the MarshalledObject
          4. Activation Groups
            1. Registering activation groups
            2. Assigning activatable objects to groups
          5. The Activation Daemon
            1. The daemon’s dual personality
        7. RMI and Native Method Calls
          1. RMI with JNI Versus CORBA
        8. RMI Over IIOP
          1. Accessing RMI Objects from CORBA
      4. 4. Java IDL (CORBA)
        1. A Note on Evolving Standards
        2. The CORBA Architecture
          1. Interface Definition Language
          2. The Object Request Broker and the Object Adaptor
          3. The Naming Service
          4. Inter-ORB Communication
        3. Creating CORBA Objects
          1. An IDL Primer
            1. Modules
            2. Interfaces
            3. Data members and methods
            4. A complete IDL example
          2. Turning IDL into Java
            1. The delegation server-side model
            2. A simple server class
            3. The helper class and narrowing references
            4. The holder class
            5. The client stub
            6. Pre-POA server skeletons
            7. POA server skeletons
          3. Writing the Implementation
        4. Putting It in the Public Eye
          1. Initializing the ORB
          2. Registering with a Naming Service
          3. Adding Objects to a Naming Context
            1. A slightly simpler approach: The Interoperable Naming Service
        5. Finding and Using Remote Objects
          1. Remote Object References and Narrowing
          2. Accessing Remote Objects
          3. ORB Initial Object References
          4. Getting Objects from Other Remote Objects
            1. Naming service lookups
          5. Object URLs
        6. What if I Don’t Have the Interface?
          1. Dynamic Invocation Interface
      5. 5. Java Servlets
        1. Getting a Servlet Environment
        2. Servlet Basics
          1. The Servlet Lifecycle
          2. Writing Servlets
          3. HTTP Servlets
        3. Web Applications
          1. Structure of Web Applications
          2. Mapping Requests with a Context
          3. Context Methods
        4. Servlet Requests
          1. Forms and Interaction
          2. POST, HEAD, and Other Requests
        5. Servlet Responses
          1. Request Dispatching
          2. Error Handling
            1. Status codes
            2. Servlet exceptions
            3. A file serving servlet
        6. Custom Servlet Initialization
          1. Servlet Context Initalization
        7. Security
        8. Servlet Chains and Filters
          1. Filters
        9. Thread Safety
        10. Cookies
        11. Session Tracking
          1. HttpSessionBindingListener
          2. Session Contexts
        12. Databases and Non-HTML Content
      6. 6. JavaServer Pages
        1. JSP Basics
          1. Directives and Declarations
          2. Built-in Objects
          3. Sharing Data Between JSPs, Other JSPs, and Servlets
        2. JSP Actions
          1. JSP Tags and JavaBeans
          2. Scoping Beans
        3. Custom Tags
          1. Implementing Custom Tags
          2. More Tag Lifecycle
          3. Body Tags
          4. Inter-Tag Communication
        4. Wrapping Up
      7. 7. JNDI
        1. JNDI Architecture
        2. A Simple Example
        3. Introducing the Context
          1. Using the InitialContext Class
          2. Other Naming Systems
        4. Looking Up Objects in a Context
        5. The NamingShell Application
          1. The Command Interface
          2. A Command for Loading an Initial Context
          3. Running the Shell
        6. Listing the Children of a Context
          1. How Names Work
          2. Browsing a Naming System
          3. Listing the Bindings of a Context
        7. Creating and Destroying Contexts
        8. Binding Objects
        9. Accessing Directory Services
          1. X.500 Directories
          2. The DirContext Interface
          3. The Attributes Interface
          4. The Attribute Interface
        10. Modifying Directory Entries
        11. Creating Directory Entries
        12. Searching a Directory
          1. Search Criteria
          2. Search Results
          3. Search Controls
          4. A Search Command
        13. Event Notification
          1. Event Sources
          2. Writing Event Listeners
          3. Registering Event Listeners
            1. A listen command
      8. 8. Enterprise JavaBeans (EJB)
        1. A Note on Evolving Standards
        2. EJB Roles
          1. The EJB Client
          2. The Enterprise JavaBeans Object
            1. Types of EJBs: Session, entity and message-driven
          3. The EJB Container
        3. Implementing a Basic EJB
          1. Client Interfaces
          2. Home Interfaces
          3. The Bean Implementation
          4. Deploying EJBs
            1. Deployment descriptors
          5. Security-Related Deployment Attributes
            1. Client security roles
            2. Method permissions
            3. Propagating identities
          6. Packaging Enterprise JavaBeans
          7. Generating the Container Classes
        4. Using Enterprise JavaBeans
          1. Local Versus Remote Clients
          2. Finding Home Interfaces Through JNDI
          3. Creating and Finding Beans
          4. EJB Handles and Home Handles
        5. Implementing Session Beans
          1. Stateless Versus Stateful Session Beans
          2. Container Management of Stateless and Stateful Session Beans
          3. Optional Transaction Support
        6. Implementing Entity Beans
          1. Primary Keys
          2. Finder and Select Methods
          3. Entity Bean Implementations
          4. Deployment Options for Entity Beans
          5. The Entity Context
          6. Lifecycle of an Entity Bean
          7. Bean-Managed Persistence
          8. Container-Managed Persistence
            1. Mapping container-managed fields: Abstract persistence schema
              1. EJB 2.0
              2. EJB 1.1
            2. Persistence callbacks
            3. Handling complex data structures
            4. Finder and select methods
              1. EJB 2.0
              2. EJB 1.1
            5. EJB relationships
        7. Implementing Message-Driven Beans
          1. Client use of message-driven beans
        8. Transaction Management
          1. Transaction management: Bean-managed vs. container-managed
          2. Transaction support attributes
      9. 9. Java and XML
        1. Using XML Documents
        2. Java API for XML Processing
          1. Getting a Parser or Processor
        3. SAX
          1. SAX Handlers
            1. ContentHandler
            2. ErrorHandler
            3. DefaultHandler
          2. Using a SAX Parser
            1. A SAX example: Processing orders
        4. DOM
          1. Getting a DOM Parser
          2. Navigating the DOM Tree
            1. Element attributes
          3. Manipulating DOM Trees
          4. Extending DOM Trees
        5. XSLT
          1. JAXP Data Sources
            1. Determining data source support
            2. Custom URI resolution
      10. 10. Java Message Service
        1. JMS in the J2EE Environment
        2. Elements of Messaging with JMS
          1. Messaging Styles: Point-to-Point and Publish-Subscribe
          2. Key JMS Interfaces
          3. A Generic JMS Client
            1. General setup
            2. Client identifiers
            3. Authenticated connections
            4. Sessions
            5. Sending messages
            6. Receiving messages
            7. Temporary destinations
            8. Cleaning up
        3. The Anatomy of Messages
          1. Message Header Fields and Properties
          2. JMS Message Types
          3. Accessing Message Content
          4. Filtering Messages
        4. Point-to-Point Messaging
          1. Sample Client
          2. Browsing Queues
        5. Publish-Subscribe Messaging
          1. Sample Client
          2. Durable Subscriptions
        6. Transactional Messaging
        7. Message Selector Syntax
        8. Structure of a Selector
        9. Identifiers
        10. Literals
        11. Operators
          1. Logical Operators
          2. Arithmetic Operators
          3. Comparison Operators
        12. Expressions
      11. 11. JavaMail
        1. Email and JavaMail
          1. JavaMail Layers
          2. Installing and Configuring JavaMail
            1. Provider registries
          3. The Mail Session
            1. Authenticators
            2. Providers
            3. URL names
        2. Creating and Sending Messages
          1. Sending Messages
        3. Retrieving Messages
          1. Message Stores
          2. Handling Incoming Messages
          3. Searches and Message Management
        4. Multipart Messages
          1. Displaying Multipart Messages
          2. Sending Multipart Messages
    3. II. Enterprise Reference
      1. 12. SQL Reference
        1. Relational Databases
        2. Data Types
        3. Schema Manipulation Commands
          1. CREATE TABLE
          2. ALTER TABLE
          3. DROP
        4. Data Manipulation Commands
          1. SELECT
            1. String comparisons
            2. Subqueries and joins
            3. Groups
          2. INSERT
          3. UPDATE
          4. DELETE
        5. Functions
          1. Aggregate Functions
          2. Value Functions
            1. Date/time functions
            2. String manipulation functions
        6. Return Codes
      2. 13. RMI Tools
        1. rmic: The Java RMI Compiler
        2. rmiregistry: The Java RMI Object Registry
        3. rmid: The RMI Activation Daemon
        4. serialver: The RMI Serial Version Utility
      3. 14. IDL Reference
        1. IDL Keywords
        2. Identifiers
          1. Mapping Identifiers to Java
        3. Comments
          1. Mapping Comments to Java
        4. Basic Data Types
          1. Strings and Characters
            1. Mapping strings and characters to Java
        5. Constants and Literals
          1. Mapping Constants to Java
          2. Boolean Literals
          3. Numeric Literals
            1. Integer literals
            2. Floating-point literals
            3. Fixed-point literals
            4. Mapping numeric literals to Java
          4. Character Literals
          5. String Literals
        6. Naming Scopes
        7. User-Defined Data Types
          1. Typedefs
            1. Mapping typedefs to Java
          2. Arrays
            1. Mapping arrays to Java
          3. Sequences
            1. Mapping sequences to Java
          4. Structs
            1. Mapping structs to Java
          5. Enumerations
            1. Mapping enumerations to Java
          6. Unions
            1. Mapping unions to Java
        8. Exceptions
          1. Standard Exceptions
          2. Mapping Exceptions to Java
        9. Module Declarations
          1. Mapping Modules to Java
        10. Interface Declarations
          1. Attributes
          2. Methods
            1. Arguments
            2. Exceptions
            3. Context values
            4. Call semantics
          3. Interface Inheritance
            1. Method and attribute inheritance
            2. Constant, type, and exception inheritance
            3. IDL early binding
          4. Mapping Interfaces to Java
            1. Helper and holder classes
            2. Attributes
            3. Methods
        11. Value Type Declarations
          1. Mapping Valuetypes to Java
      4. 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. 16. Java IDL Tools
        1. idlj: The Java IDL Compiler
        2. orbd: Naming Service Daemon
        3. servertool
        4. tnameserv: Transient Naming Service Daemon
      6. 17. Enterprise JavaBeans Query Language Syntax
        1. Basic Structure of EJB QL Queries
        2. FROM Clause
          1. Range Variables
          2. Collection Member Variables
        3. SELECT Clause
          1. DISTINCT Queries
        4. WHERE Clause
          1. Literals
          2. Variables
            1. Simple query variables
            2. Input parameter variables
            3. Path expression variables
          3. Functions
          4. Conditional Expressions
            1. Logical operators
            2. Arithmetic operators
            3. Comparison operators
    4. III. API Quick Reference
      1. 18. java.rmi
        1. Package java.rmi
        2. AccessException
        3. AlreadyBoundException
        4. ConnectException
        5. ConnectIOException
        6. MarshalException
        7. MarshalledObject
        8. Naming
        9. NoSuchObjectException
        10. NotBoundException
        11. Remote
        12. RemoteException
        13. RMISecurityException
        14. RMISecurityManager
        15. ServerError
        16. ServerException
        17. ServerRuntimeException
        18. StubNotFoundException
        19. UnexpectedException
        20. UnknownHostException
        21. UnmarshalException
      2. 19. java.rmi.activation
        1. Package java.rmi.activation
        2. Activatable
        3. ActivateFailedException
        4. ActivationDesc
        5. ActivationException
        6. ActivationGroup
        7. ActivationGroup_Stub
        8. ActivationGroupDesc
        9. ActivationGroupDesc.CommandEnvironment
        10. ActivationGroupID
        11. ActivationID
        12. ActivationInstantiator
        13. ActivationMonitor
        14. ActivationSystem
        15. Activator
        16. UnknownGroupException
        17. UnknownObjectException
      3. 20. java.rmi.dgc
        1. Package java.rmi.dgc
        2. DGC
        3. Lease
        4. VMID
      4. 21. java.rmi.registry
        1. Package java.rmi.registry
        2. LocateRegistry
        3. Registry
        4. RegistryHandler
      5. 22. java.rmi.server
        1. Package java.rmi.server
        2. ExportException
        3. LoaderHandler
        4. LogStream
        5. ObjID
        6. Operation
        7. RemoteCall
        8. RemoteObject
        9. RemoteRef
        10. RemoteServer
        11. RemoteStub
        12. RMIClassLoader
        13. RMIClassLoaderSpi
        14. RMIClientSocketFactory
        15. RMIFailureHandler
        16. RMIServerSocketFactory
        17. RMISocketFactory
        18. ServerCloneException
        19. ServerNotActiveException
        20. ServerRef
        21. Skeleton
        22. SkeletonMismatchException
        23. SkeletonNotFoundException
        24. SocketSecurityException
        25. UID
        26. UnicastRemoteObject
        27. Unreferenced
      6. 23. java.sql
        1. Package java.sql
        2. Array
        3. BatchUpdateException
        4. Blob
        5. CallableStatement
        6. Clob
        7. Connection
        8. DatabaseMetaData
        9. DataTruncation
        10. Date
        11. Driver
        12. DriverManager
        13. DriverPropertyInfo
        14. ParameterMetaData
        15. PreparedStatement
        16. Ref
        17. ResultSet
        18. ResultSetMetaData
        19. Savepoint
        20. SQLData
        21. SQLException
        22. SQLInput
        23. SQLOutput
        24. SQLPermission
        25. SQLWarning
        26. Statement
        27. Struct
        28. Time
        29. Timestamp
        30. Types
      7. 24. javax.ejb and javax.ejb.spi
        1. Package javax.ejb
        2. AccessLocalException
        3. CreateException
        4. DuplicateKeyException
        5. EJBContext
        6. EJBException
        7. EJBHome
        8. EJBLocalHome
        9. EJBLocalObject
        10. EJBMetaData
        11. EJBObject
        12. EnterpriseBean
        13. EntityBean
        14. EntityContext
        15. FinderException
        16. Handle
        17. HomeHandle
        18. MessageDrivenBean
        19. MessageDrivenContext
        20. NoSuchEntityException
        21. NoSuchObjectLocalException
        22. ObjectNotFoundException
        23. RemoveException
        24. SessionBean
        25. SessionContext
        26. SessionSynchronization
        27. TransactionRequiredLocalException
        28. TransactionRolledbackLocalException
        29. Package javax.ejb.spi
        30. HandleDelegate
      8. 25. javax.jms
        1. Package javax.jms
        2. BytesMessage
        3. Connection
        4. ConnectionConsumer
        5. ConnectionFactory
        6. ConnectionMetaData
        7. DeliveryMode
        8. Destination
        9. ExceptionListener
        10. IllegalStateException
        11. InvalidClientIDException
        12. InvalidDestinationException
        13. InvalidSelectorException
        14. JMSException
        15. JMSSecurityException
        16. MapMessage
        17. Message
        18. MessageConsumer
        19. MessageEOFException
        20. MessageFormatException
        21. MessageListener
        22. MessageNotReadableException
        23. MessageNotWriteableException
        24. MessageProducer
        25. ObjectMessage
        26. Queue
        27. QueueBrowser
        28. QueueConnection
        29. QueueConnectionFactory
        30. QueueReceiver
        31. QueueRequestor
        32. QueueSender
        33. QueueSession
        34. ResourceAllocationException
        35. ServerSession
        36. ServerSessionPool
        37. Session
        38. StreamMessage
        39. TemporaryQueue
        40. TemporaryTopic
        41. TextMessage
        42. Topic
        43. TopicConnection
        44. TopicConnectionFactory
        45. TopicPublisher
        46. TopicRequestor
        47. TopicSession
        48. TopicSubscriber
        49. TransactionInProgressException
        50. TransactionRolledBackException
        51. XAConnection
        52. XAConnectionFactory
        53. XAQueueConnection
        54. XAQueueConnectionFactory
        55. XAQueueSession
        56. XASession
        57. XATopicConnection
        58. XATopicConnectionFactory
        59. XATopicSession
      9. 26. javax.mail and Subpackages
        1. Package javax.mail
        2. Address
        3. AuthenticationFailedException
        4. Authenticator
        5. BodyPart
        6. FetchProfile
        7. FetchProfile.Item
        8. Flags
        9. Flags.Flag
        10. Folder
        11. FolderClosedException
        12. FolderNotFoundException
        13. Header
        14. IllegalWriteException
        15. Message
        16. Message.RecipientType
        17. MessageAware
        18. MessageContext
        19. MessageRemovedException
        20. MessagingException
        21. MethodNotSupportedException
        22. Multipart
        23. MultipartDataSource
        24. NoSuchProviderException
        25. Part
        26. PasswordAuthentication
        27. Provider
        28. Provider.Type
        29. ReadOnlyFolderException
        30. SendFailedException
        31. Service
        32. Session
        33. Store
        34. StoreClosedException
        35. Transport
        36. UIDFolder
        37. UIDFolder.FetchProfileItem
        38. URLName
        39. Package javax.mail.event
        40. ConnectionAdapter
        41. ConnectionEvent
        42. ConnectionListener
        43. FolderAdapter
        44. FolderEvent
        45. FolderListener
        46. MailEvent
        47. MessageChangedEvent
        48. MessageChangedListener
        49. MessageCountAdapter
        50. MessageCountEvent
        51. MessageCountListener
        52. StoreEvent
        53. StoreListener
        54. TransportAdapter
        55. TransportEvent
        56. TransportListener
        57. Package javax.mail.internet
        58. AddressException
        59. ContentDisposition
        60. ContentType
        61. HeaderTokenizer
        62. HeaderTokenizer.Token
        63. InternetAddress
        64. InternetHeaders
        65. MailDateFormat
        66. MimeBodyPart
        67. MimeMessage
        68. MimeMessage.RecipientType
        69. MimeMultipart
        70. MimePart
        71. MimePartDataSource
        72. MimeUtility
        73. NewsAddress
        74. ParameterList
        75. ParseException
        76. SharedInputStream
        77. Package javax.mail.search
        78. AddressStringTerm
        79. AddressTerm
        80. AndTerm
        81. BodyTerm
        82. ComparisonTerm
        83. DateTerm
        84. FlagTerm
        85. FromStringTerm
        86. FromTerm
        87. HeaderTerm
        88. IntegerComparisonTerm
        89. MessageIDTerm
        90. MessageNumberTerm
        91. NotTerm
        92. OrTerm
        93. ReceivedDateTerm
        94. RecipientStringTerm
        95. RecipientTerm
        96. SearchException
        97. SearchTerm
        98. SentDateTerm
        99. SizeTerm
        100. StringTerm
        101. SubjectTerm
      10. 27. javax.naming
        1. Package javax.naming
        2. AuthenticationException
        3. AuthenticationNotSupportedException
        4. BinaryRefAddr
        5. Binding
        6. CannotProceedException
        7. CommunicationException
        8. CompositeName
        9. CompoundName
        10. ConfigurationException
        11. Context
        12. ContextNotEmptyException
        13. InitialContext
        14. InsufficientResourcesException
        15. InterruptedNamingException
        16. InvalidNameException
        17. LimitExceededException
        18. LinkException
        19. LinkLoopException
        20. LinkRef
        21. MalformedLinkException
        22. Name
        23. NameAlreadyBoundException
        24. NameClassPair
        25. NameNotFoundException
        26. NameParser
        27. NamingEnumeration
        28. NamingException
        29. NamingSecurityException
        30. NoInitialContextException
        31. NoPermissionException
        32. NotContextException
        33. OperationNotSupportedException
        34. PartialResultException
        35. RefAddr
        36. Reference
        37. Referenceable
        38. ReferralException
        39. ServiceUnavailableException
        40. SizeLimitExceededException
        41. StringRefAddr
        42. TimeLimitExceededException
      11. 28. javax.naming.directory
        1. Package javax.naming.directory
        2. Attribute
        3. AttributeInUseException
        4. AttributeModificationException
        5. Attributes
        6. BasicAttribute
        7. BasicAttributes
        8. DirContext
        9. InitialDirContext
        10. InvalidAttributeIdentifierException
        11. InvalidAttributesException
        12. InvalidAttributeValueException
        13. InvalidSearchControlsException
        14. InvalidSearchFilterException
        15. ModificationItem
        16. NoSuchAttributeException
        17. SchemaViolationException
        18. SearchControls
        19. SearchResult
      12. 29. javax.naming.event
        1. Package javax.naming.event
        2. EventContext
        3. EventDirContext
        4. NamespaceChangeListener
        5. NamingEvent
        6. NamingExceptionEvent
        7. NamingListener
        8. ObjectChangeListener
      13. 30. javax.naming.ldap
        1. Package javax.naming.ldap
        2. Control
        3. ControlFactory
        4. ExtendedRequest
        5. ExtendedResponse
        6. HasControls
        7. InitialLdapContext
        8. LdapContext
        9. LdapReferralException
        10. StartTlsRequest
        11. StartTlsResponse
        12. UnsolicitedNotification
        13. UnsolicitedNotificationEvent
        14. UnsolicitedNotificationListener
      14. 31. javax.naming.spi
        1. Package javax.naming.spi
        2. DirectoryManager
        3. DirObjectFactory
        4. DirStateFactory
        5. DirStateFactory.Result
        6. InitialContextFactory
        7. InitialContextFactoryBuilder
        8. NamingManager
        9. ObjectFactory
        10. ObjectFactoryBuilder
        11. Resolver
        12. ResolveResult
        13. StateFactory
      15. 32. javax.resource
        1. Package javax.resource
        2. NotSupportedException
        3. Referenceable
        4. ResourceException
      16. 33. javax.resource.cci
        1. Package javax.resource.cci
        2. Connection
        3. ConnectionFactory
        4. ConnectionMetaData
        5. ConnectionSpec
        6. IndexedRecord
        7. Interaction
        8. InteractionSpec
        9. LocalTransaction
        10. MappedRecord
        11. Record
        12. RecordFactory
        13. ResourceAdapterMetaData
        14. ResourceWarning
        15. ResultSet
        16. ResultSetInfo
        17. Streamable
      17. 34. javax.resource.spi and javax.resource.spi.security
        1. Package javax.resource.spi
        2. ApplicationServerInternalException
        3. CommException
        4. ConnectionEvent
        5. ConnectionEventListener
        6. ConnectionManager
        7. ConnectionRequestInfo
        8. EISSystemException
        9. IllegalStateException
        10. LocalTransaction
        11. LocalTransactionException
        12. ManagedConnection
        13. ManagedConnectionFactory
        14. ManagedConnectionMetaData
        15. ResourceAdapterInternalException
        16. ResourceAllocationException
        17. SecurityException
        18. Package javax.resource.spi.security
        19. GenericCredential
        20. PasswordCredential
      18. 35. javax.rmi and javax.rmi.CORBA
        1. Package javax.rmi
        2. PortableRemoteObject
        3. Package javax.rmi.CORBA
        4. ClassDesc
        5. PortableRemoteObjectDelegate
        6. Stub
        7. StubDelegate
        8. Tie
        9. Util
        10. UtilDelegate
        11. ValueHandler
      19. 36. javax.servlet
        1. Package javax.servlet
        2. Filter
        3. FilterChain
        4. FilterConfig
        5. GenericServlet
        6. RequestDispatcher
        7. Servlet
        8. ServletConfig
        9. ServletContext
        10. ServletContextAttributeEvent
        11. ServletContextAttributeListener
        12. ServletContextEvent
        13. ServletContextListener
        14. ServletException
        15. ServletInputStream
        16. ServletOutputStream
        17. ServletRequest
        18. ServletRequestWrapper
        19. ServletResponse
        20. ServletResponseWrapper
        21. SingleThreadModel
        22. UnavailableException
      20. 37. javax.servlet.http
        1. Package javax.servlet.http
        2. Cookie
        3. HttpServlet
        4. HttpServletRequest
        5. HttpServletRequestWrapper
        6. HttpServletResponse
        7. HttpServletResponseWrapper
        8. HttpSession
        9. HttpSessionActivationListener
        10. HttpSessionAttributeListener
        11. HttpSessionBindingEvent
        12. HttpSessionBindingListener
        13. HttpSessionContext
        14. HttpSessionEvent
        15. HttpSessionListener
        16. HttpUtils
      21. 38. javax.servlet.jsp
        1. Package javax.servlet.jsp
        2. HttpJspPage
        3. JspEngineInfo
        4. JspException
        5. JspFactory
        6. JspPage
        7. JspTagException
        8. JspWriter
        9. PageContext
      22. 39. javax.sql
        1. Package javax.sql
        2. ConnectionEvent
        3. ConnectionEventListener
        4. ConnectionPoolDataSource
        5. DataSource
        6. PooledConnection
        7. RowSet
        8. RowSetEvent
        9. RowSetInternal
        10. RowSetListener
        11. RowSetMetaData
        12. RowSetReader
        13. RowSetWriter
        14. XAConnection
        15. XADataSource
      23. 40. javax.transaction and javax.transaction.xa
        1. Package javax.transaction
        2. HeuristicCommitException
        3. HeuristicMixedException
        4. HeuristicRollbackException
        5. InvalidTransactionException
        6. NotSupportedException
        7. RollbackException
        8. Status
        9. Synchronization
        10. SystemException
        11. Transaction
        12. TransactionManager
        13. TransactionRequiredException
        14. TransactionRolledbackException
        15. UserTransaction
        16. Package javax.transaction.xa
        17. XAException
        18. XAResource
        19. Xid
      24. 41. org.omg.CORBA and Subpackages
        1. Package org.omg.CORBA
        2. _IDLTypeStub
        3. _PolicyStub
        4. Any
        5. AnyHolder
        6. AnySeqHelper
        7. AnySeqHolder
        8. ARG_IN
        9. ARG_INOUT
        10. ARG_OUT
        11. BAD_CONTEXT
        12. BAD_INV_ORDER
        13. BAD_OPERATION
        14. BAD_PARAM
        15. BAD_POLICY
        16. BAD_POLICY_TYPE
        17. BAD_POLICY_VALUE
        18. BAD_TYPECODE
        19. BooleanHolder
        20. BooleanSeqHelper
        21. BooleanSeqHolder
        22. Bounds
        23. ByteHolder
        24. CharHolder
        25. CharSeqHelper
        26. CharSeqHolder
        27. COMM_FAILURE
        28. CompletionStatus
        29. CompletionStatusHelper
        30. Context
        31. ContextList
        32. CTX_RESTRICT_SCOPE
        33. Current
        34. CurrentHelper
        35. CurrentHolder
        36. CurrentOperations
        37. CustomMarshal
        38. DATA_CONVERSION
        39. DataInputStream
        40. DataOutputStream
        41. DefinitionKind
        42. DefinitionKindHelper
        43. DomainManager
        44. DomainManagerOperations
        45. DoubleHolder
        46. DoubleSeqHelper
        47. DoubleSeqHolder
        48. DynamicImplementation
        49. DynAny
        50. DynArray
        51. DynEnum
        52. DynFixed
        53. DynSequence
        54. DynStruct
        55. DynUnion
        56. DynValue
        57. Environment
        58. ExceptionList
        59. FieldNameHelper
        60. FixedHolder
        61. FloatHolder
        62. FloatSeqHelper
        63. FloatSeqHolder
        64. FREE_MEM
        65. IdentifierHelper
        66. IDLType
        67. IDLTypeHelper
        68. IDLTypeOperations
        69. IMP_LIMIT
        70. INITIALIZE
        71. INTERNAL
        72. INTF_REPOS
        73. IntHolder
        74. INV_FLAG
        75. INV_IDENT
        76. INV_OBJREF
        77. INV_POLICY
        78. INVALID_TRANSACTION
        79. IRObject
        80. IRObjectOperations
        81. LocalObject
        82. LongHolder
        83. LongLongSeqHelper
        84. LongLongSeqHolder
        85. LongSeqHelper
        86. LongSeqHolder
        87. MARSHAL
        88. NamedValue
        89. NameValuePair
        90. NameValuePairHelper
        91. NO_IMPLEMENT
        92. NO_MEMORY
        93. NO_PERMISSION
        94. NO_RESOURCES
        95. NO_RESPONSE
        96. NVList
        97. OBJ_ADAPTER
        98. Object
        99. OBJECT_NOT_EXIST
        100. ObjectHelper
        101. ObjectHolder
        102. OctetSeqHelper
        103. OctetSeqHolder
        104. OMGVMCID
        105. ORB
        106. ParameterMode
        107. ParameterModeHelper
        108. ParameterModeHolder
        109. PERSIST_STORE
        110. Policy
        111. PolicyError
        112. PolicyErrorCodeHelper
        113. PolicyErrorHelper
        114. PolicyErrorHolder
        115. PolicyHelper
        116. PolicyHolder
        117. PolicyListHelper
        118. PolicyListHolder
        119. PolicyOperations
        120. PolicyTypeHelper
        121. Principal
        122. PrincipalHolder
        123. PRIVATE_MEMBER
        124. PUBLIC_MEMBER
        125. RepositoryIdHelper
        126. Request
        127. ServerRequest
        128. ServiceDetail
        129. ServiceDetailHelper
        130. ServiceInformation
        131. ServiceInformationHelper
        132. ServiceInformationHolder
        133. SetOverrideType
        134. SetOverrideTypeHelper
        135. ShortHolder
        136. ShortSeqHelper
        137. ShortSeqHolder
        138. StringHolder
        139. StringSeqHelper
        140. StringSeqHolder
        141. StringValueHelper
        142. StructMember
        143. StructMemberHelper
        144. SystemException
        145. TCKind
        146. TRANSACTION_REQUIRED
        147. TRANSACTION_ROLLEDBACK
        148. TRANSIENT
        149. TypeCode
        150. TypeCodeHolder
        151. ULongLongSeqHelper
        152. ULongLongSeqHolder
        153. ULongSeqHelper
        154. ULongSeqHolder
        155. UnionMember
        156. UnionMemberHelper
        157. UNKNOWN
        158. UnknownUserException
        159. UnknownUserExceptionHelper
        160. UnknownUserExceptionHolder
        161. UNSUPPORTED_POLICY
        162. UNSUPPORTED_POLICY_VALUE
        163. UserException
        164. UShortSeqHelper
        165. UShortSeqHolder
        166. ValueBaseHelper
        167. ValueBaseHolder
        168. ValueMember
        169. ValueMemberHelper
        170. VersionSpecHelper
        171. VisibilityHelper
        172. VM_ABSTRACT
        173. VM_CUSTOM
        174. VM_NONE
        175. VM_TRUNCATABLE
        176. WCharSeqHelper
        177. WCharSeqHolder
        178. WrongTransaction
        179. WrongTransactionHelper
        180. WrongTransactionHolder
        181. WStringSeqHelper
        182. WStringSeqHolder
        183. WStringValueHelper
        184. Package org.omg.CORBA.DynAnyPackage
        185. Invalid
        186. InvalidSeq
        187. InvalidValue
        188. TypeMismatch
        189. Package org.omg.CORBA.ORBPackage
        190. InconsistentTypeCode
        191. InvalidName
        192. Package org.omg.CORBA.TypeCodePackage
        193. BadKind
        194. Bounds
        195. Package org.omg.CORBA.portable
        196. ApplicationException
        197. BoxedValueHelper
        198. CustomValue
        199. Delegate
        200. IDLEntity
        201. IndirectionException
        202. InputStream
        203. InvokeHandler
        204. ObjectImpl
        205. OutputStream
        206. RemarshalException
        207. ResponseHandler
        208. ServantObject
        209. Streamable
        210. StreamableValue
        211. UnknownException
        212. ValueBase
        213. ValueFactory
      25. 42. org.omg.CORBA_2_3 and org.omg.CORBA_2_3.portable
        1. Package org.omg.CORBA_2_3
        2. ORB
        3. Package org.omg.CORBA_2_3.portable
        4. Delegate
        5. InputStream
        6. ObjectImpl
        7. OutputStream
      26. 43. org.omg.CosNaming and Subpackages
        1. Package org.omg.CosNaming
        2. _BindingIteratorImplBase
        3. _BindingIteratorStub
        4. _NamingContextExtStub
        5. _NamingContextImplBase
        6. _NamingContextStub
        7. Binding
        8. BindingHelper
        9. BindingHolder
        10. BindingIterator
        11. BindingIteratorHelper
        12. BindingIteratorHolder
        13. BindingIteratorOperations
        14. BindingIteratorPOA
        15. BindingListHelper
        16. BindingListHolder
        17. BindingType
        18. BindingTypeHelper
        19. BindingTypeHolder
        20. IstringHelper
        21. NameComponent
        22. NameComponentHelper
        23. NameComponentHolder
        24. NameHelper
        25. NameHolder
        26. NamingContext
        27. NamingContextExt
        28. NamingContextExtHelper
        29. NamingContextExtHolder
        30. NamingContextExtOperations
        31. NamingContextExtPOA
        32. NamingContextHelper
        33. NamingContextHolder
        34. NamingContextOperations
        35. NamingContextPOA
        36. Package org.omg.CosNaming.NamingContextExtPackage
        37. AddressHelper
        38. InvalidAddress
        39. InvalidAddressHelper
        40. InvalidAddressHolder
        41. StringNameHelper
        42. URLStringHelper
        43. Package org.omg.CosNaming.NamingContextPackage
        44. AlreadyBound
        45. AlreadyBoundHelper
        46. AlreadyBoundHolder
        47. CannotProceed
        48. CannotProceedHelper
        49. CannotProceedHolder
        50. InvalidName
        51. InvalidNameHelper
        52. InvalidNameHolder
        53. NotEmpty
        54. NotEmptyHelper
        55. NotEmptyHolder
        56. NotFound
        57. NotFoundHelper
        58. NotFoundHolder
        59. NotFoundReason
        60. NotFoundReasonHelper
        61. NotFoundReasonHolder
      27. 44. org.omg.PortableServer and Subpackages
        1. Package org.omg.PortableServer
        2. _ServantActivatorStub
        3. _ServantLocatorStub
        4. AdapterActivator
        5. AdapterActivatorOperations
        6. Current
        7. CurrentHelper
        8. CurrentOperations
        9. DynamicImplementation
        10. ForwardRequest
        11. ForwardRequestHelper
        12. ID_ASSIGNMENT_POLICY_ID
        13. ID_UNIQUENESS_POLICY_ID
        14. IdAssignmentPolicy
        15. IdAssignmentPolicyOperations
        16. IdAssignmentPolicyValue
        17. IdUniquenessPolicy
        18. IdUniquenessPolicyOperations
        19. IdUniquenessPolicyValue
        20. IMPLICIT_ACTIVATION_POLICY_ID
        21. ImplicitActivationPolicy
        22. ImplicitActivationPolicyOperations
        23. ImplicitActivationPolicyValue
        24. LIFESPAN_POLICY_ID
        25. LifespanPolicy
        26. LifespanPolicyOperations
        27. LifespanPolicyValue
        28. POA
        29. POAHelper
        30. POAManager
        31. POAManagerOperations
        32. POAOperations
        33. REQUEST_PROCESSING_POLICY_ID
        34. RequestProcessingPolicy
        35. RequestProcessingPolicyOperations
        36. RequestProcessingPolicyValue
        37. Servant
        38. SERVANT_RETENTION_POLICY_ID
        39. ServantActivator
        40. ServantActivatorHelper
        41. ServantActivatorOperations
        42. ServantActivatorPOA
        43. ServantLocator
        44. ServantLocatorHelper
        45. ServantLocatorOperations
        46. ServantLocatorPOA
        47. ServantManager
        48. ServantManagerOperations
        49. ServantRetentionPolicy
        50. ServantRetentionPolicyOperations
        51. ServantRetentionPolicyValue
        52. THREAD_POLICY_ID
        53. ThreadPolicy
        54. ThreadPolicyOperations
        55. ThreadPolicyValue
        56. Package org.omg.PortableServer.CurrentPackage
        57. NoContext
        58. NoContextHelper
        59. Package org.omg.PortableServer.POAManagerPackage
        60. AdapterInactive
        61. AdapterInactiveHelper
        62. State
        63. Package org.omg.PortableServer.POAPackage
        64. AdapterAlreadyExists
        65. AdapterAlreadyExistsHelper
        66. AdapterNonExistent
        67. AdapterNonExistentHelper
        68. InvalidPolicy
        69. InvalidPolicyHelper
        70. NoServant
        71. NoServantHelper
        72. ObjectAlreadyActive
        73. ObjectAlreadyActiveHelper
        74. ObjectNotActive
        75. ObjectNotActiveHelper
        76. ServantAlreadyActive
        77. ServantAlreadyActiveHelper
        78. ServantNotActive
        79. ServantNotActiveHelper
        80. WrongAdapter
        81. WrongAdapterHelper
        82. WrongPolicy
        83. WrongPolicyHelper
        84. Package org.omg.PortableServer.ServantLocatorPackage
        85. CookieHolder
        86. Package org.omg.PortableServer.portable
        87. Delegate
      28. Class, Method, and Field Index
    5. Index
    6. Colophon

Product information

  • Title: Java Enterprise in a Nutshell, Second Edition
  • Author(s):
  • Release date: April 2002
  • Publisher(s): O'Reilly Media, Inc.
  • ISBN: 9780596001520