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

Best Must-Read Books for Software Engineers

software-development-2-logo

Here are the CodeBuild selection of must-read software engineering books. Books are grouped according to their content with some description.   Reference Books These Robert C. Martin and Gang of Four books are very fundamental OOP resources for every software engineer.   Coding Perfection These Steve McConnell, Robert C. Martin and Joshua Bloch books are very helpful with increasing your ...

Read More »

Signing Java Code

java-logo

In a previous post, we discussed how to secure mobile code. One of the measures mentioned was signing code. This post explores how that works for Java programs. Digital Signatures The basis for digital signatures is cryptography, specifically, public key cryptography. We use a set of cryptographic keys: a private and a public key. The private key is used to ...

Read More »

Back to Basics – good comments are targeted comments

software-development-2-logo

I can’t think of a single person who enjoys writing comments in code. I don’t, my friends and colleagues don’t, and I’m pretty sure there isn’t a meetup group for fans of it. Outside of code that I write for blog posts, I can pretty much guarantee there are only place where I write comments is in interfaces. The simple ...

Read More »

Spring MVC Error Handling Example

spring-interview-questions-answers

This post describes the different techniques to perform error handling in Spring MVC 3. The code is available on GitHub in the Spring-MVC-Error-Handling directory. It is based on the Spring MVC With Annotations examples. Handling Exceptions Before Spring 3 Before Spring 3, exceptions were handled with HandlerExceptionResolvers. This interface defines a single method:       ModelAndView resolveException( HttpServletRequest request, HttpServletResponse response, Object ...

Read More »

Investigating Deadlocks – Part 5: Using Explicit Locking

java-logo

In my last blog I looked at fixing my broken, deadlocking balance transfer sample code using both Java’s traditional synchronized keyword and lock ordering. There is, however, an alternative method known as explicit locking. The idea here of calling a locking mechanism explicit rather than implicit is that the explicit means that it is not part of the Java language and that classes have ...

Read More »

MongoDB From the Trenches: Masochistic Embedded Collections

mongodb-logo

MongoDB supports rich documents that can include, among other things, embedded documents. This feature embodies a has-a relationship quite nicely and can, if modeled properly, reduce the number of finds required to ascertain certain data as there are no joins in Mongo. As classic example of embedding a collection of documents inside a parent document is contact addresses (i.e. mailing, ...

Read More »

Apache OpenOffice vs LibreOffice: Make love, not war.

apache-openoffice-logo

Before a good while something terrible happened at Oracle. The result was that a lot of developers made a fork of OpenOffice.org and called it LibreOffice from that day on. We can be glad about that. It is my personal opinion that without this fork Oracle would not have donated OpenOffice.org to the Apache Software Foundation to become Apache OpenOffice. ...

Read More »

Running Drools 5.4.0 Final as a JBoss AS 7 module

jboss-drools-logo

Drools 5 introduces the Business Logic integration Platform which provides a unified and integrated platform for Rules, Workflow and Event Processing. It’s been designed from the ground up so that each aspect is a first class citizen, with no compromises. Drools 5 has splitted up into 4 main sub projects: Drools Guvnor (BRMS/BPMS) Drools Expert (rule engine) Drools Flow (process/workflow) ...

Read More »

Deep diving into Cloning

java-logo

Before we proceed with the cloning concept let’s refresh our basics with the object creation concept. When the objects are created using the new operator the objects gets the memory allocation in the Heap. In Java ideally objects are modified through reference variable only i.e. only the memory address of the object is copied and hence any changes in the ...

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