J2EE Solution Developer


Course Overview

This Certification is for students interested in taking Exam 310-025, Sun Certified Programmer of Java 2 Platform and Exam 310-080, Sun Certified Web Component Developer for J2EE.

Course Objectives

Upon completion of this course, students will be able to complete the following functions:

  • Declarations and access control
  • Flow control and exception handling
  • Garbage collecting
  • Language Fundamentals
  • Operators and Assignments
  • Overloading, overriding, runtime type, and object orientation
  • Threads
  • The java.awt package
  • The java.lang package
  • The java.util package
  • The java.io package
  • Develop Servlets
  • Identify and implement Servlet lifecycle methods
  • Invoke Servlets on a server
  • Deploy a basic JavaServer page
  • List JSP directives
  • Handle JSP exceptions

Prerequisites

This certification is for programmers experienced in using the basic syntax and structure of the Java Programming.

Course Outline

Week One

Lesson 1: Language Fundamentals

  • Source Files
  • Keywords and Identifiers
  • Primitive Data Types
  • Literals
  • Arrays
  • Class Fundamentals
  • Argument Passing
  • Garbage Collection

Lesson 2: Operators and Assignments

  • Evaluation Order
  • The Unary Operators
  • The Arithmetic Operators
  • The Shift Operators: <<, >> and >=
  • The Comparison Operators
  • The Bitwise Operators
  • The Short-Circuit Logical Operators
  • The Conditional Operator
  • The Assignment Operators

Lesson 3: Modifiers

  • Modifier Overview
  • The Access Modifiers
  • Other Modifiers
  • Modifiers and Features

Lesson 4: Converting and Casting

  • Explicit and Implicit Type Casting
  • Primitives and Conversion
  • Primitive and Casting
  • Object Reference Conversion
  • Object Reference Casting

Lesson 5: Flow Control and Exceptions

  • The Loop Constructs
  • The Selection Statements
  • Exceptions

Lesson 6: Objects and Classes

  • Benefits of Object-Oriented Implementation
  • Overloading and Overriding
  • Constructors and Subclassing
  • Inner Classes

Lesson 7: Threads

  • Thread Fundamentals
  • Controlling Threads
  • Monitors, wait(), and notify()

Lesson 8: The java.lang and java.util Packages

  • The Object Class
  • The Math Class
  • The Wrapper Class
  • Strings
  • The Collections API

Lesson 9: Layout Managers

  • Why Java Uses Layout Manager
  • Layout Manager Theory
  • Layout Policies
  • Controlling the Cell Size for a Component
  • GridBag's Shorthand
  • Other Layout Options
  • Improving Your Chances

Lesson 10: Events

  • Motivation for the Event Delegation Model
  • The Event Class Hierarchy
  • Semantic Events
  • Event Listeners
  • Explicit Event Enabling
  • Adapters
  • Action Commands

Lesson 11: Components

  • Components in General
  • The Visual Components
  • The Container Components
  • The Menu Components

Lesson 12: Painting

  • The paint() Method and the Graphics Context
  • The GUI Thread and the repaint() Method
  • Images

Lesson 13: Input and Output

  • File Input and Output
  • Streams, Readers and Writers
  • Sockets

Week Two

Programming with Java Servlets

  • Overview and history of Java Servlets
  • Fundamentals of HTTP
  • Web applications (including deployment and configuration using XML files)
  • The Servlet lifecycle (initializing, processing requests, cleanup, and caching)
  • Multimedia content (images and compressed content)
  • WAP and WML for wireless content
  • Servlet session tracking techniques (hidden form fields, cookies, and URL rewriting)
  • Security issues with Servlets (including certificates and SSL)
  • Tutorial for JDBC and Java database programming
  • Using applets and Servlets together
  • Servlet collaboration
  • Quick introduction to Java 2 Enterprise Edition (J2EE)
  • Internationalization issues
  • Survey of third-party Servlet application frameworks and tools: Tea, WebMacro, the Element Contruction Set (ECS), XMLC, and JavaServer Pages (JSP)
  • Miscellaneous tips for Servlets (including sending e-mail and using regular expressions)
  • Description of the new Servlet 2.3 API spec
  • Servlet API quick reference

JavaServer Pages

  • Overview of JavaServer Pages (JSPs)
  • Server-side scripting languages, compared
  • The advantages of Java servlets and JSPs
  • Tutorial for basic JSP (tags and directives, expressions and scriptlets, flow control, and comments)
  • JSP implicit objects, including request, response, and out
  • Tutorial for simple JavaBean components
  • The JSP useBean, setProperty, and getProperty tags
  • Defining bean properties, including indexed properties
  • Sample beans for JSPs
  • Quick tutorial for JDBC and Java database programming
  • Web application architecture using JSPs and beans
  • Servlets vs. JSPs
  • Introduction to Enterprise JavaBeans
  • Case study for an FAQ database
  • Web archive (WAR) files, and deploying JSP-based Web applications
  • Advanced topics in JSP development, including using cookies, error pages, JavaScript, and validating HTML form data
  • Sample JSPs, including banner ads and a random-quote generator
  • Custom tag libraries (basic and advanced interactive tags)
  • Running Tomcat
  • Combining JSPs with applets
  • JSP syntax reference