BUY THIS BOOK
Add to Cart

Print Book $29.95


Safari Books Online

What is this?

Add to UK Cart

Print Book £20.95

What is this?

Looking to Reprint this content?

Developing Java Beans

By Robert Englander
June 1997
Pages: 312
ISBN 10: 1-56592-289-1 | ISBN 13: 9781565922891
starstarstarstarstar (Average of 5 Customer Reviews)

Buy 2 Get 1 Free Free ShippingGuarantee

Book 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

Java Beans is the most important new development in Java this year. Beans is the next generation of Java technology that not only adds features the language lacked, but also lets Java programs interoperate with a number of development environments. The initial release includes a bridge for Microsoft's ActiveX/COM; future releases will include bridges for Netscape's LiveConnect and IBM's OpenDoc. Since it's a "component architecture" for Java, Beans can be used in graphical programming environments, like Borland's JBuilder, or IBM's VisualAge for Java. This means that someone can use a graphical tool to connect a lot of Beans together and make an application, without actually writing any Java code -- in fact, without doing any programming at all. Graphical development environments let you configure components by specifying aspects of their visual appearance (like the color or label of a button) in addition to the interactions between components (what happens when you click on a button or select a menu item). One important aspect of Java Beans is that components don't have to be visible. This sounds like a minor distinction, but it's very important: the invisible parts of an application are the parts that do the work. So, for example, in addition to manipulating graphical widgets, like checkboxes and menus, Beans allows you to develop and manipulate components that do database access, perform computations, and so on. You can build entire applications by connecting pre-built components, without writing any code. Developing Java Beans is for people who need to stay up-to-date with the latest developments in programming technology. Minimally, developing Beans means adopting several simple design patterns in your code. However, that's only the beginning. To take full advantage of the Java Beans architecture, you should understand how to write classes that are serializable, use events for communication between classes, know when and how to provide BeanInfo classes that give graphical environments more information about your components, and provide property editors and customizers that let graphical tools work with more complex Beans. The book covers:
  • Events, event listeners, and adapters
  • Properties, indexed properties, bound properties, constrained properties, and vetoable property changes
  • Persistence, serialization, versioning, and object validation
  • Packaging Beans using JAR files
  • The BeanBox, a prototypical development tool
  • Reflection and introspection
  • Property editors and customizers
  • The ActiveX bridge; using Java Beans in Visual Basic programs
Post-purchase benefits:

Register your book | Submit Errata | Examples


Browse within this book

Cover | Table of Contents | Index | Sample Chapter | Colophon

Book details

First Edition: June 1997
ISBN: 1-56592-289-1
Pages: 312
Average Customer Reviews: starstarstarstarstar (Based on 5 Reviews)


Featured customer reviews

Write a Review


Developing Java Beans Review,  January 30 2004
Rating: StarStarStarStarStar
Submitted by Neil Anderson   [Respond | View]

This book is great! Autor know many secrets about developing Java Beans... And he reveal it clearly... Unfortunatelly, this isn't for beginners...

Neil


Developing Java Beans Review,  September 03 2002
Rating: StarStarStarStarStar
Submitted by Corey Cole   [Respond | View]

The book is filled with factual errors and technical inaccuracies.

I was most interested in the chapter on properties and firing events

when properties change. However, one of the code samples on page

71 includes an error that is not even addressed in the errata.

You cannot reference a 'this' object until the super object has been

created -- thus sayeth both Java 1.4.0 and Java 1.1. Furthermore, PropertyChangeSupport doesn't have a constructor signature that takes no

arguments. The point is that the code is structurally flawed and won't compile.

The size of the book has been bulked up with too much code. Rather than addressing the fundamentals, numerous incomplete and confusing snippets are thrown at the reader. Rather than have the example code broken out by .1 and .2, I'd rather see subdirectories that identify what the code is trying to exemplify along with a README somewhere in the zip file that says what each project is doing. It's bad enough that the code in the book won't compile -- don't make me permute source code to figure out what's going on.

Bottom line -- find another book. This one will just frustrate you.


Developing Java Beans Review,  February 02 2002
Rating: StarStarStarStarStar
Submitted by Robert Paris   [Respond | View]

Wow! A fantastic book! This was the book that made me start buying O'Reilly books. The author does a fantastic job of organizing the book and teaching each aspect of JavaBeans development. As well, the examples are fantastic. There were a few mistakes in the book, but I was able to figure them out fairly easily and they did not detract much from the overall quality.

I think JavaBeans are an amazing technology, but too few people know how to use them/develop them. If everyone just read this book, it'd be as big as ActiveX.

Read all reviews


Developing Java Beans Review,  June 05 2001
Rating: StarStarStarStarStar
Submitted by Fabien Musolino   [Respond | View]

This is an excellent book for Java developers who want to learn about JavaBeans.

It has tons of code with good comments in order to convert text into examples...

What should maybe said is that this book is absolutely NOT for beginners as the reader must have a good knowledge about Java basics !!

But at the end, I found what I was looking for : What are JavaBeans...


Developing Java Beans Review,  May 31 2000
Rating: StarStarStarStarStar
Submitted by Carlos Alberto Albor Bula   [Respond | View]

It's not a begineer's book, but It allow an easy and fast introduction on JavaBeans development.
This book require three weeks of full reading before launching to develop JavaBeans successfully.




Media reviews

"thought-provoking while serving the implementers needs.." --K.D. Reilly, Computing Reviews, August 1999

"Although I have been in the software industry for 16 years, this is probably the first note of this kind I've ever sent. I just wanted to say thanks for producing such high quality programming books (especially the Java series) at rational prices. It seems that the rest of the computer book industry is hell bent on a race to see who can gouge the highest prices for the cheapest trash. I've voted with my wallet since most of the titles that I buy these days are yours." --Donald J. Cunningham

"Suitable for anyone wishing to buld reusable components using the JavaBeans architecture and Java APIs. Recommended!" --Dr. Brian Bramer, ACCU

"This is the essential book for understanding Java Beans, and another excellent book from O'Reilly and Associates." --Sanjiv Gossain, Journal of Object Oriented Programming, Sept. 1998

Hide extended reviews


See larger cover