Milton Ochoa wrote: @AroundInvoke public Object checkUserRole(InvocationContext context) throws Exception { ... return context.proceed(); } They use the method context.getEJBContext().isCallerInRole("CSR");
Milton Ochoa wrote: this context "InvocationContext", no exist such method. Can someone help me around this.
[My Blog] [JavaRanch Journal]
Milton Ochoa wrote:if you have the book, please see the page 213.