This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

EJB3 interceptor issue

 
tarek helmy
Ranch Hand
Posts: 42
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i use two interceptors for session bean (deployed at glassfish v2)
but i found that
one postConstruct method execute in the first interceptor , but the other does not
is there is any reason for that?
 
Ralph Jaus
Ranch Hand
Posts: 342
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Did you call proceed() in the first interceptor ? See the following example:
If there is a corresponding print statement in the second interceptor then the log output looks like

Interceptor-1: Before Proceed
Interceptor-2
Interceptor-1: After Proceed
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic