# US 2016/0366231 A1 · Utilization of computing services

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

- Number: US 2016/0366231 A1
- Document ID: US20160366231A1
- Status: Published application
- Kind: A1
- Application number: 14/737,531
- Filed: 2015-06-12
- Published: 2016-12-15
- Earliest claimed: 2015-06-12
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Yi Xiao; Guang Yang; Jia Zou
- Web page: https://patentgrep.com/patent/US20160366231A1

## CPC

- H04L 67/14: Session management (for real-time applications in data packet communications networks H04L65/1066)
- G06F 9/00: Arrangements for program control, e.g. control units (program control for peripheral devices G06F13/10)
- G06F 9/54: Interprogram communication
- H04L 67/10: in which an application is distributed across nodes in the network (software deployment G06F8/60; multiprogramming arrangements G06F9/46)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A method to connect an application to an application service includes accessing code corresponding to an application to determine a reference to an application service, determining a service connection driver corresponding to the application service, invoking the service connection driver, and receiving connection information in response to the service connection driver establishing a service connection between the application and the application service. A corresponding computer program product and computer system are also disclosed herein.

## Claims

### Claim 1

A method to connect an application to an application service, the method comprising:
accessing code corresponding to an application to determine a reference to an application service;
determining a service connection driver corresponding to the application service;
invoking the service connection driver; and
receiving connection information in response to the service connection driver establishing a service connection between the application and the application service.

### Claim 2 (depends on 1)

The method of claim 1, wherein the connection information comprises credentials provided by the application service.

### Claim 3 (depends on 1)

The method of claim 1, further comprising injecting the connection information into the application.

### Claim 4 (depends on 3)

The method of claim 3, wherein injecting the connection information comprises injecting an object into an executing instance of the application.

### Claim 5 (depends on 1)

The method of claim 1, further comprising determining that the service is no longer in use.

### Claim 6 (depends on 5)

The method of claim 5, wherein determining that the service is no longer in use comprises detecting that an injected object corresponding to the application service has been released.

### Claim 7 (depends on 6)

The method of claim 6, wherein detecting that the injected object has been released comprises accessing a reference to the injected object.

### Claim 8 (depends on 1)

The method of claim 1, wherein the service connection is created by a service broker.

### Claim 9 (depends on 1)

The method of claim 1, wherein the code comprises an annotation that corresponds to the application service.

### Claim 10

A computer program product comprising:
one or more computer readable storage media and program instructions stored on the one or more computer readable storage media, the program instructions comprising instructions to:
access code corresponding to an application to determine a reference to an application service;
determine a service connection driver corresponding to the application service;
invoke the service connection driver; and
receive connection information in response to the service connection driver establishing a service connection between the application and the application service.

### Claim 11 (depends on 10)

The computer program product of claim 10, wherein the program instructions comprising instructions to inject the connection information into the application.

### Claim 12 (depends on 11)

The computer program product of claim 11, wherein the instructions to inject the connection information comprise instructions to inject an object into an executing instance of the application.

### Claim 13 (depends on 10)

The computer program product of claim 10, wherein the program instructions comprise instructions to determine that the service is no longer in use.

### Claim 14 (depends on 13)

The computer program product of claim 13, wherein the instructions to determine that the service is no longer in use comprise instructions to detect that an injected object corresponding to the application service has been released.

### Claim 15 (depends on 14)

The computer program product of claim 14, wherein the instructions to detect that the injected object has been released comprises instructions to access a reference to the injected object.

### Claim 16

A computer system comprising:
one or more computers;
one or more computer readable storage media and program instructions stored on the one or more computer readable storage media for execution by at least one of the computers, the program instructions comprising instructions to:
access code corresponding to an application to determine a reference to an application service;
determine a service connection driver corresponding to the application service;
invoke the service connection driver; and
receive connection information in response to the service connection driver establishing a service connection between the application and the application service.

### Claim 17 (depends on 16)

The computer system of claim 16, wherein the program instructions comprising instructions to inject the connection information into the application by injecting an object into an executing instance of the application.

### Claim 18 (depends on 16)

The computer system of claim 16, wherein the program instructions comprise instructions to determine that the service is no longer in use.

### Claim 19 (depends on 18)

The computer system of claim 18, wherein the instructions to determine that the service is no longer in use comprise instructions to detect that an injected object corresponding to the application service has been released.

### Claim 20 (depends on 19)

The computer system of claim 19, wherein the instructions to detect that the injected object has been released comprises instructions to access a reference to the injected object.
