Reputation: 355
I am using a SAXParser in Java to parse my XML documents. Now I would like to improve the performance and parse multiple documents at once.
Is this possible?
Upvotes: 0
Views: 337
Reputation: 29523
Yes, you can do that with Concurrent Programming. Spawning different threads where each of them parses one document would realize multithreaded XML parsing. Making use Thread Pools would ease the implementation.
Upvotes: 3