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 Another Pair of RMI Server and Client Programs

Now that you've created one pair of programs that use RMI, it's time to create another pair. The server program will read any file from the hard drive and return it to the client program in the form of a String object.

As with the previous programs, the directory in which all the .java files were created and used was my d:\chapter18 directory. If you decide to use a different directory, make sure all of the steps reflect this change. The directory that was used was explicitly given when compiling the code and using the RMIC program. The exact syntax is shown when appropriate in the following explanations.

All the files for this chapter can be found in the JavaBeans Unleashed section on the ...

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