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

 

Observer Design Pattern in Java – Example Tutorial

java-logo

Observer pattern is one of the behavioral design pattern. Observer design pattern is useful when you are interested in the state of an object and want to get notified whenever there is any change. In observer pattern, the object that watch on the state of another object are called Observer and the object that is being watched is called Subject. ...

Read More »

Custom Deserializer in Jackson and validation

json-logo

tl;dr: it is important to add input validation to custom json deserializers in Jackson. In RHQ we make use of Json parsing in a few places – be it directly in the as7/Wildfly plugin, be it in the REST-api indirectly via RESTEasy 2.3.5, that already does the heavy lifting. Now we have a bean Link that looks like:     ...

Read More »

Servlet 3.0 Overview

java-interview-questions-answers

Servlet 3.0 – has a bunch of ground breaking features that will ultimately change how developers will code and write JEE Web Applications – some might say that its conventions defy most of our understanding about how things “should” work in theory but thats one of the beauty of innovation and continuous improvement; challenging the convention and give a better ...

Read More »

The Purpose of Documentation

agile-logo

When it comes to documentation the Agile Manifesto says: We have come to value working software over comprehensive documentation And I agree. If you can choose between working software and documentation I choose the software any time. But as many noticed before me people seem to read the quote above as We don’t value comprehensive documentation In other cases there ...

Read More »

Transactional caching for Camel with Infinispan

apache-camel-logo

Some time ago I created a Redis connector for Camel. Redis is awesome key-value store (and a lot more) but then I needed a cache running in the same JVM as Camel and noticed Infinispan which has just switched to ASL v2. There are already other connectors in Camel for caching on the JVM, like Hazelcast and EHCache, but if ...

Read More »

Iterator Design Pattern in Java – Example Tutorial

java-logo

Iterator pattern in one of the behavioral pattern and it’s used to provide a standard way to traverse through a group of Objects. Iterator pattern is widely used in Java Collection Framework where Iterator interface provides methods for traversing through a collection. According to GoF, iterator design pattern intent is: Provides a way to access the elements of an aggregate ...

Read More »

Android Custom Grid View Example with Image and Text

android-logo

Hello Friends, Today I am sharing very simple useful post “Custom Grid View in Android”. All the code are given below just copy paste and enjoy. You can download zip folder from github also… MainActivity.java package com.manish.customgridview; import java.util.ArrayList; import android.os.Bundle; import android.app.Activity; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.widget.GridView; /** * * @author manish.s * */ public class MainActivity extends ...

Read More »

Broken Glass : Diagnosing Production Cassandra Issues

apache-cassandra-logo

I just past my second year anniversary at Health Market Science (HMS), and we’ve been working with Cassandra for almost the entirety of my career here.   In that time, we have had remarkably few problems with it.  Like few other technologies I’ve worked with, Cassandra “just works”. But, as with *every* technology I’ve ever worked with, you eventually have ...

Read More »

Performance tests for slow networks with tc

devops-logo

tl;dr: you can easily replicate slow network conditions which makes it easier to performance test them. Smartphones have made both mobile websites and apps that have to connect in mobile situations a lot more common. There’s also a lot of value to be had in servicing these kind of customers and in recent years we’ve arrived at the stage where ...

Read More »

The Pokayoke Software Development Guide

software-development-2-logo

Aaron Swartz has written up a guide for software development from idea to launch. He calls it “The Pokayoke Guide to Developing Software”. I was unfamiliar with the word “Pokayoke”, but it means mistake-proofing, i.e., “eliminate product defects by preventing, correcting, or drawing attention to human errors as they occur”. Developing software from zero to use by actual customers 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