intro to j2ee
TRANSCRIPT
Introduction to J2EE
1
Introduction to Java 2 Enterprise Edition
Presented by
Communication & Collaboration TechnologiesDivision of the Chief Information Officer
Rensselaer Polytechnic Institute
Welcome!
Introduction to J2EE
2
Main Topics
• Introduction– The Goal– The Problem– The Solution
• What is J2EE?
• The J2EE Framework
• Case Studies / Examples
Introduction to J2EE
3
Introduction
“Enterprises today need to extend their reach, reduce their costs, and lower their response times”
– Simplified Guide to the Java 2 Platform, Enterprise Edition, Sun Microsystems, Inc.
Introduction to J2EE
4
Introduction
IT must provide:
• High quality services– Highly Available– Secure– Scalable
• Powerful services– Useful– Flexible– Extensible
• Affordable
Introduction to J2EE
5
The Problem
• produce • purchase• support• maintain• replace
Complex software is expensive to:
Difficult Tasks!
Introduction to J2EE
6
?
The Problem
Why not delegate components to different departments?
Departmental solutions are:• Limited in scope
– Difficult to be aware of enterprise- wide requirements and initiatives
• Difficult to leverage– Diverse interoperabilty standards
Introduction to J2EE
7
• Cost and complexity– Solution: Leverage reusable software components
• Limited scope and impact– Solution: Provide interfaces that enable enterprise-wide
application development
• Diverse standards– Solution: Utilize existing standards and software components
• Strength: Leveraged departmental core compentencies– Strongly defined roles and software interfaces
allow maximum collaboration
The Solution
Introduction to J2EE
8
What is J2EE?
What is Java 2 Enterprise Edition?
"The Java 2 platform, Enterprise Edition reduces the cost and complexity of developing ... multi-tier services, resulting in services that can be rapidly deployed and easily enhanced“
– Simplified Guide to the Java 2 Platform, Enterprise Edition, Sun Microsystems, Inc.
Introduction to J2EE
9
What is J2EE?
• Enabling technology• Standards based application model• A common architecture that provides
key common functionality:– Security– Session Management– Scalability
J2EE Provides:
Introduction to J2EE
10
What is J2EE?
• Applications architecture• Partitioning of application logic• Improves maintainability• Simplifies software upgrades and
management
What does "multi-tier" mean?
Introduction to J2EE
11
What is J2EE?
• Enables increased aggregate functionality• Reduces component maintenance cost• Separation of workload to improve
scalability and reliability• Strong separation prevents
vendor lock-in
What does "multi-tier" mean?
Introduction to J2EE
12
Some History
Two tier application ("thin client")
• Easy to upgrade client• Expensive to scale and to add functionality
*Business Logic
serverclient
*
Introduction to J2EE
13
Some History
Two tier application ("client/server")
• Strong scalability• Poor upgradability and difficult management
serverclient
Introduction to J2EE
14
Today
Three tier application
• Thin clients make easy upgrades• Centralized application server management is
easier to manage• Model allows for horizontal scalability
client app server server
Introduction to J2EE
15
Today
Three tier application
• Thin clients make easy upgrades• Centralized application server management is
easier to manage• Model allows for horizontal scalability
client app server server
Introduction to J2EE
16
Today
Introduction to J2EE
17
N-tier application
• View application server as a data store• Leverage data abstraction
Today
Introduction to J2EE
18
N-Tier Application
Introduction to J2EE
19
N-Tier Application
Banner
LDAP
Introduction to J2EE
20
N-Tier Application
Introduction to J2EE
21
N-Tier Application
Introduction to J2EE
22
N-Tier Application
Introduction to J2EE
23
N-Tier Complexity
Introduction to J2EE
24
Business Logic
Introduction to J2EE
25
Business Logic
data
PROCESS
OUTPUT
INPUT
data
Introduction to J2EE
26
N-Tier Complexity
Introduction to J2EE
27
N-Tier Complexity
Introduction to J2EE
28
N-Tier Complexity
Introduction to J2EE
29
N-Tier Complexity
Introduction to J2EE
30
N-Tier Complexity
Introduction to J2EE
31
N-Tier Complexity
Introduction to J2EE
32
ServletsJSP/XML/XSLT
SessionBeans
EntityBeans
J2EE
Introduction to J2EE
33
J2EE
ServletsJSP/XML/XSLT
SessionBeans
EntityBeans
Introduction to J2EE
34
Example: The Kiosk
Introduction to J2EE
35
Example: The Kiosk
ServletsJSP/XML/XSLT
SessionBeans
EntityBeans
article
category
get articleclient view
admin view
restore
utility
Introduction to J2EE
36
Clones
http://j2ee.rpi.edu/helpdesk http://j2ee.rpi.edu/kiosk
http://www.va.rpi.edu
http://www.eng.rpi.edu/frame_news.html
Introduction to J2EE
37
The J2EE Framework
Java Technologies
ExternalApplication