Java - Key-Value Decision Making
<p>What would be the best way to store the following Business Rules in a File so that they can be applied on the input values which would be keys?</p>

<pre><code>Key-INDIA; Value-Delhi.
Key-Australia; Value-Canberra.
Key-Germany, Value-Berlin.
</code></pre>

<p>One Solution :- Xml</p>

<pre><code>&lt;Countries&gt;
  &lt;India&gt;Delhi&lt;/India&gt;
  &lt;Australia&gt;Canberra&lt;/Australia&gt;
  &lt;Germany&gt;Berlin&lt;/Germany&gt;
&lt;/Countries&gt;
</code></pre>

<p>As the number of rules are going to be > 1000; implementing it using Map is not possible.</p>

<p>Regards,
Shreyas.</p>
