|Exposing additional HTTP link to RAP application [message #1012362]
||Thu, 21 February 2013 07:12
| Tiago Simoes
Registered: May 2011
I have a RAP 2.0 application where everything works and everyone is happy.
I now have to provide a HTTP link for the server to dump some information to files. At first I was considering using the RAP download file trick, e.g.
ServiceManager manager = RWT.getServiceManager();
manager.registerServiceHandler( "download", new DownloadServiceHandler() );
String url = manager.getServiceHandlerUrl( "download" );
Unfortunately this does not suit my needs as it requires a running RAP application (for the context to be initialized). In my case the link must be active as long as the server is running even if there is no running application.
I then thought about a simple HTTP servlet using plain equinox features (e.g. taking the example from the quickstart section of the equinox site), however I would like to know if this would have any impact in my RAP application or if there is a better way to achieve it.
Any hint is welcomed!
Powered by FUDForum
. Page generated in 0.01918 seconds