Enterprise JavaBeans Using BEA WebLogic

Course Number:J315
Duration:4 days
Standard Price:$8,800 for up to 10 students
Government Price:$7,920 for up to 10 students
Location:on-site

Description

This intensive hands-on course explores the Enterprise Java Bean (EJB) Component Architecture for building multi-tier internet applications. Java programmers will be able to write and deploy reusable, distributed components and take advantage of the services provided by the BEA WebLogic AppServer.

Outline

EJB and the J2EE Architecture

  • Evolution of Distributed Computing on the Web
  • J2EE Solution
  • Enterprise JavaBean
  • Roles in Enterprise JavaBeans Development
  • EJB Container and Application Server

Getting Started

  • Defining the Bean Class
  • Remote Interface
  • Writing Business Methods
  • Home Interface
  • Deployment
  • Configured Deploy and Automatic Deploy
  • Client Application
  • Locating the Bean
  • Create an Enterprise Bean Instance
  • Invoking the Bean's Methods

javax.ejb Package

  • Remote Interface
  • Home Interface
  • Local Interface
  • Container Objects
  • SessionBean Interface
  • EntityBean Interface
  • MessageDrivenBean Interface
  • EJB Exceptions
  • EJB Context

Session Beans

  • State
  • Lifecycle
  • Stateless Session Beans
  • Stateful Session Beans
  • HttpSessions and Cookies

Deployment and Deployment Descriptors

  • Directory Structure for Web Applications
  • Deployment a WebLogic Web Application
  • Packaging an Enterprise Application
  • EJB Deployment Process
  • Deployment Descriptor
  • Structural Data
  • Assembly
  • weblogic-ejb-jar.xml
  • weblogic-cmp-rdbms-jar.xml
  • Bundling

EJB Clients

  • Client Types
  • Web Components
  • JNDI API

Entity Beans

  • Persistence Models
  • EntityBean Home Interface
  • Finder Methods
  • Primary Key
  • Component Interface
  • Lifecycle

Bean-Managed Persistence

  • BMP
  • Create a Connection Pool
  • Create a Datasource
  • Create
  • Remove
  • Load
  • Store
  • EjbFindByPrimaryKey and other Finder
  • Methods
  • Data Access Objects

Container-Managed Persistence

  • CMP
  • Two Layers of Responsibility
  • Coding Conventions in the Abstract Entity
  • Abstract Persistence Schema
  • weblogic-ejb-jar.xml
  • weblogic-cml-rdbms-jar.xml
  • Container-Managed Relationships
  • EJBQL: Finders in CMP
  • Limitations of CMP
  • Cascading Delete
  • Automatic Primary Key Generation

Transactions

  • Transactions in EJB
  • Container-Managed Transactions
  • Transaction Support Attributes
  • Bean-Managed Transactions
  • Session Synchronization

EJB Security

  • Security Issues
  • Authentication
  • Authorization
  • Container-Managed Security
  • Security and Deployment Descriptor
  • Bean-Managed Security

JMS

  • JMS Concepts
  • Parent Interfaces and GMD
  • JMS Definitions
  • Message Object
  • Multi-Threading and JMS Exception
  • PTP Domain and Interfaces
  • Pub/Sub Domain and Interfaces
  • JMS Server and Destination
  • Handling the Message
  • Producing the Message

Message-Driven Beans

  • Message-Driven Beans
  • Asynchronous Processing
  • MDB Interfaces
  • Deploying MDBs
  • MDB Deployment Descriptor Elements

Who should attend

Java programmers who wish to use Enterprise Java Beans to develop distributed intranet and internet applications in the BEA WebLogic AppServer.

Prerequisites

Java Programming and some Java development experience. Familiarity with JavaBeans, RMI and JDBC is recommended.