Skip to content

On service builder…. Liferay

February 20, 2008

Service Builder works in the plugins environment, and you don’t have to worry about it not working after upgrading because the generated code is localized to the portlet.

ServiceBuilder generates all the hibernate and spring code so you get transaction management for free. Once you learn how to use it, you’ll see that it makes development a lot faster. For the times where you need to create a custom query, you can override the default PersistenceImpl class and implement your own database call. There’s a lot of other useful features like automatically generated ajax json calls for methods in the *ServiceImpl.

Of course, there is something appealing about having full control over everything that’s going on in your portlet, so that’s not a bad idea too.

For a practical example of how to use Service Builder in a plugins environment, go here:
http://www.liferay.com/web/eshin/1

Advertisements
One Comment leave one →
  1. Anonymous permalink
    June 18, 2011 9:51 am

    hello , do you know how to use multi service builder portlet ?

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: