glassfish
  1. glassfish
  2. GLASSFISH-20790

Glassfish claim for ejb-jar-xml in EJB 3.1 project

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:

      JDK 7, GF 4 (4.0_b89_RC5 )

      Description

      Hi, I just started a J2EE project with GF 4 and NB 7.3 . I created a simple J2EE app with web,ejb and common projects.
      In the ejb project I created a simple EJB and NB put the remote interface in common project .
      THen I tried to deploy the ejb module throught GF console but It claim for ejb-jar.xml descriptor and this is a very big issue because we know descriptor is not needed.

        Activity

        Hide
        marina vatkina added a comment -

        You should use either deployment descriptor or annotation to define EJBs. There are plenty of tests that verify that the ejb-jar.xml is not needed if annotations are present.

        Show
        marina vatkina added a comment - You should use either deployment descriptor or annotation to define EJBs. There are plenty of tests that verify that the ejb-jar.xml is not needed if annotations are present.

          People

          • Assignee:
            michael.y.chen
            Reporter:
            kronos72it
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: