session management- webmethods java service

Hi,

I am new to webMethods… Can you please tell me via example as how to do session handling in a java service that uses only webMethods API

Thanks,
Keil

use class:
import com.wm.app.b2b.server.Session;

by adding jar: wm-isserver.jar

refer to documentation: Integration_Server_Java_API_Reference