Connecting to ECC6 through Java code
We are having a batch jobs which calls an java application. This application connects to SAP Legacy 4.7 with JNDI name and fetches the data from 4.7 and loads to SQL DB. The application picks data from SQL table.
Now we need to collect data from ECC6 as well as from Legacy system. We have following queries:
1. Is it possible to fetch data from ECC6 as well as from 4.7 with same batch job?
2. We do not know what will be the JNDI name for ECC6, how to configure it or is there any other way to connect to ECC6 through Java.