The application monitors a directory of xml files with orders using WatchService and when an event occurs(file creation), a new working thread is started unless the filename is invalid or is not a file. The thread will receive the path of the newly created file and will parse that file using SAXParser. Every xml file will be splitted in as many files as the number of unique suppliers. Every supplier file will contain the corresponding products from the original file but sorted descendent by timestamp and price. For a better performance, the application runs in a concurrent way using a pool of threads.
-
Notifications
You must be signed in to change notification settings - Fork 0
catalin-burcea/multithreaded-xml-parser
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
December 2014
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published