Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-3427

Update note about beans.xml in 1.4.3. Review the Quickstart Tutorials

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.0.0.ER6
    • 7.0.0.ER5
    • Documentation
    • None

      Development Guide, section 1.4.3. Review the Quickstart Tutorials mentions beans.xml several times. It should be updated according to QS updates (see JBEAP-3386) and to be compliant with requirements in EAP 7.

      (1) 1.4.3.1. Explore the helloworld Quickstart
      {{The helloworld quickstart is comprised of a Servlet, a CDI bean, and an empty beans.xml file that tells JBoss EAP to look for beans in this application and to activate the CDI. }}
      – empty beans.xml is no longer needed to activate CDI

      (2) 1.4.3.2. Explore the numberguess Quickstart
      {{The beans.xml file consists of only the root element and is simply a marker file to tell JBoss EAP to look for beans in this application and to activate the CDI. }}
      – the same as (1)

      In case beans.xml files will be removed from the Quickstarts, documentation must be updated accordingly.

      If beans.xml is not removed from these quickstarts, documentation should be updated, too. The reason is that documentation says that the beans.xml is empty. However, the file is not empty - it contains setting: bean-discovery-mode="all". Documentation should explain why this is set in the beans.xml.

      Note: the explanation will be in "CDI" chapter, therefore Chapter 1 can refer to it, not to duplicate information.

            sgilda_jira Sande Gilda (Inactive)
            nziakova@redhat.com Nikoleta Ziakova (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: