Running Your Telnet Applications

Test the Telnet applications you wrote in the last section. Run them through the same tests you tried on the prototype applications you created in BeanBox windows earlier in this chapter. With the hand coded applications, you don't need to arrange beans in container windows or connect them up. Your applications are complete and ready to distribute.

Open two DOS or console windows on your local computer as you did earlier in this chapter. You open one window for each JVM that you'll run. Always start your Telnet server application, MyTelnetServer, first. Start the MyTelnetServer application by typing the following command in one of your DOS windows:

java sams.net.MyTelnetServer

The MyTelnetServer application ...

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.