[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-4304) Autoconfigure datasources from JBoss in DTP

Max Rydahl Andersen (JIRA) jira-events at lists.jboss.org
Wed Nov 4 09:02:17 EST 2009


    [ https://jira.jboss.org/jira/browse/JBIDE-4304?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12493085#action_12493085 ] 

Max Rydahl Andersen commented on JBIDE-4304:
--------------------------------------------

Transient is cool - but not what I was thinking about ;)

Here is the workflow I imagine:

I create a Server (i.e JBoss AS)
point it to an existing installation that has some -ds.xml files (data source descriptions)
Today it would just give me a Server entry in the server view I could have fun with.
But it actually also gives me an entry in the JMX perspective since AS exposes a JMX protocol.

I want to do the same for the datasources we know are on the server (reading the -ds.xml files or even by using a running server and query it for that info)
and list those as possible DTP connection to query on.

When I delete the server those DTP connections/profiles should go away.

We could of course do it by creating actual DTP connections and removing them on a delete-server-trigger...but were just wondering if there were an API available which our server adapters could implement instead so it becomes a "Ask servers if they got some connections to list" instead of the adapters having to maintain the list ?

> Autoconfigure datasources from JBoss in DTP
> -------------------------------------------
>
>                 Key: JBIDE-4304
>                 URL: https://jira.jboss.org/jira/browse/JBIDE-4304
>             Project: Tools (JBoss Tools)
>          Issue Type: Feature Request
>          Components: JBossAS
>            Reporter: Max Rydahl Andersen
>            Assignee: Brian Fitzpatrick
>             Fix For: 3.1.0.CR1
>
>
> It would be great if DTP would automatically (or semi-automatically) could be configured to pickup the -ds.xml in a server runtime so users didn't have to set it up.
> Not sure where in the ui we should have this, a couple of options come to my mind:
> 1) At AS Server/runtime creation have a checkbox saying "Configure -ds.xml automatically in DTP" and then we will keep DTP informed about the -ds.xml files for it to pick up
> 2) In DTP's ui have a way to add or maybe only import a -ds.xml and have it preconfigured.
> The biggest issue will be to know which drivers we should be using for -ds.xml...
> Things that should be considered:
> If users changes the -ds.xml how does DTP learn about it ?
> If the users remove the -ds.xml how does DTP react ?
> If the users add .?
> Needs investigation into if DTP have extensions point that allows for this kind of 'monitored' resources to update the connections; or if it is better to simply just have a way to "import" settings from ds.xml's (and then possibly have a manual refresh to pickup changes)
> Or have both.
> The usecase for this is to be able to use already existing and newly added -ds.xml files from within Eclipse with minimal setup, i.e. for Seam and Dali projects.
> (I think this is a duplicate, but couldn't find it ;(

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

        


More information about the jbosstools-issues mailing list