I'm using latest versions of Spring Framework and Hibernate. I know how I can create custom version of MessageSource. But what would be best way to serve i18n messages. Because if I query database every time application needs internationalization, it will cause huge amount traffic to database, and often queries will just return same answer for same queries.
I would like to hear about good ways to implement this? Would it be good way to store all messages to memory or what would be best way to effectively serve messages?