Building Your Own JSP Components
This article is written for developers who want to create their own Beans for use as JSP components, and for interested web designers who want to understand how these components are implemented behind the scenes.
Enterprise Java Beans tutorials v1.0
A quick guide to learn the Components Architecture , Design of
EJB. The coded examples and XML middleware descriptors are
explained line by line. Session Beans , Entity Beans and
Messagedriven beans are explained diagramatically well. Also
can be used for answering interview questions. (Powerpoint slides)
Introducing Betwixt
Discover Betwixt, a utility tool for converting JavaBeans to XML and vice versa. It's a flexible tool that uses Digester rules to create objects from XML files. It also converts JavaBeans to XML in a manner that can be customized to a high degree.
It's in the contract! Object versions for JavaBeans
As we've seen in the past two months of the JavaBeans column,
object persistence lets a Java developer convert a Java object
into a bytestream that can be saved to disk or transported
across a network and recreated in another time and place. But
what if the class changes somehow between storage and retrieval
of the stream? Or if different versions of the same class were
used to write and read the stream? In this month's column,
we'll discuss how to use object versioning to safely change or
update existing Java classes without compromising compatibility
with previously-written serialized files.
JavaBeans: properties, events, and thread safety
The JavaBeans standard is a 100% Pure Java creature, which means that the standard exists on top of established Java programming rules and conventions -- not alongside them. One technicality that Java programmers must always take into consideration is code reentrancy, or multithread safety. With bean properties and bean events, the two pillars of the JavaBeans standard, you must be keenly aware of this potential pitfall. The following article shows you why.
Magic with Merlin: Long-term persistence
In this installment of Magic with Merlin, this article shows you how to use the new XMLEncoder and XMLDecoder classes, bypassing serialization and allowing you to generate fully initialized bean instances.
Serialization and the JavaBeans Specification
Last month we talked about how and why to "freeze-dry" JavaBeans by serializing them. The JavaBeans Specification gives you all the serialization control you need for your application. This month, we'll look at serializing whole structures of related objects, we'll check out an interface that gives you complete control of serialization format, and we'll discuss ways of preventing serialization when necessary.
Speed up listener notification
This article compares several different ways to implement event registration and notification, as defined by the JavaBeans 1.01 specification; notifying listeners of events as quickly as possible is the ultimate goal. Robert Hastings demonstrates that different implementations of event registration and notification have different performance characteristics; as we shall see, the implementation used by Swing 1.1.1 for event notification is five times faster than the implementation used by InfoBus 1.2.