Skip to Main Content
Java Enterprise Best Practices
book

Java Enterprise Best Practices

by O'Reilly Java Authors
December 2002
Intermediate to advanced content levelIntermediate to advanced
288 pages
9h 46m
English
O'Reilly Media, Inc.
Content preview from Java Enterprise Best Practices

Chapter 6. RMI Best Practices

William Grosso

Java’s Remote Method Invocation (RMI) framework is a powerful, easy-to-use, and robust framework for building distributed applications. It’s ideal for a wide variety of mid-range applications that don’t fit into the Enterprise JavaBean (EJB) model, don’t require the cross-language capabilities of either CORBA or web services, and don’t use a web browser for a client.

RMI’s ease of use is legendary. But ease of use gets you only so far. In this chapter, I will outline a number of best practices that will enable you to take an ordinary RMI application and turn it into one that performs well, is easy to maintain, and will be useful for years to come.

Because of space considerations, I’ve chosen to focus on three basic areas: marshalling and unmarshalling objects, making applications more robust, and improving application performance.[13]

[13] Neither “using exceptions effectively” nor “versioning an application” made the cut.

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Moving to Java 9: Better Design and Simpler Code

Moving to Java 9: Better Design and Simpler Code

Trisha Gee
Java EE 8 High Performance

Java EE 8 High Performance

Romain Manni-Bucau

Publisher Resources

ISBN: 0596003846Supplemental ContentErrata Page