Home » 2012 (page 8)

Yearly Archives: 2012

Death by Redirect


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


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


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


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


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


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


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


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 »

Agile Program Management: How Will You Deliver?


One of my program management clients is organizing a program and is having trouble thinking about a delivery model that fits their program. They are transitioning to agile and are accustomed to traditional releases. When I suggested they have someone representing deployment on their core team, that was an initial shock to their system, and now they see that it ...

Read More »
Want to take your Java Skills to the next level?
Grab our programming books for FREE!
  • Save time by leveraging our field-tested solutions to common problems.
  • The books cover a wide range of topics, from JPA and JUnit, to JMeter and Android.
  • Each book comes as a standalone guide (with source code provided), so that you use it as reference.
Last Step ...

Where should we send the free eBooks?

Good Work!
To download the books, please verify your email address by following the instructions found on the email we just sent you.