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

    Calling non-business methon on a stateless bean

    GB DT Newbie


      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?


      Ref to the webservice implementation: