Tuesday, 24 July 2012

Configuring VisualVM with tomcat + linux

VisualVM is a tool that provides a visual interface for viewing detailed information about Java applications while they are running on a Java Virtual Machine (JVM), and for troubleshooting and profiling these applications.

Thursday, 12 July 2012

Spring Security authentication failure event


For security reasons you need to limit failure login attempts in your application, simply you can do it using counter, that updates a count in the DB. Next I will show how to handle this event in Spring Security

Tuesday, 26 June 2012

Java: MongoDB simple example


MongoDB - is an open source document-oriented NoSQL database system. Next I will create simple servlet example that's uses MongoDB. 

Friday, 8 June 2012

Java: Generate Microsoft Word document


First you need download Apache POI - the Java API for Microsoft Documents, and next this fragment of code

Wednesday, 11 April 2012

Java Concurrent Animated


This project is a series of animations each illustrating the coding and usage of a component in the java concurrent library.