Home » Java

Java

[EBOOK] Top 10 Java Performance Problems

Interested to learn more? Then you should download the relevant ebook here. Most performance issues in Java can be attributed to a handful of root causes. Sure, occasionally there are some bizarre corner cases that came out of the blue and wreaked havoc in an app, but for the most part performance issues in Java are all pretty cookie cutter. ...

Read More »

Apache Spark RDD and Java Streams

A few months ago, I was fortunate enough to participate in a few PoCs (proof-of-concepts) that used Apache Spark. There, I got the chance to use resilient distributed datasets (RDDs for short), transformations, and actions. After a few days, I realized that while Apache Spark and the JDK are very different platforms, there are similarities between RDD transformations and actions, ...

Read More »

Java 9 Module System (Jigsaw) @ LJC’s HackTheTower

Today we spent half a day, on our first HackTheTower event. Members of London’s Java User Group (aka LJC),  gathered on the 26th floor of  ‘SalesForceTower’  (aka Heron Tower) at the City of London, invited by Heather VanCura is the Chair of the Java Community Process Mani Sarkar, LJC Simon Maple, Director of Developer Relations at ZeroTurnaround to talk and learn about one ...

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 »

New Distributed Primitives for Developers

Object-Oriented Primitives (in-process primitives) As a Java developer, I’m well familiar with object-oriented concepts such as class, object, inheritance, encapsulation, polymorphism, etc. In addition to the object-oriented concepts, I’m also well familiar with the Java runtime, what features it provides, how I can tune it, how it manages my applications, what would be the lifecycle of my object and the ...

Read More »

Elasticsearch Tutorial for Java Developers

Course Overview Elasticsearch is a search engine based on Lucene. It provides a distributed, multitenant-capable full-text search engine with an HTTP web interface and schema-free JSON documents. Elasticsearch is developed in Java and is released as open source under the terms of the Apache License. Elasticsearch is the most popular enterprise search engine followed by Apache Solr, also based on ...

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