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

Advanced ListenableFuture capabilities

java-interview-questions-answers

Last time we familiarized ourselves with ListenableFuture. I promised to introduced more advanced techniques, namely transformations and chaining. Let’s start from something straightforward. Say we have our ListenableFuture<String> which we got from some asynchronous service. We also have a simple method:               Document parse(String xml) {//... We don’t need String, we need Document. One ...

Read More »

Implement Bootstrap Pagination With Spring Data And Thymeleaf

spring-interview-questions-answers

Twitter Bootstrap has a very nice pagination UI, and here I will show you how to implement it with Spring Data Web pagination function and Thymeleaf conditional evaluation features. Standard Pagination in Bootstrap Simple pagination inspired by Rdio, great for apps and search results. The large block is hard to miss, easily scalable, and provides large click areas. The original ...

Read More »

Best Practices Ever for Software Development

software-development-2-logo

Write programs for people, not computers. a program should not require its readers to hold more than a handful of facts in memory at once names should be consistent, distinctive and meaningful code style and formatting should be consistent all aspects of software development should be broken down into tasks roughly an hour long Automate repetitive tasks. rely on the ...

Read More »

My Custom Thread Pool Executor in Java

java-logo

ThreadPoolExecutor is a feature added by java concurrent api to maintain and reuse threads efficiently , so that our programs don’t have to worry about creating and destroying threads and focus on the core functionality. I have created a custom thread pool executor to get better understanding of how thread pool executor would work . Functionality : It maintains a ...

Read More »

Mobile Development Job Trends – 2013-02

career-logo

Today is the final winter job trends post, mobile development job trends. Initially, this was a look at how mobile phone development was moving, but now tablets have become a major force as well. Obviously, these trends are not . The terms included in this list were iPhone (including iOS and iPad), Android, WP7 or “Windows Phone“, BlackBerry, WebOS, Apache ...

Read More »

Devoxx UK free ticket giveaway – Roundup

jcg-logo

Fellow geeks, Our giveaway of a £350 Devoxx UK 2013 London community conference ticket has ended. You may find the original post for the competition here. The Prize Winner The lucky winner who will receive a ticket for the Devoxx UK 2013 London community conference going to take place on the 26th and 27th of March 2013 is (name is ...

Read More »

Difference between Comparator and Comparable in Java

java-logo

One of the common interview question is ‘What are differences between Comparator and Comparable’. or ‘How will you sort collection of employee objects by its id or name’.For that we can use two interfaces.i.e. Comparator and Comparable.Before we actually see differences,let me give you brief introduction of both. Comparable interface: Class whose objects to be sorted must implement this interface.In ...

Read More »

Observer design pattern in Java

java-logo

As the name suggests it is used for observing some objects.Observer watch for any change in state or property of subject.Suppose you are interested in particular object and want to get notified when its state changes then you observe that object and when any state or property change happens to that object,it get notified to you. As described by GoF: ...

Read More »

Java: Rest-assured (or Rest-Very-Easy)

jboss-resteasy-logo

Recently I had to write some Java code to consume REST services over HTTP. I’ve decided to use the Client libraries of RestEasy, the framework I use most of the time to expose REST services in Java, since it also implements the official JAX-RS specification. I am very satisfied with the annotation driven approach that the specification defines and it ...

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