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, ...
Get JavaBeans Unleashed now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.