book your perfect training course
thousands of courses, off-site or in-house, across the UK
browse training

Browse the full list of courses above.

education search

 

Training Course: Enterprise JavaBeans and J2EE™

training course enquiry

Training Course Code: HEJ2
Training Duration: 5 days.
Price: £1,245

Training Course Summary:

This hands on course provides participants with the information and lab experience necessary to develop and deploy robust J2EE™ (Java 2 Enterprise Edition) framework applications. The focus of the course is on building reusable components that exploit the services the J2EE platform provides via its component containers. The two most popular containers in the J2EE specification are the Web Container (which hosts HTML pages, servlets and JSP Pages) and the EJB Container (which hosts Enterprise JavaBean components). Both the EJB and Web containers, as well as details of the development and deployment of EJBs and Java based web content, are covered in depth in the course. Since the deployment descriptor of these applications is an XML file that is standardized across J2EE implementation servers, the participant will obtain the necessary experience to deploy applications across the various servers that meet Sun's J2EE specification (including WebSphere, Oracle, WebLogic and many others).

The participant will also become familiar with developing and deploying a Java component as a Web Service to a Web Service server. Session, entity, and message-driven beans, EJB container services, security, transaction and deployment issues are discussed in detail, with hands on labs to solidify understanding. Java enterprise protocols and services such as JNDI, JTS, JDBC and JMS are also covered. Students will learn how to utilize ANT, a flexible and powerful XML based Java build utility developed by the Apache foundation, to compile, deploy and execute stand-alone and enterprise Java applications. Comprehensive hands on coding labs ensure that by the end of the class students will be able to write and deploy applications that exploit J2EE services using EJBs, servlets, JSP and the J2EE framework.


Pre-Requisites:

Java programming experience and an understanding of object-oriented design principles. Fundamental knowledge of HTML is helpful but not required.

Training Course Overview/Content:

Enterprise Application Architecture
Understanding the Need for Client/Server Applications
Understanding Web Application Architecture
Developing Multi-Tier Applications
Understanding the Advantages of a Multi-Tier Architecture
Overview of Server-Side Application Development using J2EE
Introduction to Enterprise JavaBeans
How EJBs are Used
Bean Developer, Bean Deployer and Application Assembler Roles
Differences between Session, Entity and Message Driven Beans
EJB Container Services
Standard EJB Application Servers
Accessing Enterprise Java Beans
How to Obtain a Handle to EJBs from a Client

Deploying Enterprise Java Beans
Creating and Using the Deployment Descriptor
Adding information to a Deployment Descriptor
Using JNDI to Look Up EJBs
Session Beans
Coding The Home Interface
Using the Home Object
Coding The Remote Interface
Using the EJB Object
Implementing Business Logic
Differences Between Stateful and Stateless Beans
Understanding Container Callback Methods Specific to Session Beans
The Session Beans Life Cycle
Exceptions Related to Session Beans
Removing Session Beans with the Home Interface

Deploying and Running Session Beans
Overview of the Session Bean Deployment Descriptor
Assigning Values to Environment Entries in the Deployment Descriptor
Container's Role in Activating Session Beans
Container Managed Time Outs
Transitioning Beans into a Method Ready State
Entity Beans
Developing the Entity Beans Home and Remote Interface
Using the Home and EJB Object
Managing Database Connections
Loading and Storing Entity Beans
Understanding Container Callback Methods Specific to Entity Beans
Defining the Primary Key for an Entity Bean
Persistence Management Techniques
Understanding Container-Managed Persistence
Understanding Bean Managed Persistence
Differences Between Container and Bean Managed Persistence

Deploying and Running Entity Beans
Overview of the Entity Bean Deployment Descriptor
Generating Default SQL in Container Managed Persistent Beans
Modifying SQL to Suite the Database Tables
Specifying the Primary Key in the Deployment Descriptor
Writing EJB Query Language to Look up Entity Beans
Using EJB Query Language in the Deployment Descriptor
Performance Optimization in Entity Beans
Message Driven Beans
Understanding the Life Cycle of a Message Driven Bean
Using Bean Managed Transactions
Using Container Managed Transactions
Overview of the Message Driven Bean Descriptor File
Communicating Between EJBs with Message Driven Beans

SOAP (Simple Object Access Protocol)
Introduction to SOAP
Using SOAP
Understanding How XML is used in SOAP
Understanding SOAP Elements
Dealing with SOAP Faults
Developing SOAP Clients
Developing SOAP Receivers
Web Services
Understanding the Purpose of Web Services
Developing a Web Service
Deploying a Web Service
Understanding WSDL Messages
Introduction to UDDI Schemas and Elements
Introduction to ebXML
Understanding the Issues with Web Services

Using ANT
Executing ANT Targets
Understanding ANT Tasks
Using ANT Properties
Configuring ANT
Compiling Java Applications
Executing Java Applications
Deploying WAR Files to a Java Web Server
Deploying JAR and EAR Files to a Java Application Server
Transaction Management
Container-Managed Transactions
Bean-Managed Transactions
The ACID Test for Transactions
Local and Global Transactions
Using JTA
Transaction Management and EJB Context

EJB Security Model
Role-Driven Access Control
Security Identity
Security and the Deployment Descriptor
Using Security Roles
Accessing Security Information via EJBContext
Java Messaging Service (JMS)
Architecture of JMS
Advantages of Using JMS
Using Classes and Interfaces in the JMS API
Developing a JMS Producer and Consumer
Variances in Vendor Support for JMS

Introduction to J2EE Web Applications
Understanding the Role of J2EE Containers and Services in Web Applications
Using W
Training course title:
Name:
Email:
Phone:
Company Name: (if applicable)
Number of delegates attending:
 
 Preferred Location: 
 Select from above or tick in house (we come to you) 
 
Preferred dates:
Click to select a dateClick to select a date
Any Special Requests:
Send Enquiry

Other course you might also like