Java Weekly 47/15: Arquillian tips, MVC 1.0, a new security API
Which JSON library should Java developers be choosing? And should we be worried about Oracle’s plans for Java? Thorben Janssen brings us the latest news and essential reading in the Java world.
This post originally appeared on Thorben Janssen’s Java EE blog, where Java news is published weekly: thoughts-on-java.org.
There are lots of different JSON libraries to choose from. But which one should you use? Eugen Paraschiv gives a great overview about the different options with basic code examples and further resources for each of them: JSON in Java.
A few days ago, Rafael Pestano started an interesting series about Arquillian tips: In his first post, he showed how to inject the path of a deployment into an Arquillian test case to test REST endpoints within the container: Test your REST endpoints inside the container (ARQTIP #1).
Traditionally, each Arquillian test class builds its own deployment which contains only the classes required by this specific test class. But you can also use a previously build project as Rafael shows in the second post of his series: The simplest “micro” Deployment (ARQTIP #2).
Java EE 8
Bennet Schulz posted a new part of is Java EE 8 MVC series. This time, he shows how to handle Form Submits via @FormParam and @BeanParam and explains when you should use which approach: MVC 1.0 in Java EE 8 – Handling Form Submits.
The existing Java EE security API is old, complicated and requires vendor specific configurations. This will be changed with Java EE 8 and the new Java EE security API defined by JSR 375. George Lawton gives an overview about the 7 most important topics of this new specification: Learn what the new Java EE security API means for developers.
This and that
Jose Cruz posted the 4th part of his series on using Java ME 8 on a Raspberry Pi with a lot of different sensors. In the previous parts, he showed how to work with sensors connected to GPIO, I2C and UART interfaces.
In his latest post, Jose uses the SPI bus to connect an analog-to-digital converter, FRAM to store some data and an OLED display: Java ME 8 + Raspberry Pi + Sensors = IoT World (Part 4).
SEE ALSO: Oracle’s “planned obsolescence” for Java
There were several discussion about the future of Java after Oracle released some of their evangelists. What does that mean for Java developers, companies with existing products based on Java and newly founded companies? Jason Whaley doesn’t expect any immediate effects: Even If Oracle Is Losing Interest In Java, Should You Worry?
SEE ALSO: 10 things we learned at Devoxx 2015