Using the ORM API

I had a question come to me about the ORM API, albeit I haven’t had that much exposure to it, I do have some information for folks looking to use it:

Basic program flow:
1) use JNDI to get a hold of a running ORM server object
2) login to the server (credentials do matter!)
3) do work (getManager, createRole, etc)
4) close connection to server

Attached (if I can figure out how to do it) is a code sample.. If you need more information, drop a comment here.

Paul