Liferay’s Service Builder can generate your project’s persistence layer by automating the creation of interfaces and classes. Your application’s persistence layer persists data represented by your configured entities to a database. In fact, your local service implementation classes are responsible for calling the persistence layer to retrieve and store your application’s data. So instead of taking the time-consuming route of writing your own persistence layer, you can use Service Builder to quickly define your entities and generate the layer instantaneously.
Here’s what these tutorials cover:
- Defining an object-relational map and generating your persistence layer from that map
- Running Service Builder
- Understanding and using local and remote services Service Builder generates
- Using the
- Customizing model entities with Model Hints
- SQL queries
- Using Hibernate’s criteria API
- Connecting Service Builder to external data sources
Start with defining an object-relational map.