This is standalone code if you want to use Aegis (default) binding and OpenJMS. No configuration files need to be touched. And yes, you need to provide the Echo sample.
This is the server code:
This is the code to get ConnectionFactory from your OpenJMS server. Defaults are used so you might not need to change anything. Just start the OpenJMS server and you should be good to go. If you want to use some other implementation of JMS, replace this code with your own.
Here is a function which will direct all logs to console. You can call it at the beginning of main().
Finally this is the client code. It uses the same ConnectionFactoryMgr as the server above. Also, currently it throws an exception. To correct it you need to replace "contextClient" with "this" at Client.java (either in Debug mode or change the XFire code). I'll update as soon as I manage to fix the client code.
The code is mostly self-explanatory. For the rest study the code and debug ![]()


