Business Component

Official Content
This documentation is valid for:

The Business Component (BC) concept provides a way to use all the power of a Transaction object from other GeneXus objects.

It allows updating the database from any object, executing transactions in a 'silent' mode (without showing its forms) but taking advantage of all the benefits offered by them! 

Most important benefits

  • Database update guaranteeing data integrity
  • Less coding: The business logic defined in the transaction is reused (rules and formulas are triggered, etc.)
  • All GeneXus objects can update the database: For example in a Web Panel the only way to update directly the database (without calling a procedure) is using the business component concept.
  • Rest: A Business Component may be exposed as a Rest web service.
  • SOA interface: A Business Component may be defined as a SOAP web service, allowing updates via SOAP.
  • EJB: A Business Component can be defined as a Enterprise Java Bean so you can execute it in an EJB Container of any J2EE Server.

Business Component definition and use

Every Transaction has a property named Business Component. Click the link to learn more about it.

Videos

Start Video Data Base update with Business Components
Start Video Another example of database update using Business Components


Was this page helpful?
What Is This?
Your feedback about this content is important. Let us know what you think.