RTDE Code in Java

As RTDE is recommended than other ports. How can I use RTDE port in my URCaps not in daemon .Is there any resource there to develop RTDE in Java for URCaps.

Please two samples.
The latter is my developed sample.

Thanks @fuikit It’s good for RTDE Input and Ouput. Is there any thing like that to moveJ in RTDE?

Thanks @fujikit In SkyNet skynet/ExampleOutputV1.java at master · o5h/skynet · GitHub

where can I get Output in that above code. Because I tried to print from startOuput and SetupOutputV1 but I didn’t got output.