In AS7, can an EJB be deployed as an OSGi bundle where one would be able to get the usual from that EJB (remoting, security, transactions, clustering etc.) and also get the OSGi modularisation, ability to restart, upgrade, have multiple versions, segregation etc.
I have been looking around but could not find any examples of it being possible on JBoss AS7. There is this entry http://community.jboss.org/thread/169344 but in it the EJB is called from an OSGi bundle rather than EJB being a bundle itself.
So if anyone is aware of how it is done in AS7 could you please post some pointers.