JAVA J2EE
Course
Inhouse
Description
-
Type
Course
-
Methodology
Inhouse
This class provides an introduction to the principles of developing Java Enterprise Edition applications. The Sun ONE Studio is used as the development environment for the class, together with the embedded PointBase Relational Database. Principles learnt in this class are applicable to other application server and database environments.
About this course
Some Java programming experience is advised.
Reviews
Course programme
This class provides an introduction to the principles of developing Java Enterprise Edition applications. The Sun ONE Studio is used as the development environment for the class, together with the embedded PointBase Relational Database. Principles learnt in this class are applicable to other application server and database environments.
Pre-requisites:
Some Java programming experience is advised.
Course Includes:
A comprehensive set of reference notes covering course topics, follow-up telephone support and, for training on Transmedia premises, lunch and refreshments.
Course Outline
J2EE Overview
· Objectives; Concepts; Services; Application Tiers; Client Tier; Middle Tiers
· Application Server; EIS Tier; PointBase Relational Database; Sun Studio
· J2EE Applications; Web Tier - WebApps & WARs; Business Tier - EJBs & JARs; JNDI; Practice
JSP and Servlet Overview
· Objectives; Overview; Benefits of JSP's & Servlets; JSP Architecture
· JSP Example; Generated Servlet Code; Create, deploy and test a JSP
· What is a servlet and how it works; Servlet example; Create, deploy and test a servlet; Summary
Session EJBs
· Objectives; Overview & Benefits; Enterprise Bean Usage; EJB Restrictions
· EJB Types; Client View; Processing Flow; Session Beans; Entity Beans; Message Driven Beans
· EJB Model; Classes and Interfaces
· Deployment Descriptors; ejb-jar.xml; Stateless and Stateful session bean
· Client Developer Tasks; Thick Client Application Example; Test Servlet; Test JSP; Stateful EJB Example
· Stateful EJB Business Class; Stateful Remote Interface; Stateful Home Interface; Stateful Deployment Descriptor; Stateful EJB Client; Practice - Create and test a stateful EJB; Summary.
Bean Managed Entity EJBs
· Objectives; Entity EJB Overview; Entity bean lifecycle; Bean v. Container Management; Pointbase Database; Course Database Structure; Entity Bean Classes; BMP Implementation Class; Properties and Accessor Methods; Context Management Methods; Container Management Methods; Lifecycle Methods; Finder Methods; Private Database Access Methods; Business Methods; Adding JNDI Information; Practice - Create an Entity EJB; Summary.
Container Managed Entity EJBs;
· Objectives; Container Managed EJB Overview; BMP and CMP Similarities / Differences; Creating a CMP Bean - Overview; Database Schema; Creating Skeleton CMP Bean; CMP Bean Create Method; CMP Bean Business Methods; CMP Bean Finder Methods; EJBQL Overview; Finder Method Example - findAll(); Finder Method Example - findByType(); CMP Implementation Class; Business Methods; Testing CMP Bean; Practice - Create CMP Customer Entity Bean; Summary.
Servlets:
· Objectives; Java Servlet; HTTP Servlet; Servlet Features; Servlet lifecycle; Servlet internals; HttpServletRequest; HttpServletResponse; doGet(); doGet() Example; doPost(); doPost() Example; HTTP Parameters; Retrieving all parameters; Servlets in packages; Servlet utilities; Other servlet methods; Initialising a servlet - web.xml; Initialising a servlet - example; Single threaded servlets; Checking and filtering user input; Filtering input example; HTTP request headers; Http request headers example; HTTP request headers output; Cookies; Creating a cookie; Cookie Example; Standard servlet variables; Practice 7 - Database Access Servlet; Summary.
Developing and Deploying JSPs
· : Objectives; What is a JSP?; JSP Example with Expression; JSP Example - Generated Servlet; Practice - Create a Simple JSP; JSP Elements; Comments; JSP Expression; JSP Expression Example; Generated HTML; JSP Expression results; Predefined variables; JSP Scriptlet; JSP Scriptlet Examples; JSP Declaration; JSP Declaration example; JSP Directives; Page Directive; Page Directive Examples; Include directive / action; Include examples; Include results; Forwarding JSP Requests; Error handling; Error page example; Error responses; Practice - Login Form; Summary.
· * Java Beans:
· Objectives; What is a JavaBean?; JavaBean Example; Bean internals; Integrating Beans and JSP's; Executing a bean; Other Bean Lifecycles; Application bean example; Application bean JSP; Application bean display; Practice - Create and Test a Java Bean; Summary.
· * JSP Tag Libraries:
· Objectives; Tag Library Overview; Java Standard Tag Libraries; Expression Language; Using Expression Language; JSTL Core Library; Core Library Example; Core Library Tags; JSTL Internationalisation / Formatting; JSTL XML Transformation; JSTL SQL Tag Library - Connection; JSTL SQL Tag Library - Retrieval; JSTL SQL Tag Library - Result; Custom Tags; Example Custom Tag Class; Custom Tag Library Descriptor; Using Custom Tags; Tag Library Structure; Creating a Tag Library; Practice - Create Custom Tag; Summary.
· * HTML Review (optional):
· Objectives; XHTML Overview; XHTML Tags and Formatting; Creating & testing a web page; XHTML Tags; Head tag attributes; Body tag attributes; Standalone tags; Heading tags; Cascading style sheets; Linked style sheet; Embedded style sheet; Link and Image Tags; Tables and Formatting; HTML Forms; HTML Form Example; HTML Form Output; Useful HTML References; Practice - Write HTML Pages; Summary.
· SQL Review (optional)
· Objectives; What is a relational database?; Example relational table; Retrieval Examples; The SELECT statement; Choosing columns; Choosing rows; Joining tables; Updating a database; Course Database; Summary.
·
JAVA J2EE
