~~NOTOC~~ ====== How to deploy a jSeduite Web Service ====== ===== Using Glassfish Console Interface ===== If ''asadmin'' can be reached from your ''$PATH'' environment variable, you can use it to deploy a web service using the following command: asadmin deploy --name ServiceName --contextroot /jSeduite/ServiceName ServiceName-vX.y.war For example, to deploy the ''DataCache'' service, use the following command: asadmin deploy --name DataCache --contextroot /jSeduite/DataCache DataCache-v1.0.war ===== Using Glassfish Admin WebApp ===== * Click on ''Applications'' and then ''WebApplications'' on the left panel * Choose ''Deploy'' * Fill the form with the adequate values: * ''Location'': the ''war'' file you want to deploy * ''Application name'': you can use the default value * ''Context Root'': you must change this value to fit with jSeduite conventions. * The context root must be ''/jSeduite/XXX'' where ''XXX'' is the service identifier without version number (''XXX-v1.0.war''). * Example: ''FeedRegistry-v1.0.war'' must be deployed using the ''/jSeduite/FeedRegistry'' context root. {{ :cookbook:deploy_ws.png |}} * Click ''Ok'' to end the process.