[jboss-user] [EJB 3.0] - Calling non-business methon on a stateless bean

gbdt do-not-reply at jboss.com
Fri Jan 4 04:41:21 EST 2008


Hello,

I'm developing some kind of framework for our EJB3 application. 
For that framework, I'm looking for a way to call a method defined in a stateless bean, similar to the behavior of the @Timeout and @WebMethod annotated methods. 

I've analyzed both the implementation of the @Timeout (seems to be too timer specific) and the implementation of webservice method calls, but I'm not comfortable basing my code on either idea.

Can somebody please suggest a "best practice" to perform such method calls?

Thanks!
G.

Ref to the webservice implementation:
http://viewvc.jboss.org/cgi-bin/viewvc.cgi/jbossas/branches/Branch_4_2/webservices/src/main/org/jboss/wsf/container/jboss42/InvocationHandlerEJB3.java?view=markup

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4116958#4116958

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4116958



More information about the jboss-user mailing list