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

Analyze package dependencies with structure101

java-logo

One key to a stable application is a well-structured codebase. We know that we should build as many black boxes as possible, because as soon as one black box is finished, we no longer have to think about its interior. You just use the code you or another team member has written through a well-defined interface. This gives you the possibility ...

Read More »

Native Java Packaging with NetBeans 7.4

netbeans-logo

One of the new features of NetBeans 7.4 that made the “NetBeans 74 NewAndNoteworthy” page is “Native Packaging,” which is described on that page as “JavaSE projects now support creation of native bundles taking use of the native packaging technology provided by JavaFX.” I will use a very simple example to demonstrate this native packaging functionality in NetBeans 7.4. The ...

Read More »

Grails Goodness: Namespace Support for Controllers

grails-logo

In a Grails application we can organize our controllers into packages, but if we use the same name for multiple controllers, placed in different packages, then Grails cannot resolve the correct controller name. Grails ignores the package name when finding a controller by name. But with namespace support since Grails 2.3 we can have controllers with the same name, but ...

Read More »

Android Volley dynamic ListView: AsyncTask comparison

android-logo

In this post, I will describe first how to use Volley to populate dynamically a ListView, and then compare it against AsycnTask. In this post, we will invoke a remote service to get contact information in JSON format, and we populate the items inside a ListView.This simple example is very useful to understand Volley library and how we can integrate ...

Read More »

Revisiting Certifications

career-logo

The job market is currently in a lull so I’ve been talking to a few new recruiters and gotten a better sense of what certifications mean today. Your mileage may vary, of course, since this will also depend on the actual position (e.g., junior vs. senior), local market expectations, etc. First, one recruiter/placement firm emphasizes that its candidates are certified. ...

Read More »

Six things I learned for software localization

software-development-2-logo

This blog post is a personal compilation of six technology independent things I learned in the past months about software localization. A few weeks ago we finally went live with our application supporting 22 different languages. As a German development team working for a German customer we used German as our base language within the application. Our customer was responsible ...

Read More »

3 ways of handling exceptions in JUnit. Which one to choose?

junit-logo

In JUnit there are 3 popular ways of handling exceptions in your test code: try-catch idiom With JUnit rule With annotation Which one should we use and when? try-catch idiom This idiom is one of the most popular one, because it was used already in JUnit 3. @Test public void throwsExceptionWhenNegativeNumbersAreGiven() { try { calculator.add("-1,-2,3"); fail("Should throw an exception if ...

Read More »

Surfacing Hidden Design: Seeking A Better Alternative To Interrelated Mutable Fields

scala-logo

What is better, a bunch of mutable boolean fields and methods operating on them, or an explicit expression of the individual states and transitions between them? Lets study an example from a simulation of the progression of a multi-stage infection. 1. Design hidden in primitive mutable fields and methods The following class, with a number of interrelated mutable (public) fields, ...

Read More »

Save-and-Refresh With Java Web Projects

java-interview-questions-answers

How do you configure your machine in order to have save-and-refresh for Java web projects? When you ask this question to developers, the answer starts with “oh, well…”, and continues with a description of something that sort-of works. And everyone has his own way. First – why do you need this? Because doing copying and restarting the server is a ...

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