Do you want to know how to develop your skillset to become a Java Rockstar?
Subscribe to our newsletter to start Rocking right now!
To get you started we give you our best selling eBooks for FREE!
1. JPA Mini Book
2. JVM Troubleshooting Guide
3. JUnit Tutorial for Unit Testing
4. Java Annotations Tutorial
5. Java Interview Questions
and many more ....
I agree to the Terms and Privacy Policy

Create JNDI resources for JUnit testing using Spring

Until recently, I had static methods setting up my in memory database (HSQLDB). I called these methods in setUp/tearDown of my JUnit tests. This felt always a bit unnatural to me as I use Spring and everything should run through it’s application context. Creating a simple JNDI bean As I use JNDI in production, I had to created a JNDI ...

Read More »

Microservices vs. SOA

These days, there are a lot of discussions about Microservices at the workplace or in tech talks. And if you have worked with SOA before, you might wonder what is the difference between SOA and Microservices. Here is a comparison of both architectures in details. SOA A Service Oriented Architecture is a software architecture pattern, which application components provide services to other ...

Read More »

OAuth 2.0 Token Management with Stormpath and Spring Boot

spring-interview-questions-answers

Building Identity Management, including authentication and authorization? Try Stormpath! Our REST API and robust Java SDK support can eliminate your security risk and can be implemented in minutes. Sign up, and never build auth again! OAuth 2.0 token management is often misunderstood and difficult to implement correctly. Fortunately, with Stormpath’s SDKs and integrations, we make Token Management easy – fun, ...

Read More »

Getting Started with SpringBoot in Intellij IDEA Community Edition

We can use Intellij IDEA Community Edition for working with SpringBoot applications as we don’t need support for configuring servers like Tomcat, Wildlfy etc and can simply run the applications by running main() method. However, there is no provision in Intellij IDEA Community Edition to create SpringBoot application directly, the way it supports in Ultimate Edition. We can go to ...

Read More »

Work with Parallel Database Streams using Custom Thread Pools

java-interview-questions-answers

Parallel Database Streams In my previous post, I wrote about processing database content in parallel using parallel streams and Speedment. Parallel streams can, under many circumstances, be significantly faster than the usual sequential database streams.             Speedment is an open-source Stream ORM Java Toolkit and Runtime Java tool that wraps an existing database and its tables ...

Read More »

Java Annotations Are a Big Mistake

Annotations were introduced in Java 5, and we all got excited. Such a great instrument to make code shorter! No more Hibernate/Spring XML configuration files! Just annotations, right there in the code where we need them. No more marker interfaces, just a runtime-retained reflection-discoverable annotation! I was excited too. Moreover, I’ve made a few open source libraries which use annotations ...

Read More »

Java Clients for Elasticsearch Transcript

java-interview-questions-answers

In this talk I will introduce three different clients for elasticsearch as well as Spring Data Elasticsearch. But to get started let’s look at some of the basics of elasticsearch. elasticsearch To introduce elasticsearch I am using a definition that is taken directly from the elastic website. Elasticsearch is a distributed, JSON-based search and analytics engine, designed for horizontal scalability, ...

Read More »