#66 Tomcat Integration

andy Tue 18 Apr 2006

I was able to get a pure Fan Weblet served out of Tomcat tonight. The integration is actually quite clean. At this point, we only require sys, web, and webServlet jar files to be in the WEB-INF/lib directory for an app in Tomcat. My code so far only uses the Servlet API's - so this solution should work in any servlet container (along with Brian's change to FanClassLoader).

There are still alot of pieces to fill in - but we've proven the concept. I'd like to try this out in Resin as well, I believe they have an open source version I can download.

FYI - I am using Tomcat 5.5.16

andy Wed 24 May 2006

Same test runs in Resin unmodified. So it looks like we will be able to simply use a WAR to bootstrap any servlet engine into running Weblets - pretty cool.

andy Thu 25 May 2006

Actually, while it worked in both engines, what I was doing wasn't all that useful. After changing the code around, it still runs fine in Resin, but not in Tomcat.

Login or Signup to reply.