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 ....

 

 

Flexy Pool, reactive connection pooling

software-development-2-logo

Introduction When I started working on enterprise projects we were using J2EE and the pooling data source was provided by the application server. Scaling up meant buying more powerful hardware to support the increasing request demand. The vertical scaling meant that for supporting more requests we would have to increase the connection pool size accordingly. Horizontal scaling Our recent architectures ...

Read More »

Introducing JCG Academy – Get schooled by the Java Code Geeks

jcg-logo

Dear fellow geeks, it is with great honour that we announce the launch of JCG Academy. JCG Academy is a subscription based site that will work complementary with our existing main site (which of course remains free). It is appealing to serious developers that wish to achieve top notch technical education. JCG Academy hosts a number of courses on the ...

Read More »

Using Http Session with Spring based web applications

spring-interview-questions-answers

There are multiple ways to get hold of and use an Http session with a Spring based web application. This is a summarization based on an experience with a recent project. Approach 1 Just inject in HttpSession where it is required.         @Service public class ShoppingCartService { @Autowired private HttpSession httpSession; ... } Though surprising, since the ...

Read More »

Playing with Java 8 – Lambdas and Concurrency

java-logo

So Java 8 was released a while back, with a ton of features and changes. All us Java zealots have been waiting for this for ages, all the way back to from when they originally announced all the great features that will be in Java 7, which ended up being pulled. I have just recently had the time to actually ...

Read More »

Storm event processor – GC log file per worker

java-interview-questions-answers

In the last three months, I am working with a new team building a product for Big Data analytics on Telecom domain. Storm event processor is one of the main frameworks we use and it is really great. You can read more details on its official documentation (which has been improved). Storm uses Workers to do your job, where each ...

Read More »

Development “Methodologies”

software-development-2-logo

Below are several development “methodologies” that are popular and even industry-standard: Hype-Driven Development – you are either a startup, or you are given the freedom to choose whatever technology you like for your new cool-cutting-edge-distrupting-innovative-did-I-say-cool project. What technologies to use? The recently overhyped ones, of course. Let’s do it in Node.js, and you have to make it reactive, and do ...

Read More »

Jibx Jersey2 Integration

java-interview-questions-answers

Jersey2 provides inbuilt support for Jackson and JAXB. But Jibx is not supported by default. To use Jibx in conjunction with Jersey2, we are taking the XML input as a stream and after receiving the request, we are parsing it using Jibx. But there is actually a better way of achieving the same using MessageBodyReader and MessageBodyWriter APIs. Here is ...

Read More »

Knowing the bits

software-development-2-logo

We use complex systems. My mother once said that there could be little leprechauns behind the TV screen redrawing the screen 50 times a second she could not care. (At least she new that the TV in Europe had 50 (half) screens every second.) Most of the people do not care about the electronics and the softwar around us. The ...

Read More »

Live Templates in IntelliJ

jetbrains-intellijidea-logo

As described here, IntelliJ’s live templates let you easily insert predefined code fragments into your source code. I have posted some of my most used templates below, a link to my complete list of template files on GitHub (as a reference for myself when I setup new IntelliJ environments) and the steps I took to add the IntelliJ settings file ...

Read More »

Dropwizard: painless RESTful JSON HTTP web services

java-interview-questions-answers

Java developers looking for a quick, painless way of creating production-ready RESTful JSON HTTP web services should consider the Dropwizard framework. Dropwizard brings together well-regarded libraries that compliment each other so you can get to what’s important: writing and delivering working code. For those interested in details on the libraries used, please refer to the Dropwizard overview. Fortunately, Dropwizard doesn’t ...

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:

  • Advanced Java Guide
  • Java Design Patterns
  • JMeter Tutorial
  • Java 8 Features Tutorial
  • JUnit Tutorial
  • JSF Programming Cookbook
  • Java Concurrency Essentials