[jboss-dev-forums] [Design of EJB 3.0] - Re: Empty @Remote on bean class

scott.stark@jboss.org do-not-reply at jboss.com
Wed Dec 5 02:59:20 EST 2007


The AnnotationMetaDataDeployer was assuming metadata complete unless there was a jboss metadata that was not marked as complete. Because there was no jboss.xml/ejb-jar.xml the ejb3 test is not being processed.

  | [starksm at succubus ejb3]$ jar -tf output/test-lib/ejbthree1146.jar
  | org/jboss/ejb3/test/ejbthree1146/TestBean.class
  | org/jboss/ejb3/test/ejbthree1146/TestBeanBase.class
  | org/jboss/ejb3/test/ejbthree1146/TestRemoteBusinessInterface.class
  | 

I added a metaDataCompleteIsDefault property to the AnnotationMetaDataDeployer so that you can set that to false to have a deployment without a JBossMetaData instance to be processed. 


  |    <bean name="AnnotationMetaDataDeployer"
  |       class="org.jboss.deployment.AnnotationMetaDataDeployer">
  |       <property name="metaDataCompleteIsDefault">false</property>
  |    </bean>
  | 


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4110428#4110428

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4110428



More information about the jboss-dev-forums mailing list