I should add that I am using jboss 3.2.3 on windows.
You can set the default security on the security manager.
How do you expect us to help you speed it up, when you don't demostrate
why it is slow?
server.invoke() is the native call, it is also what happens when you deploy