Service Builder
- Introduction to Service Builder
- What is Service Builder?
- Service Builder Persistence
- Defining an Object-Relational Map with Service Builder
- Creating the service.xml File
- Defining Global Service Information
- Defining Service Entities
- Defining the Columns (Attributes) for Each Service Entity
- Defining Relationships Between Service Entities
- Defining Ordering of Service Entity Instances
- Defining Service Entity Finder Methods
- Running Service Builder
- Understanding the Code Generated by Service Builder
- Iterative Development
- Understanding ServiceContext
- Customizing Model Entities With Model Hints
- Configuring service.properties
- Connecting Service Builder to External Databases
- Custom SQL
- Dynamic Query
- Defining a Custom Finder Method
- Implementing a Custom Finder Method Using Dynamic Query
- Accessing Your Custom Finder Method from the Service Layer
- Actionable Dynamic Queries
- Business Logic with Service Builder
- Creating Local Services
- Deciding to Create Local and Remote Services
- Implementing an Add Method
- Implementing update and delete Methods
- Implementing Methods to Get and Count Entities