Home » 2012

Yearly Archives: 2012

Java Thread: retained memory analysis

java-interview-questions-answers

This article will provide you with a tutorial allowing you to determine how much and where Java heap space is retained from your active application Java threads. A true case study from an Oracle Weblogic 10.0 production environment will be presented in order for you to better understand the analysis process. We will also attempt to demonstrate that excessive garbage ...

Read More »

Top 10 JavaCodeGeeks posts for 2012

jcg-logo

Following the tradition, we are once again compiling the top Java Code Geeks for the year that is ending. As with the Top 10 JavaCodeGeeks posts for 2010 and the Top 10 JavaCodeGeeks posts for 2011, we have created a compilation with the most popular posts for this year. The posts ranking was performed based on the absolute number of ...

Read More »

Easier Multi-Field Validation with JSF 2.0

jsf-logo

One of the most frequent needs when developing application forms is multi-field validation (or cross-field, but I’m not using this term because when I put it on Google I actually got some post-war pictures). I’m talking about situations where we need to compare whether an initial date is earlier than an end date or a value is lower than another ...

Read More »

The Differences Between Test-First Programming and Test-Driven Development

software-development-2-logo

There seems to be some confusion between Test-First Programming and Test-Driven Development (TDD). This post explains that merely writing the tests before the code doesn’t necessarily make it TDD.             Similarities Between Test-First Programming and Test-Driven Development It’s not hard to see why people would confuse the two, since they have many things in common. ...

Read More »

Java – The 2012 Review and Future Predictions

java-logo

This post will focus on the events big and small that occurred in 2012 and also take a look at some future predictions for 2013. Some of the predictions will be honest guesses, others…. well lets just say that my Diabolical side will have taken over . So without further adieu lets look at the year that was 2012 for ...

Read More »

Waiting for the right moment – in integration testing

java-interview-questions-answers

When you have to test multi-threaded programs, there is always the need to wait until the system arrives at a particular state, at which point the test can verify that the proper state has been reached. The usual way to do it is to insert a ‘probe’ in the system which will signal a synchronization primitive (like a Semaphore) and ...

Read More »

Lucene – Quickly add Index and Search Capability

apache-lucene-logo

What is Lucene? Apache LuceneTM is a high-performance, full-featured text search engine library written entirely in Java. It is a technology suitable for nearly any application that requires full-text search, especially cross-platform. Lucene can plain text, integers, index PDF, Office Documents. etc., How Lucene enables Faster Search? Lucence creates something called Inverted Index. Normally we map document -> terms in ...

Read More »

Collection creation and Immutability with Google Guava

java-interview-questions-answers

So, thought I’d take a look at some of the collection creation patterns Guava offers, and also some of the Immutable collection types it offers. If you’ve not seen my previous posts, you may want to start here: Guava part 1 – MultiMaps Guava part 2 – BiMaps Guava part 3 – MultiSets   create methods All of Guava’s collection ...

Read More »

Java EE 6 Web Profile. On the cloud. Easy.

java-interview-questions-answers

Java SE is ok. Java EE is evil. That’s what I always used to think. Well, not anymore, now. Let me share my experience. Some weeks ago, I started thinking about porting a legacy spring+hibernate+tomcat application to a new platform : SAP NetWeaver Cloud. I known what you geeks out there are thinking : this post is getting worse. It ...

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