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

No way to provide external configuration for @Service beans

    XMLWordPrintable

Details

    • Feature Request
    • Resolution: Unresolved
    • Major
    • None
    • EJB 3.0 RC9 - FD
    • EJB3 Extensions
    • None

    Description

      The @Service bean is a great extension. However, it does not seem to provide any functionality for external configuration. Jboss mbeans can be configured in service.xml files using attribute elements. EJB3 stateless session beans can be configured using env-entry elements in the ejb-jar.xml. The @Service bean is a hybrid of these two components, but has no facility for external configuration. The jboss.xml file has elements for service bean instantiation, but provides no env-entry nor attribute style elements for configuring said bean.

      I've attempted to use a stateless entry in the ejb-jar.xml referencing the @Service bean with env-entry elements. This does not cause any errors on deployment, but it also does not do anything.

      Attachments

        Activity

          People

            Unassigned Unassigned
            jahlborn james ahlborn (Inactive)
            Votes:
            4 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: