I'm working in an environment that uses many EAR to provide all Portlets defined in the WLP. When I have to fix a bug in a portlet, I would like to be able to start the EAR on my developpment computer and run the other EAR on the test servers.
That means, being able to select dynamically a specific portlet provider server (using maybe a querystring argument?).
Is that possible ? Probably I'll have to add some specific code in the Portal but I don't know where to start.
I've looked at the Interceptor Framwork but the HttpRequest seems to be readonly. So it may not be possible this way.
Any help would be usefull.
Thanks in advance.
But the Apache Server is not really a solution because the apache server would be between the portal and the protlet provider. Though the switch between portlet providers would be easier with the Apache, it wouldn't be enough.
Indeed if one developer add a redirection in the Apache configuration to point to his own portlet provider and debug his portlet, then all the other developers would use its portlet provider.
I would rather think of a listener in the portal itself if possible.
Thanks for your help