Menu

questioning about HA-JDBC usage

Help
yongmay
2011-09-13
2012-09-28
  • yongmay

    yongmay - 2011-09-13

    Currently we are trying to explore HA-JDBC to use in our application. Would
    like to seek advice.

    Here is the situation, application is standalone java application,working with
    more than one database (oracle).
    So need to control transaction management with datasource.
    Would like to know whether it is possible to use HA-JDBC alone to connect
    databases by datasource without using any application server.

    Thanks,
    Yong May

     
  • Paul Ferraro

    Paul Ferraro - 2011-09-14

    Sure. Most database drivers provide DataSource implementations. HA-JDBC can be
    configured either to look up a DataSource in JNDI, or create the vendor-
    specific DataSources directly. Your application will, however, need to create
    the HA-JDBC DataSource in your bootstrap code. Let me know if you have
    additional questions.

     

Log in to post a comment.