[Design of EJB 3.0] - Re: EJBTHREE-1062 and metadata
by ALRubinger
Yes, this is one example of Spec-defined logic that I'd like performed by jboss-metadata (not a deployer responsible for populating JBossSessionMetadata).
Another example is:
@RemoteHome
| public interface RemoteHome extends EJBHome{
|
| public RemoteInterface1 create();
|
| public RemoteInterface2 create2();
|
| }
The above example defines 2 EJB2.x Remote interfaces, even though they're not explicitly marked as such anywhere.
That's EJBTHREE-1127, defined by:
"EJB3 Core Specification 3.6.2.1" wrote : The return type of a create method on the remote home interface is the session bean's remote interface.
Currently this is being handled (improperly?) by Proxy generation code. Metadata doesn't access the ClassLoader for the Container, so I don't see a way to handle this there now. Ideas?
S,
ALR
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4151223#4151223
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4151223
17 years, 10 months
[Design the new POJO MicroContainer] - Re: Classloading and versioning
by alesj
"adrian(a)jboss.org" wrote :
| Another alternative would be for acme2 to declare a uses constraint
| such that it could fall back to ales version 1 when required. Then everybody
| would use ales version 1 with acme2's export of ales ignored.
|
| But that would fail in this example because it would still conflict on the scott package.
OK, this makes sense, and it's more logical.
But I still don't see why it would fail on scott?
Or you're assuming scott package uses something from ales?
Even if it would, why would that be a problem?
Shouldn't there be a way to tell that in-bundle usage is a black box, and scott's usage of ales is impl detail.
Would then there be a way to get runtime CCE if something ales's was exposed through scott and used in foobar?
Or how do you detect this at deployment, exposing the possible conflict?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4151221#4151221
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4151221
17 years, 10 months