Sample of Servlet accessing a protected EJB

Tomcat Logo  JOnAS Logo

All right!
Now you're authentified by Tomcat by your principal : tomcat.
So you just have to click on the sample button to execute the servlet.