Distributed Computing in Java 9
Raja Malleswara Rao Pattamsetti
- 304 pages
- English
- ePUB (mobile friendly)
- Available on iOS & Android
Distributed Computing in Java 9
Raja Malleswara Rao Pattamsetti
About This Book
Explore the power of distributed computing to write concurrent, scalable applications in JavaAbout This Book⢠Make the best of Java 9 features to write succinct code ⢠Handle large amounts of data using HPC ⢠Make use of AWS and Google App Engine along with Java to establish a powerful remote computation systemWho This Book Is ForThis book is for basic to intermediate level Java developers who is aware of object-oriented programming and Java basic concepts.What You Will Learn⢠Understand the basic concepts of parallel and distributed computing/programming⢠Achieve performance improvement using parallel processing, multithreading, concurrency, memory sharing, and hpc cluster computing ⢠Get an in-depth understanding of Enterprise Messaging concepts with Java Messaging Service and Web Services in the context of Enterprise Integration Patterns⢠Work with Distributed Database technologies⢠Understand how to develop and deploy a distributed application on different cloud platforms including Amazon Web Service and Docker CaaS Concepts ⢠Explore big data technologies⢠Effectively test and debug distributed systems⢠Gain thorough knowledge of security standards for distributed applications including two-way Secure Socket LayerIn DetailDistributed 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.Style and approachThis is a step-by-step practical guide with real-world examples.
Frequently asked questions
Information
RMI, CORBA, and JavaSpaces
- 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
RMI
What is RMI?
- Seamless method invocation on objects created across multiple JVMs
- Ensuring the remote method invocation integrates easily with general programming logic with no external IDL while retaining most of Java's object semantics
- Setting up the ability to distinguish between a distributed and local object model
- Assisting in building reliable applications while maintaining Java's safety and security
- Extending support to multiple transport protocols, various reference semantics, such as persistence and lazy activation, and various invocation mechanisms
- Handling issues such as running in different memory spaces, parameter passing, data binding, and other failures of RPC
- Handling any additional problems, such as distributed garbage collection and distributed class loading
Key terminologies of RMI
- It initiates a connection to the remote machine JVM.
- It marshals (write and transmit) the parameters passed to it via the remote JVM.
- It waits for a response from the remote object and unmarshals (read) the returned value or exception, then it responds to the caller with that value or exception.
- It reads the parameter sent to the remote method.
- It invokes the actual remote object method.
- It marshals (writes and transmits) the result back to the caller (stub).
RMI for distributed computing
- Design and implement a component that ...