Java sending data to Enterprise Server

I have written a Java program that retrieves some data from the database. The program has a class StudentResult that holds the information.

Now, I would like to send StudentResult to the webMethods Enterprise Server from the Java program.

Can anyone advise how this can be achieved?
If you have any sample code / tutorial that is related to Java program communicating with Enterprise Server, that would be much appreciated.


Hi, Willy:

If you have installed webMethods Enterprise Server, you can find some samples from WMESINSTALLATION/samples/java_api directory for subscribe, publish, and request. Hope these samples can help you.