Servlet / EJB example

Congratulations! You seem to have successfully deployed the example.

This example is a very simple servlet which calls a very simple StatelessSession bean. The bean is deployed twice: once using Non Optimized calls (ie RMI), and once with the inVM optimization, so you can see the difference.

Execute the example
Execute the example with tracing
Execute the example with speed test

For better results in the speed test, I recommend to turn off debug logging: edit your jboss.conf file and find the ConsoleLogging entry: set the first ARG to "Information,Warning,Error".
Note that all tomcat logging is seen as "Information".

If you use a hotspot JVM, it will also get much faster after a while (click on "reload")