2 COMMENTs
Java
Alejandro Gervasio, Dec 19

Introduction to Contexts and Dependency Injection (CDI)

A tutorial on how to use Contexts and Dependency Injection (CDI) and Weld in Java SE, covering core features like annotations, qualifiers, and producers.
1 COMMENT
Java
Indrek Ots, Dec 12

Getting Started with Dropwizard - CRUD Operations

Dropwizard is a framework for building RESTful web services in Java. This tutorial shows how to create, retrieve, update, and delete resources.
7 COMMENTs
Java
Nicolai Parlog, Dec 05

Reflection vs Encapsulation - Stand Off in the Java Module System

Reflection wants to break into all code; encapsulation wants to give modules a safe space. How can this stand off in the Java module system be resolved?
4 COMMENTs
Java
Eevee, Dec 01

Maybe I Was Wrong about Java - Part 2

A run-through of some common perceptions of Java, from someone who doesn't regularly work with it. Is it really that abstract and wordy?
Java
Paul King, Nov 24

Groovy, an Open Source Success Story

The history of the Groovy programming language including technical features and aspects of its governance and community that have made it successful.
1 COMMENT
Java
Simon Ritter, Nov 21

Keeping The Community In The Java Community Process (JCP)

The Java Community Process (JCP) governs Java's future. Simon Ritter explains it and how the EC, EGs, JSRs, JEPs, the JSPA, FoU, RI, and TCK/JCK interact.
5 COMMENTs
Java
Eevee, Nov 17

Maybe I Was Wrong about Java - Part 1

A run-through of some common perceptions of Java, from someone who doesn't regularly work with it. Is it really that slow and bloated?
3 COMMENTs
Java
Nicolai Parlog, Nov 14

What Future Java Might Look Like

Java's future is full of cool advances: data classes, value types, generics over primitives, pattern matching, etc. Let's peek into Java's future!
Java
Rafael Winterhalter, Nov 10

Generational Disparity in Garbage Collection

A case study of how separate processes sharing the same Java Virtual Machine can impact garbage collection and thus each other.
2 COMMENTs
Java
Nicolai Parlog, Nov 07

Inside Java 9 - Performance, Compiler, and More

Java 9 brings more than just modules: better performance, less momory consumption, G1 as the default GC, HTML5 Javadoc ... a lot goes on inside Java 9.
Java
Nicolai Parlog, Nov 02

Inside Java 9 - Version Schema, Multi-Release JARs, and More

Java 9 brings more than just modules: multi-release JARs, UTF-8 property files, Unicode 8.0, reserved stack space ... a lot goes on inside Java 9.
8 COMMENTs
Java
Alejandro Gervasio, Oct 27

Effective Domain Model Validation with Hibernate Validator

A hands-on guide to domain model validation with the Java Beans Validation standard (JSR 303) and Hibernate Validator (Apache BVal is very similar.)
3 COMMENTs
Java
Damian Hagge, Oct 25

Combining Spring Boot and JDBI

Explains how to use Spring Boot with JDBI instead of Hibernate, resulting first-class dependency injection (by Spring Boot) and a light ORM (JDBI).
2 COMMENTs
Java
Nicolai Parlog, Oct 20

JUnit 5 State Of The Union

Summarizing where JUnit 5 is currently standing, discussing everything from API, extension model, and architecture to history, tool support, and open issues
4 COMMENTs
Java
Indrek Ots, Oct 13

Getting Started with Dropwizard

Dropwizard is a framework for building RESTful web services in Java. In this tutorial we're going to create a new Dropwizard service from scratch.
10 COMMENTs
Java
Alejandro Gervasio, Oct 10

Building a Web App with Java Servlets

This tutorial builds a simple Java web application with Java's Servlet API. It shows how to set the project up, create views / controllers, and deploy.
Java
Nicolai Parlog, Oct 06

JavaOne 2016 - Nucleus

A summary of the best JavaOne 2016 talks that discussed Java 8, Java 9 and Project Jigsaw, as well as Java EE 8.
Java
Vlad Mihalcea, Oct 03

Schema Migration with Hibernate and FlywayDB

Exploring the limitations of Hibernate's schema generation utility hbm2ddl and the benefits of an automated schema migration tool such as FlywayDB.
37 COMMENTs
Java
Marcello La Rocca, Sep 29

How Optional Breaks the Monad Laws and Why It Matters

Java's Optional, unlike may-or-may-not-contain-a-value types in other languages, is no well-behaving monad. And this matters to everyday developers like us!
Java
Gregor Trefs, Sep 25

Combinator Pattern with Java 8

The Combinator Pattern, well known in FP, combines primitives into complex structures. Gregor Trefs explores an implementation in Java 8.
3 COMMENTs
Java
Alejandro Gervasio, Sep 22

A Hibernate Introduction - Persisting Java Objects the Easy Way

JPA/Hibernate is a common approach to persistence in Java. This tutorial creates a simple CRUD app using Hibernate's EntityManager and the DAO pattern.
1 COMMENT
Java
Thorben Janssen, Sep 15

5 Reasons to Use JPA / Hibernate

JPA is a Java specification for object-relational mapping and Hibernate its most popular implementation. Here are five reasons to use them for persistence.
20 COMMENTs
Java
Nicolai Parlog, Sep 04

The Ultimate Guide to Java 9

Java 9 is coming! Besides Jigsaw it brings new language features and many new and improved APIs. This is the ultimate guide to all that's new in Java 9.
4 COMMENTs
Java
Bozhidar Bozhanov, Sep 01

Why I Introduced Scala In Our Project

I don’t like Scala and I think it is a poor choice for mainstream development. But recently I still introduced it in our project and here's why.