Following the forum proposal, here is a sample code to demonstrate how to integrate rmiio over http with spring httpInvoker.
The code is composed of :
* an API with is the Java contract common between the client application and the server application
* a client application : a simple Test case that invokes a download and an upload
* a server application (a web app) : a server implementation that exposes download and upload facilities for rmiio.
It should be interesting if it was reviewed and included in the documentation of rmiio. And perhaps some of the classes of the server side implementation could be integrated directly in rmiio binary API.
the sample code.
very cool, thank you. will try to get this integrated when i have some free time (unfortunately in short supply these days).
Very clean code, thank you. Your code does not contain any license info. I presume it is okay if i add the LGPL headers used in the rest of the project?
Also, to run the unit test, do i need to run a web server separately w/ the server war? (the unit test doesn't start a test server?)
Yes, you can add the license info to the code and also rewrite part of it if you want.
For the test, the war server should be deployed on a tomcat or another servlet container before launching the test in order to make it work.
View and moderate all "feature-requests Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Feature Requests"
We would like to use your code in one of our projects. Can we put it under the LGPL and use it as well? Seems to take some more time until it get's included in RMIIO.
We would like to use your code in our project. Since it seems to take some more time until it is integrated into RMIIO, can we put it under the LGPL ourselves and use it? (naming you as author of course)
Yes, can put it under LGPL and use it in your project.
It's great seeing this feature is useful to others.
Thanks a lot. I've placed the code at https://bitbucket.org/ruediste/rmiio-springhttpinvoker . Cheers
Last edit: Ruedi Steinmann 2013-02-18