IBM Java Dev.

Subscribe to IBM Java Dev. feed IBM Java Dev.
The latest content from IBM developerWorks
Updated: 5 hours 59 min ago

5 things you didn't know about ...: Java 10

Tue, 2018-04-17 06:00
Hot on the heels of Java 9, Java 10 is here, with a cornucopia of cool new features for code geeks, container nerds, and garbage-collector geniuses. There's no time like the present to find out what's new in JDK 10.
Categories: Java

Get started with the Java EE 8 Security API, Part 3: Securely access user credentials with IdentityStore

Thu, 2018-04-12 06:00
Learn how to use the new IdentityStore interface to setup and configure RDBMS or LDAP identity storage in your Java web applications.
Categories: Java

Get started with the Java EE 8 Security API, Part 4: Interrogating caller data with SecurityContext

Thu, 2018-04-12 06:00
This final article in the Java EE Security API series introduces the SecurityContext API, which is used to interrogate caller data consistently across servlet and EJB containers. Find out how SecurityContext extends HttpAuthenticationMechanism's declarative capabilities, then put it to work testing caller data in a servlet container example.
Categories: Java

Minecraft and IBM Cloud, Part 4: Integrating Watson into Minecraft on IBM Cloud

Mon, 2018-03-19 06:00
In this tutorial series, you'll learn how to use Docker, Eclipse, and IBM Cloud to develop, extend, and host your own Minecraft servers. Find out how to use Eclipse to build Minecraft plugins, test them locally using Docker, and use IBM Cloud to host your Docker containers on the Internet. You'll also harness the power of IBM Watson from within Minecraft for more educational and interactive game play. In Part 4, you'll learn how to extend the Spigot server with a plugin that uses Watson cognitive services to add a little science to your game play.
Categories: Java

Get started with the Java EE 8 Security API, Part 2: Web authentication with HttpAuthenticationMechanism

Fri, 2018-03-09 07:00
HttpAuthenticationMechanism’s annotation-driven approach is a welcome departure from the tedium of manually configuring authentication for Java web applications. Learn how to setup and configure both classic Servlet 4.0-style authentication and custom solutions using HttpAuthenticationMechanism and the new Java EE 8 Security API.
Categories: Java

Using Kubernetes secrets to manage credentials

Tue, 2018-02-27 07:00
If you're deploying services in your Kubernetes clusters, the code behind those services most likely needs to use credentials to do its work. In this tutorial, you'll see how to use Kubernetes secrets to deliver sensitive information like usernames and passwords to your code.
Categories: Java

Get started with the Java EE 8 Security API, Part 1: Java enterprise security for cloud and microservices platforms

Sat, 2018-02-10 07:00
As one of the three core specifications introduced with Java EE 8, the new Java EE Security API is an essential addition to your Java EE toolkit, and thankfully not terribly difficult to learn. Find out how the Java EE Security API supports enterprise security in cloud and microservices platforms, while introducing modern capabilities such as context and dependency injection.
Categories: Java

Making the cut: Top Java content from developerWorks

Mon, 2018-01-15 07:00
A quick rundown of the top content published in the Java hub in 2017.
Categories: Java

Create an artificial neural network using the Neuroph Java framework

Mon, 2018-01-08 07:00
Build an artificial neural network (ANN) using the Java language and Neuroph open source framework.
Categories: Java

Java 8 idioms: Functional purity

Fri, 2018-01-05 07:00
Functional pipelines can greatly increase the efficiency and performance of your code, especially when combined with lazy evaluation and parallelization. In this article you'll learn the rules of functional purity, and why you should always strive to keep lambda expressions pure in your functional pipelines.
Categories: Java

Get started with the JSON Binding API, Part 2: Default mapping with JSON-B

Wed, 2018-01-03 07:00
The new JSON Binding API binds Java and JSON seamlessly, and its default mappings satisfy many simple use cases. JSON-B's default configurations will be intuitive for most developers, and cover a wide range of serialization and deserialization options and scenarios.
Categories: Java