Uploaded image for project: 'Geronimo'
  1. Geronimo
  2. GERONIMO-371

Improved structure for xxx-refs in geronimo plans

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.0-M2
    • Fix Version/s: 1.0-M3
    • Component/s: deployment
    • Labels:
      None

      Description

      In geronimo, jndi component environment references are resolved by turning some information supplied in an ejb-link or geronimo plan element into a complete object name. Resolving the reference usually consists of calling some method on the named gbean.

      Currently the "easy ways" are ejb-link in the spec dds or target-name for a resource-ref to a connection factory. non-link ejb-refs require you to supply the complete object name, which is difficult and error prone.

      All the target object names are jsr77 compliant names.

      This proposal is to have tags in the geronimo plan ref element for each component of the jsr77 name. Any that are not supplied can be filled in from the context. The elements are:
      domain
      server
      application
      module
      type
      name

      I'm not entirely clear on whether the server attribute will allow you to specify a server in a different vm. If not something along these lines will be needed as well.

      I'm proposing to keep the current target-name element in case you want to specify the entire name yourself.

      Among other things this should provide geronimo plan "ejb-link" like functionality and simplify access to javamail and other non-connectionfactory resources (if any)

        Attachments

          Activity

            People

            • Assignee:
              djencks David Jencks
              Reporter:
              djencks David Jencks
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: