I have two projects, one which generates messages and sends them to the server via socket connection, and another project which sits server side, and consumes the messages and sends them to a queue. Is there anyway, rather than start the sender project first then start my server side project, export the first to a jar file and then somehow invoke the jar file and get it to start sending?
Thanks
If you want to invoke your jar file through code this is it –