Title: Enterprise Computing part 1
1Enterprise Computing part 1
Pierluigi Frisco
2Enterprise Computing part 1
Pierluigi Frisco
P.Frisco_at_exeter.ac.uk Tel 01392 264049 Room 179
(only on appointment)
3Enterprise Computing
- EJB
- threads and synchronization
- security
- data warehousing
- communication substrates
- GRIDS computing.
4Enterprise Computing
assistant John R. Owen j.r.owen_at_ex.ac.uk
http//www.dcs.ex.ac.uk/studyRes/COM3510
5Enterprise Computing books
title Enterprise JavaBeans (4th edition) author
R. Monson-Haefel publisher OReilly
title Java Distributed Computing author J.
Farley publisher OReilly
6Enterprise JavaBeans (EJB)
A state-of-the-art architecture for developing,
deploying, and managing reliable enterprise
applications in production environments.
7Two-tier application architecture
PC
DB server
presentation logic
business logic
8Two-tier application architecture
advantages
easy to develop.
9Three-tier application architecture
Middle-tier server
Client Computer
DB server
presentation logic
business logic
10Three-tier application architecture
the middle-tier server improves scalability by
reusing expensive resources (database
connections) security is improved and
application management
advantages
11Early web-based application architecture
Web
Web server
CGI-bin scripts
web application
Common Gateway Interface
12CGI-bin scripts (Common Gateway Interface)
it is possible to write web-based applications
advantages
13J2EE application architecture (Java 2
Platform Enterprise Edition)
A standard architecture specifically oriented to
the development and deployment of enterprise
web-oriented applications using Java.
14J2EE application architecture Web-based
applications
Web server
EJB server
EJB container
Web container
RMI
Web application
enterprise bean
DB
client
internet
Web-EJB container
EJB container
local invocation
enterprise bean
Web application
15J2EE application architecture Web service
interactions
enterprise applications
J2EE .net Other
DB
Web SvC business logic
Internet or Intranet
EJB container
enterprise bean
16J2EE application architecture two-tier
applications
client
DB server
application-client container
presentation components
business logic
17J2EE application architecture three-tier
applications
client
business logic
DB
application-client container
EJB container
presentation components
enterprise bean
18J2EE application architecture three-tier
applications
advantages
simplicity application portability component
reusability separation of business logic from
representation logic easy development of Web
services
19Enterprise JavaBeans (EJB)
Managed server-side components for the modular
construction of enterprise applications.
20Enterprise JavaBeans (EJB)
Managed server-side components for the modular
construction of enterprise applications.
It means that EJB are distributed in binary
format and are configurable, so that the client
programmer can use them to create custom
applications.
21Enterprise JavaBeans (EJB)
Managed server-side components for the modular
construction of enterprise applications.
It means that EJB objects are allocated in a
process on some server, not on the client
machine. EJB can offer remote view, local view,
or both.
22Enterprise JavaBeans (EJB)
Managed server-side components for the modular
construction of enterprise applications.
It means that when a EJB object is active in
memory, its hosting process (the EJB container)
provides management functionalities.
23Remote Method Invocation (RMI) loop
Client Network Middle tier
skeleton
server object
stub
5) return result
24Container
EJB server
EJB container
25EJB containers
- object persistence
- declarative security control
- declarative transaction control
- concurrency management
- scalability management.
26Our imaginary business
? ? ?
Titan Cruises