realtime in case R3 -> jdbc
r3 -> jdbc pattern, if you have to implement realtime at r3 side(standard transaction).
IDOC is best way to do that?
Does IDOC support All standard t-code?
some people do not suggest IDOC,
please guide me, what is the best way to implement realtime at the r3 side
It depends on the System/Business Requirements/Time/Cost/standards available etc.
Following 3 are most common ways of communicating with XI from R/3
3) ABAP proxy
if standard idoc is already in place for your scenario, then use that, else use standard RFC available , if nothing available as a standard, and then you can really think of ABAP proxy. If you have huge amount of data to post in the Data Base thru JDBC, then you can think of ABAP proxy to achieve the same.
Even if you want to get the data from Table and you need to pass into the JDBC , you can think of JDBC sender adapter also. But you need think other parameters like security,amount of data etc.
Hope this helps,