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

Creating the TelnetServerInterface Bean

You designed the TelnetServer bean as an invisible runtime bean. It's a flexible bean that can be used in nearly any application that needs a Telnet server. You'll test the TelnetServer bean by wiring it up with a simple interface that displays the messages held by the TelnetServer bean's message and serviceMessage properties.

Recall that TelnetServer bean's message property holds messages that originate in the TelnetServer bean itself. Its serviceMessage property, in contrast, holds messages received from Telnet clients. Also recall that both properties are bound, therefore, they send the PropertyChangeEvent objects each time they're set to a new value. Any object that you want to get the contents of ...

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