0 Replies Latest reply on Jan 4, 2008 4:41 AM by gbdt

    Calling non-business methon on a stateless bean

    gbdt

      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