Wednesday, January 22, 2014

Getting GUI error codes from third party system, converting Data base error code and storing in DB. Getting DB error codes and convert GUI error codes and show the error messages. To handle this witch collection frame work should we need to use?

Solution:

Use two HasMaps to solve this problem.

HashMap hm1 = new HashMap();
hm1.put("GUI Error codes","DB Error codes")

HashMap hm2 = new HashMap();
hm2.put("DB Error codes","GUI Error codes")

No comments:

Post a Comment