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

 

 

Design Pattern: Immutable Embedded Builder

java-logo

Last week I wrote about what makes a pattern anti-pattern. This week I present a design pattern… or wait… perhaps this is an anti-pattern. Or is it? Let’ see! The builder pattern is a programming style when there is a class that build an instance of another. The original aim of the builder pattern is to separate the building process ...

Read More »

Injecting configuration values using CDI’s InjectionPoint

java-interview-questions-answers

Dependency injection is a great technology for the organization of class dependencies. All class instances you need in your current class are provided at runtime from the DI container. But what about your configuration? Of course, you can create a “Configuration” class and inject this class everywhere you need it and get the necessary value(s) from it. But CDI lets ...

Read More »

Apache Tomcat and Denial-of-service vulnerability

apache-tomcat-logo

Websites hosted on Apache Tomcat servers seem to be vulnerable against denial-of-service attacks, as was recently proven by security researchers and presented in Denial-of-service vulnerability puts Apache Tomcat servers at risk. Apache Tomcat servers are widely used for hosting applications developed with the Java Servlet and the JavaServer Pages (JSP) technologies. Apache Commons FileUpload is a stand-alone library that developers ...

Read More »

Building Java Web Application Using MyBatis With Spring

mybatis-logo

This post will show how to create a Student Enrollment Application using MYSQL DB with MyBatis framework in a Spring environment. This is a simple application that aims to collect the input details from the user during signup, save the details in the MYSQL DB and authenticate the same during login.     1. Create Java Web Application Project using ...

Read More »

Product Roadmaps Are Anti-Agile

agile-logo

I was listening recently to the “Global Product Management Talk” live podcast (which I recommend, by the way). The speaker talked about creating roadmaps for product lines. It’s an interesting topic for me, as I’m juggling between products everyday. As the the interview sped along, I asked on Twitter: How are roadmaps related to agile? The answer I got was ...

Read More »

Java 8: Sorting values in collections

java-logo

Having realised that Java 8 is due for its GA release within the next few weeks I thought it was about time I had a look at it and over the last week have been reading Venkat Subramaniam’s book. I’m up to chapter 3 which covers sorting a collection of people. The Person class is defined roughly like so:   ...

Read More »

Getting started with Mocking in Java using Mockito

mockito-logo

We all write unit tests but the challenge we face at times is that the unit under test might be dependent on other components. And configuring other components for unit testing is definitely an overkill. Instead we can make use of Mocks in place of the other components and continue with the unit testing. To show how one can use ...

Read More »

Programming Language Job Trends Part 3 – February 2014

career-logo

Today we have the third part of the programming language job trends series. In this, we review Erlang, Groovy, Scala, Lisp, and Clojure. To recap, in part 1 we looked at Java, C++, C#, Objective C, and Visual Basic and in part 2 we had PHP, Python, JavaScript, Ruby, and PERL. You may be wondering why your favorite language is not included. In some cases, like Go and Haskell, there is too ...

Read More »

GIT & ZShell : Colorize your shell depending on your branch

git-logo

As announced in my last post I asked my colleague Tillman if I’m allowed to post his nice extension for the zshell (as you may have concluded he gives his OK! ). And here it is:               # Required to have the colour names autoload colors zsh/terminfo if [[ "$terminfo[colors]" -ge 8 ]]; then colors fi ...

Read More »

When BA means Bt Artist

software-development-2-logo

BA  means Business Analyst, but what makes for a good BA?  When do you have a good BA and when do you have someone who isn’t? Many projects fail at the beginning due to incomplete, inconsistent, and overly verbose analysis that then leads to incorrect project plans and projects heading in the wrong direction. Business analysis consists of all facets ...

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