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

 

 

Java Design Patterns course launched on JCG Academy!

It has been a while since we have launched JCG Academy, a premium content, subscription based site offering a number of courses on the latest, cutting edge technologies, from NoSQL databases, like Redis and CouchDB, to mobile development with Android. Of course, Java related courses have a premier position there, and one of our most popular ones has just been ...

Read More »

Why you should pay developers to learn

A true story We were having a meeting with a customer and he had just presented a project idea. He wanted us to give him a draft system architecture, supporting his project technical requirements. At one point, I was telling him that incremental development requires architecture evolution as well. When I said that finding the right architecture is also a ...

Read More »

Dependency Injection – Field vs Constructor vs Method

Hi, today I would like to discuss in short different ways of injecting dependencies into your classes. In general you have the following three options for injection directly into fields/attributes via explicit setter methods via explicit constructor parameters     Field injection This type of injection instruments some kind of reflection mechanism for injecting the required dependencies into the class. While this injection ...

Read More »

WildFly Admin Console in a Docker image

WildFly Docker image binds application port (8080) to all network interfaces (using -b 0.0.0.0). If you want to view feature-rich lovely-looking web-based administration console, then management port (9990) needs to be bound to all network interfaces as well using the shown command:               docker run -P -d jboss/wildfly /opt/jboss/wildfly/bin/standalone.sh -b 0.0.0.0 -bmanagement 0.0.0.0 This is overriding ...

Read More »

Why Not What – An Example

Forbes quoted Steve Jobs as saying “I’m as proud of what we don’t do as I am of what we do.”  This is a really enlightened perspective – and a way to enforce focus from the top down.  Before you can drive a “this goal is more important than that goal” focus, you have to make sure you’re actually focusing ...

Read More »

Stream-Powered Collections Functionality in JDK 8

This post presents application of JDK 8 – introduced Streams with Collections to more concisely accomplish commonly desired Collections-related functionality. Along the way, several key aspects of using Java Streams will be demonstrated and briefly explained. Note that although JDK 8 Streams provide potential performance benefits via parallelization support, that is not the focus of this post. The Sample Collection ...

Read More »

Getting started with Jersey and Spring Boot

Along many new features, Spring Boot 1.2 brings Jersey support. This is great step to attract those developers who like the standard approach as they can now build RESTful APIs using JAX-RS specification and easily deploy it to Tomcat or any other Spring’s Boot supported container. Jersey with Spring platform can play an important role in the development of mico ...

Read More »

Caching Strategy Reminder for Maven-Based Docker Builds

My local development feedback loop between code change and runnable container was annoyingly long on a Maven-based project I was recently working on. I wanted to speed things up. The scenario was something like this:             touch/change some source code docker build maven downloads the world maven compiles my project docker run touch/change some source ...

Read More »

How to integrate Jersey in a Spring MVC application

I have recently started to build a public REST API with Java for Podcastpedia.org and for the JAX-RS implementation I have chosen Jersey, as I find it “natural” and powerful – you can find out more about it by following the Tutorial – REST API design and implementation in Java with Jersey and Spring.  Because Podcastpedia.org is a web application powered by Spring ...

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