I have a specific requirement to write a specific application module as a portlet and deploy it in a JBoss server (not in a portlet container) and have it consumed in a portlet container (hosted in a different server). Can someone suggest if this is possible? If yes, could you give any pointers to this?