My point was that this thread is concerned with using web technologies to enhance the webconsole. If applicable, these web technologies could be wrapped/ported/extended/whatever to make them generally available in OSGi. Then the webconsole could use them just like any other servlet.
Thanks for the pointer to Sling's JSON bundle. I currently do use a modified version of Sling's JSON bundle (version 2.0.2-incubator). The stock version requires JCR which we don't need, so I just remove src/main/java/org/apache/sling/commons/json/jcr/JsonItemWriter.java and src/test/java/org/apache/sling/commons/json/jcr/JsonItemWriterTest.java then rebuild. I just recently started using gson (http://code.google.com/p/google-gson/) which is a higher level library. So far, I'm very happy with it. The trunk now packages gson as a bundle and should be in their next release (gson 1.4). Tim Moloney The reasonable man adapts himself to MRSL the world; the unreasonable one persists 2015 Cattlemen Road in trying to adapt the world to himself. Sarasota, FL 34232 Therefore all progress depends on the (941) 377-6775 x208 unreasonable man. George Bernard Shaw > -----Original Message----- > From: Felix Meschberger [mailto:[email protected]] > Sent: Wednesday, June 10, 2009 09:24 > To: [email protected] > Subject: Re: Google Summer of Code > > Hi Tim, > > The Apache Sling project has a bundle-ized version of the > JSON library. > I am sure there are others around. > > Is that what is of interest to you ? > > Regards > Felix > > > Moloney, Tim M schrieb: > > I'm not familiar with JAX-RS but I do use JSON. Most > bundles that I've seen that use JSON simply embed a JSON library. > > > > Could some of these technologies be made available to > bundles implementing servlets that are *not* part of the webconsole? > > > > > > Tim Moloney The reasonable man adapts himself to > > MRSL the world; the unreasonable one persists > > 2015 Cattlemen Road in trying to adapt the world to himself. > > Sarasota, FL 34232 Therefore all progress depends on the > > (941) 377-6775 x208 unreasonable man. George Bernard Shaw > > > > > > > >> -----Original Message----- > >> From: Juan José Vázquez Delgado [mailto:[email protected]] > >> Sent: Wednesday, June 10, 2009 04:23 > >> To: [email protected] > >> Subject: Re: Google Summer of Code > >> > >>> Yeah, sorry about that. Jersey was just an example but > >> obviously CXF > >>> JAX-RS would be a great alternative to that ;) > >> Ok. In the other hand, I´m agree with Felix, a pluggable > design would > >> be desirable. What about a JSON based server layer?. You > could still > >> use JAX-RS anyway. > >> > >> BR, > >> > >> Juanjo. > >> > > > >
