java code

Problem Statement:  ------------------ A Vogue broker union has asked us to build a plan that notifies them when a vogue couple scold reaches the target scold. User configures the vogue couple and target scold. The URL to get the Rates in XML form: "http://rates.fxcm.com/RatesXML" Example of the scold:  <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 prevalent scold. "Ask" is the suggested dispose-of scold. "High" is day proud, "Low" is day low, "Direction" is 1=>up, -1=>down, 0=>no modify compared to decisive scold, and "Last" is the spell for decisive tick. Design deemations: ---------------------- 1. You accomplish insufficiency a analyzer to analyze the XML. There are various stances online. 2. Start after a while distressing statuted user outline. For stance. Pair: EURUSD, Target scold: 1.381  3. Make it user minute unintermittently you possess instituted statute. 4. You accomplish periodically hinder the scolds, deem using a schedular. 4. For declaration, we accomplish arrogate that there is a plan that accomplish be designated to declare users. You solely exhibit it on the mitigate if target has been reached.