An application without reliable business logic or persistence isn’t much of an application at all. Unfortunately, writing your own persistence code often takes a great deal of time. Fortunately, Liferay provides the Liferay Service Builder to generate it for you. You might now be thinking, “What?! I hate code generators!” Not to fear; you can still write your own persistence code if you wish. And if you choose to use Service Builder, you can edit and customize the code it generates. Regardless of how you produce your persistence code, you can then use it to implement your app’s business logic.

This section of tutorials shows you how to use Service Builder to generate your persistence framework and implement your business logic. You’re also shown how to use Spring in your app.

What is Service Builder?

Service Builder is a model-driven code generation tool built by Liferay that allows developers to define custom object models called entities. Service Builder generates a service layer through...

Read More

Service Builder Persistence

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...

Read More

Business Logic with Service Builder

Once you’ve defined your application’s entities and ran Service Builder to generate your service and persistence layers, you can begin adding business logic. Each entity generated by Service...

Read More
0 (0 Votes)
Mobile SDK Previous