Annotate a bean for RMI via HTTP

WARNING - TOPIC NOT WRITTEN - TOPIC ID: 3821

This topic has not yet been written. The content below is from the topic description.
Annotating a bean for RMI via HTTP Optionally, you can annotate the bean for invocation via RMI via HTTP. This can be useful for testing, as it allows you to tunnel RMI calls through firewalls that block RMI ports, but removes the extra layer of the security configuration. Example 15.6. Annotating a bean for RMI via HTTP // RMI tunneled over HTTP @Stateless @RemoteBinding(clientBindUrl = "http://0.0.0.0:8080/servlet-invoker/ServerInvokerServlet") @Remote(Calculator.class) @SecurityDomain("other") public class CalculatorHttpBean extends CalculatorImpl { ....