Lilderay Maven Service Builder Portfolio (Developer Studio)

I am new to Liferay platform. I am trying to implement CRUD in Liferay using a portlet. I am using liferay 6.2 and IDE as a developer studio.

I am creating a project with the following values ​​(In Image) in developer studio.

enter image description here

When I create a project in developer studio I get 3 projects in my Liferay project explorer which are shown below.

enter image description here

So my question is why his three projects are created when I want to create a service portlet one . What is the use of this?

Anyone can help?

+3


source to share


1 answer


So this is what Liferay does with Maven: It creates a parent project (BookServicePortlet). Liferay assumes that if you want to create a service layer, you will also implement a portlet where you access the generated services. So for Liferay-Maven to create 2 sub-projects in your parent project. One for the service and one for the web tier. This is so that you can distribute your service layer to other portlets without distributing all of your external code. If you don't have a front-end (and I doubt that;)), you can just leave everything blank in the BookServicePortlet portlet.



+4


source







All Articles