1 Reply Latest reply on May 12, 2013 1:02 PM by dvohra21

    POJOs or EJBs for worker classes spawned from Application Module?


      I'm running JDev

      I need to create a couple of worker classes that will be instantiated from my Application Module. The first will invoke PL/SQL via createCallableStatement. The second sends a message to a jabber server.

      In the Java EE world, I'd do this with stateless EJBs and use the @PreConstruct and @PostDestroy annotations to control the lifecycle.

      What is the recommended approach with ADF when using Classes to make these calls from an Application Module? Should one use POJOs and rely on WebLogic to handle garbage collection, or should/can one use EJB 3.0 stateless session beans?

      Many thanks.

      Edited by: user576183 on May 11, 2013 9:24 AM