What problem does it solve?
This Skill provides a comprehensive guide for defining, implementing, and managing business logic as reusable, transactional, and securely enforced OFBiz services.
Core Features & Use Cases
- Service Definition: Create and register new services in
services.xml.
- Engine Selection: Choose the appropriate engine (
entity-auto, groovy, java, group) for different logic types.
- Transaction Management: Control transaction boundaries (
use-transaction, require-new-transaction) and handle commit/rollback logic.
- Security & Export: Implement authentication, authorization, and expose services via REST APIs.
- Use Case: When developing a new feature that requires creating an order, charging a credit card, and sending a confirmation email, this skill guides you through defining these as separate, transactional services and orchestrating their execution.
Quick Start
Define a new service named 'createExample' using the entity-auto engine to create a record in the 'Example' entity.