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/).. 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]. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=.
