Patent ID: 8356288
Filing Date: 2013-01-15
Classification: G06F

Abstract:
1. A monitoring system comprising: an application using an implementation of a Java Persistence Application Programming Interface (JPA) including at least one PersistenceUnit (PU) and at least one PersistenceContext (PC) associated with the PU; a first software layer of monitors, executed on at least one processor, to gather monitoring data from the PU and the associated PC; a second software layer executed on the at least one processor to collect monitoring data from the first software layer of monitors at a central point comprising a monitor service; and wherein the first and second software layers are contained within a JPA container and the JMX MBean is outside of the JPA container; a third layer, executed on the at least one processor, comprising a Java Management Extension (JMX) MBean to expose monitoring data collected at the central point; and wherein a monitored PC has a lifecycle beginning with a transaction (TX) begin event and ending with a TX commit event, a PC monitor for the PC is registered at the beginning of the lifecycle, and the data from the PC monitor is dumped and the PC monitor unregistered at the end of the lifecycle.