Unofficial Content
  • This documentation is valid for:

To publish a Business Component as EJB, set the Business Component property to True, and the Expose as Enterprise Java Bean property to True.

Once these properties are set, automatically this procedure will be generated as session bean (Stateless).

It provides the following methods in order to Load, Save, Check and Delete the data:

  • LoadKeySvc
  • SaveSvc
  • CheckKeySvc
  • DeleteKeySvc

These methods -as it's names let see- offer the same as the Load, Save, Check and Delete Business Component methods.

Important: The only difference between the Web Service methods you are introducing and the common Business Component methods, is that the Web Service methods execute Commit after executing their operations.

Note: In order to compile correctly, it is necessary define a main object that includes a variable based on the Business Component.

Last update: February 2024 | © GeneXus. All rights reserved. GeneXus Powered by Globant