# US 11,113,075 B2 · Launching a middleware-based application

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

- Number: US 11,113,075 B2
- Document ID: US11113075B2
- Status: Granted
- Kind: B2
- Application number: 16/190,689
- Filed: 2018-11-14
- Published: 2020-05-14
- Granted: 2021-09-07
- Earliest claimed: 2018-11-14
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Guang Cheng Li; Yuan Wang; Xiao Xi Liu; Jian Ma; Jing Min Xu; Lin Yang
- Web page: https://patentgrep.com/patent/US11113075B2

## CPC

- G06F 9/445: Program loading or initiating (bootstrapping G06F9/4401; security arrangements for program loading or initiating G06F21/57)
- G06F 9/45558: {Hypervisor-specific management and integration aspects}
- G06F 2009/45562: {Creating, deleting, cloning virtual machine instances}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Embodiments of the present invention relate to a computer-implemented method, system and computer program product facilitating launching a middleware-based application. In some embodiments, a computer-implemented method includes: preparing, by a device operatively coupled to one or more processing units, an execution environment for middleware to be included in a container hosted on a machine; detecting, by the device, a request to schedule an application to be executed in the machine using the middleware; and in response to the request being detected, launching, by the device, the application within the container based on the prepared execution environment.

## Claims

### Claim 1

A computer-implemented method comprising:
preparing, by a device operatively coupled to one or more processing units, a first execution environment for middleware to be included in a container hosted on a machine wherein a proxy agent instructs a container engine to generate a copy of the first execution environment, wherein the middleware is launched based on the copy of the first execution environment;
detecting, by the device, a request to schedule an application to be executed in the machine using the middleware;
in response to the request being detected, launching, by the device, the application within the container based on the first execution environment having been prepared; and
based on the request to schedule the application to be executed in the machine using the middleware, preparing, by the device, a second execution environment for the middleware before the launching of the application.

### Claim 2 (depends on 1)

The computer-implemented method of claim 1, wherein preparing the first execution environment comprises:
in response to a container image being provided for the machine, determining, by the device, whether the container image includes the middleware; and
in response to determining that the container image includes the middleware, preparing, by the device, the first execution environment based on the container image.

### Claim 3 (depends on 1)

The computer-implemented method of claim 1, wherein preparing the first execution environment comprises:
preparing, by the device, the first execution environment by provisioning the container with the middleware executed therein.

### Claim 4 (depends on 1)

The computer-implemented method of claim 1, wherein preparing the first execution environment comprises:
preparing, by the device, the first execution environment by launching a process for the middleware.

### Claim 5 (depends on 4)

The computer-implemented method of claim 4, wherein launching the application comprises:
provisioning, by the device, the container by incorporating the process for the middleware into the container; and
launching, by the device, the application using the provisioned container.

### Claim 6 (depends on 1)

The computer-implemented method of claim 1, wherein launching the application comprises:
registering, by the device, the application with the first execution environment; and
launching, by the device, the registered application into the first execution environment.

### Claim 7 (depends on 1)

The computer-implemented method of claim 1, wherein launching the application comprises:
generating, by the device, a copy of the first execution environment having been prepared; and
launching, by the device, the application based on the copy of the first execution environment having been prepared.

### Claim 8 (depends on 1)

The computer-implemented method of claim 1, further comprising:
preparing, by the device, the second execution environment for the middleware after the launching of the application.

### Claim 9

A system comprising:
a memory that stores computer executable components; and
a processor, operably coupled to the memory, and that executes the computer executable components stored in the memory, wherein the computer executable components comprise:
at least one computer-executable component that:
prepares a first execution environment for middleware to be included in a container hosted on a machine;
based on a proxy agent implemented for middleware, instructs a container engine to generate a copy of a first execution environment, wherein the middleware is launched based on the copy of the first execution environment;
detects a request to schedule an application to be executed in the machine using the middleware;
in response to the request being detected, launches the application within the container based on the first execution environment having been prepared; and
based on the request to schedule the application to be executed in the machine using the middleware, prepares a second execution environment for the middleware before the launching of the application.

### Claim 10 (depends on 9)

The system of claim 9, wherein preparation of the first execution environment comprises:
in response to a container image being provided for the machine, determination of whether the container image includes the middleware; and
in response to a determination that the container image includes the middleware, preparation of the first execution environment based on the container image.

### Claim 11 (depends on 9)

The system of claim 9, wherein preparation of the first execution environment comprises:
preparation of the first execution environment by provisioning the container with the middleware executed therein.

### Claim 12 (depends on 9)

The system of claim 9, wherein preparation of the first execution environment comprises:
preparation of the first execution environment by a launching of a process for the middleware.

### Claim 13 (depends on 12)

The system of claim 12, wherein a launching the application comprises:
a provisioning of the container by incorporating the process for the middleware into the container; and
a launching of the application using the provisioned container.

### Claim 14 (depends on 9)

The system of claim 9, wherein the launching of the application comprises:
a registering of the application with the first execution environment; and
a launching of the registered application into the first execution environment.

### Claim 15 (depends on 9)

The system of claim 9, wherein the launching of the application comprises:
a generating of a copy of the first execution environment having been prepared; and
a launching of the application based on the copy of the first execution environment having been prepared.

### Claim 16 (depends on 9)

The system of claim 9, wherein the computer executable components further:
prepare the second execution environment for the middleware after the launching of the application.

### Claim 17

A computer program product facilitating launching a middleware-based application, the computer program product comprising a computer readable storage medium having program instructions embodied therewith, the program instructions executable by a processor to cause the processor to:
prepare, by the processor, a first execution environment for middleware to be included in a container hosted on a machine;
based on a proxy agent implemented for middleware, instruct, by the processor, a container engine to generate a copy of the first execution environment, wherein the middleware is launched based on the copy of the first execution environment;
detect, by the processor, a request to schedule an application to be executed in the machine using the middleware;
in response to the request being detected, launch, by the processor, the application within the container based on the first execution environment having been prepared; and
based on the request to schedule the application to be executed in the machine using the middleware, prepare, by the processor, a second execution environment for the middleware before the launching of the application.

### Claim 18 (depends on 17)

The computer program product of claim 17, wherein preparation of the first execution environment comprises:
in response to a container image being provided for the machine, determination of whether the container image includes the middleware; and
in response to determining that the container image includes the middleware, preparation of the first execution environment based on the container image.
