Archive for the ‘Java’ Category

Running Roo Applications in Tomcat 5.5

Monday, April 19th, 2010

I used Spring Roo for a small, public web application recently, and all went well until I attempted to deploy it on a hosted VPS. The application didn't deploy, and I got the dreaded error message: java.lang.NoClassDefFoundError: javax/el/ValueExpression A little poking around led me to this Roo bug report that details the problem. ...

Integration Testing Applications With System Time Dependencies

Tuesday, March 23rd, 2010

I'm about to start working on an existing web application that has business rules concerning the timelines of processes. Things like "when X happens, if it's been more than 14 days since Y happened, do Z". Believe it or not, in the past, this has been integration-tested by doing Y, waiting 14 ...

Keeping It DRY – Automation of Repetitive Tasks

Friday, February 26th, 2010

I'm woking on a "legacy" Java app that's written in Struts and uses EJBs. No Jetty or Tomcat for me - gotta use a "real" J2EE container - in this case, JBoss. Unfortunately, I haven't figured out a good way to run JBoss against my sources, as I would if using ...

Switching J2EE Application Servers

Saturday, September 12th, 2009

I've seen a lot of articles lately that talk about the nuts and bolts of moving from one J2EE server to another. I've also seen that a number of companies are struggling with this issue, sometimes even just when upgrading to a newer version from the same vendor. Umm...folks...J2EE is supposed to ...

MULE Classpath

Thursday, August 13th, 2009

Working with the Mule open source ESB project today, I was struck by the need to deploy project-specific jar files to Mule's lib/user directory. This is fine if your Mule installation only needs to support a single instance of Mule, or multiple instances using the same jars. Mulesource's recommendation for supporting ...

JavaOne 2009 Photos

Tuesday, June 30th, 2009

Here's some pictures of the JavaOne 2009 conference at the Moscone Center in San Fransisco, CA.  

Default (All-Java) Tomcat Faster Than Using Apache Portable Runtime?

Monday, June 8th, 2009

I got a request from a client for performance-tuning Tomcat. Typically, I don't really do a lot performance tuning for Tomcat - usually, I front it with Apache HTTPD, and spend most of my performance tuning efforts on the application, not the server. I got thinking about it, though, and remembered that ...

JavaOne 2009 – Thur. 6/4

Thursday, June 4th, 2009

This morning's general session was the Microsoft keynote. Microsoft and Sun made a pretty good attempt at trying to convince the crowd the the two companies are friendly competitors, and the interoperability is the highest goal for both. It looks like they may indeed be making inroads in the data center ...

JavaOne 2009 – Wed. 6/3 – Afternoon

Thursday, June 4th, 2009

On Wednesday afternoon, I attended the session, "Creating Compelling User Experiences", by Ben Galbraith from Mozilla. It was a very interesting session, with lots of quotes from user interface luminaries. My favorite was a quote from usability expert Louis C. K. - "Everything's amazing, and nobody's happy". My take-aways were: Good back-end software ...

JavaOne 2009 – Wed, 6/3 – Morning

Wednesday, June 3rd, 2009

First, an observation - today, I decided to stop lugging my laptop around, and left it at the hotel - I'm fully dependent on the SunRay terminals today - the wireless connectivity left a lot to be desired yesterday, anyway I'm sure that the virtualization network is under maximum load right ...