Invention Grant
- Patent Title: System and method of deploying java agents in runtime
-
Application No.: US16868769Application Date: 2020-05-07
-
Publication No.: US10977027B1Publication Date: 2021-04-13
- Inventor: Jonathan Afek , Gal Ben-Yair
- Applicant: HCL TECHNOLOGIES LIMITED
- Applicant Address: IL Hertzelia
- Assignee: HCL TECHNOLOGIES LIMITED
- Current Assignee: HCL TECHNOLOGIES LIMITED
- Current Assignee Address: IL Hertzelia
- Agency: Maschoff Brennan
- Main IPC: G06F9/44
- IPC: G06F9/44 ; G06F8/656 ; G06F9/445 ; G06F9/4401

Abstract:
The present disclosure relates to system(s) and method(s) for deploying a java agent in runtime. The method creates a .WAR file associated with a java agent. The .WAR file corresponds to a servlet configured to run the java agent. The method further determines an existence of a reference holder class in a bootstrap class loader using the servlet. Based on the determination of the reference holder class, the method connects the servlet to a Java Virtual Machine (JVM). The servlet is connected to the JVM using an open source library. Further, the method deploys the java agent in real-time based on a deployment of a bootstrap class using the servlet. The bootstrap class holds a reference to the java agent. The bootstrap class acts as the reference holder class.
Information query