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!
Sure, knowing how to implemented a word count Hadoop job using Scala and uploaded it to HDInsight is good — but having a real-world example of how to do so is better.
Streams are an important functional approach that can impact performance via parallelism, augment and convert data structures, and add new tools to your kit.
When we tried to restore a failed procedure, we got an error saying that the BINLOG statement couldn't be used to apply Query events. The workaround is simple.
Accessing and configuring your MS SQL Server instance is pretty simple if you're using Spring Boot. After a bit of legwork, Spring fills in the defaults for you.
If you want to use SAS SQL for your queries, there are some subtle syntax differences that you might not be ready for. Here's how to use some core joins.
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.
These days, many developers work on a project on the same server at the same time — but we still need to be able to schedule app updates the server whenever we want to.
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.
This is the fourth in a series of blog posts examining technologies such as Angular that are driving the development of modern web and mobile applications.
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.