Java
-
Java Compress/Decompress String/Data
Java provides the Deflater class for general purpose compression using the ZLIB compression library. It also provides the DeflaterOutputStream which…
Read More » -
Optional ofNullable() method (With Examples)
A quick guide to Optional ofNullable() method in Java 8 API with Example programs. How to use in the real…
Read More » -
Protractor Tutorial: Handling Timeouts With Selenium
A lot of times while performing Selenium test automation, you’ll come across certain scenarios when your test fails due to…
Read More » -
10 JdbcTemplate Examples in Spring Framework
Hello guys, If you have been using the Spring framework then you may know that the JdbcTempalte is one of the most…
Read More » -
Mockito: Cannot instantiate @InjectMocks field: the type is an abstract class
Anyone who has used Mockito for mocking and stubbing Java classes, probably is familiar with the InjectMocks-annotation. Use this annotation…
Read More » -
Testing is Not Sufficient: 5 Ways to Know If Your Code is Really Production-Ready
Enterprises today are all about increasing software delivery velocity. But with shorter release cycles, code quality is usually sacrificed. Today’s…
Read More » -
Mockito: Cannot instantiate @InjectMocks field: the type is an interface
Anyone who has used Mockito for mocking and stubbing Java classes, probably is familiar with the InjectMocks-annotation. Use this annotation…
Read More » -
REST: Creating resources
Resource creation is a common REST API operation. In this post we will see how single resource can be created.…
Read More » -
Migrating Neo4j graph schemas in Kubernetes
When running enterprise applications with zero-downtime, we need to be able to perform database schema migrations without disrupting active users.…
Read More »