10
Development Environment Version 1.0

ILP J2EE Stream J2EE 02 Work Environment V0.1

Embed Size (px)

DESCRIPTION

The Objective of J2EE course are:To understand multi-tiered enterprise applications.To understand J2EE framework for developing enterprise applications.To understand various components of J2EE like JSP, Servlets, EJB etc. and effectively use them.To understand Application Server and its configurations.To learn and deploy web based applications in application server.To learn supporting technologies like XML, JavaScript and Strut framework

Citation preview

Page 1: ILP J2EE Stream J2EE 02 Work Environment V0.1

Development EnvironmentVersion 1.0

Page 2: ILP J2EE Stream J2EE 02 Work Environment V0.1

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

Page 3: ILP J2EE Stream J2EE 02 Work Environment V0.1

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

Page 4: ILP J2EE Stream J2EE 02 Work Environment V0.1

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

Page 5: ILP J2EE Stream J2EE 02 Work Environment V0.1

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.

Page 6: ILP J2EE Stream J2EE 02 Work Environment V0.1

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).

Page 7: ILP J2EE Stream J2EE 02 Work Environment V0.1

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.

Page 8: ILP J2EE Stream J2EE 02 Work Environment V0.1

April 8, 2023TCS Internal

JBoss IDE Directory Structure

DEPLOYMENTDetails

EJBComponents

WEBComponents

Page 9: ILP J2EE Stream J2EE 02 Work Environment V0.1

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.

Page 10: ILP J2EE Stream J2EE 02 Work Environment V0.1

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.