Reverberations

News, Views, Rants and Raves About Technology and More

Jetty/JBoss Code Redeployment Slow on Eclipse

with one comment

I’ve downloaded Jetty Server Adapter for Eclipse recently. Jetty is supposedly very nimble Java-based HTTP Server and Servlet Container. I’m not sure if I’m doing it wrong, but I find code redeployment very slow and buggy when using Jetty on Eclipse. Even Jboss, another heavy duty application server, is bad on Eclipse with 15-25 second redeployment time.

So far I’ve found only Tomcat to be suitable for development with almost instant redeployment.

Another nuisance is that Jetty relies on the presence of PID file ( on my RHEL 4.2) to determine whether it’s running or not, which is, more often than not, inaccurate as I usually close Eclipse without shutting down Jetty server. Tomcat is much more stable in that sense. However, Jetty seems much more exciting to develop “for” (as opposed to “on”) as it has continuations, a very clever hack/feature.

I suppose that the preferred way to develop on Jetty is to use Maven, and Jetty Server Adapter will improve with future releases of WTP/Eclipse milestones.

Written by Brajesh

December 19, 2007 at 11:18 am

One Response

Subscribe to comments with RSS.

  1. Yes, I use the JBoss server adapter for eclipse and I found the redeployments to be very slow…
    In my case it takes several minutes with eclipse vs less than a minute without eclipse…
    Any ideas to speed up the deployments?

    Thanks,
    Sreekar.

    Sreekar

    March 31, 2009 at 4:49 pm


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: