The current SEAM documentation shows the contents of the components.xml file as follows:
<components> | | <component name="org.jboss.seam.core.init"> | <!-- JNDI name pattern for JBoss EJB 3.0 --> | <property name="jndiPattern">#{ejbName}/local</property> | </component> | | </components> But using this code doesn't seem to work. The example code that ships with the distribution uses the following for components.xml: <components> | | <component name="org.jboss.seam.core.init"> | <property name="myFacesLifecycleBug">true</property> | <property name="jndiPattern">jboss-seam-registration/#{ejbName}/local</property> | </component> | | <component class="org.jboss.seam.core.Ejb" | installed="false"/> | | </components> | | In this case, they are prefixing the jndiPattern with "jboss-seam-registration" which is the name of the archive file. This version works. But, is this necessary? Isn't there a way to reference the EJB without having to provide the name of the archive/application context? This prevents you from being able to rename the EJB jar file without remembering to update a framework-specific properties file. Can't you reference a bean using the ENC? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957111#3957111 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957111 _______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user