JB161 JBoss and EJB3 for Java Developers
This in-depth introduction to Enterprise Java Beans 3.0 (EJB3) and J2EE using the JBoss Application Server (AS) provides a hands-on approach to EJB3 and J2EE application development, deployment, and the tools necessary to facilitate both processes. Training is based on JBoss 3.2.x and 4.x series.
Highlights
- J2EE and EJB3
- Java Servlet specification, architecture, and configuration
- Java Server Pages
- Compare and configure stateless and stateful session beans
- New persistence model for EJB3
- Transactional boundaries and transactional declarative tags
- Java Messaging Service and the JMS API
- Author global and class-specific interceptors
- Architecture and implementation of J2EE 1.4 web services
- Using JMX API to monitor and manage system-level components
Course Outline
1. J2EE and EJB3
- J2EE platform architecture and design motivation
- EJB3 component model; components in the J2EE 1.4 platform
- Packaging and description of roles in J2EE development and management
2. Servlets
- Java Servlet specification background and motivation
- Java Servlet architecture
- Basic HTTP request and parameter handling
- HTTP Sessions
- Filters
- Web application life cycle events
- Web Archive (WAR) packaging
- JBoss-specific deployment descriptors for servlet configuration
- Tomcat connectors configuration
3. Java Server Pages (JSP)
- Specification background and motivation
- Foundation for implementation
- Tags and directives
- MVC architecture concepts with JSP and EJB3
- Making modifications to applications currently deployed with JSP pages with JBoss expanded directory deployments
4. Naming Services and Java Naming and Directory Interface (JNDI)
- J2EE Naming Service role and how it is used
- Basics of the JNDI API
- Configuration of the Naming Service
- JBoss NS, the naming service implementation used by the JBoss AS
5. Enterprise Java Beans 3.0 (EJB3)
- The case for server-side components, the declarative (via annotations and/or configuration files) programming approach of EJB components
- How EJB insulates business code from system code
-
EJB components
- Session
- Entity
- Message-driven beans
- Authoring with version 3.0
- Specify a local and/or remote plain old Java interface (POJI) for the simple plain old Java object (POJO)-based component
- Author life-cycle listeners, listener classes, and exception classes that may be specified to determine the completion of a transaction
- Entity beans persistence model and their embeddable classes
- Architectural innovations in the JBoss AS EJB3 container
6. EJB3: Stateless Session Beans
- EJB3 bean implementation, packaging, and deployment
- Bean life cycle and life-cycle listener classes
- Pooling and concurrency issues
- Configure session bean pool sizes
- Author custom interceptor stacks
- Create custom container configurations in JBoss
- Use the interface class name or a global JNDI mapping for bean location
7. EJB3: Stateful Session Beans
- Lifecycle listener classes
- Container annotations
- Interceptor classes
- Compare stateless and stateful session beans
- Configure a Stateful Session Bean cache
- Configure Stateless and Stateful Session Beans for clustering in JBoss
8. EJB3: Entity Beans
- Interfaces
- Life cycle and life-cycle listener classes
- Interceptor classes
- Simple and composite ids and queries
- Concurrency
- Pooling
- Packaging
- Deployment
- Construct embeddable and composite id classes
- Dependency injection
- Configure different commit options, mapping, and fetching strategies
- Manage basic data source configuration for entity objects
9. Transaction Assembly
- Transactional boundaries
- How transactional declarative tags (as annotations or tags in the configuration file) allow developers to control atomic units of work
- Two phase commit protocol
- Handling exceptions and rollbacks from within an EJB3 POJO
10. J2EE Security and JBoss
- Add access control to web applications
- Authenticate users
- Control access to EJB components
- Set up and configure the numerous security domains or login modules for a JBoss instance
11. EJB3: Message Driven Beans (MDB) and the Java Message Service (JMS)
- Point-to-point and publish-subscribe messaging domains
- Transactional JMS
- Work with an integrated JMS within the EJB3 component framework
- MDB for asynchronous communication with the EJB3 layer
- Create MDBs within a transactional setting
- Deploy JMS connection factories, JMS destinations, and MDBs
12. EJB3 Interceptors
- Author global and class-specific interceptors
- Sharing the invocation state and an arbitrary payload among multiple interceptors via the InvocationContext object
13. Web Services with EJB3
- Architecture and implementation of J2EE 1.4 web services
- Use a Web Services Definition Language (WSDL) document to expose EJB3 and Servlet components and enable remote XML RPC invocations to them
- Basic approach to integrating the JBoss application server with legacy enterprise middleware and .NET
14. Java Management Extensions (JMX) and JBoss Microkernel
- Create system-level components that can be monitored and managed via any management client using the JMX APIU
- Underlying mechanisms of the JBoss AS
- Customize or augment the application server behaviors
- Package and deploy a JMX component via JBoss Service Archives (SAR) or simple XML configuration files
15. Extensions to EJB3 - A preview of EJB3.1 (Optional)
- Natural progression from EJB3 to enterprise POJOs
- The Service Bean: the next generation of JMX
- Message-Driven POJOs, the next generation of typed MDBs
- Asynchronous proxy for any EJB3 implementation
16. J2EE Tools (Optional)
- Augment and facilitate J2EE and POJO development using the popular Open Source tool ANT
- Master the basics of J2EE component development and deployment on the JBoss AS
- Simplify, facilitate, and automate development and deployment of J2EE applications on the JBoss AS
Space is limited. Register today to save your space!
