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


Hibernate 4.3 ORM Tool


Hibernate has recently released the final version of Hibernate ORM 4.3, a Java-based ORM framework that also supports stored procedures and entity graphs. ORM Tool Hibernate 4.3 Released, Implementing JPA 2.1 Specification introduces the main features of the release, which are in short: Support for working with stored procedure and function calls, across both providers and database vendors. UPDATE and ...

Read More »

How to write one of the fastest expression evaluators in Java


Granted, the title is a bit of an attention grabber, but nevertheless true (You course you never trust a benchmark you didn’t fake yourself – but that’s another story). So last week I was looking for a small and usable library to evaluate mathematical expressions. I almost directly stumbled upon this stackoverflow post. The recommended library (Expr) is really quite ...

Read More »

The signature of reduce() in Ceylon


The Iterable interface defines a method named fold() with this signature:                         Result fold<Result>(Result initial, Result accumulating(Result partial, Element elem)) Where Element is the element type of the Iterable. This method accepts an initial value, and an accumulator function which is applied to each element of the iterable object ...

Read More »

AmazonSQS and Spring for messaging queue


The next post will demonstrate how to use Spring JMS templates and DLMC’S together with AmazonSQS API in order to place message queue. Why would I use Amazon SQS? Easy to configure Cross-platfom support Earn from your self redundant, conjunction and scaling worries.         Why I wouldn’t use Amazon SQS? If the latency requirement demands less than  ~20 ...

Read More »

Big Data the ‘reactive’ way


A metatrend going on in the IT industry is a shift from query-based, batch oriented systems to (soft) realtime updated systems. While this is associated with financial trading only, there are many other examples such as “Just-In-Time”-logistic systems, flight companies doing realtime pricing of passenger seats based on demand and load, C2C auction system like EBay, real time traffic control ...

Read More »

Automatically converting password hashes in Grails spring-security-core


I was looking at this Stack Overflow question about converting password hashes and realized that it’s possible and rather convenient when using the spring-security-core plugin to automate the process. To start, we’ll need a PasswordEncoder that can work with both algorithms. Here I’m assuming that you’ll be converting from SHA-256 (optionally with a salt) to bcrypt, but the general approach ...

Read More »

Event Emitter in node.js


Event emitter from one class triggers an event to which other functions from other classes can listen. Libraries offer implementations of a framework for publishing events and listening to them. On Node many objects can emit events. The .on method in a Event Emitter – We can listen for these events by calling one of these objects “on” method, passing ...

Read More »

An Annotation Nightmare


                      @XmlElementWrapper(name="orders") @XmlJavaTypeAdapter(OrderJaxbAdapter.class) @XmlElements({ @XmlElement(name="order_2",type=Order2.class), @XmlElement(name="old_order",type=OldOrder.class) }) @JsonIgnore @JsonProperty @NotNull @ManyToMany @Fetch(FetchMode.SUBSELECT) @JoinTable( name = "customer_order", joinColumns = { @JoinColumn(name = "customer_id", referencedColumnName = "id") }, inverseJoinColumns = { @JoinColumn(name = "order_id", referencedColumnName = "id") } ) private List orders; Wait. What? Is this really what we have come to? ...

Read More »

Project Student: Persistence With Spring Data


This is part of Project Student. Other posts are Webservice Client With Jersey, Webservice Server with Jersey and Business Layer. The final layer of the RESTful webapp onion is the persistence layer. There are two philosophies for persistence layers. One camp sees the database as a simple store and wants to keep this layer extremely thin. The other camp knows ...

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.