In Real-Time Java™ Programming, we present the deep knowledge and realistic code examples that you need to succeed with Java RTS and its APIs. In the process, we illuminate the foundations of real-time programming in any RTSJ-compatible environment. This book is for Java developers and architects moving to real-time, and real-time developers moving to Java.
Key topics include:
Real-time principles and concepts, and the unique requirements of real-time application design and development
How Java has been adapted to real-time environments
A complete chapter on garbage collection concepts and Java SE collectors
Using the Java RTS APIs to solve actual real-time system problems as efficiently as possible
Utilizing today’s leading Java RTS development and debugging tools
Understanding real-time garbage collection, threads, scheduling, and dispatching
Programming new RTSJ memory models
Dealing with asynchronous event handling and asynchronous transfer of control
This book describes how to use GraphQL in your Java applications. This includes both server applications that offer GraphQL APIs, and client applications that use them. Effort is taken to dissect and explain the GraphQL specification thoroughly, in pragmatic terms, and relate it to graph processing. Additionally, the book dives into detail with code on how to use what's in the specification to develop GraphQL server applications as well as client applications that consume them. With many code samples used to explain the concepts with the Micronaut framework, the novel use of other libraries and patterns provides innovative ways to build efficient Java GraphQL software for the cloud and edge era. Overall, this book aims to help you fast forward your Java GraphQL programming.
Java Messaging
Java Messaging explores the various methods of intra-process and inter-process messaging for Java software, such as JavaBean events, JMS, JAX-RPC, JAXM, SOAP, and Web Services. You'll learn the basics of these APIs, and how to use them in combination, such as combining SOAP with JMS over a WAN. The messaging paradigms of JMS are explained thoroughly, including in-depth discussions on the theory and mechanics of message queues. Design patterns and helper classes are also explored, which ultimately combine to form a generic messaging framework that helps programmers avoid common pitfalls.
This framework, explained throughout the book, provides for the seamless integration of JMS with SOAP Web Services that is required to build distributed applications. Starting from the first chapter, a comprehensive sample application (an online stock trading system) is built using the framework and messaging paradigms discussed in the book.