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

Latest tools for testing Java distributed applications


We will take a look at the tools for testing, one by one.

JUnit

JUnit is a unit testing framework, which played an important role in the development of test-driven development frameworks. The power of JUnit is to reach almost every single statement in your Java program, including conditional statements. It uses annotations to ensure the target method of a Java class gets executed on the selected objects during test execution.

JUnit has been important in the development of test-driven development. JUnit is linked as a JAR at compile-time and can be used to write repeatable tests.

JTest

JTest is an automated Java software testing and static analysis tool; it includes the ability to generate the unit test cases and execute, static code analysis, dataflow static analysis, and metrics analysis, regression testing, and runtime error detection.

It also supports the runtime error detection such as race conditions, exceptions, resource, and memory...