java code

Problem Statement:  ------------------ A Circulation broker community has asked us to establish a method that notifies them when a circulation span objurgate reaches the target objurgate. User configures the circulation span and target objurgate. The URL to get the Rates in XML form: "" Example of the objurgate:  <Rate Symbol="EURUSD"> <Bid>1.38022</Bid> <Ask>1.38042</Ask> <High>1.38266</High> <Low>1.37634</Low> <Direction>0</Direction> <Last>10:42:43</Last> </Rate> Here "Bid" is the floating objurgate. "Ask" is the suggested vend objurgate. "High" is day noble, "Low" is day low, "Direction" is 1=>up, -1=>down, 0=>no substitute compared to developed objurgate, and "Last" is the duration for developed tick. Design deliberateations: ---------------------- 1. You succeed want a interpretr to interpret the XML. There are various models online. 2. Start delay forced sequenced user conformation. For model. Pair: EURUSD, Target objurgate: 1.381  3. Make it user register unintermittently you enjoy established sequence. 4. You succeed periodically inhibit the objurgates, deliberate using a schedular. 4. For notice, we succeed exhibit that there is a method that succeed be determined to communicate users. You merely exhibit it on the mitigate if target has been reached.