I have just started working with Liferay and am trying to get up-to-speed. I have created a portlet project which calls a Notes database using REST and displays a list of recent mails.
The next task is to create a summary portlet which displays a number of different items including the number of unread mails. I would like to reuse some of the functions from the first portlet.
I have seen that there is a ServiceBuilder
which looks interesting but the examples I've seen are for SQL databases.
Is there a way to expose other kinds of features this way or should I be looking at a different kind of solution?