| |
objectives
- learn
the fundamental technologies: JDBC, applets, Servlets,
JSP, JNDI, and server beans
- build an application with Java Web-based technology
- partition an application to separate the concerns
of presentation, logic, and data
- decouple the presentation layer with JSP templates
overview
This is a two-day course, to extend core Java
skills to building Web applications. The
course is built around the JSP technology - an
extension to Servlets. The purpose is to show
how to use Java to create Web-based applications.
Design
issues are central to the course, in particular
how to:
- migrate from fat to thin clients
- divide presentation from application logic
- modularize server code with server beans
- use Component Based Design, for example to encapsulate
enterprise system access
The course is suitable for Java
developers/analysts who wish to write code
or work to a productive programming model for
the Web. The course is run on the J2EE platform,
and the development language is of course Java. It
is presented by one of our senior consultants,
each of whom has at least ten years' experience
in software development, and at least three years'
experience as a trainer and consultant in a diverse
range of application areas. Ideally this
training would be preceded by the courses: design
and develop Java applications, and J2EE
application architectures; then followed
by: develop
EJB components.
content
1.
Client/Server applications with JDBC
The starting point for the course is
a fat client, implemented with JDBC.
-
JDBC drivers and connection class
- JDBC statements and result sets
- access to stored procedures
- limitations of this model
2.
Applet-based applications
Convert to a Web-based Client/Server
application using an Applet
-
applet syntax and semantics
- applets and HTML
- browser restrictions and problems
- client/server divide in applet-based
applications
- applet to server communication
- downloadable client model
- JavaScript alternative for client-side
processing
3.
Servlets
Convert to thin client using Servlets
-
driver independence and middleware
- JNDI database lookups
- JNDI context
- running JVM models
- cycling object instances
- request / response model
- action on data
- manipulate JavaBeans (get / set
data)
- session state data
- Servlet containers
- deployment
|
4.
Java Server Pages (JSP)
Partition view generation with JSP
-
dynamic presentation generation problems
- from Servlets to JSP
- JSP syntax and semantics
- declarations
- scriptlets: Java embedded in HTML
- JSP and the MVC architecture
5.
Server beans
Modularize presentation logic with
server beans
-
JavaBeans access from JSP
- JavaBeans encapsulation of data
and logic
- threading and integrity issues
- roles with MVC
6.
JSP templates
Partition dynamic elements from static
with JSP templates
-
custom actions
- encapsulation of presentation functions
- tag libraries
- template mechanism
- future role of XML
- current limitations of XML
7.
Java Web application patterns
Use tested techniques for server side
objects, encapsulated in patterns
-
factory pattern and database connection
pools
- factory pattern and lifecycle control
- command pattern and access to enterprise
components
- mediator pattern and security issues
|
|
Please
note, when taught at your site, this
course is customizable. Modules
can be adapted, removed, added from
other courses, or even created.
|
|
timings
Day 1
1. Client/Server applications with JDBC
2. Applet-based applications
3. Servlets
Day
2
4. Java Server Pages (JSP)
5. Server beans
6. JSP templates
7. Java Web application patterns
To
book a public or onsite course, please contact
Clive Menhinick on +44 (0)161 225 3240,
or email: clive@trireme.com.
Alternatively, use the booking form.
©
TriReme International Limited 2001-2006.
All rights reserved.
|