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

Getting Started With Jedis

nosqlunit-logo

Hi, these days I started looking into Redis. I’ve heard a lot about it so I decided to have a try. Redis is defined in its websites as “an open source, advanced key-value store. It is often referred to as a data structure server since keys can contain strings, hashes, lists, sets and sorted sets“. We can find very good ...

Read More »

Too Many Parameters in Java Methods, Part 5: Method Naming

java-logo

In my previous post (Part 4 of my series on dealing with too many parameters in Java methods), I looked at method overloading as one approach to providing clients with versions of methods or constructors requiring fewer parameters. I described some disadvantages of that approach and suggested that breaking loose from method overloading to use differently named methods could at ...

Read More »

Neo4j: Exploring new data sets with help from Neo4j browser

neo4j-logo

One of the things that I’ve found difficult when looking at a new Neo4j database is working out the structure of the data it contains. I’m used to relational databases where you can easily get a list of the table and the foreign keys that allow you to join them to each other. This has traditionally been difficult when using ...

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