Details

    • Type: Wish Wish
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.1.x
    • Fix Version/s: 3.1.x
    • Labels:
      None

      Description

      Support for an ejb-jar level JNDI ENC that all ejbs in an ejb-jar can share. The individual JNDI ENC of a bean would override the ejb-jar level ENC the resulting ENC is available to each bean as their ENC.

      This could be configured in the bottom of the assembly-decsriptor element of the ejb-jar.xml as an zero or more.

      <assembly-descriptor>
      ...
      <env-entry>
      <env-entry-name>defaultDateFormat</env-entry-name>
      <env-entry-type>java.lang.String</env-entry-type>
      <env-entry-value>YY-MM-DD</env-entry-value>
      </env-entry>
      <env-entry>
      <env-entry-name>regionalCurrency</env-entry-name>
      <env-entry-type>java.lang.String</env-entry-type>
      <env-entry-value>USD</env-entry-value>
      </env-entry>
      </assembly-descriptor>

      People who do any real work with JNDI end up specifying a few JNDI entries over and over again in an ejb-jar which is really annoying. Those that don't want to go that route attempt to use hacks to try and reference properties files on the system.

        Activity

        Hide
        Jean-Louis MONTEIRO added a comment -

        Works

        Show
        Jean-Louis MONTEIRO added a comment - Works

          People

          • Assignee:
            Unassigned
            Reporter:
            David Blevins
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Due:
              Created:
              Updated:
              Resolved:

              Development