Uploaded image for project: 'RESTEasy'
  1. RESTEasy
  2. RESTEASY-459

EJB 2.x Support

XMLWordPrintable

    • Icon: Patch Patch
    • Resolution: Obsolete
    • Icon: Major Major
    • None
    • 2.0.GA
    • jaxrs

      The current implementation of RESTEasy and the associated examples are designed around EJB 3. I'd like to be able to use it with EJB 2.x.

      The root of the problem for me was that org.jboss.resteasy.plugins.server.resourcefactory.JndiResourceFactory expects the JNDI context lookup to return a business interface as per EJB 3.x, but in EJB 2.x, what gets returned is a the home interface.

      I have a patch to enable this that works with the SimpleResource example, but it obviously needs review.

              patriot1burke@gmail.com Bill Burke (Inactive)
              bob_walker99 Bob Walker (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: