JAVA Application Development

Training will be held in  SBIT

This project-oriented course will enable students to use various techniques for building browser-based applications for dynamically generated websites, e-commerce, web-enabled enterprise computing, and other applications that require web access to server-based resources. Particular attention will be paid to methods for making web-based applications efficient, maintainable, and flexible. The course will use at least two sets of tools: servlets/JSP and a higher-level Java-based framework such as JSF 2.0. Major topics will include handling HTTP request information, generating HTTP response data, tracking sessions, designing custom tag libraries or components, page templating, asynchronously page updates with Ajax, and separating content from presentation through use of the MVC architecture. Additional topics may include HTML5, database access techniques for web apps, web app security, and dependency injection in web apps (e.g., with the Spring framework).

Course Outline

An Introduction to Web Applications

  • Introduction.
  • The three approaches: Servlet/JSP, JSF and Spring.
  • An introduction to servlet/JSP web development.
  • Software for developing Java web applications.

Structuring a Web Application using MVC

  • Web application patterns.
  • Activity: A servlet/JSP Application using MVC (includes HTML/CSS, servlet, classes, XML files and JSP).

Using NetBeans and Tomcat

  • Brief introduction to NetBeans.
  • Creating JSP projects using NetBeans.

HTML5 and CSS3

  • Working with HTML.
  • Working with CSS.
  • Creating HTML forms.

Developing Servlets

  • Creating and mapping a servlet.
  • Requesting a servlet.
  • Servlet skills.
  • Validating data.
  • The web.xml file.
  • Working with servlet errors.

Sessions and Cookies

  • Session tracking.
  • Sessions.
  • Cookies.
  • URL rewriting and hidden fields.
  • Activity: Download Application

Using EL

  • An introduction to JSP Expression Language.
  • Essential skills for working with EL.
  • Additional EL skills.

Using JSTL

  • Introduction.
  • Working with the JSTL core library.
  • Activity: Cart Application

Using custom JSP Tags

  • Creating a custom tag.
  • Scripting variables.
  • Classes, methods and fields for working with custom tags.

MySQL Crash Course

  • Introduction.
  • MySQL Workbench.
  • Creating a Database.
  • Manipulating Data.

Using JDBC to Work with a Database

  • Working with JDBC.
  • Activity: SQL Gateway Application.
  • Connection Pooling.
  • Activity: Email List Application.

Using JPA to Work with a Database

  • Introduction to JPA.
  • Coding JPA entities.
  • Retrieving data.
  • Modifying data.
  • A complete JPA class.

Used Tools

Working with Java Data Types

Using Operators and Decision Constructs  

Creating and Using Arrays

Using Loop Constructs

Working with Methods and Encapsulation

Working with Inheritance

Handling Exceptions

Java Class Design 

Advanced Class Design 

String Processing 

Exceptions and Assertions