Thursday, November 22, 2007

Web Services : Just Right Clicking Java Files ??

Lot of Application servers give the provison of directly deploying a java file as webservice very easily ... hiding everything beneath it ... I tried something similar today and noticed something ...

The java functions that are being exposed as web services they must throw Pre Defined Exceptions ... or may be Custom Java Excpetions coz throwing a Exception object is not a good idea as it may throw a Checked or Unchecked exception and user will have to always catch it no matter what the excpetion may be then check the class type using instance of and act accordingly ...

No comments: