I'm relatively new to the JAX-RS / Jersey and I am trying to execute a powershell script in my REST Web Service but I don't want to inline my script into my Java code. Is it possible to embed a powershell script into a Jersey Restful Web Service and read it as a stream during runtime like how it is done by embedding it as a text resource in Visual Studio project? I have tried search online but I'm able to find any reference on embedding resource in JAX-RS/Jersey
Thanks in advance.