A JBoss portlet can be made remotable by configuring the appropriate parameters in the configuration files. By default, JBoss portal server doesn't make its portlets available for remote Consumers. Hence, every portlet that needs to be exposed as a remote service, needs to be individually enabled in the portlet configuration file
jboss-portlet.xml file, needs an entry for the portlet with a
<remotable> tag set to
If this file doesn't exist, then a new file needs to be created.
The following code shows how a sample portlet, "SayHello", has been enabled for remoting:
<?xml version="1.0" standalone="yes"?> <!DOCTYPE portlet-app PUBLIC "-//JBoss Portal//DTD JBoss Portlet 2.7//EN" "http://www.jboss.org/portal/dtd/jboss-portlet_2_7.dtd"> ...