Im new to web services. I have written an EJB(3) project in Eclipse Id(Using jpa to retrieve data from database). Now I want to make this Ejb project to web service. I do not have clear idea about how to do this. The eclipse generates webService and webServiceClient easily, but I want to do those things manually using @webservice etc, but I don't know how.

Please guide me.

Thank you.

There are many excellent books and websites offering tutorials to do just that. Don't think you can program Java because you can use the generators in Eclipse, because (as you found out) it doesn't work like that.