Download - Introducing the Java EE Platform
-
7/31/2019 Introducing the Java EE Platform
1/16
Chapter:05
-
7/31/2019 Introducing the Java EE Platform
2/16
Java EE6 basics
-
7/31/2019 Introducing the Java EE Platform
3/16
Java enterprise edition 6 is latest javaplatform for develop enterpriseapplication.
Enterprise application is used forEnterprise Resource planning(ERP)which cutting age technology.
What is Java EE6.??!
-
7/31/2019 Introducing the Java EE Platform
4/16
There are Three basic Layers ofarchitecture
1)The presentation layer :: User interface
2)The business logic layer :: Logic ofbusiness is implement here
3)The data storage and access layer :: Readand store data
Enterprise Architecture
-
7/31/2019 Introducing the Java EE Platform
5/16
1)The Single tier architecture
2)The Two tier architecture
3)The Three tier architecture4)The Four tier architecture
Designing Ways of architecture
-
7/31/2019 Introducing the Java EE Platform
6/16
The Single tier architecture consist of
the Presentation logic ,
Business logic andData access layer in single computingdevice.
The Single tier architecture
-
7/31/2019 Introducing the Java EE Platform
7/16
Advantage Easy to manage and implementdata consistency
Data is stored at single location
DrawbacksCant handle multiple user at atime
Data sharing across origination is too difficult
task
Cont Single tier
-
7/31/2019 Introducing the Java EE Platform
8/16
Consist of two layers
1) Business logic layer
2) Data access layer
In two tier architecture, application existing entirely in local
machine and database is located at another secure place in
organization.
At here, server just control traffic between application anddatabase.
A network architecture in which each computer or process on
the network is either a clientor a serverclient/server model
Two tier architecture
-
7/31/2019 Introducing the Java EE Platform
9/16
Components
Clients
Servers
Communication Networks
Client
Server
-
7/31/2019 Introducing the Java EE Platform
10/16
Applications that run on computers
Rely on servers for
Files
DevicesProcessing power
Example: E-mail client
An application that enables you to send andreceive e-mail
Clients are application
Client.??!
-
7/31/2019 Introducing the Java EE Platform
11/16
Computers or processes that manage networkresources
Disk drives (file servers)
Printers (print servers)Network traffic (network servers)
Example: Database Server
A computer system that processes databasequeries
Servers are Resources
Servers..??!
-
7/31/2019 Introducing the Java EE Platform
12/16
Communication Networks
Networks
Connect Clients
and Servers
-
7/31/2019 Introducing the Java EE Platform
13/16
ClientServer Computing
Process takes place
on the server and
on the client
Servers
Store and protect data
Process requests from clients
Clients Make requests
Format data on the desktop
Client-Server Computing
Optimizes Computing
Resources
-
7/31/2019 Introducing the Java EE Platform
14/16
Types of Servers
Application Servers
Audio/Video ServersChat Servers
Fax Servers
FTP Servers
Groupware Servers
IRC Servers
List Servers
Mail ServersNews Servers
Proxy Servers
Telnet Servers
Web Servers
Z39.50 Servers
From A to Z
-
7/31/2019 Introducing the Java EE Platform
15/16
Development Issues:
Simple structure
Easy to setup and maintain
Performance:
Adequate performance for low to medium
volume environments
Business logic and database are physically close,
which provides higher performance.
Advantages of 2-tier
-
7/31/2019 Introducing the Java EE Platform
16/16
Development Issues:
Complex application rules difficult to implementin database server requires more code for the
client Complex application rules difficult to implementin client and have poor performance
Changes to business logic not automaticallyenforced by a server changes require new clientside software to be distributed and installed
Not portable to other database server platforms
Drawback of 2-tier