You are on page 1of 16

Session 1

Instructor Inputs
Notes for the Faculty
This course consists of the following books:
 Developing Java EE Applications for Java EE Platform FJ-310 Student Guide (SG):
This book discusses the concepts of the Java EE Model, the basic functionality of
servlets, JSP components, and EJB components.
 Developing Java EE Application for Java EE Platform FJ-310 Student Workbook:
This book contains the lab exercises to be performed by the students in the Machine
Room.
 NetBeans Reference ToolKit: This book is a NetBeans IDE reference guide.
 Developing Java EE Application for Java EE Platform: Knowledge Bank
 Project Student Guide

This Coordinator Guide (CG) contains additional information related to the content. It
will help you conduct the sessions. You can refer to the session plan before conducting
the session to know how much content should be covered in a particular session.
Demonstrations have been created for most of the sessions to enable learning. You can
demonstrate these as per the session plan. Data files have been provided for these
demonstrations session wise in the TIRM.

The details of the data files folders in the TIRM are given below:
 Data Files for Faculty: Contains the session wise data file to help you apply and
demonstrate the concepts discussed in the chapters.
 Data Files for Students: Contains the data files that need to be given to the students
for performing the Machine Room exercises.
 Solutions: Contains the solutions of all the Machine Room exercises.
 Support Software: Contains the software patches to conduct the demonstrations.

Note
This module does not map to any of the Sun certifications. However, it gives students a
base for the SCWCD, SCBCD, and SCJWS exams.

Note
Extra demos have been included which will help you in explaining the concepts. While
giving the demonstrations you may encounter path error. To solve this problem, you
need to right-click the project in the Project Explorer Window and select Resolve
Reference Problem.

NIIT Instructor Inputs 1.3


Session Overview
This session covers Unit 1 of the book “Developing Java EE Applications for Java EE
Platform FJ-310 Student Guide (SG)”.

Tips for Handling the Session


Slide 1

Developing Applications for the Java EE Platform


Objectives

In this session, you will learn to:


Describe the needs of enterprise applications and how the
Java EE platform addresses these needs
Describe the Java Platform, Enterprise Edition 5 Specification
(Java EE platform 5) APIs and supporting services
Describe the Java EE platform tiers and architectures
Describe how to simplify Java EE application development
using architecture patterns

Ver. 1.0 Slide 1 of 24

Start the session by explaining the objectives listed in Slide 1.

1.4 Instructor Inputs NIIT


Slide 2

Developing Applications for the Java EE Platform


Requirements of Enterprise Applications

The Java EE platform:


Is an architecture for implementing enterprise-class
applications.
Uses Java and Internet technology.
Has a primary goal of simplifying the development of
enterprise-class applications through an application model that
is:
Vendor-neutral
Component-based

Ver. 1.0 Slide 2 of 24

Use Slide 2 to explain the concept of the Java EE platform. You can use the following
reference to gain additional information on the Java EE platform:

http://java.sun.com/developer/technicalArticles/J2EE/intro_ee5/

Slide 3

Developing Applications for the Java EE Platform


Java™Technology Platforms

Java EE technology is used to simplify the development of


enterprise applications through a vendor neutral,
component-based application model.

Ver. 1.0 Slide 3 of 24

NIIT Instructor Inputs 1.5


Use Slide 3 to explain how the Java EE platform fits with the other Java technology
platforms.

Slide 4

Developing Applications for the Java EE Platform


Enterprise Application Infrastructure Technologies

The enterprise application infrastructure technologies are


required to expose the application logic and functionality
provided in a single-user business application as an
enterprise application.

Ver. 1.0 Slide 4 of 24

Use Slide 4 to explain the concept of the enterprise application infrastructure technology.

Slide 5

Developing Applications for the Java EE Platform


Java EE Technology Suite

Java EE specification contains the suite of other


technologies and specifications, in addition to the one
defined by Java SE.

Ver. 1.0 Slide 5 of 24

Use Slide 5 to explain the Java EE technology suite.

1.6 Instructor Inputs NIIT


Slide 6

Developing Applications for the Java EE Platform


Java EE Specifications and the Java Community Process SM

Ver. 1.0 Slide 6 of 24

Use Slide 6 to explain the Java EE set of specifications that are maintained as part of the
Java Community Process (JCP). This process defines the roles and responsibilities of Java
EE platform vendors, tools, providers, and component developers.

Slide 7

Developing Applications for the Java EE Platform


Component, API, and Service Layer

Ver. 1.0 Slide 7 of 24

Use Slide 7 to explain how the Java EE platform provides vendor-neutrality in the
component layer by using APIs.

NIIT Instructor Inputs 1.7


Slide 8

Developing Applications for the Java EE Platform


Java EE Component Containers

Ver. 1.0 Slide 8 of 24

Use Slide 8 to explain the concept of Java EE component containers. You can use the
following reference to gain additional information on Java EE containers:

http://java.sun.com/javaee/5/docs/tutorial/doc/Overview4.html

Slide 9

Developing Applications for the Java EE Platform


Advantages of Using Server-Provided Services

Following are the advantages of using Server-Provided


Services

Ver. 1.0 Slide 9 of 24

Use Slide 9 to explain the advantages of using server-provided services.

1.8 Instructor Inputs NIIT


Slide 10

Developing Applications for the Java EE Platform


Java EE Platform APIs and Services

Java EE service categories:


Deployment-based services
API-based services
Inherent services
Vendor-specific functionality

Ver. 1.0 Slide 10 of 24

Use Slide 10 to explain the Java EE service categories.

Slide 11

Developing Applications for the Java EE Platform


Java EE Service Infrastructure

Ver. 1.0 Slide 11 of 24

Use Slide 11 to explain the Java EE service infrastructure. Explain some of the supporting
services and APIs included in the Java EE platform. These are listed in the SG.

NIIT Instructor Inputs 1.9


Slide 12

Developing Applications for the Java EE Platform


Java EE Platform Tiers and Architecture

The Java EE specification outlines an architectural model


based on tiers that developers are encouraged to use.
The historical motivation for tiering:
Division of labor around specialized servers
Formal definitions of application responsibilities based on the
division of labor

Ver. 1.0 Slide 12 of 24

Use Slide 12 to explain the concept of the Java EE platform tiers and architecture.

Slide 13

Developing Applications for the Java EE Platform


N-Tier Architectural Model

The N-tier architectural model:


Programmatically separates application functionality across
three or more tiers
Has tier components and tier infrastructure that is uniquely
suited to a particular task
Has programmatic interfaces that define the tier boundaries

Ver. 1.0 Slide 13 of 24

Use Slide 13 to explain the N-tier architectural model.

1.10 Instructor Inputs NIIT


Slide 14

Developing Applications for the Java EE Platform


Java EE Tiered Architecture

Ver. 1.0 Slide 14 of 24

Use Slide 14 to explain the Java EE tiered architecture.

Slide 15

Developing Applications for the Java EE Platform


Java EE Application Architecture

Web-centric architecture
Combined web and EJB™ component-based architecture,
sometimes called EJB component-centric architecture
Business-to-business (B2B) application architecture
Web service application architecture

Ver. 1.0 Slide 15 of 24

Use Slides 15, 16, 17, 18 and 19 to explain the different types of Java EE application
architectures.

NIIT Instructor Inputs 1.11


Slide 16

Developing Applications for the Java EE Platform


Java EE Web-Centric Architecture

Ver. 1.0 Slide 16 of 24

Slide 17

Developing Applications for the Java EE Platform


Java EE EJB Component-Centric Architecture

Ver. 1.0 Slide 17 of 24

1.12 Instructor Inputs NIIT


Slide 18

Developing Applications for the Java EE Platform


B2B Application Architecture

Ver. 1.0 Slide 18 of 24

Slide 19

Developing Applications for the Java EE Platform


Java EE Web Service Architecture

Ver. 1.0 Slide 19 of 24

NIIT Instructor Inputs 1.13


Slide 20

Developing Applications for the Java EE Platform


Java EE Patterns

Provide a standard solution for well understood


programming problems.
The Java EE pattern catalog:
Helps a developer create scalable, robust, high-performance,
Java EE technology applications
Presupposes the use of the Java programming language and
the Java EE technology platform
Are, in many places, closely related to the Gang of Four (GoF)
patterns

Ver. 1.0 Slide 20 of 24

Use Slides 20, 21, and 22 to explain the concept of Java EE patterns.

Slide 21

Developing Applications for the Java EE Platform


Java EE Pattern Tiers

The Java EE pattern catalog contains architectural patterns


that focus on the creation of scalable, robust, and
high-performance Java EE technology applications.

Ver. 1.0 Slide 21 of 24

1.14 Instructor Inputs NIIT


Slide 22

Developing Applications for the Java EE Platform


Using Java EE Patterns

Example of how Java EE application developer might apply


a set of patterns to a Java EE application

Ver. 1.0 Slide 22 of 24

Slide 23

Developing Applications for the Java EE Platform


Java EE BluePrints

Developed by the Java software group


Provide a set of guidelines and sample application
Used as a reference when designing and developing a Java
EE application or Java EE application components
Known as the Java BluePrints Solutions Catalog for Java
EE 5

Ver. 1.0 Slide 23 of 24

Use Slide 23 to explain the concept of Java EE BluePrints.

NIIT Instructor Inputs 1.15


Slide 24

Developing Applications for the Java EE Platform


Summary

In this session, you learned:


The requirements of an enterprise application.
How Java EE technology helps an application developer
create robust and functional enterprise-scale applications.
The role of the container and services in the Java EE
framework.
The most common Java EE application architectures.
How patterns can be applied when developing a Java EE
application.

Ver. 1.0 Slide 24 of 24

End the session by discussing the summary points given in Slide 24.

FAQs

1. What do you mean by the Java EE platform? How is it different from J2EE?

Ans: The Java EE platform is an architecture for implementing enterprise-class


applications by using Java and Internet technology. Java EE is the simplified name for
J2EE. It was formerly known as J2EE with specified versions, for example J2EE 1.5.
Version “2” has been eliminated. The version you are going to learn in this course is Java
Platform Enterprise Edition 5 (Java EE 5).

2. How is the Java EE 5 platform different from the previous versions?

Ans: Java EE 5 platform includes the following:


 EJB 3.0
 Java Persistence
 JAX-WS 2.0
 JavaServer Faces

1.16 Instructor Inputs NIIT