Patent ID: 7260819

Claim:
A system including a processor for application scoping in a Java environment, comprising: means for deploying a plurality of applications, including for each application an enterprise archive file and an application deployment descriptor file that specifies resources within the enterprise archive file; a computer storage medium that includes a JNDI tree stored thereon, wherein the JNDI tree further includes a global JNDI tree, that specifies resources that are accessible system-wide by all of the applications, and a plurality of application-private JNDI sections, including an application-private JNDI section for each one of the plurality of applications, that includes means for specifying the resources that are in that application's enterprise archive file and that are private to that one application, wherein the application-private JNDI sections are created by the system at deployment time using information in the application deployment descriptor files; and means for providing a helper function that receives requests from a particular application to access a resource, and looks up the resource in the application-private JNDI section for that particular application, to access the resource in the application enterprise archive file, before looking up the resource in the global JNDI tree.