O'Reilly logo

JavaBeans Unleashed by Rick Leinecker, Dr. Donald Doherty

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Hand Coding Applications Using JavaBeans

You can use Java beans the same way you use classes when you manually write code for an application. In fact, beans are often the same things as a Java class except that they follow the JavaBeans design patterns. The one difference between bean code and a Java class is that a bean can be composed of more than one class. Nevertheless, there is always a primary class that goes by the same name as the bean. It's that primary class you call in your code. In this section, you use the Telnet beans you wrote earlier to hand code a Telnet server and Telnet client application.

When you hand code applications using beans, you don't get the advantage of automatic introspection. You don't see all of a bean's properties, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required