IP Library Granted Patent US 7,984,437
Granted Patent B2
US 7,984,437 · App. 11/841,354 · Granted Jul 19, 2011

System and method for software application scoping

Assignee: Oracle International Corporation
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 7,984,437
App. No.
11/841,354
Granted
Jul 19, 2011
Kind
B2
Abstract

A system and method for application scoping that can be added to the application model for an application server, making it less global-centric and more application-centric. The JNDI tree is configured to allow for an application-private JNDI section. This private JNDI section then acts as a private data repository for the application. Resources that are needed by the application can be stored in the application-specific JNDI tree, and thus “scoped” to that particular application. As applications are added to the system, they can be specified in this way. The overall result is fewer changes at the system-wide or global level. The application scoping features provided by the invention include: Use of application scoped JNDI tree; Application Scoped JDBC DataSources; and Application Scoped Security. Application scoped resources provide two primary advantages—Security, in that resources owned by one application can't be used by another; and Simplified packaging and configuration.

Claims (24)

1. A system for application scoping in a server environment, comprising:

an application server, together with a plurality of applications deployed on the application server, including for each application an enterprise archive file and a deployment descriptor file that specifies resources within the enterprise archive file;

a non-transitory computer readable medium that includes a directory tree stored thereon, wherein the directory tree further includes

a global directory tree, that includes means for specifying resources that are accessible system-wide by all of the applications, and

a plurality of application-private directory trees, including an application-private directory tree for each one of the plurality of applications, that specifies the resources in that application's enterprise archive file that are private to that one application, wherein the application-private directory trees are created by the system at deployment time using information in the application deployment descriptor files; and

wherein the application server receives requests to access a resource, and looks up the resource in the application-private directory tree for that particular application, to provide access the resource in the application enterprise archive file.

2. The system of claim 1 wherein the application server allows applications to advertise services so that other components can access those services.

3. The system of claim 2 wherein the system includes an application-scoped pool of resources configured within and initialized with the application.

4. The system of claim 3 wherein the application-scoped pool of resources provides access to a database.

5. The system of claim 1 , wherein each application component's naming context is defined as the application is being initialized, based on information in the application deployment descriptor file and in descriptor files in other modules that are part of the application.

6. The system of claim 5 , wherein each of a plurality of application servers maintain their own local instance of the naming context, at that server.

7. The system of claim 1 , wherein the application is a Java application, and wherein the directory trees are JNDI trees.

8. A computer executable method for application scoping, comprising the steps of:

deploying a plurality of applications to an application server, including for each application an enterprise archive file and a deployment descriptor file that specifies resources within the enterprise archive file;

storing in a non-transitory computer readable medium a directory tree, wherein the directory tree further includes

a global directory tree, that includes means for specifying resources that are accessible system-wide by all of the applications, and

a plurality of application-private directory trees, including an application-private directory tree for each one of the plurality of applications, that specifies the resources in that application's enterprise archive file that are private to that one application, wherein the application-private directory trees are created by the system at deployment time using information in the application deployment descriptor files; and

receiving requests to access a resource, and looking up the resource in the application-private directory tree for that particular application, to provide access the resource in the application enterprise archive file.

9. The computer executable method of claim 8 wherein the application server allows applications to advertise services so that other components can access those services.

10. The computer executable method of claim 9 wherein the system includes an application-scoped pool of resources configured within and initialized with the application.

11. The computer executable method of claim 10 wherein the application-scoped pool of resources provides access to a database.

12. The computer executable method of claim 8 , wherein each application component's naming context is defined as the application is being initialized, based on information in the application deployment descriptor file and in descriptor files in other modules that are part of the application.

13. The computer executable method of claim 12 , wherein each of a plurality of application servers maintain their own local instance of the naming context, at that server.

14. The computer executable method of claim 8 , wherein the application is a Java application, and wherein the directory trees are JNDI trees.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Oct 15, 2010
From: BEA SYSTEMS, INC.
To: ORACLE INTERNATIONAL CORPORATION
Reel/Frame 025192/0244 →
Continuity (3)
Continuation 10369892 · Feb 20, 2003
Provisional Application 60358787 · Feb 22, 2002
Related Publication 20070288920A1 · Dec 13, 2007