Using QUnit and Sinon.js achieves the possibility of unit testing — and using the Google closure compiler with hard optimization enabled minifies code efficiently.
Need to query within embedded documents? This example takes us through using Couchbase's N1QL query for objects in a nested array in a single document.
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.
When it comes to the Enterprise, two cloud databases are going after it. Amazon's Aurora is MySQL compatible, whereas Google's CloudSpanner scales out.
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!
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.