THESE ARE
INSTRUCTOR-LED DEMOS AND ARE GREAT FOR HIGH-LEVEL QUICK UNDERSTANDING OF
J2EE FOR MANAGERS, TESTERS, & ADMINISTRATORS. THEY HELP TO UNDERSTAND ACTUAL
PIECES OF CODE AT A HIGH LEVEL. THEY ARE INTERSPERSED BETWEEN LECTURES AND
HELP RELATE THE THEORY TO CODE.
Lab 01 – Introduction to
Eclipse
o
Introduction to Eclipse IDE
o
Developing simple Java
Project
o
Debugging and running Java
application
o
Learn how to use classes from
an external jar file
Lab 02 – Web application
with Eclipse and JBoss
o
Building a web application
using Eclipse
·
Create and configure Java
project
·
Create web application folder
structure
·
Develop servlet and other
classes
·
Generate web.xml
·
Packaging the web application
o
Deploy and Run the
application
·
Configuring Eclipse with
JBoss
·
Start JBoss server
·
Deploy the application
·
Test servlets
Lab 03 – Managing Servlet
Session
o
Learn how to Maintain
sessions across requests processed by a servlet
o
Develop and run servlets that
maintains session using
·
URL rewriting
·
HTML form hidden fields
·
Cookies
·
HttpSession object
o
Making cookies persistent
o
Set the domain and path for
cookies
Lab 04 – Testing web
applications using Cactus
o
Learn how to test various
methods and aspects of given Servlets
o
Create / import web project
and resources to Eclipse
o
Configure the web project
o
Create the TestLoginServlet
to test LoginServlet
o
Deploy the web application to
JBoss
o
Run tests for LoginServlet
from the Web Browser
o
Test using Cactus from a
separate Java client and as an Ant Script
Lab 05 – Create, deploy,
and run Java Server Page Application
o
Learn how to develop JSPs in
Eclipse and run it in JBoss
o
Create JSPs
o
Deploy web application in
JBoss
o
Test JSPs
o
Using JSPs
·
Interacting with JavaBeans
·
Using Instance variables
·
JSP declaration, Scriptlet
and Expressions
·
Accessing request parameters
·
Adding methods
·
Handling errors
·
Including output from
multiple resources
Lab 06 – Create, deploy,
and run Enterprise Java Bean Application
o
Learn how to develop EJBs in
Eclipse and run it in JBoss
o
Create Session EJB and
deployment descriptor
o
Write Servlet client and its
deployment descriptor
o
Packaging to .ear file and
deploy to JBoss
o
Test Session EJB using
servlet
Lab 07 – Develop and run a
Web Service with Eclipse+JBoss
o
Learn to develop a web
service based on Apache AXIS
o
Deploy Web Service in JBoss
server
o
Dynamically use the JWS file
o
Use the Web Service
Deployment Descriptor (WSDD) file
o
Run Web Service client and
observe SOAP packets using tcpmon (TCP Monitor) tool
o
Learn to configure the system
with Apache Axis and JBoss Server
o
Deploy and run the Web
Service
o
Invoke Web Service operations