Paul Libbrecht wrote: > > Hello XWiki fellows, > > in order to customize Curriki for our needs, I need to some functionaiity. > I need some GUI modifications, some of which can be done in GWT, some of > which have to happen on the server, within velocity or java to call to a > lucene-based tool. > > This tool is already as a webapp, aside of /xwiki, as /SearchI2G > > What would be the best way to make such a call? > > - make curriki's java server code depend on SearchI2G's or make a macro. > In both cases, most webapp's jars need to be shared which I don't like > too much > - make a web-call (such as json RPC call), that's the loosest integration > - make something else that would use some sort of naming interface > (pointers welcome). > > what do you think? >
IMHO (personal, without any backing documents) is that since it is another application altogether, you should leave it as separated as possible, so a web service call is the best choice. This allows you to move the application to another host, as long as you keep the same communication protocol. A faster method (faster as in running time, not implementation time) would be to transform SearchI2G into an XWiki plugin/module, working inside the same application. -- Sergiu Dumitriu http://purl.org/net/sergiu/ _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs

