Java mapping in realtime

This question is answered

I am trying to implement Java mapping from the below blog.

while implementing in PI is it required to mention the filename(C:/Apps/my folder/ppn/training/test.xml) in programming, if so why we require it. Without that cant we directly implement directly? In real time how we use it please explain