Uploaded image for project: 'EJB 3.0'
  1. EJB 3.0
  2. EJBTHREE-1025

@Local and @Remote on a bean class must have values

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • AS 4.2.2.GA, AS 5.0.0.Beta3
    • AS 4.2.0 GA
    • None
    • None

    Description

      From the API doc:
      "When used on the bean class, declares the local business interface(s) for a session bean. When used on an interface, designates that interface as a local business interface. In this case, no value() is provided."

      Thus the following is an illegal construct:

      @Stateless
      @Local
      @Remote
      public class OrderServiceBean implements OrderService

      {...}

      Attachments

        Activity

          People

            arubinge@redhat.com Andrew Rubinger (Inactive)
            rhn-engineering-cdewolf Carlo de Wolf
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: