gyes, I have the following problem. I have to do a web service and a singleton , that is running independently from the web service. So I decided to make it @Singleton EJB , without local or remote interfaces. My question is whether it is possible the web service and the ejb to be in one and the same war , sharing one and the same libraries? and in this case , is it possible ( if using embedded ejbs ) fo the web container to manage the bean and start it if annotated as @Startup ?
Aucun commentaire:
Enregistrer un commentaire