Building and Deploying Enteprise JavaBeans 3.0 using Hibernate and JBoss

Code: BDEJB3
Duration: Days 3
Delivery methods:  
Price per delegate: $900.00
Trained over 60000 delegates
Delivered by world class instructors
Highly competitive pricing
Capped class sizes
Post course support

 

Course Description

The EJB3 specification greatly simplifies the EJB implementation process, and this course teaches how to implement EJBs through the use of the Java Persistence API (JPA) and annotations. It uses Hibernate as the implementation of the JPA, and JBoss as the application server. The course explains how to use Session beans with annotations, and also how to expose session beans as Web services. It also teaches how to create and deploy Message-driven beans.Throughout this training course, students will build an end to end Java EE application. They will also see some of the common design patterns that can be applied when creating EJBs. The course also explains the importance of transactions how they are configured, and also how the security of EJBs is applied.
 
Target Student:
This training course is aimed at experienced Java developers, who need to learn the skills required to build enterprise applications using open source tools for Tomcat and the JBoss application server.
Prerequisites:
  • Delegates should be familiar with the Java Programming language as far as at least being comfortable with its basic use and with OO concepts.
Delivery Method: Instructor led, group-paced, classroom-delivery learning model with structured hands-on activities.
The training course combines lectures with practical exercises that help the delegates to put what they have learned on the training course into practice. The exercises specifically build on what has been recently taught and are built up as the training course progresses.
 
Performance-Based Objectives
At the end of this training course, students should be able to:
  • Understand the Java EE architectural paradigm, and appreciate how it can be used
  • Use JNDI to locate distributed objects, including enterprise Java beans, and application server specific components
  • Implement Hibernate applications outside of the container
  • Develop and deploy Entity classes to JBoss using the Java Persistence API
  • Implement Entity classes using Annotations
  • Implement Entity classes using Hibernate mapping files
  • Develop and deploy Session Enterprise Java Beans
  • Understand how to deploy a session EJB as a Web service
  • Deploy a complete Java EE application within a Java EE compliant application server
  • Understand how to secure EJBs within the container
  • Understand and write JMS based applications
  • Create and deploy Message-Driven Beans
Course Content
Introduction to Java EE
  • What is Java EE?
  • What technologies does Java EE encapsulate?
  • What is the architecture of Java EE applications?
  • When should I be considering Java EE in my applications?
2. Working with Ant
  • The Build process
  • Tasks and targets
  • Properties
  • Enterprise Application Ant Scripts
3. Using Hibernate for Persistence
  • What is Hibernate
  • Hibernate architecture
  • Introducing the Hibernate Core
  • A Hibernate Example using the Core
  • Implementing table relationships in Hibernate objects
4. The Java Persistence API (JPA)
  • What is the Java Persistence API
  • Hibernate and the JPA
  • The JPA Entity beans
  • Using Annotations with Entity beans
  • A Hibernate example using JPA
5. Persistence Units
  • What is a persistent unit
  • Configuring a persistence unit
  • Understanding persistence.xml
  • Deploying a persistence unit to JBoss
6. Enterprise Java Bean Overview
  • The two types of EJB
  • Session bean overview
  • Message Driven Bean overview
  • Packaging EJBs for deployment
  • A word on the deprecated entity bean
7. Session Beans in EJB3
  • Session bean local and remote interfaces
  • Session Context
  • Annotating session beans
  • Deploying session beans
  • Accessing session beans from within JSP
8. The Entity Manager
  • The role of the entity manager in JPA
  • Configuring a Hibernate Entity manager
  • Entity manager methods
  • Entity object lifecycle
  • Working with an entity manager from a session bean
9. JNDI
  • What is JNDI?
  • How to use JNDI Locating objects
  • Viewing the JBoss JNDI tree
  • JNDI design patterns
  • Dependency injection
  • Implementing a service locator
10. Web Applications and EJB
  • Web applications and EJB interaction
  • Design considerations
  • Architectural example
11. Java Messaging Service
  • Introduction to JMS
  • Topics and Queues
  • Implementing messaging using Java
12. Message Driven Beans
  • The role of the MDB
  • Building an MDB
  • Deploying an MDB
13. Securing Java EE Applications
  • Security options for applications
  • Java EE Principals and Roles
  • Declarative security for Web applications
  • Programmatic security for Web applications
  • Declarative Security for EJBs
  • Programmatic security for EJBs
 

Request More Infomation

Inquiry for
This field is for validation purposes and should be left unchanged.
Learn how Elite helped Aimbridge Hospitality stay ahead of the competition.
View Study