2 Replies Latest reply: Jul 25, 2012 3:00 AM by gimbal2 RSS

    JEE servers classloading strategies

    800839
      Hi,

      What are the two types of jee servers classloading strategies available? Is it uses JVM classloaders as well?

      Thanks.
        • 1. Re: JEE servers classloading strategies
          800839
          Guys any update on this?
          • 2. Re: JEE servers classloading strategies
            gimbal2
            What are the two types of jee servers classloading strategies available?
            There are no set strategies. Each server is developed by different companies and is built using unique code. The strategies differ even between versions of servers; JBoss 6 for example uses a very complex classloader hierarchy model with support for inheritance while JBoss 7 has switched to using modules, optionally OSGi ones.
            Is it uses JVM classloaders as well?
            You can't build a Java application without using the JVM classloaders in some way or another. At best the usage can be hidden so you don't actually touch a classloader in your code - but they're still used as that's just how Java functions.