Writing a Data-Driven Application

One of the most common ways to store data in an application is to use a database. If you’ve followed the introductory learning path, you learned how to write a Liferay application using only the simple API for portlet preferences. While that method allows you to create some simple applications, it doesn’t scale well, and the amount of data you can store is limited. This learning path picks up where that one left off: here, you’ll learn how to turn the Guestbook into a full-fledged, database-driven application.


The data-driven guestbook can store and display entries for many different guestbooks.

Using Service Builder to Generate a Persistence Framework

In the last learning path, you built an application using Liferay’s Model-View-Controller portlet framework. MVC is a great design pattern for web applications, but it contains only three...

Read More

Integrating Your Persistence Framework into Your Application

Once you’ve generated your persistence framework with Service Builder, your next task is to bring all that functionality into your application. On the persistence side of things, Service Builder...

Read More

Updating Your Controller to Use Services

Now that you’ve created your service and persistence layers, it’s time to update your controller so that it uses them to store and retrieve guestbooks and their entries for your users. You have a...

Read More

Implementing a UI with Liferay Taglibs

Clearly, now that you’ve implemented all the other layers of your application, you need a user interface that’s a bit more organized and extensible than the one you created for the...

Read More
+1 (1 Vote)
Writing Your First Liferay Application Previous