Sergey, I have seen the Bean Invoker in cxf. I have just come across the class EJBHomeCallFactory in EasyBeans.
I am wondering if it might suit our needs to use this, BeanInvoker, and make BeanInvoker extend JAXRSInvoker. What do you think? If not, I am currently putting together a resourceProvider which selects between the Stateless, Stateful, Singelton, EJB Factories in Easybeans, and returns a resource from whichever state we have for this RP. I am passing in the cri and will find out whether the bean is stateful, stateless, etc., and then set an enum constant with that value, which value will determine which factory is selected. What do you think about the idea? Thank you. Ryan Zoerner
