Hi All, I'm currently implementing a method to cache some data using Java. I want to keep some tenant specific data ( tenantId, artifactType , bean objects). For that i'm using following Map.
*Map<Integer, Map<String, List<TaxonomyBean>>> taxonomyMap = new HashMap<>();* Is this a good practice ? That is , *keeping list of bean objects inside a HashMap* . What is the best practice ? Please advice. Regards -- *Lahiru J Ekanayake**Software Engineer* Mobile : +94 (0) 77 8812629 / +94(0) 778509547 Email : [email protected] WSO2, Inc.; http://wso2.com/ lean . enterprise . middleware.
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
