0 Replies Latest reply on Jan 31, 2002 12:56 AM by Eric

    Managing servlets

    Eric Newbie

      I was wondering how to manage servlet nicely in Jboss without being "too dependent" on the servlet container.

      At first glance, declaring an MBean that would collect spawned servlets by the servlet container would be graceful. However, when looking at the way Catalina is embedded in Jboss, I see a main showstopper: servlets are loaded by a different classloader and therefore not reachable by a standard Jboss MBean. I was thinking of communicating with servlets with static methods and members in the servlet, but this won't work: servlets are not serializable and serialize complex servlets does not look simple to take my legacy.

      Am I totally out of mind or doing something wrong? Any input here?
      Thanks