Alessio Soldano [
http://community.jboss.org/people/alessio.soldano%40jboss.com] replied to
the discussion
"Web Service annotated with @PostConstruct - wrong order w.r.t Listener"
To view the discussion, visit:
http://community.jboss.org/message/550654#550654
--------------------------------------------------------------
Yes, that's the reason. The endpoint is created at deployment time, before the serving
servlet is actually created.
Jim, is there any explicit reference in specs about ordering of endpoint @PostConstruct
invocation and the servlet lifecycle? As far as I remember, jsr109 just say that the
@PostConstruct needs to be called after the endpoint is created and before any request is
served.
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/550654#550654]
Start a new discussion in JBoss Web Services at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]