WebSphere Portal Server - Deploying a servlet within Portal

This is Interesting: Free IT Magazines  
Home > Archive > WebSphere Portal Server > August 2006 > Deploying a servlet within Portal





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Deploying a servlet within Portal

2006-08-25, 7:31 pm

I've been working on a servlet application that we've developed using
Tomcat & Jetty. Now we want to develop some portlets that will
communicate with our servlet. Ideally we would package our portlets &
servlet within a single war and deploy it under Portal and have a
constant url (including context) for the servlet (the url for the
portlets don't matter and can be assigned by Portal). The goal is to
allow non-Portal apps to still communicate with the servlet directly
and have a simple deployment (ie avoid installing apps into Was &
Portal seperately if possible).

I've been searching around the docs and haven't seen info about how to
deploy a servlet within Portal, is this possible?

I've seen the ServletInvoker but we don't want to wrap the servlet
within a portlet. I've also seen the URl Mapping functions within
Portal Admin but this doesn't seem to be useful for what I'm doing.

2006-08-25, 7:31 pm

I have been able to deploy a war (using the Portlet Management -> Web Modules interface) to install a war. I can embed the portlet within a page and it works correctly. I can see the servlet's init is executing within my logs but I can't figure our the ur
l to access my servlet directly (I've tried all combinations I can think of).

btw, I'm using Portal 6.
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com