I have a exe executable application processing some transaction logic. I have another java client which can send jms messages to ESB. Message content is passed from exe to java client through argument parameters.Every transaction will have to send jms messages.
So, on every transaction, need to load JVM again and again.Create JMS connection, sessions, etc.
How can i reuse the previous JVM, so i'll be able to re-use jms connection, session,etc. Specially to avoid loading and unloading of java memory on each transaction?
Seems you have to use a hosted java app, means something like a servlet/RMI application. So you can re-use resources from there over the network. Here you can re-use JVM resources on hosted app, but network resources are re-created. Think of what is best for you.