-
Enterprise Java
Using Gmail as SMTP server from Java, Spring Boot apps
Gmail users can use Gmail’s SMTP server smtp.gmail.com to send emails from their Spring Boot apps. For this let us do…
Read More » -
Core Java
Getting to know about java.nio.file.Path – 2
In Part 1 of this, we looked at most of the APIs in the java.nio.file.Path class. In this article, we…
Read More » -
Core Java
Getting to know about java.nio.file.Path – 1
Introduction The last few released of Java namely Java 7, Java 8 and the upcoming Java 9 have quite a…
Read More » -
Enterprise Java
Index Data from a Relational Database into Elasticsearch – 1
Elasticsearch provides powerful search capabilities with support for sharding and replication of the data. So we would want to index…
Read More » -
Software Development
Setting up sharded mongodb cluster in localhost
I have been playing around with MongoDb, thanks to the M101J Course offered by Mongodb University. These NoSQL datastores are…
Read More » -
Core Java
Using Google Guava Cache for local caching
Lot of times we would have to fetch the data from a database or another webservice or load it from…
Read More » -
Enterprise Java
Simple Aspect Oriented Programming (AOP) using CDI in JavaEE
We write service APIs which cater to certain business logic. There are few cross-cutting concerns that cover all service APIs…
Read More » -
Core Java
Parameterized Test Runner in JUnit
We all have written unit tests where in a single test tests for different possible input-output combinations. Lets look how…
Read More » -
Core Java
Getting started with Mocking in Java using Mockito
We all write unit tests but the challenge we face at times is that the unit under test might be…
Read More »