Best approach for Legacy

We have to connect to legacy systems (support ODBC/JDBC).
We want to know which one would be the best approach in order to have a real time communication.
Which kind of adapter should we use?
Thanks