S Bapat [
http://community.jboss.org/people/bapats] created the discussion
"@PostConstruct behavior question"
To view the discussion, visit:
http://community.jboss.org/message/534241#534241
--------------------------------------------------------------
I am trying to perform some setup in a CXF web service, inside a method with a
@PostConstruct annotation. When I call the operations on the web service, the method with
the @PostConstruct annotation is getting called for every web service operation call. I
was expecting that the web service endpoint will be created by the container only once,
instead of on every call. Is a new endpoint getting created on every call? If so where
should the initialization code be written?
Thanks.
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/534241#534241]
Start a new discussion in JBoss Web Services CXF at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]