This code is client code. Is there an equivalent server side code, where there is no need to make any server connection?
Not sure what you mean by saying that this code is client side code.
The code makes an EJB connection to the LiveCycle server which executes the toPS command server side and then returns it to the requester.
I am curious to know if there is code that converts PDF to Postscript without going through an EJB. In other words you need to have a server running to do the conversion. Can it be done without the server?