Home » Java » Enterprise Java

Enterprise Java

Spring Tutorial: Creating a Hello World REST API Using Spring Framework and Spring Boot

spring-interview-questions-answers

Spring Framework was created as a result of disappointment of Java community with earlier versions of Enterprise Java. Since then it has grown into huge ecosystem that allows one to solve every problem in building a Web-based Java application and more. Spring is often criticized because it used to rely on XML for configuration purposes. As a response to that ...

Read More »

Neo4j: How do null values even work?

Every now and then I find myself wanting to import a CSV file into Neo4j and I always get confused with how to handle the various null values that can lurk within. Let’s start with an example that doesn’t have a CSV file in sight. Consider the following list and my attempt to only return null values: WITH [null, "null", ...

Read More »

Going off-heap to improve latency and reduce AWS bill

java-interview-questions-answers

Most performance issues can be solved in several different ways. Many of the solutions applicable are well-understood and familiar to most of you. Some solutions, like taking certain data structures off from the JVM-managed heap, are more complex. So if you are not familiar with the concept, I can recommend to proceed to learn how we recently reduced both the ...

Read More »

Hibernate Caching with HazelCast: Basic configuration

Previously we went through an introduction on JPA caching, the mechanisms and what hibernate offers. What comes next is a hibernate project using Hazelcast as a second level cache. We will use a basic spring boot project for this purpose with JPA. Spring boot uses hibernate as the default JPA provider. Our setup will be pretty close to the one ...

Read More »

Hibernate Caching With HazelCast: JPA caching basics

One of the greatest capabilities of HazelCast is the support for hibernate’s second level cache. JPA has two levels of cache. The first level cache caches an object’s state for the duration of a transaction. By querying the same object twice you have to get the object your retrieved the first time. However in case of complex queries which include ...

Read More »

Push Spring Boot Docker images on ECR

On a previous blog we integrated a spring boot application with EC2. It is one of the most raw forms of deployment that you can have on Amazon Web Services. On this tutorial we will create a docker image with our application which will be stored to the Amazon EC2 container registry. You need to have the aws cli tool ...

Read More »

Perfecting Lambda Architecture with Oracle Data Integrator (and Kafka / MapR Streams)

java-interview-questions-answers

“Lambda architecture is a data-processing architecture designed to handle massive quantities of data by taking advantage of both batch– and stream-processing methods. This approach to architecture attempts to balance latency, throughput, and fault-tolerance by using batch processing to provide comprehensive and accurate views of batch data, while simultaneously using real-time stream processing to provide views of online data. The two view outputs may be joined before presentation. The rise ...

Read More »

Microservice using Docker stack deploy – WildFly, Java EE and Couchbase

There is plenty of material on microservices, just google it! I gave a presentation on refactoring monolith to microservices at Devoxx Belgium a couple of years back and it has good reviews: This blog will show how Docker simplifies creation and shutting down of a microservice. All code used in this blog is at github.com/arun-gupta/couchbase-javaee. Microservice Definition using Compose Docker 1.13 introduced a v3 of Docker ...

Read More »

Want to take your Java skills to the next level?

Grab our programming books for FREE!

Here are some of the eBooks you will get:

  • Spring Interview QnA
  • Multithreading & Concurrency QnA
  • JPA Minibook
  • JVM Troubleshooting Guide
  • Advanced Java
  • Java Interview QnA
  • Java Design Patterns