-- But how can I make use of Embedded Glassfish, and deploy an EJB and then get access to the context so i can lookup an EJB and invoke its methods? Is there a way to get access the the Embedded Glassfish's EJB Container ? Or -- am I completely confused as to the purpose of Embedded Glassfish vs Embedded EJBContainer ? thanks