3 Replies Latest reply on Jan 12, 2008 3:34 AM by Scott Stark

    JBossGenericBeanMetaData for @Stateful

    Scott Stark Master

      I'm seeing JBossGenericBeanMetaData being created for an annotation only deployment:

      @Stateful(name="Stateful3Bean")
      @Remote({Stateful3IF.class})
      public class Stateful3Bean implements Stateful3IF {
      ...
      


      for which a jboss.xml like the following has been created:
      [starksm@succubus ejb]$ cat META-INF/jboss.xml
      <?xml version="1.0" encoding="UTF-8"?>
      
      <jboss xmlns="http://www.jboss.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.jboss.com/xml/ns/javaee http://www.jboss.org/j2ee/schema/jboss_5_0.xsd" version="3.0">
       <unauthenticated-principal>guest</unauthenticated-principal>
       <enterprise-beans>
       <ejb>
       <ejb-name>Stateful3Bean</ejb-name>
       <jndi-name>com_sun_ts_tests_ejb30_pkg_scope_Stateful3Bean</jndi-name>
       </ejb>
       <ejb>
       <ejb-name>Stateless3Bean</ejb-name>
       <jndi-name>com_sun_ts_tests_ejb30_pkg_scope_Stateless3Bean</jndi-name>
       </ejb>
       </enterprise-beans>
      </jboss>
      


      Should this be translated into a JBossSessionBeanMetaData when merged with the annotation generated metadata?