[Design of EJB 3.0] - Re: @RemoteBindings and clientBindUrl - JNDI binding questio
by jaikiran
anonymous wrote : So I read many @RemoteBindings as targeted to expose any N number of bindings for the Default Business Interface Proxy.
|
So if the @RemoteBindings is just a way to specify multiple bindings, can the clientBindUrl for these N number of bindings can be same or should they differ? I mean can there be 2 different bindings on the same clientBindUrl and the user can expect the proxy to be bound to both these jndi names :
@Stateless
| @RemoteBindings({
| @RemoteBinding(jndiBinding="MyBean")
| @RemoteBinding(jndiBinding="AgainMyBean") --> same default clientBindUrl
| })
| public class MyBean implements MyBusinessInterface1, MyBusinessInterface2, MyBusinessInterface3{...}
|
Just wanted to understand whether the clientBindUrl is just another property of the @RemoteBinding or is it the deciding factor on the number of bindings for the default business proxy.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4167373#4167373
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4167373
16 years, 5 months