Web project should be dependent on EJB project.
Open properties dialog for web project.
Select section Java EE Module dependencies.
Check in the list EJB project.
When dependency is created, it is saved in /.settings/org.eclipse.wst.common.component
file as
<dependent-module deploy-path="/WEB-INF/lib"
handle="module:/resource/burnout-ejb/burnout-ejb">
<dependency-type>uses</dependency-type>
</dependent-module>
After the modification of dependencies, to ensure update of Seam model, select on web
project 'Close Project', then 'Open Project', then clean/rebuild it.
To check that Seam model is correct, use Seam Components view. It is necessary to
customize the view (by view toolbar menu) by unchecking filter 'Seam Components from
Referenced Projects. Also it may be more convenient to check in 'Scope
Presentation' option 'Label' rather than 'Node', otherwise you need to
know the scope of the component to find it.
Certainly, the component declared in EJB project must be under this project's node in
this view. If web project uses EJB project, and its Seam model is loaded and updated
correctly, then this component must be under web project's node as well.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4194592#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...