Migrating a jetty based editor [message #549151] |
Sun, 25 July 2010 12:17 |
|
Hi,
I have a existing RCP application. The application displays a Web page (html file) in Editor using browser, by doing following:
1) For each web page it starts a new jetty server instance with unique port.
2) When server is ready, it deploys the war of project to the server
3) It launches a browser with a URL to access the web page in the browser.
The editor for the web page is specific to a session and user.
We were creating multiple jetty server instances and were using it for each editor.
In RAP we already have single server where the application runs. How should we migrate the multiple jetty server approach into single server RAP setup ?
Thanks and Regards,
Ashwani Kr Sharma
|
|
|
Re: Migrating a jetty based editor [message #549268 is a reply to message #549151] |
Mon, 26 July 2010 10:34 |
|
Hi Ashwani,
I don't understand why you fire up one server for every web page.
Anyway, if you need to take the user session into account, then maybe
ServiceHandlers could help to delegate to your existing code.
HTH, Ralf
Ashwani Kr Sharma wrote:
> Hi,
>
> I have a existing RCP application. The application displays a Web page
> (html file) in Editor using browser, by doing following:
> 1) For each web page it starts a new jetty server instance with unique
> port.
> 2) When server is ready, it deploys the war of project to the server
> 3) It launches a browser with a URL to access the web page in the browser.
>
> The editor for the web page is specific to a session and user.
> We were creating multiple jetty server instances and were using it for
> each editor.
>
> In RAP we already have single server where the application runs. How
> should we migrate the multiple jetty server approach into single server
> RAP setup ?
>
> Thanks and Regards,
> Ashwani Kr Sharma
|
|
|
Powered by
FUDForum. Page generated in 0.02905 seconds