Oracle University Contacte con nosotros: 902 302 302 Fusion Middleware 11g: Build Java EE Components with EJB and JPA Duración: 5 Días Lo que aprenderá This course deals with the length and breadth of EJB 3.0. Some of the learning objectives include Build stateful and stateless session beans from Java POJOs using annotations Build messaging based applications using Message Beans Extend EJBs to obtain and store persistence state using the Java Persistence API Use EJBs and Java exceptions together to create robust applications Build, publish and deploy EJBs using tools such as JDeveloper Test EJBs using a framework such as JUnit Learn To: Develop, deploy, and unit test EJBs deployed on Oracle WebLogic Server using both JDeveloper and JUnit Configure persistence behavior using the Java Persistence API Develop asynchronous EJBs with message-driven beans (MDBs), and extend MDBs and session beans using Timer services Wire EJB interactions using EJB injection and inject crosscutting behavior and control lifecycle in EJB applications with EJB interceptors Configure EJB container services, including Security and Transactions Leverage the EJB 3.0 architecture and programming model Audiencia Business Intelligence Developer Developer J2EE Developer Java EE Developer SOA Architect Prerrequisitos Prerrequisitos requeridos Students must be comfortable with the concepts of XML Students must be familiar with Java Enterprise Edition application development Students must be proficient in Java Students will benefit from understanding UML basics Copyright 2010, Oracle. Todos los derechos reservados. Página 1
Students will benefit from understanding testing with JUnit Objetivos del curso Create and query objects via the Java Persistence API Secure EJB components using JAAS and EJB security Expose EJBs as Web Services Intercept EJB lifecycle and business method invocations using interceptors Test EJB and JPA using JUnit Manage EJB interactions via Transactions Implement server side components using EJB technology Assemble and deploy EJB components to WebLogic Server using JDeveloper Build and interface with Java Message Service based EJB components Secure EJB components using JAAS and EJB security Contenido del curso Introduction to EJB Review of Java Enterprise Edition and EJB Overview of Enterprise Java Beans Introducing JSR 175 and Annotations Introducing JDeveloper Introduction to JPA Overview of the persistence problem Overview of JPA concepts Introducing JPA, Persistence, and EJB 2.x Introducing JPA Architecture and other major elements Products, configuration and bootstrapping Overview of the JPA Specification Introducing JPA deployment strategies Configuring persistence Structure of persistence.xml JPA Properties and EclipseLink JPA, Entities, and Entity Loading Entities and Entities Managers Understanding Managed Entities Understanding Persistence Context Persistence Context Lifecycle and Behavior What Are JPA Entities? Domain Modeling with Entities Mapping Entities Overview of Entity Lifecycle Default Entity Listeners and Inheritance Relationships Characteristics of Relationship Modeling Relationships in Java JPA Relationships Copyright 2010, Oracle. Todos los derechos reservados. Página 2
Managing Sets of Entities Understanding Join Key Generation Mapping Map Fields Detaching and Merging Entities Overview of Detachment concepts Working with detached objects Overview of Merging Comparing Merge and Persist Inheritance and Embedding Overview of Inheritance concepts and strategies Choosing the Single Table Strategy Choosing the Joined Table Strategy Advantages and disadvantages of the Table per Class strategy Overview of Embedded concepts Overview of Embedded annotations Concurrent Transactions and Locking What Is a Transaction? ACID: The Transactional Promise Overview of Isolation Levels and Database Locks Understanding Pessimistic Locking Understanding Optimistic Locking Application Optimistic Checking Explicit Locking Concurrency Conflict Exceptions JPA Queries Basics of JPQL Working with Queries and Parameters Executing Dynamic JPQL with the Query API Using JPQL Functions Implementing Subqueries and NamedQueries Writing JPQL in NamedQuery Annotations Overview of SQL Joins and Relationship Joins Managing Flush Mode Injecting Entity Managers and Session Beans Introducing Dependency Injection Injecting EntityManagers Overview of Session bean concepts and use cases Developing session beans Accessing the EJB Environment Server Optimization using Pooled Beans WLS Specifics: Cache Management WLS Cache Management Message Driven Beans Message Oriented Middleware Concepts JMS Application Architecture Using Java Message Service Interfaces Copyright 2010, Oracle. Todos los derechos reservados. Página 3
Understanding JMS Messages Java Messaging Service concepts and clients Developing Message Driven Beans Features of WebLogic Server JMS Configuring WebLogic JMS Accessing the Environment and DEpendency Injection What Are Environment Entries? Environment Naming Context EJB dependency injection Injection Styles EJB Annotation and Resource Annotation Injection of Custom Settings EJB Exceptions Review of Java exceptions System Versus Application Exceptions Data Integrity and Throwing Application Exceptions EJB exceptions EJB Interceptors Business Logic Pollution Developing Interceptors Applying Interceptors Interceptors and lifecycle events Interceptor Exception Handling Web Services Review of Web Services concepts Web Service Building Blocks Basic Structure of SOAP EJBs and Web Services Java APIs for Web Services Web Service Development Approach Exposing EJBs as Web Services Web Service Injection into EJBs EJB and Transactions Review of transactions from an EJB perspective Declarative EJB Transactions What Are Distributed Transactions? Working with Transactions Transaction Isolation Container-Managed Transactions (CMT) Configuring Transactions Bean-Managed Transactions (BMT) EJBs and Security Introducing WebLogic Server Security architecture Creating Users and Groups Overview of EJB security configuration Using Declarative Security Copyright 2010, Oracle. Todos los derechos reservados. Página 4
Introducing Programmatic security JAAS Authentication Architecture Writing a JAAS Client Application Scheduling Tasks using EJB Timers Overview of Timer Concepts and Timer Service APIs Obtaining TimerService Instances Timer Callback Requirements Overview of TimerService Interface Working with Timers Stateless Session Lifecycle Message-Driven Bean Lifecycle Timers and Transactions Copyright 2010, Oracle. Todos los derechos reservados. Página 5