Apr 25th, 2008, 04:46 AM
Spring RCP - HTTP client
Is any support provided for the HTTP client in Spring RCP? I am working on an SWT application based on Spring framewrok. I need to add a HTTP client in that. I was just wondering if I can get help from the RCP framework.
Any help will be much appreciated.
Apr 25th, 2008, 05:17 AM
Do you mean a webbrowser? If so, you could try to integrate JDIC (or JDICPlus) in your application.
But last time I checked, RCP is Swing based, not SWT, so I don't know whether you'll be able to use it. Someone correct me if I'm wrong.
Apr 25th, 2008, 06:00 AM
I knew it is meant for Swing applications. On its site, I read that the design principle has been 'view agnostic'. As a result I thought that may be the core components, such as a HTTP client implementation may be used by an SWT app.
I dont need a web browser. My desktop application needs to talk to a server app. For this reason, I need to add HTTP client in my desktop app. Of course I can use apache's HTTP client library. But was just wondering if Spring has provided any support for it in its framework.
Apr 25th, 2008, 10:20 AM
sounds like you might want to look at Spring's remoting support. For example, they have a HttpInvoker that imppments RPC over Http. Integrates nicely with Spring RCP.
Originally Posted by nitingupta183