Skip to content

Instantly share code, notes, and snippets.

Created January 28, 2015 10:23
What would you like to do?
POJO powered by @stateless exposed as a SOAP end point via @webservice
//not perfect - but better than just @WebService
//will recieve free services from the EJB container, courtsey @Stateless !
public class POJO_EJB_and_SOAP {
public String fetchDate(){
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