1 Reply Latest reply on Aug 27, 2003 12:58 AM by Adrian Brock

    Classloader and Final classes

    Erik Hansen Newbie

      I have an EJB Jar file that is supposed to share a Final class (with a bunch of static member variables) with a WAR file. It has been working fine.

      I tried to add another helper class -- that is not Final -- and deployment failed because of class not found exceptions.

      I added this new class to the JAR file (I wasn't before) and now I can deploy and use the class fine.

      My question is why am I able to use the Final class (with the static member variables) without including it in the JAR file? It IS currently included in the WAR file on the same JBoss server... Is there something about this class that allows it to be visible globally such that I don't need to include it with the EJB JAR file?