Hi Guys, I tried Betwixt from apache(http://commons.apache.org/betwixt/index.html). And it works out of box. I only got into some problems as i downloaded some older version of dependecies(Digester and beanutils). So when using Betwixt make sure you have latest version of all dependecnies.
Also in local it will not ask for dependecies as GWT-window jar contains DIgester and Collection classes, but on GAE server you need it. So download those jars and keep them in your lib folder. I dont miss JAXB any more :) Thanks, Ravi. On Sun, Nov 22, 2009 at 8:13 PM, Rusty Wright <[email protected]>wrote: > Here are some bookmarks I have for xml: > > http://www.xom.nu/ > http://www.smooks.org/mediawiki/index.php?title=Main_Page > http://jibx.sourceforge.net/ > http://xstream.codehaus.org/ > http://castor.org/ > > I'll be trying castor. > > > Ravi wrote: > > Hi Few days back i asked a question that which libraries can be used > > to Convert Object to Xml and vice versa, and got advice to use betwixt > > (http://commons.apache.org/betwixt/)<http://commons.apache.org/betwixt/%29> > .. > > I tried it and its working locally but on GAE server its not working > > and throwing following exception > > > > org.apache.commons.betwixt.XMLIntrospector introspect: Security > > manager does not allow bean info search path to be set > > > > then i suppose we can not use Betwixt on GAE. If we can then can > > anyone tell what i can do to make it work. > > If not then can you suggest any othe rlibarary which can be used..... > > > > Thanks, > > Ravi. > > > > On Nov 8, 5:50 pm, LUAI KASSAR <[email protected]> wrote: > >> Use Apache betwixt ,its works on GAEhttp://commons.apache.org/betwixt/ > >> > >> > >> > >> On Sun, Nov 8, 2009 at 7:46 PM, Ravi Sharma <[email protected]> > wrote: > >>> I am not sure if i understand you. > >>> Can you explain bit more, an example or link would be great. > >>> I can do normal Sax parsing but then writing code for each different > kind > >>> of xml is gonna be very tidious work.So looking for some GAE supported > >>> libararies like JAXB or XMLBEAN > >>> My Requirment is as follows(in cae is there was any misunderstanding) > >>> <xml> > >>> <order> > >>> <clientinfo> > >>> <name></name> > >>> <address></address> > >>> </clientinfo> > >>> <items> > >>> <item> > >>> <name>PersonName</neam> > >>> <quantity>2</quantity> > >>> <price></price> > >>> </item> > >>> </items> > >>> <vendor> > >>> <name>My Venod ltd</name> > >>> <address>ABC 234</address> > >>> </vendor> > >>> </order> > >>> and now in java if i want to get the vbendor name > >>> tehn i should be able to access it using classes directly(which will be > >>> generated compile time) > >>> Order order = SomeMarsheller.unmashel("fullxml"); > >>> String vendorName = order.getVendor().getName(); > >>> My Orginal Mail was > >>> Hi, > >>> Is there any library like Apache XMLBeans/JAXB supported in Google APP > >>> Engine which can be used for converting XML to Java Object and Java > >>> Objects to XML. > >>> I checked the White lists of libraries and found that > >>> JAXB is not supported ( I have already stared the issue related to it) > >>> and Xmlbeans was not mentioned as Supported Library. > >>> I am sure lots of people here doing this normal thing to convert Java > >>> Object to XML and Vice Versa. > >>> Please Suggest some thing > >>> Ravi. > >>> On Fri, Nov 6, 2009 at 3:59 PM, rakeshv <[email protected]> wrote: > >>>>> I am sure lots of people here doing this normal thing to convert Java > >>>>> Object to XML and Vice Versa. > >>>>> Please Suggest some thing. > >>>> The XML element/attribute pair maps quite well into the low level API > >>>> Entity/properties structure. That should be all you need. > >>>> Rakesh- Hide quoted text - > >> - Show quoted text - > > > > -- > > > > You received this message because you are subscribed to the Google Groups > "Google App Engine for Java" group. > > To post to this group, send email to > [email protected]. > > To unsubscribe from this group, send email to > [email protected]<google-appengine-java%[email protected]> > . > > For more options, visit this group at > http://groups.google.com/group/google-appengine-java?hl=. > > > > > > -- > > You received this message because you are subscribed to the Google Groups > "Google App Engine for Java" group. > To post to this group, send email to > [email protected]. > To unsubscribe from this group, send email to > [email protected]<google-appengine-java%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/google-appengine-java?hl=. > > > -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
