Course description: J2EE, JBoss, and Web Services using JBoss for Technical Managers, Testers, & Administrators

Duration:

 3 Days

Level:

 Intermediate

 

Format: hands-on 50%

Price:  $1,600

Audience:

Technical managers, product managers, team leads, testers, and administrators who need a high level understanding of J2EE to effectively monitor and evaluate the development work of their teams.

 

Description:

Java 2 Platform, Enterprise Edition (J2EE) defines the standard for developing component-based multi-tier enterprise applications. JBoss is a fully-featured open source Java application server. It includes full support for J2EE-based APIs and is highly scalable. Eclipse is an open source extensible Java IDE and provides facility to build client-server and web-based Java applications.

This course is for technical managers who will learn at a high level the fundamentals of J2EE architecture and applications, Servlets, JSP, J2EE Testing using open source tools, EJB, XML, Web Services, and other J2EE APIs using JBoss server and Eclipse IDE.

This course starts with the overview of J2EE architecture and Eclipse IDE. It explains how enterprise applications are developed and deployed using Eclipse IDE and JBoss server. Topics include:

  1. Objects and Java (Optional)
  2. Introduction to J2EE
  3. Servlets
  4. Advanced Servlets (Optional)
  5. Testing with Open Source – JUnit and Cactus
  6. JSP
  7. EJB Fundamentals
  8. Other J2EE APIs (Optional)
  9. XML Fundamentals (Optional)
  10. Web Services

After completing this course, you will be able to at high-level:

o        Understand OO, Java, J2EE

o        Understand JSP and/or servlet

o        Understand EJBs

o        Integrate servlets and JSPs into a complete J2EE application

o        Test servlets and JSPs

o        Deploy a J2EE application to JBoss

o        Use Eclipse for developing simple applications

 

Contents:

 

1.       Objects and Java (can be skipped depending on audience)

  • Java Object model
  • Classes, Interface, Inheritance
  • Java packages
  • JVM, JRE, JDK
  • Benefits of Java

 2.       Introduction to J2EE

  • Introducing web application
  • Server-side architecture
  • Introduction to J2EE and its architecture
  • J2EE compliant server
  • J2EE APIs overview
  • J2EE Application development life cycle
  • J2EE components and packaging
  • J2EE deployment descriptors – DDs, EARs, JARs, WARs
  • J2EE & MVC Architecture
  • Java language overview
  • Introducing Eclipse IDE
  • Developing Java application with Eclipse
  • JBoss server architecture, components, and installation

3.       Servlets

  • HTTP protocol overview
  • Introduction to Servlet and its benefits
  • Core Servlet Interfaces and classes
  • Http Servlet Interfaces
  • Servlet life cycle
  • Developing servlets with JBoss and Eclipse

o         Create and configure Java project

o         Create web application folder structure

o         Develop servlet and other classes

o         Generate web.xml

o         Packaging the web application

o         Start JBoss server

o         Deploy the application

o         Invoke servlets

4.       Advanced Servlets (Optional)

  • Advanced features of servlets

o         Processing data from HTML Forms

o         Forward to another servlet

o         Include response from other servlets

o         Servlet related objects

  • Session management technique

o         Cookies

o         URL rewriting

o         HTTP session

5.       Testing with Open Source – JUnit and Cactus

  • Types of testing
  • JUnit overview and classes
  • TestCase for sample java class
  • JUnit in Eclipse
  • Test Structures
  • Introduction to cactus
  • Cactus framework
  • Cactus and J2EE components
  • How cactus works?
  • Testing servlets
  • Client/server side config files
  • Cactus unit test results

6.       JSP

  • What is JSP ?
  • Benefits of JSP
  • JSP syntax and elements
  • Error handling in JSP
  • Introducing JavaBeans
  • Using JavaBeans with JSP
  • JavaBeans scope across web application
  • Request forwarding
  • JSP include
  • JSP custom tags
  • Developing and running JSPs with JBoss and Eclipse

7.       EJB Fundamentals

  • Introduction to EJB
  • EJB architecture
  • EJB components
  • Types of EJBs
  • Transaction
  • Sample Session EJB
  • Entity beans overview
  • Entity bean life cycle methods
  • Sample CMP Entity bean

8.       Other J2EE APIs (Optional)

  • Java Message Service overview
  • JMS architecture
  • Message-driven EJB pattern
  • Java Naming and Directory Interface (JNDI)
  • Remote Method Invocation over IIOP (RMI-IIOP)
  • Transactions API
  • JavaMail API
  • JavaBeans Activation Framework (JAF)
  • JAXP API
  • JAAS API
  • Security

9.       XML Fundamentals (Optional)

  • Introduction to XML
  • DTD
  • XML Schema
  • Schema examples
  • Simple and complex types
  • Namespaces

10.   Web Services (Optional)

  • What is a Web Service?
  • Examples of Web Service applications
  • Benefits of Web Service
  • Platforms for Web Services in the market
  • Web Services Technologies – SOAP, WSDL, UDDI, WSTK
  • Create, Deploy, Publish, Discover Web Services

 

 

Hands-On Labs

 

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

Prerequisites:

Basic knowledge of Object-Oriented Programming and be able to write simple Java programs.

(OO and Java can be covered as an additional introductory module if pre-requisite is not satisfied.) A good prerequisite course to take is AvantSoft’s course on “Object-oriented analysis, design, implementation, and testing”.


Public Classes Are Available At UNICOMP, Inc Locations Or On Site Private Class, Upon Your Request.


Home     AIX     CITRIX     DB2     IBM HACMP     i-Series & IBM AS/400     Java     Linux, Unix, & Open Source    Lotus Notes
 

MQ Series     Rational     Storage Networking     Tivoli     Websphere     z Series & OS/390

Copyright © 1989-2007 Unicomp, Inc. All Rights Reserved Webmaster