This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
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.