[jboss-jira] [JBoss JIRA] Commented: (JBAS-1425) Programmatic Connection Definition Deployment

Dimitris Andreadis (JIRA) jira-events at lists.jboss.org
Fri Sep 28 03:21:41 EDT 2007


    [ http://jira.jboss.com/jira/browse/JBAS-1425?page=comments#action_12379246 ] 
            
Dimitris Andreadis commented on JBAS-1425:
------------------------------------------

The deployment infrastructure changes considerably for AS5.0 so I don't think the work on this issue is still of interest.

One hack that I can think of for 4.2.x is playing with the .xml descriptors:
http://wiki.jboss.org/wiki/Wiki.jsp?page=DeploymentService

> Programmatic Connection Definition Deployment
> ---------------------------------------------
>
>                 Key: JBAS-1425
>                 URL: http://jira.jboss.com/jira/browse/JBAS-1425
>             Project: JBoss Application Server
>          Issue Type: Task
>      Security Level: Public(Everyone can see) 
>          Components: JCA service
>            Reporter: Adrian Brock
>         Assigned To: Weston Price
>            Priority: Minor
>
> 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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list