I opened up a new thread on this issue, as it's a bit different from my original one. You had mentioned an example of running EJB's in an OSGi bundle under Glassfish V3_1-SNAPSHOT. Were you referring to "EJB as OSGi Service demo at eclipsecon" (http://weblogs.java.net/blog/ss141213/archive/2010/03/30/ejb-osgi-service-demo-eclipsecon )? Or did you have another example in mind?