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

 

HTTP Caching explained

software-development-2-logo

We all have noticed that opening of a webpage for the first time takes some time, but the second or third time it loads faster. This happens because whenever we visit a webpage for the first time, our browser caches the content and need not have to make a call over the network to render it. This caching ability of ...

Read More »

A command line interface for jclouds

java-interview-questions-answers

Prologue I’ve been using and contributing to jclouds for over a year now.  So far I’ve used it extensively in many areas and especially in the Fuse Ecosystem. In all its awesomeness it was lacking one thing, a tool which you can use to manage any cloud provider that jclouds provides access too. Something like the EC2 command like tool, ...

Read More »

Shell Scripting – Best Practices

devops-logo

Most programming languages have a set of “best practices” that should be followed when writing code in that language. However, I have not been able to find a comprehensive one for shell scripting so have decided to write my own based on my experience writing shell scripts over the years. A note on portability: Since I mainly write shell scripts ...

Read More »

HTTP Caching using JAX-RS

java-interview-questions-answers

In the last blog we discussed different types of caches and their use cases. In this post we will explore how we can leverage caching using HTTP response headers and the support provided by JAX-RS. Expires Header In HTTP 1.0, a simple response header called Expires would tell the browser how long it can cache an object or page. It ...

Read More »

JSF Tomcat Configuration Example

jsf-logo

JavaServer Faces (JSF) is a web application framework that is intended to simplify development integration of web-based user interfaces. It is used for developing and building server side User Interface Components and using them in a web application. JSF technology is based on the Model-View-Controller (MVC) architecture and simplifies the construction of user interfaces (UI) for server-based applications by using ...

Read More »

If Java Is Dying, It Sure Looks Awfully Healthy

java-logo

The odd, but popular, assertion that Java is dying can be made only in spite of the evidence, not because of it. A recurring prejudice in the forums where the cool kids hang out (Hacker News, Reddit, etc.) is against Java, the language. The oft-repeated sentiments are that Java is verbose and fading in popularity. While I accept the first descriptor, ...

Read More »

Add Some Entropy to Your JVM

java-logo

Being able to generate true random numbers depends on the entropy in your system. Some claim, that this can be guaranteed by fair dice roll. Others think that replacing the OpenJDK’s java.math.Random.nextInt() method with this body will help:                 public int nextInt() { return 14; } Source: http://www.redcode.nl/blog/2013/10/openjdk-and-xkcd-random-number/. But that’s absurd. We all know ...

Read More »

Crawling the Web with Cassandra and Nutch

apache-cassandra-logo

So, you want to harvest a massive amount of data from the internet?  What better storage mechanism than Cassandra?  This is easy to do with Nutch. Often people use Hbase behind Nutch.  This works, but it may not be an ideal solution if you are (or want to be) a Cassandra shop.   Fortunately, Nutch 2+ uses the Gora abstraction layer ...

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