ILP J2EE Stream J2EE 02 Work Environment V0.1
-
Upload
chacko-mathew -
Category
Documents
-
view
508 -
download
1
description
Transcript of ILP J2EE Stream J2EE 02 Work Environment V0.1
Development EnvironmentVersion 1.0
April 8, 2023TCS Internal
Introduction•You will be developing a complete J2EE application.•The development environment:
– JBoss IDE with Eclipse– Oracle Database
•Testing Environment:– JBoss IDE with Eclipse– Oracle Database
•Deployment Environment:– WebSphere Application Server– Oracle Database
April 8, 2023TCS Internal
J2EE Stream Lab Architecture Diagram
Oracle
WebSphere Application
Server
Eclipse
JBoss
IDE runs on desktop PC 1
Eclipse
JBoss
IDE runs on desktop PC 2
Eclipse
JBoss
IDE runs on desktop PC n
Eclipse
JBoss
IDE runs on desktop PC n+1
Runs on Server Linux
Runs on ServerProduction Server/Env Linux
After development in IDE,deploy in production server
CVS
Runs on Desktop PC Linux
Diagram Dated: 05 June 2006Created and own by: TCS, ILP Trivandrum, India
April 8, 2023TCS Internal
J2EE Stream Lab Architecture - Physical
WebSphere V5.1 on Linux OSDL380 SERVER, 2 GB RAM78 GB HARD disk (RAID)
Oracle 9i on Linux or Windows 2003 OSDL380 SERVER, 2 GB RAM78 GB HARD disk (RAID)
CVS V1.11.2 on Linux OSPentium 4 CPU, 1 GB RAM 120 GB Hard Disk
JBoss IDE V1.6 (Eclipse V3.1) and JBoss V4.0.2 on Windows XP OS
Deploy after development and testing
DEVELOPMENT & TESTENVIRONMENT (IDE)
PRODUCTIONENVIRONMENT
DATABASE
CONFIGURATIONMANAGEMENT
Note: Linux OS is Red Hat, enterprise edition, V8.0Diagram Dated: 05 June 2006Created and own by: TCS, ILP Trivandrum, India
April 8, 2023TCS Internal
JBoss IDE•JBoss IDE is a plug-in used by Eclipse to develop J2EE applications.
•J2EE applications are very large and consists of large number of programs distributed across directories.
•In order to organize these files, J2EE has lots of configuration files.
•When we write J2EE programs ourself, then we have to write all these configuration files.
•JBoss IDE helps in writing and maintaining this configuration files for the programmer.
April 8, 2023TCS Internal
JBoss IDE Features•Wizards to ease and simplify J2EE development.•Integrated debugging, monitoring, and life cycle control of JBoss servers.
•JSP, HTML, and XML editors with syntax highlighting•Easy configuration and deployment of package services•Automatically create JAR, EAR and WAR files.•Well integrated with Eclipse 3.1•Open source software (freely available).
April 8, 2023TCS Internal
XDoclet•When we develop J2EE applications, for each component (EJB), there need to be several support classes.
•These classes acts as interface for the users.•XDoclet provides features write these component classes when a bean is created.
•XDoclet is an open source intiative.•JBossIDE uses XDoclet feature to create support classes for beans.
April 8, 2023TCS Internal
JBoss IDE Directory Structure
DEPLOYMENTDetails
EJBComponents
WEBComponents
April 8, 2023TCS Internal
JBoss Server•We will deploy our application using JBoss Server.•JBoss server has two components:
– JBoss Application Server•Which handles EJBs
– Tomcat Web Server•Which handles servlets and JSP pages.
•But we get an integrated view and need not worry about where Apache is running or JBoss is running.
April 8, 2023TCS Internal
JBoss Server•JBoss Server can be used for deploying:
– Enterprise wide Java Applications– Web applications– Portals
•JBoss Application server supports EJB 3.0 standard.