Last active
August 29, 2015 14:14
-
-
Save abhirockzz/b35cfaa72fa38c48164f to your computer and use it in GitHub Desktop.
POJO powered by @webservice
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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