How can I programmatically add portlet to the JBoss Portal dashboard of specific user? Is there any remote API of the JBoss Portal to do this? SOAP web service, may be MBean-based API? Of course, as a last resort I can implement such service myself and deploy it to the JBoss Portal, but ideally it should not require deploying anything to the JBoss.
I need to do this from application not deployed on the JBoss. It runs on the separate Tomcat instance. The application knows the portal address, it knows the user name and credentials, I can establish any trust relationships I need between the application and the portal.
More detailed description: I have a Google Gadget and I want to create a button in my application that will add the gadget as a portlet to my portal. So, user opens my application, presses the "Add to dashboard" button and Google gadget is added to the portal dashboard.