Java 2 Enterprise Edition (J2EE) (Course Code: 068)

Course Schedule:

Please call 8622 8900 or email us for further information

Overview:

This intense course will give Java programmers an introduction to the main technologies of the Java2 Enterprise Edition. Students will be able to develop applications with these technologies, or be ready for more advanced instruction in areas such as Enterprise JavaBeans.

Learning Method:

This course uses a combination of instructor presentation, and student hands-on practical exercises. Each attendee will be provided a comprehensive set of notes and will have the opportunity to apply and test what they have learned in the classroom throughout the course.

Who will benefit from this course?

This course is designed for Java programmers who will use the J2EE to develop transportable distributed applications.

Pre-requisites:

Before attending this course you should have completed:

  • Course 064: Java Programming Fundamentals
  • Course 067: Advanced Java Programming

or have Java development experience.
A familiarity with Java Beans, RMI, and XML is also recommended.

What can you expect to gain from this course?

After completing this course, you will:

  • be experienced in writing Java applications
  • be able to define applets and the applet life cycle
  • be able to discuss object-oriented theory, including abstraction, encapsulation, inheritance and polymorphism
  • be able to directly apply your skills in the workplace in the latest project using Java
  • have attained the necessary pre-requisites to attend more advanced Java or other programming or solution development courses held at Monash Professional

Course Content:

Module 1:J2EE Overview
  • Client Tier
  • Middle Tier
  • Application Server Tier
  • The J2EE Platform
  • J2EE Skills
Module 2: Getting with started with JSP
  • Dynamic Web Content
  • The JSP Solution
  • JSP Syntax
  • JSP Deployment
  • Variables and Expressions
  • Implicit Objects
  • page and taglib Directives
  • Include and Forward
  • Exception Handling
Module 3: Forms and JavaBeans
  • HTML Forms
  • JavaBeans
  • JavaBeans and JSP
  • Bean Properties
  • Property Types
  • Properties and Forms
  • Bean Scopes
Module 4: Introduction to JSTL
  • JSP Expression Language
  • Expression Language Implicit Objects
  • What is JSTL?
  • Core Tags - Conditionals
  • Core Tags - Iteration and Import
  • XML Manipulation Tags
  • Internationalisation Tags
  • SQL Tags
Module 5:Servlet basics
  • Browsers, Servers and Servlets
  • The Basic Servlet
  • The Servlet Life Cycle
  • The HttpServlet Approach
  • More do Methods
  • Threading in Servlets
  • Debugging
Module 6:Request and response
  • Request and Response Basics
  • The HttpServletRequest Object
  • Request Headers
  • Status Codes
  • Response Headers
  • Ensuring Valid Characters
Module 7:Session tracking
  • Understanding Cookies
  • The Cookie Class
  • Cookies in JSP
  • Cookie Properties
  • Session Tracking
  • The HttpSession Class
  • Sessions in JSP
  • Encoding URLs
  • Terminating Sessions
Module 8:Web applications
  • Web Application Components
  • ServletContext
  • Forward and Include
  • Supporting Files
  • Deployment Descriptor
  • Deployment Descriptor Elements
  • Security - Authentication
  • Security in the J2EE Application Server
  • Security - Authorisation
Module 9:Introduction to JNDI
  • Naming and Directory Services
  • Namespaces and Contexts
  • Naming Operations
  • Bindings
  • Attributes
  • Directory Operations
  • DNS Lookups with JNDI
  • JNDI in J2EE
Module 10:Introduction to JDBC
  • The JDBC Connectivity Model
  • Database Programming
  • Connecting to the Database
  • Creating a SQL Query
  • Getting the Results
  • Updating Database Data
  • Finishing Up
Module 11:JDBC SQL Programming
  • Error Checking and the SQLException Class
  • The SQLWarning Class
  • The Statement Interface
  • The ResultSet Interface
  • Updatable Result Sets
  • JDBC Types
  • Executing SQL Queries
  • ResultSetMetaData
  • Executing SQL Updates
  • Transaction Management
Module 12:JDBC SQL Escape syntax - Advanced JDBC
  • Using a PreparedStatement
  • Parameterised Statements
  • Stored Procedures
  • ResultSets from Stored Procedures
  • The execute() Method
  • Batch Updates
  • RowSets
  • DatabaseMetaData
  • Large Objects
  • The DriverManager Class
  • Types of JDBC Driver
Module 13:Datasources
  • DataSources
  • Connection Pools in the J2EE Application Server
  • Data Sources in the J2EE Application Server
  • Connecting to a DataSource
Module 14:Introduction to JAVAMAIL
  • Mail Systems and JavaMail
  • The javax.mail Packages
  • Establishing a Session
  • The Message Interface
  • Sending a Message
  • Message Stores
  • Mail Folders
  • Multipart Messages
  • JMS
  • Introduction to JMS Concepts
  • What is JMS?
  • Parent Interfaces and GMD
  • JMS Definitions
  • Message Object
  • Multi-Threading and JMS Exception
  • PTP Domain and Interfaces
  • Pub/Sub Domain and Interfaces
  • J2EE Application Server Administered Objects
  • Creating the Client
  • Handling the Message
  • Producing the Message
Module 15:EJB and the J2EE architecture
  • Evolution of Distributed Computing on the Web
  • The J2EE Solution
  • The Enterprise JavaBean
  • Roles in Enterprise JavaBeans Development
  • EJB Container and Application Server
  • Web Services and J2EE
Module 16:Getting started with EJB
  • Defining the Bean Class
  • Remote Interface
  • Writing Business Methods
  • Home Interface
  • Deployment Descriptors and Deployment
  • The Client
  • Locating the Bean
  • Create an Enterprise Bean Instance
  • Invoking the Bean's Methods
  • Compiling and Running the Client
Module 17:Three types of EJB
  • A Session Bean
  • A Message-Driven Bean
  • An Entity Bean
  • What About State?
  • Stateless Session Beans
  • Stateful Session Beans
  • MDB Code
  • Entity Bean Persistence Models
  • Entity Bean Code
  • Deployment Descriptor
Module 18:Case study
  • Account Local and Local Home Interfaces
  • Account EJB
  • ejb-jar.xml
  • sun-ejb-jar.xml
  • Teller Remote and Home Interfaces
  • TellerEJB
  • ejb-jar.xml - Take 2
  • Teller.html
  • Teller Servlet
  • TransferBean
  • Results.jsp
  • web.xml
  • application.xml
Appendix ADeploying a JSP with the deploy tool
  • WAR Wizard
  • Changing the WAR