Standard

  

CIS 2431 – Advanced Java Programming

Course Description:

Advanced Java progress into advanced JAVA programming techniques and program development.  Server side programming and client side programs are integrated.  Students also learn debugging techniques and security.

 

Competency Areas:

Hours:

 

Ability to use abstract Windowing Toolkit (AWT) to construct user interfaces

Class

4

Ability to use AWT Event modules to handle user events

D. Lab

6

Ability to use AWT component library to extend user interface capabilities

P. Lab/O.B.I.

0

Ability to use JAVA Foundation classes and SWING package for user interfaces

Credit

7

Ability to use and construct JAVA applets

 

 

Understanding and using JAVA threads

 

 

Understanding and using Stream I/O and files

 

 

Creating UDP & TCP/IP JAVA networking programs

 

 

 

 

 

Prerequisite:  CIS 2421

Corequisite:

 

 

Course Guide

  

 

Competency

After completing this section, the student will:

Hours

Class

D. Lab

P. Lab/

O.B.I.

ABILITY TO USE ABSTRACT WINDOWING TOOLKIT (AWT) TO CONSTRUCT USER INTERFACES

4

6

0

 

Describe the Abstract Windowing Toolkit (AWT) package and its components

 

 

 

 

Explain containers, components and layout managers, and how they work together to build a GUI

 

 

 

 

Use the flow, border, grid and card layout managers to achieve a desired dynamic layout

 

 

 

 

Use the frame and panel containers

 

 

 

 

Place panels inside other containers to build complex layouts

 

 

 

ABILITY TO USE AWT EVENT MODULES TO HANDLE USER EVENTS

4

6

0

 

Write code to handle events that occur in a user interface

 

 

 

 

Create the appropriate interface and handler method for a variety of event types

 

 

 

 

Determine the user action that originated the event from the event object details

 

 

 

 

Determine how and when to use the appropriate adapter class to select a subset of event handlers for an event listener

 

 

 

ABILITY TO USE AWT COMPONENT LIBRARY TO EXTEND USER INTERFACE CAPABILITIES

4

6

0

 

Identify the key AWT components

 

 

 

 

Use the AWT components to build user interfaces for real programs

 

 

 

 

Control the colors and font used by an AWT component

 

 

 

 

Use the printing mechanism

 

 

 

ABILITY TO USE JAVA FOUNDATION CLASSES AND SWING PACKAGE FOR USER INTERFACES

8

12

0

 

Identify the key features of Java Foundation Class

 

 

 

 

Describe the key features of the Swing package

 

 

 

 

Explain containers and components and describe how they work together to build a Swing GUI

 

 

 

 

Write, compile, and run a basic Swing application

 

 

 

 

Use top-level containers such as JFrame and JApplet

 

 

 

ABILITY TO USE AND CONSTRUCT JAVA APPLETS

8

12

0

 

Describe the difference between a standalone Java application and a Java applet

 

 

 

 

Write an HTML tag to call a Java applet

 

 

 

 

Describe the class hierarchy of the Applet and AWT classes

 

 

 

 

Create the Hello World Java applet

 

 

 

 

List and describe the major methods of an applet

 

 

 

 

Use the painting model of AWT

 

 

 

 

Use applet methods to read images and files from Uniform Resource Locators (URLs)

 

 

 

 

Use <param> tags to configure applets

 

 

 

UNDERSTANDING AND USING JAVA THREADS

4

6

0

 

Describe a thread

 

 

 

 

Create separate threads, controlling the code and data that are used by that thread

 

 

 

 

Control the execution of a thread and write platform-independent code with threads

 

 

 

 

Describe some of the difficulties that arise when multiple threads share data

 

 

 

 

Use the keyword synchronized to protect data from corruption

 

 

 

 

Use wait() and notify() to communicate between threads

 

 

 

UNDERSTANDING AND USING STREAM I/O AND FILES

4

6

0

 

Use the Streams version of the java.io package

 

 

 

 

Construct and use file and filter streams

 

 

 

 

Distinguish Readers and Writers from Streams, and select appropriately between them

 

 

 

 

Examine and manipulate files and directories

 

 

 

 

Read, write, and update text and data files

 

 

 

 

Use the Serialization interface to persist the state of objects

 

 

 

CREATING UDP & TCP/IP JAVA NETWORKING PROGRAMS

4

6

0

 

Create a minimal TCP/IP server and a minimal TCP/IP client

 

 

 

 

Create a minimal UDP server and a minimal UDP client

 

 

 

 

Suggested Resources

 

Books:

 

Deitel, Deitel and Santry, Advanced Java 2 Platform How to Program, 0-13-089560-1, Prentice-Hall, 2002.