Java Lobby Announcements

Subscribe to Java Lobby Announcements feed
Recent posts in Java on DZone.com
Updated: 3 hours 36 min ago

Spring Tips: Programmatic Bean Registration in Spring 5 [Video]

Thu, 2017-03-02 19:01

Hi Spring fans! in this installment, we’ll look at different ways to register beans with Spring, culminating in the new programmatic bean registration functionality in Spring 5.

Categories: Java

How Tinylog 1.2 Simplifies Your Logging

Thu, 2017-03-02 17:01

Logging is used in almost every professional Java application nowadays. The most common logging frameworks are Log4j and Logback. tinylog is a lightweight alternative. It has a size of only 94KB and tries to simplify logging and configuration. After a short introduction to tinylog, the new features of version 1.2 will be demonstrated by means of examples.

Logging API

tinylog has a static logger class. Thereby, it isn't necessary to create an instance of a logger for each class, in which logging should be used. Just write your logging statement:

Categories: Java

This Week in Spring: Spring 5, Spring Cloud, and Reactor Aluminium

Thu, 2017-03-02 13:01

Welcome to another installment of This Week in Spring! As usual, we’ve got a lot to cover so let’s get to it! My friend Kenny Bastani and I will be doing a training for O’Reilly on the first and second of March introducing all things Spring, Spring Boot, Spring Cloud and Cloud Foundry — join us!

Categories: Java

How to Handle Big Repositories With Git

Thu, 2017-03-02 10:01

git is a fantastic choice for tracking the evolution of your code base and to collaborate efficiently with your peers. But what happens when the repository you want to track is really huge?

In this post, I'll try to give you some ideas and techniques to deal properly with the different categories of huge.

Categories: Java

Reactive-Functional Fun on the Blockchain With Web3j

Thu, 2017-03-02 07:01

In a recent issue of Java Magazine, I provided a primer on working with the blockchain technology Ethereum using web3j to build Java applications on it.

In this article, we’re going to use web3j’s reactive-functional API to shed some light on the events taking place in the public Ethereum blockchain.

Categories: Java

A Use Case for Local Class Declaration

Wed, 2017-03-01 23:01

One of the first things one learns when starting with Java development is how to declare a class into its own file. Potential later stages include:

But this doesn’t stop there: the JLS is a trove full of surprises. I recently learned classes can be declared inside any block, including methods. This is called local class declaration (§14.3).

Categories: Java

IntelliJ IDEA 2017.1 Public Preview: Java 9, Debugger, VCS, Search, Editor and Many More

Wed, 2017-03-01 19:01

It’s been three months since we released v2016.3. Roughly half of this time we spent working on bug-fixes; some fixes made it to minor updates, others will go into v2017.1, and others are planned for further releases. The other half was used to enhance the existing functionality and extend it with new features. Today we’d like to give you a glimpse of the most notable changes coming in v2017.1 planned to release this spring. Please welcome IntelliJ IDEA 2017.1 Public Preview – an EAP build where you can try most of the upcoming enhancements.

Java 9

First of all, the preview brings the promised support for Java 9 and mainly the new module system. The IDE supports the latest versions of JDK 9, helps import projects, and offers coding assistance when editing module declarations:

Categories: Java

Pages