Script JavaBeans with the Bean Scripting Framework
Sometimes a problem you'd like to solve in Java has already been
solved in some other language. Or sometimes you'd like to use some
of your great Java code from another language. The Bean Scripting
Framework (BSF) from IBM's...
Process XML with JavaBeans, Part 3
Last month's JavaBeans
column showed you how to use XML JavaBeans to create a simple XML
editor. This month, Mark Johnson demonstrates the XMLConvenience
bean set, which simplifies building visual XML processing
applications with XML...
Bean Markup Language, Part 1
The past three installments of the JavaBeans
column have dealt with XML JavaBeans, a Java package that allows
encoding and decoding of JavaBeans hierarchies between XML and
JavaBeans instances in program memory. This month, Mark looks...
XML JavaBeans, Part 3
The two previous JavaBeans columns presented the
XMLBeans package that reads and writes JavaBeans objects to and
from XML documents. This month's article extends and completes the
XMLBeanReader and XMLBeanWriter classes.
Mark Johnson...
XML JavaBeans, Part 2
In last month's cover story -- part one of a three-part series --
columnist Mark Johnson discussed XML, the eXtensible Markup
Language, which some say will soon replace HTML for many
applications. He also developed a class for...
XML JavaBeans, Part 1
The buzziest of buzz words these days is XML, the acronym for the
Extensible Markup Language. But it's more than buzz. This rapidly
developing technology is well-suited for use with JavaBeans -- and
nicely complements Java, whose...
BeanLint: A JavaBeans troubleshooting tool, Part 2
Last month, Mark looked at some of the problems that can prevent
Java class files from operating as JavaBeans. He also discussed a
tool, BeanLint, that analyzes class files in order to
point out some of these danger spots. In this...
BeanLint: A JavaBeans troubleshooting tool, Part 1
Too often, JavaBeans containers refuse to load some of your beans,
but provide little or no error information. At best, they print a
cryptic exception message, and at worst they silently ignore the
bean, leaving you in the dark about...
A fistful of values
With JavaBeans, simple properties correspond to a single value
within a bean -- such as a color, an integer, or a string.
JavaBeans may also have indexed properties; that is,
properties whose values are arrays. This month, we'll see...
A beginner's guide to Enterprise JavaBeans
The original JavaBeans specification describes the standard
behavior and properties of Java components that run primarily on
the client side of a client/server system. The introduction of the
Enterprise JavaBeans Specification Version...
Turn Java classes into JavaBeans
Java has been around long enough that you probably have quite a few
classes under your belt. How do you turn these classes into
JavaBeans? It's amazingly easy. In fact, there's very little to do.
In this month's column, Mark Johnson...
JavaBeans book review
There are many books on the market about JavaBeans, and new ones
turn up every month. But how are you to know which one(s) to buy?
This month, Mark Johnson runs down three of your best bets:
JavaBeans by Elliotte Rusty Harold (IDG...
Serialization grab bag
The past three JavaBeans columns on object
persistence and serialization have inspired some interesting
questions from readers. This month we'll answer a few of those
questions, with a detailed exploration of JavaBeans...
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...
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...
Do it the "Nescafe' " way -- with freeze-dried JavaBeans
Making software components mobile is a crucial part of any software
component technology, and JavaBeans component technology is no
exception. The ability to "freeze-dry" and then "reconstitute"
software components (such as JavaBeans)...
The trick to controlling bean customization
JavaBeans-aware Integrated Development Environments (IDEs) know how
to "dissect" a bean class file and generate a dialog box full of
properties, which a developer can then use to customize the bean.
But these "standard" customization...
"Keep listening for upcoming events"
JavaBeans communicate with other software components by using
events -- objects that encapsulate data about something
that has occurred. This article will show you how to use Java's new
event structure to wire Beans together to...
"Double Shot, Half Decaf, Skinny Latte" -- Customize your Java
Customizable components allow you, as a developer, to "have it your
way." Customizable JavaBeans have properties that an application
developer can modify -- for example, changing the appearance and/or
operation of a particular bean....
A walking tour of JavaBeans
The success of rapid application development (RAD) systems like
Borland's Delphi and Microsoft's Visual Basic have brought a great
deal of attention to the concept of software components.
Java has now entered the ring with its own...
Top Blog Posts