Arquillian Chameleon was born to simplify the configuration of Arquillian tests. I am proud to announce that with version 1.0.0.CR2 we have not only simplified how to configure Arquillian tests but also how to write them. With this new release, three new simplifications have been added: You only need to use 1 (or at most 2 dependencies just in case you want to ...
Read More »
Liberty on Oracle Application Container Cloud
In this blog post, I will describe how to deploy the CloudEE Duke application packaged in a Liberty über-jar to Oracle Application Container Cloud. The deployment artifact required for deployment in Oracle Application Container Cloud is a ZIP archive containing the application über-jar and a manifest file (manifest.json). The Liberty version of the manifest.json for CloudEE Duke is listed below. ...
Read More »Understanding Java Buffer Pool
Understanding Java Buffer Pool The buffer pool space is located outside of the garbage collector-managed memory. It’s a way to allocate native off-heap memory. What’s the benefit of using buffer pools? To answer this question, let’s firstly learn what byte buffers are. Byte Buffer Non-Direct Buffer java.nio package comes with the ByteBuffer class. It allows us to allocate both direct and non-direct ...
Read More »Payara Micro on Oracle Application Container Cloud
In this blog post, I will describe how to deploy the CloudEE Duke application packaged in a Payara Micro über-jar to Oracle Application Container Cloud. The deployment artifact required for deployment in Oracle Application Container Cloud is a ZIP archive containing the application über-jar and a manifest file (manifest.json). The Payara Micro version of the manifest.json for CloudEE Duke is ...
Read More »How a Service Mesh Can Help With Microservices Security
I see lots of customers moving to microservices, (whether they should or not is a topic for a different post), and in doing so they are attempting to solve some difficult organizational scaling problems. The details of going to microservice architecture often trades some old problems for new ones, however. Most of the customers I speak with have a strategy ...
Read More »Learn Java from the Global Experts at Java With the Best
Java With the Best Virtual Conference is your guide to Microservices, Java 9, Kubernetes and everything else Java! Tune in April 17th-18th to access 50+ live Java tech talks by industry-leaders from companies like Pivotal, RedHat, Microsoft, Oracle and Netflix. Our featured speakers include: Reza Rahman (CapTech) – Java EE 8 and the Open Future of Java EE – ...
Read More »Building a Blockchain: What, How, and Why
To put it mildly, cryptocurrency is an incredibly popular topic right now. Much of the hype around it tends to be focused on the physical value that these currencies represent. However, I believe something even more precious lies under the hood of cryptocurrencies: the concept of blockchain. The ideas around blockchain are significant because they’re the engine that enables cryptocurrency ...
Read More »Forward-Looking with Java’s @Deprecated
I have occasionally run into a situation in which I have needed to introduce a new API or construct for others to try out, but have known that it might change based on others’ feedback after some use of it. In such cases, I’ve wanted to somehow annotate the construct to warn other developers of the tentativeness of this newly ...
Read More »Java 8 Date and Time
Nowadays, several applications still use the java.util.Date and java.util.Calendar API’s, including libraries to make our lives easier working with these types, for example JodaTime. Java 8, however, introduced new API’s to handle date and time, which allow us to have more fine grained control over our date and time representation, handing us immutable datetime objects, a more fluent API and ...
Read More »