5 Replies Latest reply on Apr 19, 2010 2:20 AM by Richard Opalka

    @PostConstruct behavior question

    S Bapat Newbie

      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?