technology background - jee final

13
 Technology Background - JEE Deepa Naik (dynaik@gmai l.com) Version 3.0

Upload: deepa-naik

Post on 06-Apr-2018

217 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Technology Background - JEE Final

8/2/2019 Technology Background - JEE Final

http://slidepdf.com/reader/full/technology-background-jee-final 1/13

 Technology Background - JEE

Deepa Naik ([email protected])

Version 3.0

Page 2: Technology Background - JEE Final

8/2/2019 Technology Background - JEE Final

http://slidepdf.com/reader/full/technology-background-jee-final 2/13

Concepts

- © Deepa Naik -2

Architecture Pattern

Layering

MVC

 JEE Architecture

Page 3: Technology Background - JEE Final

8/2/2019 Technology Background - JEE Final

http://slidepdf.com/reader/full/technology-background-jee-final 3/13

Company Confidential

Concept: Layering

DefinitionGrouping of classes and packages

Organized so that one layer calls upon

services of other layer

Higher layer calls upon lower layer ( somecases “several” lower layers) 

Typical layers include

Presentation Logic Layer ( UI Interface)

Business Logic Layer

Data Access Logic

Page 4: Technology Background - JEE Final

8/2/2019 Technology Background - JEE Final

http://slidepdf.com/reader/full/technology-background-jee-final 4/13

MVC  – Model View Controller

- © Deepa Naik -4

Model-View-Controller is a frequently used design pattern

that defines a separation of application code into three layers

The Model layer defines and validates the dataused by the application. It includes code tovalidate business rules and to communicate datato and from the database.

The View layer provides the user interface thatdisplays data from the Model layer

Code in the Controller layer determines whathappens after a user event occurs in the Viewlayer. It determines of what the View layer willrender what changes to data the Model layer willmake, after a certain data or user event.

Page 5: Technology Background - JEE Final

8/2/2019 Technology Background - JEE Final

http://slidepdf.com/reader/full/technology-background-jee-final 5/13

Concepts - MVC Architecture

- © Deepa Naik -5

Page 6: Technology Background - JEE Final

8/2/2019 Technology Background - JEE Final

http://slidepdf.com/reader/full/technology-background-jee-final 6/13

What is JEE ( formerly called J2EE)

- © Deepa Naik -6

 Java Platform, Enterprise Edition (Java EE) is a set of 

standards and specifications (called a platform) thatdefines the environment for running software written

using the Java language.

 Java EE is not a product. Instead, vendors create Java EE – 

compliant products by implementing the Java EEspecifications.

Page 7: Technology Background - JEE Final

8/2/2019 Technology Background - JEE Final

http://slidepdf.com/reader/full/technology-background-jee-final 7/13

 JEE Architecture Model

- © Deepa Naik -7

Client Tier - User interface code runs on this tier

 Web Tier  - The Web Tier runs user interface code on a Java EE server - often referred to as a web server or

application server

Business Logic Tier -

runs validation and

business logic code,

The EIS Tier -

represents the database(or other data source)

for business data.

Page 8: Technology Background - JEE Final

8/2/2019 Technology Background - JEE Final

http://slidepdf.com/reader/full/technology-background-jee-final 8/13

 Java EE Containers

- © Deepa Naik -8

 Java EE services called containers provide the ability for

the code in a component to run on a Java EE server. Example: Oracle Application Server or Oracle WebLogic

Server

Page 9: Technology Background - JEE Final

8/2/2019 Technology Background - JEE Final

http://slidepdf.com/reader/full/technology-background-jee-final 9/13

HTTP Communication

- © Deepa Naik -9

Page 10: Technology Background - JEE Final

8/2/2019 Technology Background - JEE Final

http://slidepdf.com/reader/full/technology-background-jee-final 10/13

Servlets

A Servlet is a program (java) that extends the

capabilities of a server Servlets are written in Java, run in a container (JVM)

on the server, and output HTML to the browser

- © Deepa Naik -10

Page 11: Technology Background - JEE Final

8/2/2019 Technology Background - JEE Final

http://slidepdf.com/reader/full/technology-background-jee-final 11/13

 JSPs  – Java Server Pages

A JSP page is a web client file that is written in a

combination of HTML and JSP tags

- © Deepa Naik -11

Page 12: Technology Background - JEE Final

8/2/2019 Technology Background - JEE Final

http://slidepdf.com/reader/full/technology-background-jee-final 12/13

 Java Server Faces

- © Deepa Naik -12

 JavaServer Faces (JSF) technology is another Java EE

component that provides user interface and controlfunctionality to Java EE applications.

The JSF tag libraries offer user interface components

(also just called “components”) that contain a rich set of 

properties and events that manage user interactions andthe state of the data inside the component.

Page 13: Technology Background - JEE Final

8/2/2019 Technology Background - JEE Final

http://slidepdf.com/reader/full/technology-background-jee-final 13/13

ADF

N-tier

Based on JEE ( specs )

Oracle Developed Framework based on JEE

Used for Oracle “Fusion” Applications