Summary:
This course is an introduction to writing J2EE (Java 2 Enterprise Edition) applications using IBM's WebSphere Application Server. An overview of J2EE technology is provided, followed by hands-on experience using JNDI and JDBC and writing Servlets, JavaServer Pages, and Enterprise JavaBeans. Start-up, shutdown, and basic configuration of the WebSphere Server is covered, including setup for authentication and authorization of users.
Prerequisites:
Students should be comfortable with Java programming and object-oriented concepts. A minimum of six months coding experience is suggested. In addition, students should have prior experience using RMI, JDBC, and Java Servlets.
Who Should Attend:
Experienced Java programmers and software engineers preparing to write J2EE applications using IBM's WebSphere Application Server.
Benefits of Attendance:
Course Outline:
Chapter 1: OVERVIEW OF J2EE
- Java Platforms
- Characteristics of "Enterprise" Computing
- J2EE Technologies
- Multi-Tier Architectures and Their Advantages
- Container-Based Approach
- J2EE Application Models
- HTTP Services Applications Component
- N-Tiered Application Model
Chapter 2: INTRODUCTION TO WEBSPHERET STUDIO APPLICATION DEVELOPER
- What is WebSphere?
- What is WSAD?
- Creating a J2EE Project in WSAD
- Configuring the WebSphere Test Environment
- Starting and Stopping WebSphere
- Setting the Java Runtime Environment (JRE)
Chapter 3: SERVLETS
- J2EE Web Applications
- A Simple Servlet
- Developing Servlets with WSAD
- Configuring Servlets
- Setting Servlet URL's in WSAD
- WebSphere Deployment Descriptors
- Servlet Initialization Parameters
- Setting Initialization Parameters in WSAD
- Dynamic Reloading of Servlets
- Servlets and Threads
- The Single-Thread Model
- Cookies
- Sessions and Session IDs
- Session Management
- Invalidating Sessions
Chapter 4: JAVASERVER PAGES
- A Simple JSP
- Developing JavaServer Pages in WSAD
- Configuring JavaServer Pages
- JSP Syntax
- Running JavaServer Pages
- JSP Directives and Actions
- JavaServer Pages and JavaBeans
Chapter 5: JAVA NAMING AND DIRECTORY INTERFACE
- Benefits of JNDI
- Naming and Directory Services
- Using JNDI
- Context Operations
- Running the IBM Universal Test Client
Chapter 6: WEBSPHERE JDBC
- A Simple JDBC Program
- JDBC Driver Types
- Connection Pools and Datasources
- Configuring JDBC in WSAD
- Data Source Settings
Chapter 7: ENTERPRISE JAVABEANS
- EJB Component Model
- Parties Involved in EJB Deployment
- EJB Server and EJB Container
- Types of Enterprise Beans
- EJB Wrapper Interfaces
- Deployment Descriptors
- Context and Environment Objects
- Summary of EJB Environment
- The Remote Interface
- The Home Interface
- The Enterprise Bean Class
- Understanding the Client Code
- Creating an EJB Project in WSAD
- Adding an Existing EJB to the Project
- The ejb-jar.xml File
- The ibm-ejb-jar-bnd.xmi File
- Testing With the IBM Universal Client
- Creating an EJB Client Project in WSAD
Chapter 8: SESSION BEANS
- Session Bean Lifetime, Interface, and Lifecycles
- Accessing Environment Entries
- Deployment Settings for the TaxBean
- Deploying and Testing the Tax Bean in WSAD
- Testing the Tax Bean with an Application Client
- Exceptions Thrown by the CartBean
- Deploying and Testing the Cart Bean
Chapter 9: ADDING A SECURE WEB COMPONENT
- J2EE Application Components
- HTML Form for Survey Application
- HTML Code for Survey Form
- Servlet Code for the Survey Application
- Enterprise Bean for the Survey Application
- Deploying and Running the Survey Application
- Security for J2EE Web Applications
- Configuring Web Application Security in WSAD
- Enabling Security for the WebSphere Server
- Disabling WebSphere Security
Chapter 10: BMP ENTITY BEANS
- Entity Bean Interface
- Lifecycle of an Entity Bean
- Deploying Entity Beans
- Deployment Settings for Customer Bean
- Deploying and Testing a BMP Entity Bean
Chapter 11: CMP ENTITY BEANS
- Container-Managed Persistence
- Primary Key Class
- CMP Entity Bean Methods
- Deployment Settings for Product Bean
- Implementing Custom Finders
- Deploying and Testing a CMP Entity Bean
- Mapping Entity Beans to Database Tables
- Creating a New CMP Entity Bean
Chapter 12: TRANSACTIONS
- Container-Managed Transactions
- Transaction Attributes
- Specifying Transaction Attributes in WSAD
- System vs. Application Exceptions
- Rolling Back a Container-Managed Transaction
- Bean-Managed Transactions
- Deployment Settings for ItemOrderer Bean
- Running the Item Orderer Application
Chapter 13: JAVA MESSAGE SERVICE
- JMS and the J2EE Platform
- Basic JMS Concepts
- The JMS Programming Model
- Configuring JMS in WSAD
- Reliable Message Delivery
Chapter 14: MESSAGE-DRIVEN BEANS
- Deploying Message-Driven Beans in WSAD
- Creating a New Message-Driven Bean
Appendix A: WEB RESOURCES
Appendix B: BEST PRACTICES FOR J2EE APPLICATIONS
Appendix C: REFERENCE SHEETS
Appendix D: CUSTOM JSP TAGS
Appendix E: HTML REFERENCE
Tuition:
Tuition is $2500 per person at one of our scheduled public courses. Onsite pricing is available. Government personnel qualify for reduced rates. Please call us at 410-956-8805 or send an email to ati@ATIcourses.com.
Register Now Without Obligation