<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Joe Walker wrote:
<blockquote cite="mid5dd4742605040306137e6fe108@mail.gmail.com"
type="cite"><br>
Yeah, I saw the same and wondered the same.<br>
<br>
It all looked like good news, except that you needed to maintain 2
files rather than one, or use Eclipse based tools to maintain the
resource files.<br>
<br>
Did you get where the memory savings came from?<br>
</blockquote>
ResourceBundle holds all its strings in core for as long as the program
runs. This is a major criticism of RBs as they are core intensive and
they don't allow for reloading, thus getting dynamic changes (e.g.
changing locales from within the program).<br>
<blockquote cite="mid5dd4742605040306137e6fe108@mail.gmail.com"
type="cite"><br>
Joe.<br>
<br>
<div><span class="gmail_quote">On Apr 3, 2005 1:36 PM, <b
class="gmail_sendername">DM Smith</b> <<a
href="mailto:dmsmith555@gmail.com">dmsmith555@gmail.com</a>> wrote:</span>
<blockquote class="gmail_quote"
style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">At
the eclipse website, they have an improvement over resource bundles<br>
as it does not keep the bundle resident in memory for the life of the<br>
program once the bundle is loaded.<br>
<br>
<a
href="http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/platform-core-home/documents/3.1/message_bundles.html">http://dev.eclipse.org/viewcvs/index.cgi/~checkout~/platform-core-home/documents/3.1/message_bundles.html</a><br>
<br>
Since we are using resource bundles for our internationalization but<br>
hiding them behind the Msg, MsgBase and ActionFactory classes, we might<br>
benefit from looking at their implementation.<br>
</blockquote>
</div>
</blockquote>
<br>
</body>
</html>