Do you want to know how to develop your skillset to become a Java Rockstar?
Subscribe to our YouTube channel to start Rocking right now!
Gain access to the industrys' best FREE video guides including:
1. Core Java guides
2. Enterprise Java guides
3. JVM insights, configuration and troubleshooting guides
4. Java performance guides
5. Java Interview Questions
and many more ....

Spring Security – Two Security Realms in one Application

This blog post is mainly about Spring Security configuration. More specifically it is intending to show how to configure two different security realms in one web application. First security realm is intended for the browser clients. It enables us to log in with in the login page and access protected resources. Second security realm is intended for the REST web ...

Read More »

Why Recruiters Suck, And What You Can Do About It

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)

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

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

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

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?

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

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 »