Arkoa homepage
About Arkoa News & Events Contact Us Careers
  Course Catalog : Java :

JavaBeans Development

3 days

Course # 02-2390


Description

This intensive, hands-on course addresses the design and development of JavaBeans components. Through a series of lectures and lab exercises, course attendees will thoroughly explore building graphical JavaBeans software components and using JavaBeans in applications and applets.

Audience
Programmers who plan to develop JavaBean components or use JavaBean components in applets or applications.

Prerequisites
Attendance at Arkoa’s 5-day Java Programming course or equivalent training/experience.

Hardware and Software
PCs or workstations capable of running the Java Software Development Kit (SDK) and Sun's Bean Development Kit (BDK). The systems should be able to load a 3.5” DOS-formatted solution disk.



 


Format

  • Presentation
  • Hands-on

Objectives
After completing this course, participants should be able to:

  • Design and implement JavaBeans
  • Package JavaBeans components into JAR files and utilize those components in the BeanBox tool
  • Use JavaBeans in an application or applet and implement event handlers
  • Control the configuration of JavaBeans through property editors and customizers
  • Implement a persistent JavaBean
  • Describe the interoperability of JavaBeans with COM/ActiveX



Topics


JavaBeans Introduction

  • JavaBeans: Basic Concepts
    • Java Classes and JavaBeans
    • JavaBeans Advantages: Portability, Standard API, Simplicity
    • Properties, Events, and Methods
    • Introspection, Customization, and Persistence
    • Run Time and Design Time
    • Local Activation
    • Beans and Threads
    • Beans and Security
    • Beans and Remote Access
    • Visible and Invisible Beans
    • Using JavaBeans: Applications, Applets, Web Page Content, and Components
  • Getting Started with JavaBeans
    • The Beans Development Kit (BDK)
    • Application Builders for Applet Construction
    • Manual Applet Construction
    • Simple Bean Walkthrough
    • The BeanBox
    • Uniform Windowing Data Transfer
    • Review: JavaBeans Integrated Development Environment (IDE)

Events

  • JavaBeans Events
    • Overview
    • JavaBean Property Accessor Basics
    • JavaBean Event Architecture
    • Event State Objects
    • AWT Events
    • Custom Events.
    • Generating Events
    • Event Listener Interfaces
    • Registering Event Listeners
    • Semantics of Event Delivery and Propagation
    • Handling Events
  • Event Adapters
    • Event Adapter Overview
    • Adapter Description
    • Demultiplexing with Events
    • Event Filtering
  • Interlude: JavaBeans Additional Information
    • Web Sites
    • Other References
    • Discussion Groups

Properties

  • JavaBean Properties
    • Properties Overview
    • Properties Accessor Methods
    • Indexed Properties
    • Exceptions in Accessor Methods
    • Bound Properties
    • Constrained Properties
  • Events with Bound and Constrained Properties
    • Overview
    • Listening to Bound and Constrained Events
    • Responding to Bound and Constrained Events
    • Races and Other Event Issues

     

 


Introspection, Customization, and Management

  • JavaBean Introspection
    • Introspection Overview
    • Reflection
    • Design Pattern Overview
    • Property Design Patterns
    • Event Design Patterns
    • Method Design Patterns
    • The BeanInfo Interface and Classes
    • Bean Analysis and the Inspector Class
    • Inferred Names
    • Security
  • JavaBean Customization
    • Customization Overview
    • Customizer Interface
    • Property Editor Interfaces
    • The BeanInfo Interface
  • The BeanBox
    • Working with Beans in the BeanBox
    • Editing Bean Properties
    • Creating Property Relationships
    • Connecting Beans with Event Handlers
    • Creating an Applet
    • The Tool Palette
    • Bean Instantiation
    • Testing Beans and Applets

JavaBean Persistence and Packaging

  • Persistence
    • Persistence Goals
    • What Should be Saved
    • Serialization Interface
    • Serializing Event Listeners
    • Changes and Versioning
    • Validating Persistent Objects
    • Instantiating Persistent Objects
  • JAR File Usage
    • Packaging Requirements
    • JAR File Overview
    • BeanNames
    • The JAR Program
    • JAR File Representation

Advanced Topics

  • Distributed Bean Overview
  • Distributed Bean Design Considerations
  • Application-Component Communication with RMI
  • Java IDL and CORBA
  • JDBC as an API