users@glassfish.java.net

Embedded EJBContainer and Embedded Glassfish

From: emiddio-frontier <emiddio_at_frontier.com>
Date: Mon, 16 May 2011 16:42:31 -0700

I am confused -- I can make use of Embedded EBJContainer , and have.
--
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