From: <tom...@jb...> - 2005-06-06 20:38:02
|
You will also need to add the following annotation to your bean: | @RemoteBinding(clientBindUrl="socket://[host]:[port]") | So an example from the ejb3 tutorial would be: | ... | @Stateful | @RemoteBinding(clientBindUrl="socket://66.56.72.34:3873") | public class ShoppingCartBean implements ShoppingCart, Serializable | { | ... | where the external address for my server is 66.56.72.34. In a future release of ejb3, this should not be required and should pick up the proper locator url as specified in the server (via the jboss-service.xml). However, overriding the bind information for the client will always be allowed via the RemoteBinding annotation (if have a particular need for this). View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3880515#3880515 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3880515 |