Hi Alvaro: What servlet container are you using?
FWIW at Google we have a hard-coded servlet engine that's not Tomcat at all. We install servlets independently (engine is similar to http://google-opensource.blogspot.com/2009/01/opengse-released.html). In what environment are you planning to use this? While I suspect we could get you running on another container (or even using hard-coded logic), security issues may be present. --j On Wed, Dec 8, 2010 at 11:55 AM, Alvaro Garcia <[email protected]> wrote: > Hello! > The problem is that my application is not running on tomcat and I can't to > deploy it on my server (then I can't use shindig-server-2.0.0.war). I was > looking for the way to render the gadgets through my web app using shindig > (jars contained in shindig-2.0.0-java.tar.bz2). > > In the documentation pages (such as > http://shindig.apache.org/developers/java/samples.html or > http://shindig.apache.org/developers/java/index.html) I can't be able to > find a solution to my problem. The project Socialsite ( > http://java.net/projects/socialsite/sources) seems to be what I want but I > have the same problem as with the shindig-server.war: I can't found any > reference to shindig libraries in the source code. > > I do not know if it is very complex but I would like somthing like: > > textfile: gadget.xml ---> String ---> (shindig) ---> rendered gadget (html > code) > > String content = textFile.getContent(); > String output = ShindigRenderer.render(content); > //Print the output > > Maybe it's crazy and I did not understand anything about how shindig works > and > so I wonder if shindig is what I need or I should look for another tool. > > Thank you! >
