Apress - Beginning EJB 3 Application DevelopmentI’ve been reading this book: Beginning EJB 3 Application Development: From Novice to Professional (Beginning: from Novice to Professional) which uses Glassfish as it’s primary JEE application server.

Here’s a quick setup tutorial for using Glassfish with Eclipse and developing EJB3:

http://www.webagesolutions.com/knowledgebase/javakb/jkb005/index.html

If you’re using Jboss, here’s a recommended starter project for eclipse:
http://wiki.jboss.org/wiki/Wiki.jsp?page=StarterSkeletonEclipseProject