Hello,
>> my JM will handle all steps ,call rest api+ JDBC and send the file to NFS
First of all let me say that u have taken a brave decision to do everything inside code...I am wondering about ur exception handling.
>>Only I am thinking If I avoid the RA step,does it runs or not?
Now coming to ur question, if u don't create RA then anyway ur JM will be executed but ur interface flow will go into error in PI - not a good option.
So what i would suggest u is to create a dummy RA and dump the response of JM to NFS location (PI file system) and ask ur BASIS team to write (2 lines of script) and schedule (it daily) to remove that unwanted file from NFS location.
Other option would be(not sure at this stage u want to check that option or not) to schedule ur Java code as a job in SAP PI. So in that case u don't need any interface or JM.
Thanks
Amit Srivastava