-
Interceptors and EJB 3 (1 messages)
- Posted by: Daniel Rubio
- Posted on: August 10 2008 01:43 EDT
Adam Bien's post on Interceptors and EJB 3 will show what you gain by using this type of construct in your Java projects. Besides the benefits, Adam also provides step by step instructions on using interceptors and EJB 3. Read Adam's complete post on Interceptors and EJB 3 http://www.adam-bien.com/roller/abien/entry/interceptors_ejb_3_for_absoluteThreaded Messages (1)
- Call Interceptor EJB from another EJB by Marcos Jara on May 15 2011 22:33 EDT
-
Call Interceptor EJB from another EJB[ Go to top ]
- Posted by: Marcos Jara
- Posted on: May 15 2011 22:33 EDT
- in response to Daniel Rubio
Hello
I have an sales EJB project which controls the inventory, in and out of stock.
I want to add extra functionality to the EJB, such as payment and billing.
For this I want to use Interceptor in Session Bean class. I want to implement the new functionality as a component, decoupled from the current implementation.
But I have not access to the current session bean or Xml (ejb-jar), so I can not put the @ Interceptor in the class or method! how I can solve my problem?
Can I add @ Interceptor from another location, class or session? There is another way of doing?
Thanks for your help.