How to create Webservice using java
I am very new to Visual composer, can any one of you suggest how to create a webservice using java so that i can use that webservice in Visual Composer application.If it is possible please give me detailed description about it.
nethaji T replied
You can create a webservice from a EJB or a plain JAVA class .
First create a session bean .
Add required methods for remote interface .
Create a EAR project and add the EJB project to EAR.
Go to EJBJar.xml --> select the bean --> R click and select webservice
Provide the name of the webservice --> Select next
Select the name of EAR project .
Depoly the EAR .
Now you can use the webservice in Visual composer.