Trainee Login

Username:

Password:

Forgot your pasword?
News
Outline
The entire workshop is primarily divided into three main modules

Module One

[top]
Objective: To learn main technologies and tools involved in web development. During the first part of workshop, the trainee will learn about the main components and workflow of a typical web application by implementing a couple of simple use cases. Testing will be done using Junit. Building and deployment will be done using Ant. Upon completion of the module, the trainee will be able to develop a simple application using JSP, servlets, and Eclipse and deploy it on Tomcat
INTRODUCTION AND OVERVIEW
Web application development
  • Typical components of a web application
  • Compare and contrast well known web technologies
  • Components of an n-tier architecture
Key components of J2EE for Web development
  • Servlets
  • JSP
  • XML
  • HTML
TOOLS AND TECHNOLOGY
  • Tomcat servlet container
  • Apache Web server
  • Ant
  • JUnit
  • Log4j
  • JSTL
  • Struts
  • Tiles
  • Hibernate
  • MySQL
  • Eclipse
GETTING STARTED WITH ECLIPSE
  • Choosing a Perspective
  • Creating a Project
  • Creating a Java Program
  • Compiling and Running a Java Program
  • Run Java Applications from the Command Line
  • Debugging in Eclipse
INTRODUCTION TO ANT
Build.xml, target, project, dependency, task
WORKING WITH SERVLETS
Getting started with servlets
  • Integrating servlets into the Web application architecture
  • Configuring the servlet development environment
Utilizing the Java Servlet API
  • Servlet life cycle methods
  • Accessing servlet environment variables
Creating Web-based forms for user input
  • Adding text fields and drop-down lists
  • Linking forms to servlets
  • Retrieving form data in the servlet
ACCESSING DATABASES WITH SERVLETS
Accessing database with Java Database Connectivity (JDBC)
  • Connecting to the database
  • Using connection pools
  • Submitting SQL statements
  • Retrieving and processing data
Formatting database results
  • Constructing an HTML table
  • Adding drill-down features

Module Two

[top] STATE MANAGEMENT IN JAVA WEB APPLICATIONS
Reading and writing cookies to personalize Web content
  • Retrieving cookies from a client request
  • Sending cookies to the client
  • Circumventing cookie limitations
Managing application’s state with sessions
  • Creating a unique session for each user
  • Storing and retrieving Java objects within sessions
  • Controlling a session's life span
  • Creating application and session event listeners
  • Implementing a shopping cart
CREATING JAVASERVER PAGES (JSP)
JSP fundamentals
  • Design goals of JSP
  • Using JSP scriptlets, expressions and declarations
  • Communicating with the client using built-in JSP server objects
  • Leveraging the JSP 2 Expression Language (EL)
State management with JSP
  • Accessing cookies and sessions
  • Storing common application data
DESIGNING JSP AND SERVLET ARCHITECTURES
Integrating JSP and JavaBeans
  • Promoting object reuse
  • Separating application logic from the presentation
Calling JSP from servlets
  • Forwarding Java objects to JSP
  • Using JavaBeans to transfer data
  • Servlet and JSP design patterns
USING JSP CUSTOM TAGS
Leveraging the Tag Extension mechanism
  • The role of JSP custom tags
  • Applying the JSP Standard Tag Library (JSTL)
Developing custom tags
  • Creating custom tags with JSP 2 tag files
  • Customizing tag behavior with attributes
USING STRUTS APPLICATIONS
Struts framework overview
  • Components of the Struts framework
  • Model-View-Controller (MVC) architecture
Developing Struts components
  • Building the JavaBean model
  • Presenting a view with JSP
  • Enhancing the view with Tiles
  • Dispatching actions with the controller
DEPLOYING JAVA WEB APPLICATION
  • Defining the deployment descriptor
  • Creating a Web Application Archive (WAR) file
  • Adding role-based application security

Module Three

[top] ACCESSING DATABASES WITH SERVLETS ADVANCED
Using O/R mapping tool Hibernate
  • Connecting to the database
  • Retrieving and processing data
  • Formatting database results
DEVELOPING RICH INTERFACES USING SWING
Foundations of user interfaces
  • Basic GUI widgets buttons, text fields, drop-down lists
  • Event-driven programming and swing worker
Java Foundation Classes (JFC)
  • Advantages of lightweight Swing components over AWT
  • Swing component library - Components, Containers
  • Creating Swing components: Adding Swing components to containers
  • Arranging Swing components using layout managers
  • Dialogs and message boxes
  • Applets vs Applications
  • Debugging in Eclipse Application, Applets
  • Java Web Start technology
Event handling
  • Registering event listeners
  • Inner classes and top-level classes
go to top

If you experience any problems with this website, please contact
webmaster@shvintech.com
Copyright © ShvinTech, Inc. 2005