intro to j2ee

37
Introduction to J2EE 1 Introduction to Java 2 Enterprise Edition Presented by Communication & Collaboration Technologies Division of the Chief Information Officer Rensselaer Polytechnic Institute Welcome!

Upload: dzugeek

Post on 25-May-2017

214 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Intro to J2EE

Introduction to J2EE

1

Introduction to Java 2 Enterprise Edition

Presented by

Communication & Collaboration TechnologiesDivision of the Chief Information Officer

Rensselaer Polytechnic Institute

Welcome!

Page 2: Intro to J2EE

Introduction to J2EE

2

Main Topics

• Introduction– The Goal– The Problem– The Solution

• What is J2EE?

• The J2EE Framework

• Case Studies / Examples

Page 3: Intro to J2EE

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.

Page 4: Intro to J2EE

Introduction to J2EE

4

Introduction

IT must provide:

• High quality services– Highly Available– Secure– Scalable

• Powerful services– Useful– Flexible– Extensible

• Affordable

Page 5: Intro to J2EE

Introduction to J2EE

5

The Problem

• produce • purchase• support• maintain• replace

Complex software is expensive to:

Difficult Tasks!

Page 6: Intro to J2EE

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

Page 7: Intro to J2EE

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

Page 8: Intro to J2EE

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.

Page 9: Intro to J2EE

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:

Page 10: Intro to J2EE

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?

Page 11: Intro to J2EE

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?

Page 12: Intro to J2EE

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

*

Page 13: Intro to J2EE

Introduction to J2EE

13

Some History

Two tier application ("client/server")

• Strong scalability• Poor upgradability and difficult management

serverclient

Page 14: Intro to J2EE

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

Page 15: Intro to J2EE

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

Page 16: Intro to J2EE

Introduction to J2EE

16

Today

Page 17: Intro to J2EE

Introduction to J2EE

17

N-tier application

• View application server as a data store• Leverage data abstraction

Today

Page 18: Intro to J2EE

Introduction to J2EE

18

N-Tier Application

Page 19: Intro to J2EE

Introduction to J2EE

19

N-Tier Application

Banner

LDAP

Page 20: Intro to J2EE

Introduction to J2EE

20

N-Tier Application

Page 21: Intro to J2EE

Introduction to J2EE

21

N-Tier Application

Page 22: Intro to J2EE

Introduction to J2EE

22

N-Tier Application

Page 23: Intro to J2EE

Introduction to J2EE

23

N-Tier Complexity

Page 24: Intro to J2EE

Introduction to J2EE

24

Business Logic

Page 25: Intro to J2EE

Introduction to J2EE

25

Business Logic

data

PROCESS

OUTPUT

INPUT

data

Page 26: Intro to J2EE

Introduction to J2EE

26

N-Tier Complexity

Page 27: Intro to J2EE

Introduction to J2EE

27

N-Tier Complexity

Page 28: Intro to J2EE

Introduction to J2EE

28

N-Tier Complexity

Page 29: Intro to J2EE

Introduction to J2EE

29

N-Tier Complexity

Page 30: Intro to J2EE

Introduction to J2EE

30

N-Tier Complexity

Page 31: Intro to J2EE

Introduction to J2EE

31

N-Tier Complexity

Page 32: Intro to J2EE

Introduction to J2EE

32

ServletsJSP/XML/XSLT

SessionBeans

EntityBeans

J2EE

Page 33: Intro to J2EE

Introduction to J2EE

33

J2EE

ServletsJSP/XML/XSLT

SessionBeans

EntityBeans

Page 34: Intro to J2EE

Introduction to J2EE

34

Example: The Kiosk

Page 35: Intro to J2EE

Introduction to J2EE

35

Example: The Kiosk

ServletsJSP/XML/XSLT

SessionBeans

EntityBeans

article

category

get articleclient view

admin view

restore

utility

Page 36: Intro to J2EE

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

Page 37: Intro to J2EE

Introduction to J2EE

37

The J2EE Framework

Java Technologies

ExternalApplication