BDJEEA – Building and Deploying Java EE Applications using JBoss, Hibernate/JPA, Struts/JSF, and Spring

Enquire/Book this course

  • This field is for validation purposes and should be left unchanged.
Print this page
  • Code: BDJEEA
  • Duration: Days 4
  • Price per delegate: £1,200 +VAT

Trained over 60000 delegates

Course delivered by industry expert instructors

Highly competitive pricing

 

Course Description

This training course demonstrates how to build Java EE 1.5 applications for both the Tomcat Web container and the JBoss 5 application server using open source tools such as Ant, and then to then test and deploy those applications. Throughout this training course, students will build an end to end Java EE application. They will learn how to work with all the core Web technologies including Struts and JSF, and they will learn how to create EJB3 based Enteprise JavaBeans using the Java Persistence API. They will also see some of the common design patterns that can be applied in Java applications.
 
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
  • Develop and deploy Java Server Pages, Servlets and Java Beans within a web container
  • Be able to implement the Jakarta Struts framework
  • Use JNDI to locate distributed objects, including enterprise Java beans, and application server specific components
  • Develop and deploy Persistence Units
  • Develop and deploy Session Enterprise Java Beans
  • Understand how the Spring framework fits into Java EE applications
  • Appreciate the alternative persistence strategies, identifying the pros and cons of each
  • Deploy a complete Java EE application within a Java EE compliant application server
  •  
 
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. Introduction to Java Servlets
  • What is a Java Servlet
  • Java Servlet lifecycle
  • Introduction to the Servlet API
  • How to develop and deploy Java Servlets
3. Working with forms and session tracking
  • Processing form data from Java Servlets
  • Session tracking from Java Servlets
  • Working with Cookies and URL rewriting
  • Using the HttpSession object
4. JavaServer Pages
  • What is a JavaServer Page?
  • Directives in JSP
  • Scriptlets in JSP
  • Scripting Elements in JSP
  • Standard Actions in JSP
5. JavaBeans and JavaServer Pages
  • Using JavaBeans with JSP
  • JSP and Servlet interaction
  • Web application architecture
6. Introducing the JSP Standard Tag Library
  • The Core Actions
  • Using the EL in Tags
7. Introducing Jakarta Struts
  • The need for frameworks
  • Struts overview
  • Components of a Struts application
8. Implementing Jakarta Struts
  • Building a Struts Application
  • Working with Forms
  • Validation with ActionForms
  • Processing with Action Objects
9. Introducing JavaServer Faces
  • What is JSF
  • The JSF Architecture
  • Implementing JSF Applications
  • JSF compared with Struts
10. 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
11. 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
12. 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
13. Persistence Units
  • What is a persistent unit
  • Configuring a persistence unit
  • Understanding persistence.xml
  • Deploying a persistence unit to JBoss
14. Introduction to the Spring Framework
  • The need for Spring
  • Implementing Dependency Injection with Spring
  • The Spring Core
  • Programming to Interfaces using Spring
  • Incorporating Spring into Java EE applications
15. 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
16. Session Beans in EJB3
  • Session bean local and remote interfaces
  • Session Context
  • Annotating session beans
  • Deploying session beans
  • Accessing session beans from within JSP
17. 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
18. JNDI
  • What is JNDI?
  • How to use JNDI Locating remote objects
  • Registering remote objects
  • Using Dependency injection
19. Session Beans
  • Session bean home and remote interfaces
  • Using JNDI to locate entity beans
  • Using entity beans from session beans
  • Session Context
  • Deploying session beans
  • Accessing session beans from within JSP
  • Design issues surrounding EJB development
20. Web Applications and EJB
  • Web applications and EJB interaction
  • Design considerations
  • Architectural example
21. Java Messaging Service
  • Introduction to JMS
  • Topics and Queues
  • Implementing messaging using Java
22. Message Driven Beans
  • The role of the MDB
  • Building an MDB
  • Deploying an MDB