SERVICE BULIDER
I have referred the some of the documents and materials about service Bulider.
Here is some of the statments.
ServiceBuilder will create
models, services, and service persistence first in the folder ext/ext-service,
which will form ext-service.jar
and it goes to the $CATALINA_HOME/lib/ext in Ext deployment. Here are
the packages of the services for the portlet, Reports:
com.ext.portlet.reports.model
com.ext.portlet.reports.service
com.ext.portlet.reports.service.persistence
Then ServiceBuilder will
create implementations of models, services and service persistence in the
folder, ext/ext-impl. This
will form ext-impl.jar and it
goes to $CATALINA_HOME/webapps/ROOT/WEB-INF/lib
in Ext deployment. Here are packages of the implementations of the
services for the portlet, Reports:
com.ext.portlet.reports.model.impl
com.ext.portlet.reports.service.base
com.ext.portlet.reports.service.http
com.ext.portlet.reports.service.impl
com.ext.portlet.reports.service.persistence
Service Builder divides the source it
generates into two layers:
Interface layer and an implementation layer.
The interface layer gets generated in
the aforementioned service folder. You will never change anything in the
interface layer manually; Service Builder always generates the code that is
found there.
The implementation layer gets generated in
your src folder and is initially just skeleton code which allows you to
implement the functionality you need.
Comments
Post a Comment