GlassFish technology pages on EJB 3.0 and deployment
Ken Saks from the EJB group in GlassFish has written up some samples for the new EJB 3.0 APIs. There are samples for Stateless, Stateful and Message Driven Beans and all include the source, instructions for deploying and at least one client. Take a look to become more familiar with this technology.
Tim Quinn has published a page describing how deployment works in GlassFish with examples on the different ways users can deploy their application.