Home » Java » Enterprise Java

Enterprise Java

Testing Spring Data + Spring Boot applications with Arquillian (Part 1)

spring-interview-questions-answers

Spring Data’s mission is to provide a familiar and consistent, Spring-based programming model for data access while still retaining the special traits of the underlying data store. It provides integration with several backend technologies such as JPA, Rest, MongoDB, Neo4J or Redis to cite a few. So if you are using Spring (Boot) then Spring Data is the right choice to deal ...

Read More »

End to end BPM (with a splash of DMN)

Red Hat Summit next week is shaping up to be one of the best ever! And if you are a Drools or jBPM enthusiast, you will be busy: another top presentation that we have lined up for you comes from a partnership between Signavio and Red Hat. Duncan Doyle and Tom Debevoise will be driving the show on this one with ...

Read More »

Spring Boot, @EnableWebMvc And Common Use-Cases

spring-interview-questions-answers

It turns out that Spring Boot doesn’t mix well with the standard Spring MVC @EnableWebMvc. What happens when you add the annotation is that spring boot autoconfiguration is disabled. The bad part (that wasted me a few hours) is that in no guide you can find that explicitly stated. In this guide it says that Spring Boot adds it automatically, ...

Read More »

Spring Web-Flux – Functional Style with Cassandra Backend

spring-interview-questions-answers

In a previous post I had walked through the basics of Spring Web-Flux which denotes the reactive support in the web layer of Spring framework. I had demonstrated an end to end sample using Spring Data Cassandra and using the traditional annotations support in the Spring Web Layers, along these lines: ... import org.springframework.web.bind.annotation.*; import reactor.core.publisher.Flux; import reactor.core.publisher.Mono; ... @RestController @RequestMapping("/hotels") public class HotelController ...

Read More »

Hibernate Logging: Tips and Solutions to Common Problems

How to solve some of the most common Hibernate issues with proper logging? Hibernate’s logging configuration is an important but rarely discussed topic. The right configuration can help you to find potential issues during development while a wrong configuration can cause serious performance problems in production. That’s one of the reasons why I explain different configuration options in my new ...

Read More »

Real-Time Communication: Implementing Websockets With Spring Boot

spring-interview-questions-answers

When developing web applications, we sometimes need to push server events down to connected clients. However, HTTP was not designed to allow this. A client opens a connection to a server and requests data. A server does not open a connection to a client and push data. To get around this limitation, a polling pattern was established where web pages ...

Read More »

Important Production bugs and fixes for Storm and Kafka integration

java-interview-questions-answers

I will describe here a few details for Storm and Kafka integration modules, a few important bugs that you should be aware and how to overcome some of them (especially for production installations). I am heavily using Apache Storm in production installations with Kafka as my main input source (Spout). Storm integration modules with Kafka and versions: Storm 0.x supports ...

Read More »

Understanding the first level JPA cache

java-interview-questions-answers

I can bet that every Java developer at least heard about L1 (aka EntityManager or Session) cache. But is your level of understanding it good enough? If you’re not sure, consider going through this post. At first, we need to know what the persistence context is. Following EntityManager JavaDoc we know, that: “A persistence context is a set of entity instances in which for ...

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