# US 2012/0254436 A1 · Integration of an application server and data grid

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2012/0254436 A1
- Document ID: US20120254436A1
- Status: Published application
- Kind: A1
- Application number: 13/078,610
- Filed: 2011-04-01
- Published: 2012-10-04
- Earliest claimed: 2011-04-01
- Assignees: Oracle International Corporation
- Inventors: Ballav Bihani; Ioannis Cosmadopoulos
- Web page: https://patentgrep.com/patent/US20120254436A1

## CPC

- G06F 9/06: using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F 9/54: Interprogram communication
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Described herein are systems and methods for providing a software application executing on an application server direct access to at least one of a distributed data or distributed service provided by a data grid. The system includes an application server having software applications executing thereon, and a data grid including a plurality of nodes, wherein each of the plurality of nodes is adapted to provide at least one of a distributed data or distributed service. A resource configuration specified by one of a resource annotation added in the software applications or a resource reference defined in a deployment descriptor of said software applications is provided. Upon deployment of the software applications, the resource configuration is used by the system to provide the software applications direct access the distributed data and the distributed services provided by the data grid.

## Claims

### Claim 1

A system for providing a software application executing on an application server direct access to at least one of a distributed data or distributed service provided by a data grid, comprising:
a computer which includes an application server, wherein the application server includes one or more software applications executing thereon,
a data grid which includes a plurality of nodes, wherein each of the plurality of nodes is adapted to provide at least one of a distributed data or distributed service;
a resource configuration specified by one of a resource annotation added in the one or more software applications or a resource reference defined in a deployment descriptor of said one or more software applications, wherein the resource configuration specifies
a named resource provided by the application server and accessible to the one or more software applications, and
a mapping between the named resource and one or more of the distributed data or distributed services provided by the data grid upon deployment;
wherein each of the one or more software applications, as deployed, uses the resource configuration to thereafter directly access the distributed data and the distributed services provided by the data grid.

### Claim 2 (depends on 1)

The system of claim 1 wherein the application server is a WebLogic server instance.

### Claim 3 (depends on 1)

The system of claim 1 wherein the data grid is a Coherence data grid.

### Claim 4 (depends on 1)

The system of claim 1 wherein when the resource configuration is specified using a resource annotation added in the one or more software applications, upon deployment of the one or more software applications, the application server
interprets the resource annotation in each software application; and
modifies the operation of each software application by injecting code reflecting the mapping between the named resource and one or more of the distributed data or distributed services in the data grid, as specified by the resource annotation.

### Claim 5 (depends on 1)

The system of claim 1 wherein when the resource configuration is specified using a resource reference defined in a deployment descriptor of the one or more software applications, upon deployment of the one or more software applications, the application server
reads the deployment descriptor of each software application;
interprets the resource reference in the deployment descriptor of each software application to identify a mapping between the named resource and the one or more of the distributed data or distributed services; and
modifies the operation of each software applications to use a naming and directory interface tree to access the one or more of the distributed data or distributed services in the data grid based on the identified mapping.

### Claim 6 (depends on 1)

The system of claim 1 wherein when resource configuration is specified using the resource reference, a mapping between the named resource and one or more of the distributed data or distributed services is performed using a naming and directory interface tree.

### Claim 7

A method of providing a software application executing on an application server direct access to at least one of a distributed data or distributed service provided by a data grid, comprising:
maintaining a connection to a data grid which includes a plurality of nodes operating as a cluster, wherein each of the plurality of nodes is adapted to provide at least one of a distributed data or distributed service;
specifying a resource configuration as one of a resource annotation added in a software application or a resource reference defined in a deployment descriptor of said software application, wherein the resource configuration specifies
a named resource accessible to the software application, and
a mapping between the named resource and one or more of the distributed data or distributed services provided by the data grid upon deployment of the software application;
directly accessing by the software application one or more of the distributed data or distributed services provided by the data grid.

### Claim 8 (depends on 7)

The method of claim 7 wherein the data grid is a Coherence data grid.

### Claim 9 (depends on 7)

The method of claim 7 wherein the resource annotation is @Resource annotation.

### Claim 10 (depends on 7)

The method of claim 7 further comprising specifying the resource configuration using a resource annotation added in the software application, wherein upon deployment of the software application
interpreting the resource annotation in the software application; and
modifying the operation of the software application by injecting code reflecting the mapping between the named resource and one or more of the distributed data or distributed services in the data grid, as specified by the resource annotation.

### Claim 11 (depends on 7)

The method of claim 7 further comprising specifying the resource configuration using a resource reference defined in a deployment descriptor of the software application, wherein upon deployment of the software application
reading the deployment descriptor of the software application;
interpreting the resource reference in the deployment descriptor of each software application to identify a mapping between the named resource and the one or more of the distributed data or distributed services; and
modifying the operation of the one or more software applications to use a naming and directory interface tree to access the one or more of the distributed data or distributed services in the data grid based on the identified mapping.

### Claim 12 (depends on 11)

The method of claim 11 wherein the naming and directory interface tree is a JNDI tree.

### Claim 13

A system for managing nodes in a data grid from within an application server, comprising:
a computer which includes an application server, wherein the application server includes an application server console;
a data grid including a plurality of nodes operating as a cluster according to data grid configuration properties;
a configuration resource provided by the application server and accessible to the application server console, wherein the configuration resource stores configuration information used by the application server console to directly manage the plurality of nodes in the data grid, and wherein the application server console directs the application server to
interpret the configuration information in the configuration resource, and
modify the operation of the plurality of nodes in the data grid by overriding the data grid configuration properties according to the configuration information; and
wherein the plurality of nodes thereafter operate according to the configuration information.

### Claim 14 (depends on 13)

The system of claim 13 wherein the application server is a WebLogic server instance.

### Claim 15 (depends on 13)

The system of claim 13 wherein the data grid is a Coherence data grid.

### Claim 16 (depends on 13)

The system of claim 13 wherein the application server console includes a GUI to display configuration properties of each node in the data grid.

### Claim 17 (depends on 16)

The system of claim 16 wherein the GUI is used to select one of the plurality of nodes in the data grid, wherein upon selecting the node, the viewing window is used to
select configuration properties of the selected node using the GUI, and
modify the configuration properties of the selected node using the GUI, wherein the modified configuration properties are used to override the selected node's configuration properties, and wherein the selected node thereafter operates according to the configuration resource.

### Claim 18 (depends on 12)

The system of claim 12 wherein the configuration resource is a managed bean having a descriptor file stored in a resource directory on the application server.

### Claim 19 (depends on 15)

The system of claim 15 wherein the configuration resource is a data grid system resource used by the application server console to perform one of defining a data node logger name and a message format for the logger, and defining an external configuration resource to override properties of the plurality of nodes not exposed by the application server.

### Claim 20 (depends on 12)

The system of claim 12 wherein the configuration resource is a data grid runtime resource used by the application server console to provide runtime monitoring information about the plurality of nodes.
