IBM Java Dev.

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

Introducing JUnit 5, Part 1: The JUnit 5 Jupiter API

Mon, 2017-12-11 07:00
If you've been on the fence about upgrading to the new JUnit 5, this tutorial should convince you. Get started with the JUnit Jupiter API and the new annotations, assertions, and assumptions that are about to rock your world.
Categories: Java

Introducing JUnit 5, Part 2: JUnit 5 Vintage and the JUnit Jupiter Extension Model

Mon, 2017-12-11 07:00
Find out how JUnit Vintage has you covered for backward compatibility with older versions of JUnit, then get started with JUnit Jupiter extensions for parameter injection, paramaterized tests, dynamic tests, and custom annotations in the new JUnit 5.
Categories: Java

Java 8 idioms: Using closures to capture state

Wed, 2017-12-06 07:00
Whereas lambda expressions rely on internal parameters and constants, closures look to variables for additional information. Find out how to use closures to carry state from a defining context to the point of execution in your programs.
Categories: Java

Get started with the JSON Binding API, Part 2: Custom binding with JSON-B

Tue, 2017-11-21 07:00
The JSON Binding API makes customizing data serialization and deserialization easy and intuitive, and it puts a lot of power in your hands. Learn how to use and combine annotations and runtime configuration to control the binding and appearance of properties, fields, date and time formats, and more. Then get started using JSON-B adapters and low-level serializers and deserializers to change the logic of operations in JSON-B.
Categories: Java

Get started with the JSON Binding API, Part 1: The JSON Binding API in a nutshell

Fri, 2017-11-10 07:00
It's been a long wait, but Java EE 8 introduces powerful JSON binding features to the core Java enterprise platform. Get started with default features, custom annotations, and runtime configurations in the new Java API for JSON Binding.
Categories: Java

Java 8 idioms: Cascading lambdas

Tue, 2017-11-07 07:00
Venkat explains the mysterious origins of cascading lambdas, a type of syntax that arises from functions returning functions in highly concise code.
Categories: Java

Java 8 idioms: Java knows your type

Wed, 2017-10-11 06:00
The Java compiler is more than capable of inferring type, so why not let it? Learn how to use type inference in lambda expressions, and get tips for improving parameter naming.
Categories: Java

Editor's picks: Top five WebSphere Liberty tutorials

Sun, 2017-10-01 06:00
If there is one thing that IBM WebSphere Liberty gives you, it's the freedom, and flexibility, to dynamically create applications both on-premises and in the cloud. This article highlights the top five tutorials in developerWorks for WebSphere Liberty.
Categories: Java

What's new in Java EE 8

Tue, 2017-09-26 07:00
The next edition of the Java enterprise platform is built for the cloud and reactive programming, and will shape enterprise application development for years to come. Get your first look at new APIs and upgrades for Java enterprise security, JSON binding, HTTP/2 server push, and more.
Categories: Java

Minecraft and Bluemix, Part 3: Running Spigot servers in Kubernetes

Wed, 2017-09-20 07:00
In this tutorial series, you'll learn how to use Docker, Eclipse, and Bluemix 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 Bluemix 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 3, you learn how to take the plugin that you built in Part 2 to the next level -- by getting it running on the web in Bluemix.
Categories: Java

What's new in Spring Framework 5

Tue, 2017-09-19 07:00
Spring Framework 5.0 will change how developers understand and build Spring-based applications for years to come. Find out how Spring 5 integrates functional and reactive programming models into its core architecture, updates major dependencies, and trades legacy baggage for notable performance boosts--all while retaining that familiar Spring Framework look-and-feel.
Categories: Java

5 things you didn't know about ...: Apache Maven plugins

Mon, 2017-09-11 07:00
Can’t get enough of Maven? Neither can we! Learn how plugin goals map to the Maven lifecycle, then get started with four plugins that will take your projects to the next level, including Maven Site from GitHub and Maven Cargo from Codehaus.
Categories: Java

Java 8 idioms: Functional interfaces

Fri, 2017-09-08 07:00
In Java 8, lambda expressions are treated as a type of functional interface. Learn how this design decision supports backward compatibility with older versions of the language, then see examples of both custom and built-in functional interfaces in a Java program. Find out why using built-in interfaces is usually optimal, even in cases where a custom interface might seem more obvious.
Categories: Java

Introduction to Java programming, Part 1: Java language basics

Thu, 2017-08-24 07:00
Get an introduction to the structure, syntax, and programming paradigm of the Java language and platform in this two-part tutorial. Learn the Java syntax that youre most likely to encounter professionally and Java programming idioms you can use to build robust, maintainable Java applications. In Part 1, master the essentials of object-oriented programming on the Java platform, including fundamental Java syntax. Get started with creating Java objects and adding behavior to them, and conclude with a summary of Java coding best practices.
Categories: Java