<html><body bgcolor="#FFFFFF"><div></div><div><span class="Apple-style-span" style="font-size: 15px; -webkit-tap-highlight-color: rgba(26, 26, 26, 0.296875); -webkit-composition-fill-color: rgba(175, 192, 227, 0.230469); -webkit-composition-frame-color: rgba(77, 128, 180, 0.230469); color: rgb(0, 35, 163); ">Hi Lincoln,<br><br>Sorry for taking so long to respond to your email!<br><br>I've taken a look at the Messages code you committed the other day and I had a few questions about some areas that I didn't quite understand in reading the code:<br><br><ol><li>I noticed that Bundles contained @Named and was wondering what your thoughts were about the bundles being directly EL accessible?</li><li>With BundleMessage I wasn't sure if it was purely the Builder pattern that dictated that the BundleKey was set through a method call as opposed to on the constructor or whether there was another reason?</li><li>What are the benefits to MessageFactory returning concrete implementations as opposed to the MessageBuilder interface?</li><li>What are the benefits to Messages containing the same methods as MessageFactory, without them saving the result in the Messages map?</li><li>Should Messages be @ConversationScoped to support parallel requests from the UI?</li><li>If I've understood the code any message bundles that contain properties need to be specified as strings in code.&nbsp; Was there any thought of using XML Config to read them in, as this was something Dan and I had discussed in the past?</li></ol>If I understood the usage scenarios correctly they would include:<br><br>Messages.add(<a href="http://MessageFactory.info/" x-apple-data-detectors="true"><a href="http://MessageFactory.info">MessageFactory.info</a></a>(new BundleKey("bundle", "key"), 2).build());<br><br>OR<br><br>Messages.add(<a href="http://MessageFactory.info/" x-apple-data-detectors="true"><a href="http://MessageFactory.info">MessageFactory.info</a></a>(new BundleKey("bundle", "key"), 2));<br><br>OR<br><br>Creating an instance of MessageImpl directly and set the values before passing it to Messages.add();<br><br>Could just be me, but these seem quite wordy just to add a message to the UI?<br><br>What I am planning is to prototype what I have been thinking of doing, using what you've already done as inspiration.<br><br>What are your thoughts on other features that should be in an Alpha 1 of i18n?&nbsp; I've got no problem with releasing Alpha 1 with the Messages API you and Dan came up with to give me more time to think of possible alternatives.<br><font color="#888888"><br>Ken</font></span><br><br>Sent from my iPhone</div></body></html>