[ANN] Apache CXF 2.4.2 and 2.3.6 released

2011-08-16 Thread Daniel Kulp
The Apache CXF team is proud to announce the availability of the latest patches: 2.4.2 and 2.3.6 Apache CXF is an open source services framework. CXF helps you build and develop services using front end programming APIs, like JAX-WS and JAX-RS. These services can speak a variety of protocols su

best practice for setting order constraints among interceptors

2011-08-16 Thread Aki Yoshida
Hi, If you have two interceptors A and B that go into the same phase and additionally you want to make sure A must precede B, you can either write addBefore(B) in A's constructor or addAfter(A) in B's constructor. But is there a good rule for deciding which one to choose? The concrete case that I

Re: best practice for setting order constraints among interceptors

2011-08-16 Thread Daniel Kulp
For the most part, I don't think it really matters. There used to be some performance issues adding interceptors that had a bunch of befores and afters, but those were pretty much resolved. Also, with the chain caching we do, such interceptors aren't added very ofter. THAT said, if you start