[Home] [By Thread] [By Date] [Recent Entries]
> Does anyone know if Xerces for Java can handle multiple requests to > parse at the same time. Let's say for example that everytime an XML > file is received from a remote location that it spawns a new thread that > will parse the XML data and do with it what it will. No SAX parser is expected to handle concurrency like that. One thread at a time per object, that's the rule. You can maintain a pool of parsers, and have each thread grab an unused parser from the pool, if it costs too much to create a parser. - Dave
|

Cart



