Articles
Page 3 of 16-
Binary Bit Manipulation and CAN Bus Hardware Interfaces in Java
When you need to interface with hardware devices at a low level, you often need to read and manipulate individual bits from software, which is sometimes affectionately referred to as bit banging. While most programmers don’t think of using Java for this, it’s not only possible but, as you’ll see, it’s very straightforward.
-
Non-inclusive Text in Source Code – a Developer’s Journey
Words matter. They have the power to inspire and unite, fostering a culture where we can be our true selves. At Dell, we’ve established an inclusive language philosophy where we embrace diversity and inclusion, no matter what language we’re using – this includes coding language. After all, our code speaks for our technology.
-
Creating a Java Off-heap In-memory Database
With a Java heap size constrained to be very small (say, 16 MB) you can create an in-memory, off-heap data store that holds gigabytes of data—or even more. This article explores how to store gigabytes or terabytes of data in high-speed memory—if you have the physical RAM, of course.
-
Streaming analytics with Java and Apache Flink
With IoT and edge applications, some analytics approaches and frameworks use minibatch processing to approximate real-time analytics. This can prove limiting due to the latency that’s injected. This article discusses the benefits of the minibatch approach and suggests using the Apache Flink framework for stateful computations on data streams using minibatches.
-
HTML5 Server-Sent Events with Micronaut.io and Java
Micronaut has built-in support for Kafka, RabbitMQ, and two HTML5 messaging paradigms: server-sent events (SSE) and WebSocket. Using them in a meaningful way, such as for publish/subscribe or queue-based messaging, takes a little effort. This article examines a simple, reliable messaging system built around Micronaut’s SSE support.
-
CoAP Messaging In Depth
CoAP is a protocol not unlike HTTP or REST communication where the messages generally fall into the category of GET, POST, PUT, and DELETE. CoAP is also more conversational by nature since it’s request/response driven, as opposed to the publish/subscribe nature of MQTT.
-
MQTT Programming in Depth
MQTT is an open message protocol for machine-to-machine (M2M) or Internet of Things (IoT) communications that enables the transfer of telemetry-style data (i.e. measurements collected in remote locations) in the form of messages from devices and sensors, along unreliable or constrained networks, to a server.
-
Mixing Java Modules with OSGi
As many developers have learned, code modularity is more than just defining Java packages. It’s about specifying precisely which code is imported, which is shared publicly, and which is to be kept hidden. Proper modules also define understandable contracts that give insight into how shared code will behave and interact.