The Artima Developer Community
Sponsored Link

Java Buzz Forum
Java Weekly 5/15: CDI in Java SE, DeltaSpike, James Gosling and more ...

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Thorben Janssen

Posts: 44
Nickname: thjanssen
Registered: Jun, 2014

Thorben Janssen is a senior developer blogging about Java EE related topics.
Java Weekly 5/15: CDI in Java SE, DeltaSpike, James Gosling and more ... Posted: Jan 27, 2015 10:30 AM
Reply to this message Reply

This post originated from an RSS feed registered with Java Buzz by Thorben Janssen.
Original Post: Java Weekly 5/15: CDI in Java SE, DeltaSpike, James Gosling and more ...
Feed Title: Thoughts on Java
Feed URL: http://www.thoughts-on-java.org/feeds/posts/default
Feed Description: Tutorials and howtos about Java and Java EE related topics.
Latest Java Buzz Posts
Latest Java Buzz Posts by Thorben Janssen
Latest Posts From Thoughts on Java

Advertisement
The Java world is evolving at a rapid pace and it can be challenging to keep track of it. Fortunately lots of great resources are created every week, explaining new features or looking at existing stuff from a different angle.

I am using the Java Weekly series to collect the most interesting links I found during the last week and present them to you all in one place. I hope you find it useful and that it makes it easier for you to keep up-to-date. If you like to suggest a resource or something I can improve on, please leave me a comment.





Java

Java 8 introduced Optional to provide a more convenient way to work with possible null values. That sounds great! But if you are new to Optional, you might be wondering about the advantages of using the methods isPresent() and get() instead of the good old null check. And you are right, if you use it that way. But there are multiple other ways to use Optional as Dadepo Aderemi shows in his post: Using Optional Effectively in Java 8.


Standardizing the usage of CDI in a Java SE environment is one of the goals of the upcoming CDI 2.0 specification. But it is already possible to use CDI in Java SE. Weld and OpenWebBeans provide proprietary ways to start their container in Java SE and Apache DeltaSpike provides a unified API for it.
Rudy De Busscher describes in his post CDI for Java SE already standardised with DeltaSpike how to do it and which pitfalls you should avoid.


Speaking of DeltaSpike, Antoine Sabot-Durand gave a great presentation about the Apache project this week. And don't worry, if you missed it. You can watch the replay here and Antoine uploaded the slides to slideshare.


But that was not the only great online event this weak. The vJUG hosted a session with James Gosling who talked about the wave glider project. You can get more information about the project, watch the replay of the session and an interview with James Gosling on the RebelLabs site.


Heinz Kabutz published issue 225 of The Java Specialists Newsletter. This time, he shows a nice trick to hide interface methods.


Java EE

Arjan Tijms is working on a very detailed article series about JACC. In the first part of the series, Arjan describes the concept of role mapping and several ways to implement it: Java EE authorization - JACC revisited part I.
The different, container specific ways to deploy a JACC provider and how to obtain the container specific role mapper are explained in the second part of the series: Java EE authorization - JACC revisited part II.
A fully working JACC provider will be presented in the upcoming third and final part of the series .


Abhishek Gupta had a look at interceptors in Java EE in his article Java EE Interceptors. If you like to get an overview on how to use interceptors and their history, you should take a few minutes to read this article.


Upcoming online events

Lukas Eder will give a talk jOOQ: Get Back in Control of Your SQL at 5pm UTC on Thursday 29th at the vJUG.


See you next week!

These were the most interesting resources I found this week. I hope you find them useful and I see you next Monday for the next issue. You can subscribe below to get an email notification for it or follow me on twitter and google+.

If you like to suggest a link for next weeks issue or something I can improve on, please write me a comment.

Read: Java Weekly 5/15: CDI in Java SE, DeltaSpike, James Gosling and more ...

Topic: Apache FOP Integration with Eclipse and OSGi Previous Topic   Next Topic Topic: Working with Robolectric and Robotium in Android Studio and Gradle

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use