JBoss faster on Windows

On a whim I decided to migrate our development environment from being Linux-based to at least being usable on a Windows machine.

My original intentions were to package everything together with cygwin and attempt to keep things self contained.  It probably would have worked but I soon realized that it was just as easy if not easier to install the native equivalents (PostgreSQL, ant, JBoss, etc).

To make a long story short, it took a couple hours but I’ve pretty much got everything running with 95% of the unit tests passing (the unit tests that aren’t have hard coded unix paths in them).  I couldn’t get rid of cygwin completely but I’m only using it as an sftp daemon.

I haven’t done a lot of Java development lately on Windows but I had heard that it was pretty fast compared to similar Linux operating environments.

After the migration, the first thing I noticed was that an initial JBoss load and deploy of the application took ~20-30s whereas on my Linux machine (actually a dualboot on this laptop so the hardware is equivalent @ 2.00ghz/2GB) it would take ~1m40s.  Even the application seemed to run substantially faster but I haven’t had time to do much in the way of timing.  Either way, I’m pretty impressed.  Originally I did this because its an inconvience to ahve to dualboot when I’m at home and want to work, but after seeing these numbers I might actually try it out for awhile in the office.

Perhaps there’s something I can tune in the Linux environments to get the same sorts of performance improvements.


Leave a Comment




  • Pet Peeve: Don’t email my password to me in plain text You know the drill. Signup for some random service on the internet Receive a confirmation email with your account information or Forget a password for some random service ...

  • Eclipise Memory Analyzer (MAT) I must say the Eclipse Memory Analyzer looks pretty slick. There is some pretty good material over on the developers blog. Lastly, there was a talk on it ...

  • Open-source Web-based Code Review Tool: Rietveld Guido van Rossum, of Python fame, has recently released a Django-based application that enables web-based code reviews... Rietveld. It supports any language and currently can hook into Subversion repositories. You ...

  • An implementation of the JVM in Javascript? Caught this over on JavaPosse Google Groups. Essentially, some bright fellows over in Japan have developed a bytecode->javascript compiler. There's a demo floating around that took a Tetris ...

  • Facebook Chat? So it looks like the Facebook Chat service has finally started rolling out to my network (Facebook Chat has been mentioned previously). Not quite sure how ...