I am trying to figure out how to develop a detached invoker that can invoke EJBs. We have a custom protocol handler service that we developed to get requests via a legacy protocol that our clients speak. Based on the for-money documentation the proper way to to get the protocol handler to talk to the EJBs is to go thru a detached invoker. I looked at the source for the JRMPInvoker, but it was not clear how to construct an Invocation object that can be used to invoke an EJB. Any suggestions?
Invocation is just a map of keys and values. Check the client proxy interceptors for some of the mandatory values that should go into an invocation that targets EJB containers.