JVM and Tomcat 6 Tuning new Grails application with legacy Java webservice

June 17th, 2010

Recently I ran into issues where a web application running on Tomcat 6.0 was crashing due to load spikes in requests. What I noticed in the diagrams below, was there was no issue with CPU or Memory, but rather issues with GC cycles and high Thread count/spike causing the Tomcat instance to become unresponsive and [...]

  • Share/Bookmark

Read full article | 1 Comment »

My road to the SCJP Sun Certified Programmer for Java 6 Exam 310-065

April 23rd, 2010

I just wanted to relay my thoughts, experiences, and lessons learned on my road to getting Sun Certified as an SCJP 6 Java Programmer. First off, I have been working with Java since 1996 and just now, have I finally undertaken this challenge. I keep seeing a repeated theme that the SCJP does not really [...]

  • Share/Bookmark

Read full article | 6 Comments »

Using WebServiceTemplate and HTTPClient to enable Webservice read timeout

April 9th, 2010

I was tasked to implement read timeouts in my Spring webservices. I need to be able to implement this on dozens of webservices fairly easy and be maintainable. I also wanted to use Groovy Spring DSL for my bean declarations, and have my timeout configurable, and Integration testable.

  • Share/Bookmark

Read full article | 1 Comment »

Composite Primary Key pattern in Hibernate

November 25th, 2009

I was trying to create a relationship without using surrogate primary keys the other day in Hibernate. I started searching around for examples, but did not find many examples that used Annotations.

  • Share/Bookmark

Read full article | No Comments »

Cannot locate BeanDefinitionParser for element

September 29th, 2009

When I upgraded from Camel 2.0-SNAPSHOT to 2.0.0, while I was using Spring 2.5.6, I started getting the following errors on deployment: error: org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Cannot locate BeanDefinitionParser for element [jta-transaction-manager]

  • Share/Bookmark

Read full article | No Comments »