aspose file tools
The moose likes Java in General and the fly likes XML push processing Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Java in General
Reply Bookmark "XML push processing" Watch "XML push processing" New topic
Author

XML push processing

Anand Ramesh
Greenhorn

Joined: Apr 28, 2009
Posts: 27
How would we justify this statement "push processing, the parser controls the application thread, and the client can only accept invocations from the parser."

Ref
http://java.sun.com/webservices/docs/1.6/tutorial/doc/SJSXP2.html


Ramesh
SCEA 5
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12267
    
    1
That is a fair statement of what happens when you start a SAX parser.

The Thread executing the parser calls the methods you have supplied in a "client" class until the last closing tag of the document is encountered.

What is your problem with it?

Bill

Java Resources at www.wbrogden.com
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: XML push processing
 
Similar Threads
Stax Vs SAX Parsers
Does XML/DTD/SCHEMAS have condition statement?
JSpinner and arrows
support for " @ActivationConfigProperty(propertyName = "sendUndeliverableMsgsToDMQ", propertyValue "
concep of callback