Uploaded image for project: 'IronJacamar'
  1. IronJacamar
  2. JBJCA-12

Programmatic Connection Definition Deployment

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Obsolete
    • Icon: Minor Minor
    • None
    • None
    • Core
    • None

      Forums Discussion Thread: http://www.jboss.org/index.html?module=bb&op=viewtopic&t=48673

      Provide a mechanism where ConnectionFactorys/DataSources (Connection Definitions)
      can be deployed/undeployed programmatically.

      The basic design is as follows:

      1) Provide a mechanism to instantiate MetaData for a connection factory.
      This information is the same as the -ds.xml deployment format.
      The MetaData can be logically divided into at least the following categories:

      • RAR/ConnectionDefinition identification
      • ManagedConnectionFactory
      • Pool
      • Security
      • ConnectionManager
      • Proxy/JNDI binding

      2) Write an optimized version of the MetaData for the DataSource deployments
      which are really a simplified version of the ConnectionFactory deployments with some
      hardwiring.

      3) Write a service that deploys the ConnectionFactory (creates MBeans)
      from the MetaData and undeploys them based on their id (jndi binding).

      4) Convert the ConnectionFactory deployer to construct the MetaData from the -ds.xml
      files and invoke the service new service.

              jpederse@redhat.com Jesper Pedersen
              adrian.brock Adrian Brock (Inactive)
              Votes:
              3 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: