Show TOC Start of Content Area

Background documentation Working with Enqueue Locks  Locate the document in its SAP Library structure

Applications communicate with the Enqueue Server through the Application Locking service and need access to certain resources of this service at design time and at runtime.

     To compile your projects at design time, you need access to the following libraries:
applocking.jar

frame.jar

exception.jar

For more information about how you set the Java class path and compile the project in the SAP NetWeaver Developer Studio, see Declaring Implicit References to Libraries.

     At runtime, applications need a hard application reference to the Application Locking Service. To declare the reference for J2EE applications, you use the application-j2ee-engine.xml descriptor. For more information about how you can set application references using the SAP NetWeaver Developer Studio, see Editing Application References.

To lock application components programmatically, you acquire locks according to the agreed locking protocol and use the TableLocking API or LogicalLocking API.

End of Content Area