Cheng Fang wrote:
> Pls see inline comments.
>
> [snip]
>> If I had another interface
>>
>> @Local
>> public interface LLStatelessLLocal {
>> ...
>> }
>>
>> that I wanted to associate with the (original) bean, would I put
>>
>> <ejb-jar version="3.0" xmlns="http://java.sun.com/xml/ns/javaee"....>
>> <enterprise-beans>
>> <session>
>> <ejb-name>StatelessL</ejb-name>
>> <local>ejb3.LLStatelessLLocal</local>
>> </session>
>> ....
>>
>> or do I need to put in more info than that. bonus q: is the local
>> interface ejb3.StatelessLLocal still "available".
>>
>>
>>
> Can't do that. These are component-defining annotations and can't be
> changed/overridden/augmented by xml descriptor.
But, if I have an annotation free class and interface like
pojo.MyInterface and pojo.MyClass (where MyClass implements
MyInterface), can i do something like....
<enterprise-beans>
<session>
<ejb-name>IHateMetadata</ejb-name>
<local>pojo.MyInterface</local>
<ejb-class>pojo.MyClass</ejb-class>
</session>
....
Thanks,
vbk
>
>> thanks,
>> vbk
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>>
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>