Whats the easiest way to setup a Java Application as a WinXP Service?

I'm trying to setup the James Mail Server as a service. Currently its starts via a bat file in "Start->All Programs->Startup".

Cheers for anyhelp.