Hi, I have designed an web application "Hotel Reservation System" using JSTL sql tags and tomcat. I am accessing my SQL Server database through the JSTL sql tags. I am not using a single java class/bean in my application. Now, I want to convert my work into a web service using axis and tomcat. My concern is will it be possible to somehow develop a web service without having any explicit java classes having the business logic..since I wrote my logic into JSP pages using JSTL tags! I am in a fix as to is this possible or it completely defies the concept web services and RPC. I am look forward to use my work as till now (JSP+JSTL) further to get the web service designed. It will be really helpful if anyone can show me the direction I will have to head to. Thank you.
If you look at how WS engines work you will find that at the core a web service is a Java class. While it is certainly possible to build a web service around JSP pages, it is a really bad design, and not supported by any of the WS engines I'm familiar with.
Go with Bears advice and refactor your code so that the business logic sits in Java classes, and JSP pages are only used for presentation. That will give you a foundation for building a WS.
Ping & DNS - updated with new look and Ping home screen widget