Under the push parsing approach, a push parser generates synchronous events as a document is parsed, and these events can be processed by an application using a callback handler model
This is the text given in the book Pro XML Development with Java about SAX 2.0.
As for StAX, the book says:
Under the pull approach, events are pulled from an XML document under the control of the application using the parser.
I want to ask, what is the meaning of the highlighted text ? An answer befitting a beginner is appreciated :)
See Question&Answers more detail:os