Restful
Introduction
The SmartComponent Library provides a low‑code way to expose your Business Entities and Business Tasks as RESTful HTTP/JSON services. Instead of writing separate REST controllers, you annotate existing Business Entity classes with @RestAddress (for CRUD/resource access) and optional @RestMethod annotations (for invokable operations). At runtime, these annotations are discovered and mapped to clean, resource‑oriented URLs (for example /web/Entities/Customers), supporting standard HTTP verbs such as GET, POST, PUT, DELETE and PATCH.
These REST endpoints are hosted in PASOE via the RestEntitiesWebHandler, so the same SmartComponent Library business logic used by desktop or SmartFramework UIs can be consumed by web, mobile, and third‑party systems. Swagger/OpenAPI documentation can be generated automatically, making it easy for integrators to discover and test the RESTful APIs without needing to understand the underlying OpenEdge code.