This shows a screen shot of the output from the "Local EJB Lookup within the Same Application" example. The top of the screen shows the output from the servlet, in H1 format:

Hello from hello servlet!

The bottom line shows the output from the EJB that was called by the servlet:

Hello from myEJB.HelloBean

End of description.