If the requirement is pure parsing and not the Marshalling and u- Marshalling from xml to objects, you may be better off using Stax or SAX parsers.
On Dec 26, 4:29 am, Didier Durand <durand.did...@gmail.com> wrote: > Hi, > > I don't need xsd and don't parse very large xml but the code is simple > to implement: so, unless you have a huge code base already working on > JAXB, you can probably write directly with the classes provided by GAE > > It's hard for me to compare with jaxb that I didn't use that much. > > The issue I see with JAXB and other external jars is that you need to > check their requirements againt the JRE list that I provided im my > previous post: you are never sure that the next version will require a > class unsupported by GAE. > > regards > > didier > > On Dec 26, 11:44 am, androidDeveloper <stepmas...@googlemail.com> > wrote: > > > > > > > > > Hi, > > > This approach would be my next choice. but implementing and testing > > this should be more complex as with JAXB? > > > On 26 Dez., 08:54, Didier Durand <durand.did...@gmail.com> wrote: > > > > Hi, > > > > I use the xml parsing classes that are natively part of GAE JDK > > > itself : javax.xml.parsers.DocumentBuilder, > > > javax.xml.parsers.DocumentBuilderFactory, org.w3c.dom.Document, etc. > > > > See bottom ofhttp://code.google.com/appengine/docs/java/jrewhitelist.html > > > > Aren't those enough for what you want to achieve ? > > > > regards > > > > didier > > > > On Dec 23, 6:54 pm, crllvnc <crll...@gmail.com> wrote: > > > > > I've been using JAXB for xml file unmarshalling in an upload servlet. > > > > As far as I remember, the only size limit I have faced is related to > > > > the 30s timeout. > > > > > Here are my imports : > > > > import javax.xml.bind.JAXBContext; > > > > import javax.xml.bind.JAXBElement; > > > > import javax.xml.bind.JAXBException; > > > > import javax.xml.bind.UnmarshalException; > > > > import javax.xml.bind.Unmarshaller; > > > > > Maybe switching from JAXB2 to JAXB would solve (part of) your > > > > problems. > > > > Moreover, JAXB does not require any jar. -- 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 google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.