Java has provided native enum types from version 1.5 onwards. Some issues arise with the use of enums in Java code, which this article attempts to address.
The factory pattern is one of the best known patterns in Java. If you're using lambda expressions, you can use those to implement the pattern, though beware scaling.
Concurrency and streams put up special challenges for exception handling, particularly checked exceptions. Fortunately, you can try to improve your lot with Try.
If you're loading your Spring context for every test, you have integration tests, not unit tests. These are slow! See, how to deal with the problem using Mockito.
In a kickoff to a series on the Java Collections framework, we look at the hierarchy and an overview of uses. It's more than just generic lists, maps, and sets!
Streams are an important functional approach that can impact performance via parallelism, augment and convert data structures, and add new tools to your kit.
This comprehensive guide will walk you through every step you need to take to create and configure editable tables in JavaFX, including handling a bug in the code.
Interfaces have seen massive improvements since they were first brought out. Combined with method definitions, you've got a lot of flexibility on your hands.
Want to incorporate a rules engine into your work? Drools might be more than you need, and Easy Rules might have too much ceremony for you. Enter RuleBook.
Java's Scanner class, and the occasional bit of RegEx, makes parsing text trivial. You can put this to good use in a number of ways, which we'll dive into here.
If you like XML's handy hierarchical style and the familiarity of Java, you're in luck: You can quickly parse your XML data and put it into a MySQL database with ease.
Java doesn't rely on closures the way functional programming languages and JavaScript do, but they're a loose thread in the implementation of lambda expressions.
Feeling constrained by your heap? Want to store more elements in a collection than your memory can hold? Check out this project designed to handle big collections.
Moving to a microservices architecture is not just a matter of replacing method calls with HTTP requests. Welcome to the world of containers, reactive stacks, and more.
With the project grunt work done, it's time to put our Random Generator onto Maven Central for everyone to use, including a simple example of the library in action.