Class RemoteEJBContextFactory

  • All Implemented Interfaces:
    InitialContextFactory
    Direct Known Subclasses:
    RemoteEJBContextFactory

    public class RemoteEJBContextFactory
    extends Object
    implements InitialContextFactory
    This is the context factory that creates the context used for looking up and invoking remote EJBs.

    Clients wanting to use remote EJB in this way should set the property in the initial context environment as follows:

     
       Hashtable<String, String> environment = new Hashtable<>();
       environment.put(INITIAL_CONTEXT_FACTORY, "fish.payara.ejb.rest.client.RemoteEJBContextFactory");
        ...
       new InitialContext(environment);
     
     
    Since:
    Payara 5.191
    Author:
    Arjan Tijms