Java EE 6 Server Resin 4.0.12 - A Smoke Test

Resin 4.0 is an opensource but commercially supported, fast and easy to install Java EE 6 (WebProfile) application server. Resin is actually older than Tomcat and well known for its performance and scalability. It is actually a good interview question to ask a seasoned Java developer: "What is Resin?" :-)
The test:

  1. Download size ( 13.1 MB
  2. Installation = Unzip
  3. Disc size: 33,8 MB after installation
  4. Startup: java -jar lib/resin.jar start (and java -jar lib/resin.jar stop) Is extremely fast (~2 secs).
  5. Deployment: copy of the ServerSmokeTest.war into resin-4.0.12/webapps. App is available under: http://localhost:8080/ServerSmokeTest
  6. Full deployment of ServerSmokeTest took ~1-3 secs.
  7. ServerSmokeTest works without any modification on Glassfish v3, JBoss 6m5, SIwpas-1.0.0-CR4 and now resin-4.0.12.
  8. Tested were: Stereotypes (encapsulating @Named and @RequestScoped), @RequestScoped, @Named CDI-Beans, Injection of EJB 3.1 (no interface view), into CDI bean, @Singleton,@Stateless, CDI-events, POJO-injection, Interceptors
  9. Resin comes with a nice web admin UI, online (http://localhost:8080/resin-doc/), and PDF documentation
  10. Interesting: Resin comes with own Contexts and Dependency Injection implementation (CDI) - CanDI

Please keep in mind that the ServerSmokeTest is just a Smoke Test and not a TCK.
For more details see: Commercial 24x7 support seems to be available for resin-4.0.12 as well.
The overall impression - very good!


Adam, what's the computer you are testing it on? Do you have an HDD or SSD? How much RAM do you have? It's not as fast on my computer.

Posted by Ben on October 27, 2010 at 07:42 AM CEST #


the actual performance was hard to measure -> the application was available after switching from the Terminal to the browser. I guess the deployment took even less than 3 secs. Startup was equally fast.

I tested it on a standard MBP. I'm in the workshop right now - the Glassfish v3 deployment times on my machine are about 300ms faster, than on Windows (on windows it takes about 1 sec, on my notebook about 500-700ms).

How fast / slow is it on your machine? Did it out-of-the-box worked?



Posted by on October 27, 2010 at 11:50 AM CEST #

Just want to share my (similar) experiences with Resin.

I agree that Resin is a gem in the Java EE space. I was going to recommend that my company purchase the support contract, but due to a bug/misfeature (, I had to switch back to Glassfish for now.

In my non-scientific tests, I found CandDI to outperform Weld significantly in certain situations (see The app server also felt like much less of a performance hog than JBOSS or Glassfish on my machine, but that is of course very subjective.

I am curious how well CanDI will play with Weld Extensions and Seam 3 in general. I believe Seam 3 aims to be a portable set of CDI extensions, so in theory they should all work together, but it would be nice to see some confirmation of this.

I'm also very happy to see the progress of JavaEE 6 app servers in general. In addition to Resin, Glassfish 3.1 and Jboss are becoming seriously stable and a pleasure to work with. This is certainly a very exciting space to be in! :)

Posted by Francois Swiegers on October 27, 2010 at 04:19 PM CEST #


Posted by on June 28, 2011 at 05:55 PM CEST #

Post a Comment:
  • HTML Syntax: NOT allowed
...the last 150 posts
...the last 10 comments