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

 

Migrating Spring MVC RESTful web services to Spring 4

spring-interview-questions-answers

1   Introduction Spring 4 brings several improvements for MVC applications. In this post I will focus on restful web services and try these improvements by taking a project implemented with Spring 3.2 and upgrading it to Spring 4. The following points sum up the content of this post: Migration from Spring 3.2 to Spring 4.0 Changes in @ResponseBody and inclusion of ...

Read More »

Redundancy in Domain and Database Design

software-development-2-logo

Introduction Design a domain can be a real challenge. A lot of bad practices can easily bring you to a bad design, and in most of the cases those issue will be discovered only after the advanced phase of business logic development. Fortunately there are several approaches and “philosophies” for good design, like Domain Driven Design by Eric Evans. What ...

Read More »

Hardware Transactional Memory in Java, or why synchronized will be cool again

java-logo

Overview Hardware Transaction Memory has the potential to allow multiple threads to speculatively access the same data structure at the same time and let the cache coherence protocol determine if a conflict occurred.  HTM aims to give you the scalability of fine grain locking, the simplicity of course grain locking, and performance close to no locking at all.  If supported ...

Read More »

Java: Work out the serialVersionUID of a class

java-logo

Earlier in the week I wanted to work out the serialVersionUID of a serializable class so that I could override its toString method without breaking everything. I came across Frank Kim’s blog post which suggested using the serialver tool which comes with the JDK. I created a little Maven project to test this tool out on a very simple class: ...

Read More »

Java: Exception translation with AspectJ

aspectj-logo

Within this blog post I describe how you can use AspectJ to automatically translate one type of exception to another. The problem Sometimes we are in situations where we have to convert an exception (often thrown by a third-party library) to another type of exception. Assume you are using a persistence framework like hibernate and you do not want to ...

Read More »

Hibernate Facts: How to “assert” the SQL statement count

jboss-hibernate-logo

Introduction Hibernate simplifies CRUD operations, especially when dealing with entity graphs. But any abstraction has its price and Hibernate is no different. I’ve already talked about the importance of fetching strategy and knowing your Criteria SQL queries, but there is more you can do to rule over JPA. This post is about controlling the SQL statement count that Hibernate calls ...

Read More »

Looking for your aaS? (IaaS vs. PaaS vs. SaaS vs. BaaS)

software-development-2-logo

Our API is getting a lot of traction these days.  We enable our customers to perform lookups against our masterfile via a REST API.  Recently, we’ve also started exposing our Master Data Management (MDM) capabilities via our REST API.  This includes matching/linking, analysis, and consolidation functionality.  A customer can send us their data, we will run a sophisticated set of ...

Read More »

The Single Responsibility Principle

software-development-2-logo

Introduction In this post I would like to cover the Single Responsibility Principle (SRP). I think that this is the basis of any clean and well designed system. What is SRP? The term was introduced by Robert C. Martin. It is the ‘S’ from the SOLID principles, which are the basis for OOD. http://en.wikipedia.org/wiki/SOLID_(object-oriented_design)Here’s the PDF paper for SRP by ...

Read More »

If Managers Don’t Give Performance Reviews, What Happens?

agile-logo

There’s a great comment to my recent Management Myth: Performance Reviews Are Useful. The writer has these questions, which I have paraphrased: 1. How do bonuses work? Here’s the problem with bonuses in a team-based organization (agile or not). How can you tell who has done which work? Who actually knows who has contributed what? The team does. This is ...

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