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

Why Recruiters Suck, And What You Can Do About It

career-logo

Question: When is the last time you read a tweet like this? Answer: Never, because it’s never happened. I’m a tech recruiter. Please, hold your applause. In the past few weeks I’ve read quite a bit of chatter (tweets, blogs, etc.) from technologists being hounded by recruiters, and the mention of these incidents is never framed in a positive way. ...

Read More »

What Scrum, Kanban, RUP, and ITIL All Have In Common (which causes them to fail)

scrumalliance-logo

Putting aside the considerable differences in these methods, RUP, CMMI, Scrum, etc are foremost all products, built using a traditional product development approach. This means they have users. Coaches, Managers, Developers, and other knowledge workers who desperately want to achieve better outcomes delivering business technology solutions. These folks read the case studies that accompany these methods and dream of emulating ...

Read More »

Java Concurrency – CyclicBarrier Example

java-logo

CyclicBarrier in Java is a synchronizer introduced in JDK 5 on java.util.Concurrent package along with other concurrent utility like Counting Semaphore, BlockingQueue, ConcurrentHashMap etc. CyclicBarrier is similar to CountDownLatch which we have seen in last article and allows multiple threads to wait for each other (barrier) before proceeding. Also difference between CoundDownLatch and CyclicBarrier is a also very popular multi-threading ...

Read More »

Liferay – Simple Theme Development

liferay-logo

Indeed, Liferay has come a long way with its 6.1 version, that fully supports JSF and IceFaces. I’m still trying to learn the ropes of it as I aim to have it the standard collaboration tool in our team. Good Software Application solve problems, but great ones not just solves the problem, but intuitively give users the look and feel of ...

Read More »

How to change logging level in runtime

apache-log4j-logo

Changing the log logging level in runtime is important mainly in production environment where you might want to have debug logging for limited amount of time. Well, changing the root logger is very simple – assuming you have an input parameter with the wanted logging level simply get the root logger and set by the input logging level, such as: ...

Read More »

Why are some bugs harder to fix than others?

software-development-2-logo

There are a lot of different factors that impact how long it could take to find and fix a bug. Some of them we’ve already gone over. How good the bug report is – can you understand it, does it include steps to reproduce the problem. And how old the report is – how much could have changed since then, ...

Read More »

GlassFish JDBC Security with Salted Passwords on MySQL

oracle-glassfish-logo

One of the most successful posts on this blog is my post about setting up a JDBC Security Realm with form based authentication on GlassFish. Some comments on this post made me realize that there is more to do to actually make this secure as it should be. Security out of the box Picture: TheKenChan (CC BY-NC 2.0) GlassFish comes with a ...

Read More »

JAXB – No Annotations Required

java-interview-questions-answers

There appears to be a misconception that annotations are required on the model in order to use a JAXB (JSR-222) implementation. The truth is that JAXB is configuration by exception, so annotations are only required when you want to override default behaviour. In this example I’ll demonstrate how to use JAXB without providing any metadata. Domain Model I will use ...

Read More »

Answering with Mockito

mockito-logo

When you are writing unit tests, you must keep in mind to not have dependencies to external components. To avoid this we use mock frameworks which for me the easiest one to use is Mockito. In this post we are going to see an ‘advanced’ technique used in Mockito to return same argument instance on a mocked method using Answer ...

Read More »
Do you want to know how to develop your skillset and become a ...

Subscribe to our newsletter to start Rocking right now!

To get you started we give you our best selling eBooks for FREE!
Get ready to Rock!
To download the books, please verify your email address by following the instructions found on the email we just sent you.

THANK YOU!

Close