Fórum

Help required for service builder

thumbnail
chandru palaniyappan, modificado 13 Anos atrás.

Help required for service builder

Junior Member Postagens: 85 Data de Entrada: 29/07/10 Postagens Recentes
Hi all,


To Create ProductCatalog-Portlet we used Liferay Service Builder Concept.

Requirement given: Develop a product catalog portlet which uses Liferay CMS(Content management system).

We chose shopping portlet to develop the product catalog portlet.

we used skeleton of shopping portlet to develop the product catalog portlet by methodologies called hook and expando services, We hooked the later portlet front end ,then we tried exapando services to extend that portlet .. we are not clearly getting it fully to go through it. we searched for proper documentation and we failed.

And we dropped that idea, We started to develop the required portlet from scratch. And we chose use plugin development with service builder.

All the required classes(for back end entities), interfaces, hibernate mapping files are created by the Service Builder.
Basically an xml file called service.xml(Please find the attachment) has been created using Liferay IDE in Liferay Plugin-sdk 6.0.5. When I deploy the ProductCatalog-Portlet the database tables are created in MySQL.

Initially while developing the service.xml we faced some issues about setting remote service for the entities.
We have gone through the service builder DTD file and Liferay forums for setting remote services for the entities but we don’t get enough information to build it; So we randomly set remote services for the entities and ran the service builder.

We planned to use Struts Framework to create the portlet. But in this link they stated that Liferay is not recommended to use StrutsBridges in plug-in sdk.
If I use portal-impl.jar in plug-in sdk the portlet was not deployed correctly. we adhocly used(added) dependent java classes to it,It has dependency of different classes ..So its growing as a large tree.
It has the way but we are learning one by one because we are new to these way of development.

Thanks and regards
Chandru.p and Sridharan.N