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

Testing the Telnet Beans

Once the beans are packaged, open two DOS or console windows on your local machine and change their directories so that you're in the same folder as the BeanBox in both windows. You'll run two copies of the BeanBox, one for a Telnet server and one for a Telnet client application.

Assembling the Telnet Server Application

In this section you will assemble a Telnet server application by wiring together various beans in a BeanBox. Run the BeanBox in one of the DOS or console windows then add a TelnetServer bean, two OurButton beans, and a TelnetServerInterface bean to the BeanBox window.

One OurButton bean is to start the TelnetServer running, and the other OurButton bean is to stop it. Change the label property of one

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