My web component application uses an application server that supports WS. I have servlet/jsp and no EJB. It basically retrieve database data and present them in tabular and/or graphical format. That's it, not too fancy. These days people are talking about Web service buzz word. I am wondering ---
1. Is it worthwhile for me to use web service in my web component application ? 2. if yes, then what kind of "service" should I publish ? I know if I have complicated EJB, then I can use EJB as the "service". But if I only have some data retrieval and calculation web component, don't know what "service" will be helpful
You really should ask your users/customer what kind of a web service they would find useful. It may turn out that you don't need to implement any web services at all...
I suppose your application server's documentation should tell you whether it supports Servlet end-points for developing web services -- otherwise you'll have to write an EJB or embed Apache Axis into your web application.