Sample java code to send push notifications with APNS

Hi everyone,

I am looking for some sample java code that I can use to send push notifications from my server. Google returns a lot of third party libraries when searched but for some reasons I am not able to find even a single example without using any libraries.

Can anyone please share a sample java code with no 3rd party frameworks that I can refer and build my own code?

Appreciate your help.
Sample java code to send push notifications with APNS
 
 
Q