Java-Based Real-Time Programming
eBook | Free |
Rating | |
Author | Klas Nilsson |
Publisher | Self-publishing |
Published | 2016 |
Pages | 128 |
Language | English |
Format | Paper book / ebook (PDF) |
Development of embedded software has for some years mainly been carried out by hardware-aware programming using the C-language, and in some cases even in assembly languages. This works well in simple cases when the application demands and the hardware are known at design time, and the size of the (statically defined) software is small. When applications increase in size and must be rapidly developed (time to market), and perhaps need to be on-line upgradeable, more programming support is needed. In particular, for critical applications (safety critical as in an airplane, mission critical as in space/military/nuclear tasks, economically critical if the survival of the company depends on the reliability of the computer system, etc.) special measures must be taken to limit the possible (faulty) influences of one software function on another part of the system. Therefore, we have to abandon programming in C or C++ for large/complex systems. Instead, we have to base the core development on a more scalable language (and run-time system) that prevents direct access to memory, for instance via pointers.
Java (and partly C#) is such a language. Still, programming in C is appropriate for device drivers, which do need to directly access the hardware. For similar reasons of scalability, Microsoft had to go from their Win32+MFC C/C++-oriented standard to the Microsoft.NET Framework with C# in order to stay competitive in the long run. Here, we will go some steps further, considering also small embedded systems and severe timing demands.
We will approach the real-time issues via established web-programming and concurrency techniques, which will reveal a few deficiencies of the standard Java platform. A real-time package (class library) and a few run-time extensions will be presented. The usage of these additions to create high performance real-time control software is then described in a real-time programming chapter which is central the topic of this book. The reader should then gain additional understanding and programming skill by studying the remaining chapters about scheduling, processes, and applications.
- Klas Nilsson
Similar Books
Storm Real-time Processing Cookbook
by Quinton Anderson
Storm is a free and open source distributed real-time computation system. Storm makes it easy to reliably process unbounded streams of data, doing for real-time processing what Hadoop did for batch processing. Storm is simple, can be used with any programming language, and is a lot of fun to use!Storm Real Time Processing Cookbook will ha...
Price: $29.99 | Publisher: Packt Publishing | Release: 2013
by Karl Stolley
Build your own video chat application - but that's just the beginning. With WebRTC, you'll create real-time applications to stream any kind of user media and data directly from one browser to another, all built on familiar HTML, CSS, and JavaScript. Power real-time activities like text-based chats, secure peer-to-peer file trans...
Price: $45.95 | Publisher: The Pragmatic Programmers | Release: 2022
Socket.IO Real-time Web Application Development
by Rohit Rai
The expectations of users for interactivity withweb applications have changed over the past few years. No more does the user want to press the refresh button to check if new messages have arrived in their inbox; people expect to see updates in their applications in real-time. Mass multiplayer online games have given up the requirement of ...
Price: $14.99 | Publisher: Packt Publishing | Release: 2013
SignalR Real-time Application Cookbook
by Roberto Vespa
SignalR is a recent addition to ASP.NET, which allows you to add real-time functionalities to your applications. SignalR enables bidirectional communication between client and server over HTTP, transparently, and ensures you're always provided with the experience of a persistent connection.SignalR Real-time Application Cookbook is a ...
Price: $29.99 | Publisher: Packt Publishing | Release: 2014
The NGINX Real-Time API Handbook
by Karthik Krishnaswamy, Alessandro Fael Garcia
Discover how to deliver reliable, high-performance APIs with our NGINX Real-Time API Handbook. Compiled by leading experts on real-time API management, this handbook is a comprehensive guide to reducing latency in your applications and APIs without making any compromises. Learn why now, more than ever, your APIs need to perform in real ti...
Free ebook | Publisher: Self-publishing | Release: 2020
SignalR: Real-time Application Development
by Einar Ingebrigtsen
Real-time development is one of the fastest growing trends in application development. Users want their data there and then with no delay. This used to be near impossible to achieve but with new frameworks it is becoming more and more accessible. SignalR is a .NET framework that allows you to include this powerful technique into any of yo...
Price: $14.99 | Publisher: Packt Publishing | Release: 2013
Storm Blueprints: Patterns for Distributed Real-time Computation
by P. Taylor Goetz, Brian O'Neill
Storm is the most popular framework for real-time stream processing. Storm provides the fundamental primitives and guarantees required for fault-tolerant distributed computing in high-volume, mission critical applications. It is both an integration technology as well as a data flow and control mechanism, making it the core of many big dat...
Price: $24.99 | Publisher: Packt Publishing | Release: 2014
Real Time Analytics with SAP HANA
by Vinay Singh
SAP HANA is an in-memory database created by SAP. SAP HANA breaks traditional database barriers to simplify IT landscapes, eliminating data preparation, pre-aggregation, and tuning. SAP HANA and in-memory computing allow you to instantly access huge volumes of structured and unstructured data, including text data, from different sources.S...
Price: $30.00 | Publisher: Packt Publishing | Release: 2015