Description
Developing Java Beans is a complete introduction to Java's component architecture. It describes how to write Beans, which are software components that can be used in visual programming environments. This book discusses event adapters, serialization, introspection, property editors, and customizers, and shows how to use Beans within ActiveX controls.
Full Description
Table of Contents
-
Chapter 1 Introduction
-
The Component Model
-
The JavaBeans Architecture
-
JavaBeans Overview
-
Using Design Patterns
-
JavaBeans vs. ActiveX
-
Getting Started
-
-
Chapter 2 Events
-
The Java Event Model
-
Events in the AWT Package
-
-
Chapter 3 Event Adapters
-
Demultiplexing
-
Generic Adapters
-
Event Adapters in the AWT Package
-
Event Filtering
-
Event Queuing
-
-
Chapter 4 Properties
-
Accessing Properties
-
Indexed Properties
-
Bound Properties
-
Constrained Properties
-
Handling Events for Specific Properties
-
A java.awt Example
-
-
Chapter 5 Persistence
-
Object Serialization
-
The java.io.Serializable Interface
-
Class-Specific Serialization
-
Walking the Class Hierarchy
-
Serializing Event Listeners
-
Versioning
-
Object Validation
-
The java.io.Externalizable Interface
-
Instantiating Serialized Objects
-
-
Chapter 6 JAR Files
-
The jar Program
-
The Manifest
-
Using JAR Files with HTML
-
Using JAR Files on the CLASSPATH
-
Archive Signing
-
An Alternative to the jar Program
-
-
Chapter 7 The BeanBox Tool
-
Running BeanBox
-
Dropping Beans on BeanBox
-
Editing a Bean's Properties
-
Hooking Up Beans
-
Saving and Restoring the BeanBox Form
-
Adding Your Own Beans to BeanBox
-
-
Chapter 8 Putting It All Together
-
Defining the Temperature Control Simulator
-
Building the Simulator
-
A Sample Simulator Applet
-
Creating a JAR File
-
Recreating the Sample Using BeanBox
-
-
Chapter 9 Introspection
-
The BeanInfo Interface
-
Providing Additional BeanInfo Objects
-
Introspecting the Environment
-
The BeansBook.SimulatorBeanInfo Classes
-
-
Chapter 10 Property Editors and Customizers
-
Property Editors
-
Customizers
-
-
Chapter 11 ActiveX
-
The JavaBeans ActiveX Bridge
-
Technology Mapping
-
Using Beans in Visual Basic
-
-
Appendix A Design Patterns
-
Event Objects
-
Event Listeners
-
Registering for Event Notification
-
Registering for Unicast Event Notification
-
Multiple Parameter Event Methods
-
Property Access Methods
-
Indexed Property Access Methods
-
Constrained Property Access Methods
-
Registering for Bound and Constrained Property Event Notifications
-
Naming a BeanInfo Class
-
-
Appendix B The java.beans Package
-
Colophon
Product Details
- Title:
- Developing Java Beans
- By:
- Robert Englander
- Publisher:
- O'Reilly Media
- Formats:
-
- Safari Books Online
- Print Release:
- June 1997
- Pages:
- 316
- Print ISBN:
- 978-1-56592-289-1
- | ISBN 10:
- 1-56592-289-1
Customer Reviews
Colophon
Edie Freedman designed the cover of this book, using an image she created and shot, then manipulated in Adobe Photoshop. The cover layout was produced with Quark XPress 3.3 using the Bodoni Black font from URW Software and BT Bodoni Bold Italic from Bitstream. The inside layout was designed by Nancy Priest and implemented by Mike Sierra in FrameMaker 5.0. The heading font is Bodoni BT; the text font is New Baskerville. The illustrations that appear in the book were created in Macromedia Freehand 5.0 by Chris Reilley and Robert Romano. Whenever possible, our books use RepKover, a durable and flexible lay-flat binding. If the page count exceeds RepKover's limit, perfect binding is used.
