You are on page 1of 16

Chapter:05

Java EE6 basics

What is Java EE6.??!


Java enterprise edition 6 is latest java platform for develop enterprise application. Enterprise application is used for Enterprise Resource planning(ERP) which cutting age technology.

Enterprise Architecture
There are Three basic Layers of architecture 1)The presentation layer :: User interface 2)The business logic layer :: Logic of business is implement here 3)The data storage and access layer :: Read and store data

Designing Ways of architecture


1)The Single tier architecture

2)The Two tier architecture


3)The Three tier architecture

4)The Four tier architecture

The Single tier architecture


The Single tier architecture consist of

the Presentation logic ,


Business logic and

Data access layer in single computing device.

Cont Single tier


Advantage Easy to manage and implement data consistency Data is stored at single location Drawbacks Cant handle multiple user at a time Data sharing across origination is too difficult task

Two tier architecture


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 and database. A network architecture in which each computer or process on the network is either a client or a serverclient/server model

Components
Clients Servers Communication Networks

Server

Client

Client.??!
Applications that run on computers

Rely on servers for Files Devices Processing power


Example: E-mail client An application that enables you to send and receive e-mail

Clients are application

Servers..??!
Computers or processes that manage network resources Disk drives (file servers) Printers (print servers) Network traffic (network servers) Example: Database Server A computer system that processes database queries Servers are Resources

Communication Networks

Networks Connect Clients and Servers

ClientServer Computing
Process takes place
on the server and on the client Client-Server Computing Optimizes Computing Resources

Servers
Store and protect data Process requests from clients

Clients
Make requests Format data on the desktop

Types of Servers
From A to Z
Application Servers Audio/Video Servers Chat Servers Fax Servers FTP Servers List Servers Mail Servers News Servers Proxy Servers Telnet Servers

Groupware Servers
IRC Servers

Web Servers
Z39.50 Servers

Advantages of 2-tier
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.

Drawback of 2-tier
Development Issues:

Complex application rules difficult to implement in database server requires more code for the client Complex application rules difficult to implement in client and have poor performance
Changes to business logic not automatically enforced by a server changes require new client side software to be distributed and installed Not portable to other database server platforms

You might also like