Skip to content

Instantly share code, notes, and snippets.

@abhirockzz
Last active August 29, 2015 14:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save abhirockzz/b35cfaa72fa38c48164f to your computer and use it in GitHub Desktop.
Save abhirockzz/b35cfaa72fa38c48164f to your computer and use it in GitHub Desktop.
POJO powered by @webservice
// is this robust enough ?
@WebService
public class POJO_WS{
@WebMethod
public String getDate(){
System.out.println("hashCode -- "+ this.hashCode());
return new Date().toString();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment