[
https://issues.jboss.org/browse/JBSEAM-5079?page=com.atlassian.jira.plugi...
]
Karoly Torok updated JBSEAM-5079:
---------------------------------
Description:
I'm trying to inject SLSB-s between multiple EJB module/project. These SLSBs are also
Seam components (therefore they have both @Name and @Stateless annotation + @Local).
The problem is that each time i want to inject a Bean from another project/module, Seam
predicts that the component is under the module from where i inject.
Consider the following:
MyEar.ear
- MyEjb1.jar
- MySLSB.class
- MyEjb2.jar
- MySeamComponent.class
- MyWar.war
Here i want to inject the MySLSB from the MySeamComponent. However they both belong to
separate modules. Behind the curtain Seam predicts that the MySLSB is under the MyEjb2
module. Altough its not.
I'm aware of that from JBoss v7 each beans are binded to a separate namespaces if they
are belong to separate modules. Altough im not sure this is the default behaviour if the
modules are not isolated (ear-subdeployments-isolated = false).
Any suggestion is warmly welcome.
was:
I'm trying to inject SLSB-s between multiple EJB module/project. These SLSBs are also
Seam components (therefore they have both @Name and @Stateless annotation + @Local).
The problem is that each time i want to inject a Bean from another project/module, Seam
predicts that the component is under the module from where i inject.
Consider the following:
MyEar.ear
- MyEjb1.jar
- MySLSB.class
- MyEjb2.jar
- MySeamComponent.class
- MyWar.war
Here i want to inject the MySLSB from the MySeamComponent. However they both belong to
separate modules. Behind the curtain Seam predicts that the MySLSB is under the MyEjb2
module. Altough its not.
I'm aware of that from JBoss v7 each beans are binded to a separate namespaces if they
are belong to separate modules. Altough im not sure this is the default behaviour if the
modules are not isolated (ear-subdeployments-isolated = false).
Any suggestion is warmly welcome.
Ejb bean injection between multiple Ejb module
----------------------------------------------
Key: JBSEAM-5079
URL:
https://issues.jboss.org/browse/JBSEAM-5079
Project: Seam 2
Issue Type: Bug
Components: EJB3
Affects Versions: 2.3.0.Final
Environment: JBoss 7.1.1
Seam 2.3
Reporter: Karoly Torok
Priority: Minor
Labels: injection, seam, slsb
I'm trying to inject SLSB-s between multiple EJB module/project. These SLSBs are also
Seam components (therefore they have both @Name and @Stateless annotation + @Local).
The problem is that each time i want to inject a Bean from another project/module, Seam
predicts that the component is under the module from where i inject.
Consider the following:
MyEar.ear
- MyEjb1.jar
- MySLSB.class
- MyEjb2.jar
- MySeamComponent.class
- MyWar.war
Here i want to inject the MySLSB from the MySeamComponent. However they both belong to
separate modules. Behind the curtain Seam predicts that the MySLSB is under the MyEjb2
module. Altough its not.
I'm aware of that from JBoss v7 each beans are binded to a separate namespaces if
they are belong to separate modules. Altough im not sure this is the default behaviour if
the modules are not isolated (ear-subdeployments-isolated = false).
Any suggestion is warmly welcome.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira