Beruflich Dokumente
Kultur Dokumente
Deployment
George Trujillo
Trubix / IOUG
Tugdual Grall
Oracle
Mobile/Wireless
GRID infrastructure
Agenda
J2EE Overview
Application Life Cycle
Design
Development / Testing
Deployment
Administer
Application Layer
J2EE Tier
Presentation
Web Tier
HTML, JSP
Control
Web Tier
Servlets
Business Logic
Business Tier
Persistent Objects
Business Tier
Simple to build
Simple to package and deploy
Low overhead from container
Relatively easy to test
Cons
Web Container
JSP + Servlet
UI
Business Logic
JDBC
local
JSP + Servlet
UI
Session Bean - Logic
Entity Bean - Persistence
Cons
Uses EJB infrastructure
Harder to test business logic
behind local interfaces
DB
Pros
Most flexible architecture
Can separate EJB container
to different server
Multi client enabled
Can be exposed as Web
service endpoint
Cons
Slower performance, remote
network calls and serialization
Can be difficult to configure
and debug
WebJSP
Container
+ Servlet
UI
remote
EJB Container
DB
Quotes
Deploy
Administer
Design
Deploy
Administer
Design
Design
Good Design == Good Deployment
Tools/Methodologies
UML
Hurdon
Deploy
Administer
Design
Development
Define standards for your team
Coding standard
Tooling
Process
J2EE Developer
OracleAS
Persistence
Leverage the Oracle RDBMS features inside your J2EE Applications
EJB 3.0
Simplify Development of EJBs using POJOS and Java Annotations
Based on Oracle Toplink
Oracle co-spec lead and author of the Reference Implementation
Oracle AS Toplink
Functionnality
Performance
Debug
Testing Solution
Automated Testing
Integrated to your IDE, and you Build process
Junit, testNG, custom code
Develop: Tools
Use and IDE such as JDeveloper
D E M O N S T R A T I O N
Deploy
Administer
Design
Packaging
Development teams need to understand how their software
components need to be packaged for the types of applications
they are building.
The choice of packaging will have an impact on how an
application will work and act in a distributed environment.
Packaging needs to consider:
The type of archive files to use.
The types of deployment descriptors for particular platforms.
Deployment Options
Make sure to clearly understand the deployment
options available in each deployment, test and
production environment
Use deployment Plan (new standard for J2EE 1.4)
JSR-88 Capabilities
Performing a Deployment
Deployment Tool
1
Deployment
Progress &
Status
J2EE
Container
+
Deployment Plan
ARCHIVE
D E M O N S T R A T I O N
Oracle JDeveloper
Deployment: Guidelines
Deployment is not only packaging the
components
This is also configuring:
Security Policy
Clustering policy
Load Balancing
Shared Libraries
Deploy
Administer
Design
Component Management
Deploying and Maintaining J2EE Applications
J2EE Application Diagnostics
Clustering
Backup and Recovery
Port Management
Accessing Diagnostic Logs
JSP
Servlet
EJB
internet
JDBC/SQL
J2EE Monitoring
Pre-defined thresholds
Alert notifications and response actions
Blackout periods
Performance baselines
Graphical performance charts
Historical data repository
Performance trends and comparisons
Topology View
D E M O N S T R A T I O N
Application Monitoring
QUESTIONS
ANSWERS