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

 

Composing Java annotations

java-logo

The allowed attribute types of a Java annotations are deliberately very restrictive, however some clean composite annotation types are possible with the allowed types.                     Consider a sample annotation from the tutorial site: package annotation; @interface ClassPreamble { String author(); String[] reviewers(); } Here the author and reviewers are of String ...

Read More »

Death by Redirect

apache-tomcat-logo

It is said that the greatest harm can come from the best intentions. We recently had a case where, because of the best intentions, two @#@&*@!!^@ parties killed our servers with a single request, causing a deadlock involving all of our Tomcat instances, including all HTTP threads. Naturally, not a pleasant situation to find yourself in.   Some explanation about ...

Read More »

Tomcat Clustering Series Part 4 : Session Replication using Backup Manager

apache-tomcat-logo

Hi, this is my fourth part of the Tomcat Clustering Series. In this post we are going to discuss how to setup session replication using Backup Manager in tomcat clustering environment. Session replication makes High availability and full fail-over capability to our clustering environment.   [Check the video below for better understanding] This post is a continuation of my last ...

Read More »

Securing your Tomcat app with SSL and Spring Security

apache-tomcat-logo

If you’ve seen my last blog, you’ll know that I listed ten things that you can do with Spring Security. However, before you start using Spring Security in earnest one of the first things you really must do is to ensure that your web app uses the right transport protocol, which in this case is HTTPS – after all there’s ...

Read More »

Introducing Spring Scala project

news-logo

The Spring Scala project was first revealed to the world last October at SpringOne2GX. SpringSource now has revealed more information about it as well as how it can be used in Scala projects. Spring Scala project is here in order to bring the power of Spring framework in Scala. It combines the best of two worlds, Spring framework and Scala. ...

Read More »

A Guide To Authenticating Users With Mozilla Persona

mozilla-persona-logo

Having only twitter and facebook authentication so far, I decided to add Mozilla Persona to the list for my latest project (computoser, computer-generated music). Why?                 I like trying new things Storing passwords is a tough process, and even though I know how to do it, and even have most of the code ...

Read More »

Comprehending the Mobile Development Landscape

software-development-2-logo

There’s no shortage of mobile growth statistics, but here’s a few specific ones paint an overall picture of mobility: Roughly 87% of the worlds population has a mobile device Earlier this year, Facebook claimed an astounding 488 million mobile monthly active users Android’s user base is growing by 700,000 subscribers a day         These three facts clearly ...

Read More »

The new log4j 2.0

apache-log4j-logo

Before a while a new major version of the well known log4j logging framework was released. Since the first alpha version appeared 4 more releases happened!   You see, there is much more activity than with the predecessor log4j 1. And seriously, despite log4j 2s young age it is ways better.   This blog will give an overview on a ...

Read More »

Hazelcast Distributed Execution with Spring

hazelcast-logo

The ExecutorService feature had come with Java 5 and is under java.util.concurrent package. It extends the Executor interface and provides a thread pool functionality to execute asynchronous short tasks. Java Executor Service Types is suggested to look over basic ExecutorService implementation. Also ThreadPoolExecutor is a very useful implementation of ExecutorService interface. It extends AbstractExecutorService providing default implementations of ExecutorService execution ...

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