3 Replies Latest reply on Jun 16, 2005 8:04 AM by Bill Burke

    Multiple DB support

    Tim Kettler Newbie

      Hi,

      first I have to say that I'm not very experienced with EJB so please correct me if I'm wrong.

      In EJB < 3.0 it is possible to assign (in the Deployment Descriptor) a datasource for each Entity Bean. So one could for example have a Bean A from DB A with an association to Bean B from DB B and when accessing the beans, the container trasparently queries/updates the different underlying databases.

      If I understand the specification correctly this will not be possible with the JBoss/EJB3 implementation at the moment. Will this be possible in the final version? If not, are there any recommended practices how to work around this?


      Thanks in advance
      Tim Kettler