Web and EJB facets in one module for JBoss

I know the bug is between chair and keyboard, but is it possible to develop one module with both EJB and Web facet? Each attempt to do this ends with Linkage error :( . This issue should be solvable by build jar (out/test.jar) in EJB facet and "Do not build JAR, link it from Manifest" Path=/test.jar - in Web module.

Thanks for hints.

If it is not solvable, which kind of EAR structure do you use?

Please sign in to leave a comment.