On Monday 11 April 2011 02:12 PM, Carlo de Wolf wrote:
For the moment we should *not* support this. Not only would it
require
binding outside of java: space, but also combined proxies.
By combined proxies, I
guess you mean a proxy which is usable for all
(EJB3.x) exposed views of a bean. Yeah, we don't have that now in AS7.
And yes, except for backward compatibility, I don't see a usecase for
combined proxies.
-Jaikiran
There will be more cases in which we're no longer backwards
compatible
with AS 5/6.
If we can do MSC services with outside bindings (and we have combined
proxies) then it should simply be a service that binds some LinkRefs.
Carlo
On 04/10/2011 07:35 AM, Jaikiran Pai wrote:
> On Saturday 09 April 2011 10:43 PM, David M. Lloyd wrote:
>> Bindings outside of "java:" will not be backed my MSC services as we
>> have no way of controlling what is bound and when. We certainly could
>> support binding outside of "java:" but it's not really clear what
the
>> semantics (or use cases) are.
>>
>> I examined the example app and didn't find the lookup reference you're
>> referring to, but wouldn't it be a relative lookup regardless? Unless
>> they specified a URL scheme in the first segment that is?
> First we (used to) allow EJBs to be bound to JBoss specific (non java:)
> jndi name (Keks and KeksLocal in this example) via the jboss.xml of the
> ejb jar:
>
> <?xml version="1.0" encoding="UTF-8"?>
> <!DOCTYPE jboss PUBLIC
> "-//JBoss//DTD JBOSS 5.0//EN"
> "http://www.jboss.org/j2ee/dtd/jboss_5_0.dtd">
> <jboss>
> <enterprise-beans>
> <session>
> <ejb-name>GeometricModelBean</ejb-name>
> <jndi-name>Keks</jndi-name>
> <local-jndi-name>KeksLocal</local-jndi-name>
> </session>
> </enterprise-beans>
> </jboss>
>
> Then we allow a ejb-ref/ejb-local-ref of the bean to point to this jndi
> name. In this case the ejb-ref is in the web.xml. The jboss-web.xml of
> the war allows for specifying the lookup name:
>
> <jboss-web>
> <ejb-ref>
> <ejb-ref-name>ejb/GeometricModel</ejb-ref-name>
> <jndi-name>Keks</jndi-name>
> </ejb-ref>
> ....
>
> <!-- EJB Local References -->
> <ejb-local-ref>
> <ejb-ref-name>ejb/GeometricModelLocal</ejb-ref-name>
> <local-jndi-name>KeksLocal</local-jndi-name>
> </ejb-local-ref>
> </jboss-web>
>
> That jndi-name/local-jndi-name gets translated to lookup name of the
> ejb-ref/ejb-local-ref.
>
> -Jaikiran
>
>
> _______________________________________________
> jboss-as7-dev mailing list
> jboss-as7-dev(a)lists.jboss.org
>
https://lists.jboss.org/mailman/listinfo/jboss-as7-dev