0 Replies Latest reply on Jul 12, 2013 11:21 AM by Richard Doust

    Proxy to a view doesn't implement methods

    Richard Doust Newbie

      With EJB 2.1, I had code in the web tier that gets instances of Sesion Beans by getting a reference to the home interface and calling create. The result of create is an instance of the bean and I can use Java instrospection on it to get an instance of a Method using getMethod. I use this in my web tier.


      In EJB 3.1, I get a proxy to a view (no-interface bean). getMethod fails (NoSuchMethodFound) when the code tries to get the method implemented by the bean.


      Can someone explain why?