Book Image

Distributed Computing in Java 9

Book Image

Distributed Computing in Java 9

Overview of this book

Distributed computing is the concept with which a bigger computation process is accomplished by splitting it into multiple smaller logical activities and performed by diverse systems, resulting in maximized performance in lower infrastructure investment. This book will teach you how to improve the performance of traditional applications through the usage of parallelism and optimized resource utilization in Java 9. After a brief introduction to the fundamentals of distributed and parallel computing, the book moves on to explain different ways of communicating with remote systems/objects in a distributed architecture. You will learn about asynchronous messaging with enterprise integration and related patterns, and how to handle large amount of data using HPC and implement distributed computing for databases. Moving on, it explains how to deploy distributed applications on different cloud platforms and self-contained application development. You will also learn about big data technologies and understand how they contribute to distributed computing. The book concludes with the detailed coverage of testing, debugging, troubleshooting, and security aspects of distributed applications so the programs you build are robust, efficient, and secure.
Table of Contents (17 chapters)
Title Page
Credits
About the Author
About the Reviewer
www.PacktPub.com
Preface
Customer Feedback
2
Communication between Distributed Applications
3
RMI, CORBA, and JavaSpaces

Chapter 3. RMI, CORBA, and JavaSpaces

Distributed computing has gotten stronger than before as it now provides the ability to handle communication over a network with distributed objects. Though there are a number of different ways to create distributed objects across a distributed network, distributed computing is preferred as it provides you the ability to access any component in a distributed system. In this system, the number of resources and the way to access them has enriched with the use of technologies that let you handle distributed objects effectively. The protocol through which these objects can be communicated is an essential concept to understand.

In this chapter, we will cover the following topics:

  • Remote Method Invocation (RMI)
  • What is RMI?
  • Key terminologies of RMI
  • RMI for distributed computing
  • RMI programming
  • Common Object Request Broker Architecture (CORBA)
  • CORBA standards
  • Inter-ORB communication
  • OMG IDL samples
  • CORBA services
  • CORBA programming
  • JavaSpaces
  • How Java 9 adds value

Let's start...