Distributed Multitiered Applications The JavaBeans Component Architecture Enterprise Information System Tier UDDI and ebXML Standard Formats Java EE Application Assembly and Deployment Application Component Provider Application Deployer and Administrator Enterprise JavaBeans Technology JavaServer Pages Standard Tag Library JavaBeans Activation Framework Java API for XML Web Services (JAX-WS) Java Architecture for XML Binding (JAXB) SOAP with Attachments API for Java Java Database Connectivity API Java Naming and Directory Interface Java Authentication and Authorization Service Simplified Systems Integration Sun Java System Application Server 9.1 2. Using the Tutorial Examples 3. Getting Started with Web Applications 5. JavaServer Pages Technology 7. JavaServer Pages Standard Tag Library 10. JavaServer Faces Technology 11. Using JavaServer Faces Technology in JSP Pages 12. Developing with JavaServer Faces Technology 13. Creating Custom UI Components 14. Configuring JavaServer Faces Applications 15. Internationalizing and Localizing Web Applications 16. Building Web Services with JAX-WS 17. Binding between XML Schema and Java Classes 19. SOAP with Attachments API for Java 21. Getting Started with Enterprise Beans 23. A Message-Driven Bean Example 24. Introduction to the Java Persistence API 25. Persistence in the Web Tier 26. Persistence in the EJB Tier 27. The Java Persistence Query Language 28. Introduction to Security in the Java EE Platform 29. Securing Java EE Applications 31. The Java Message Service API 32. Java EE Examples Using the JMS API 36. The Coffee Break Application | Java EE ContainersNormally, thin-client multitiered applications are hard to write because they involve many linesof intricate code to handle transaction and state management, multithreading, resource pooling, andother complex low-level details. The component-based and platform-independent Java EE architecture makes Java EEapplications easy to write because business logic is organized into reusable components. Inaddition, the Java EE server provides underlying services in the form of acontainer for every component type. Because you do not have to develop theseservices yourself, you are free to concentrate on solving the business problem athand. Container ServicesContainers are the interface between a component and the low-level platform-specific functionality thatsupports the component. Before a web, enterprise bean, or application client component canbe executed, it must be assembled into a Java EE module and deployedinto its container. The assembly process involves specifying container settings for each component in the JavaEE application and for the Java EE application itself. Container settings customize theunderlying support provided by the Java EE server, including services such as security,transaction management, Java Naming and Directory Interface (JNDI) lookups, and remote connectivity. Here aresome of the highlights:
Because the Java EE architecture provides configurable services, application components within the sameJava EE application can behave differently based on where they are deployed. Forexample, an enterprise bean can have security settings that allow it a certainlevel of access to database data in one production environment and another levelof database access in another production environment. The container also manages nonconfigurable services such as enterprise bean and servlet lifecycles, database connection resource pooling, data persistence, and access to the Java EEplatform APIs (seeJava EE 5 APIs). Container TypesThe deployment process installs Java EE application components in the Java EE containersas illustrated inFigure 1-5. Figure 1-5 Java EE Server and Containers ![]()
Copyright © 2010, Oracle and/or its affiliates. All rights reserved.Legal Notices |