2 Replies Latest reply on Jun 22, 2004 10:47 AM by spiritualmechanic

    creating and deleting datasources programatically

    vasudevk

      I need to create and delete datasources from my program. I am able to do this in weblogic using weblogic management api. how do i achieve this in jboss 3.2.3

        • 1. Re: creating and deleting datasources programatically
          vasudevk

          Currently I create the *-ds.xml file dynamically and save it in the deploy dir. To delete, I delete the file from the deploy dir and let the hot deploy feature do the rest, but ultimately it has to be done programatically and need not depend on the hot deploy feature of jboss

          • 2. Re: creating and deleting datasources programatically

            Currently this can't be done. I'm working on it, but the development is going slower than I thought it would, partly because I'm slow and partly because I have a real job.

            If you want to write some custom code for yourself I can help walk you through it, but I'm trying to get to a point where you can send in the properties and have it set up the MBeans for you automatically.