[jboss-user] [EJB 3.0] - Re: Is there an equivalent of @RemoteBindings in jboss.xml

ALRubinger do-not-reply at jboss.com
Wed Nov 1 11:18:30 EST 2006


anonymous wrote : Then, in the ejb-jar/jboss.xml, if we could somehow default the binding url and port to the serverBindAddress and serverBindPort specified in the connector's config...

The EJBs' references to the InvokerLocator should already be defaulted to what's specified in the connector, right?  

I run a series of JBoss instances simultaneously on one machine, using the Service Bindings Plugin to override default ports for each service.  Haven't needed to use any @RemoteBinding annotations or XML overrides at the bean / EJB-JAR level to keep the EJBs aware of the environment they're deployed in.

RC9 will be needed for this; there were 2 issues I'd come across in previous versions, both discussed in this thread: http://www.jboss.org/index.html?module=bb&op=viewtopic&t=89537.

Hope this is clear / addressing your questions.

S,
ALR

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3982410#3982410

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3982410



More information about the jboss-user mailing list