Creating an RMI Application

In this section, you create a distributed JVM-to-JVM application by writing a Java application RMI server and JavaBeans components for a RMI client. You can use Rapid Application Development (RAD), such as the BeanBox or hand coding, to pull together the beans into a RMI client.

The RMI application you create in this section is a simple beginning of a chat application. It's simplified to show you the principles of building an RMI application. You can use what you learn and what you already know from developing Telnet applications to create a really cool RMI chat application.

Note

Learn more about developing Telnet applications in Chapter 16.

You will create a chat server that has two methods: the receiveMessage() ...

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.