Data exchange between a java component and a Windows service

R

Rubio

I need to print labels from a web application. The only solution I've
come up with is to have a java component that sends the information
that I need to print to a Windows service that does the actual
printing. I know how to write a Windows service that would, for
example, open a named pipe server, but I don't know how to connect to
the pipe with java, or if it's even possible. Any ideas (or a better
solution)?
 
O

Oliver Wong

Rubio said:
I need to print labels from a web application. The only solution I've
come up with is to have a java component that sends the information
that I need to print to a Windows service that does the actual
printing. I know how to write a Windows service that would, for
example, open a named pipe server, but I don't know how to connect to
the pipe with java, or if it's even possible. Any ideas (or a better
solution)?

Wouldn't it be simpler to have the service listen on a TCP/IP port, and
have Java communicate to it that way?

- Oliver
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top