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

 

XML Manipulation With XML Copy Editor

software-development-2-logo

The XML document format, created in 1996, is still widely used to facilitate communication between disparate systems (though for certain implementations is somewhat being replaced by JSON). As a Java developer, I generally interface with data in an XML document via a DOM parser, but there are occasions where being able to manipulate an XML document directly is advantageous or ...

Read More »

Playing with Weld-Probe – See All of your CDI Aspects in One Place

java-interview-questions-answers

Weld 3.0.0.Alpha4 was released, while I’ve been sitting in a conference room at DevConf.CZ. More or less next to Jozef Hartinger ( @jozefhartinger) who told me about the new awesome features of this latest release a few minutes before in a shared break. There is one particular feature, that really caught my attention which is the new Weld Probe mechanism.     What ...

Read More »

Five easy steps to improve your database performance

software-development-2-logo

January 30, 2015: Based on reader feedback, section 4 “Do you have enough database connections?” has been revised. Database access is a core feature of most applications. Based on our experience, it seems that for at least 80% of all applications we see, simple database performance tuning can speed up applications significantly. Fortunately, there isn’t a lot of rocket science ...

Read More »

Refactoring to Allow Test Doubles

software-development-2-logo

Sometimes, when you make a class, it directly instantiates an object to use in its methods. For example:                   public void myFunc() { MyType object = new MyType(); object.doSomething(); this.thingy = object.getSomething(); } This is generally viewed as bad, since you’re tightly coupling your class to the instantiated one. “But,” you say, ...

Read More »

Hibernate locking patterns – How does PESSIMISTIC_FORCE_INCREMENT Lock Mode work

jboss-hibernate-logo

Introduction In my previous post, I introduced the OPTIMISTIC_FORCE_INCREMENT Lock Mode and we applied it for propagating a child entity version change to a locked parent entity. In this post, I am going to reveal the PESSIMISTIC_FORCE_INCREMENT Lock Mode and compare it with its optimistic counterpart. More alike than different As we already found out, the OPTIMISTIC_FORCE_INCREMENT Lock Mode can ...

Read More »

OpenShift v3: Getting Started with Java EE 7 using WildFly and MySQL

redhat-openshift-logo

OpenShift is Red Hat’s open source PaaS platform. OpenShift v3 (due to be released this year) will provide a holistic experience on running your microservices using Docker and Kubernetes. In a classic Red Hat way, all the work is done in the open source at OpenShift Origin. This will also drive the next major release of OpenShift Online and OpenShift ...

Read More »

Java development tools for a programming boost !

java-logo

Java developers usually try to find ways to write quality Java code, quick and efficient, to make their programming life easier. Since things change, more and more tools come up. So, below there is a list of useful tools that most developers have used, use or will surely use in the future. The list includes integrated development environments, integration tools, ...

Read More »

Writing Groovy’s groovy.util.Node (XmlParser) Content as XML

groovy-logo

Groovy‘s XmlParser makes it easy to parse an XML file, XML input stream, or XML string using one its overloaded parse methods (or parseText in the case of the String). The XML content parsed with any of these methods is made available as a groovy.util.Node instance. This blog post describes how to make the return trip and write the content ...

Read More »

Byteman – a swiss army knife for byte code manipulation

java-logo

I am working with a bunch of communities in JBoss and there is so much interesting stuff to talk about, that I can’t wrap my head around every little bit myself. This is the main reason why I am very thankful to have the opportunity to welcome guest bloggers here from time to time. Today it is Jochen Mader, who  is ...

Read More »

Do It Either Way, We’ll Refactor It Later

software-development-2-logo

It often happens that a new piece of functionality is discussed within a team and different developers have a different preference over how it should be implemented. “But what if in the future…” is a typical argument, as well as “that way it’s going to be more extensible”. Well, usually it doesn’t matter. One should rather focus on how to ...

Read More »
Want to take your Java Skills to the next level?
Grab our programming books for FREE!
  • Save time by leveraging our field-tested solutions to common problems.
  • The books cover a wide range of topics, from JPA and JUnit, to JMeter and Android.
  • Each book comes as a standalone guide (with source code provided), so that you use it as reference.
Last Step ...

Where should we send the free eBooks?

Good Work!
To download the books, please verify your email address by following the instructions found on the email we just sent you.