Uploaded image for project: 'Maven EAR Plugin'
  1. Maven EAR Plugin
  2. MEAR-181

Adding ejb-ref in application.xml

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.9
    • 2.10
    • None

    Description

      It's great to be capable of generating an application.xml when building an ear. But I do have application local jndi names that should be assigned to the correct one during building the application. There are technical components that don't know their destination at build time. But when packaging the ear the destination is known. So I want to redirect application local names.

      My Scenario:

      I want to prevent the deployment when a required service is not available in the required version in a multiple versions per ear scenario. (The jndi name of the required service depends on the version number of the api that is used within the ear)

      e.g. java:app/serviceXYZ-> java:global/ear/module/serviceXYZ

      <ejb-ref>
      <ejb-ref-name>java:app/serviceXYZ</ejb-ref-name>
      <ejb-ref-type>Session</ejb-ref-type>
      <lookup-name>java:global/ear/module/serviceXYZ</lookup-name>
      </ejb-ref>

      I'd really appreciate to be able to add ejb-refs to when generating an application.xml

      Thanks

      Attachments

        Activity

          People

            khmarbaise Karl Heinz Marbaise
            byteschubser Byte Schubser
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: