You should be able to view the source and code to see if google is
doing it for you.

On 9/24/08, Alex Rice <[EMAIL PROTECTED]> wrote:
>
> I have subclassed Constants and Messages and am finding the facility
> to very useful. I have started to put code like this in many of my
> classes:
>
> public void useMyConstants() {
>   MyConstants myConstants = (MyConstants)
> GWT.create(MyConstants.class);
>   Window.alert(myConstants.helloWorld());
> }
>
> Would it make sense to wrap MyConstants and MyMessages in a Java
> singleton, or is GWT already optimizing this behind the scenes? I am
> just imagining *lots* of strings getting re-created every time the
> above type of code is called.
>
> Thanks in advance
>
> >
>


-- 
Xavier A. Mathews
Student/Developer/Web-Master
Google Group Client Based Tech Support
Hazel Crest Illinois
[EMAIL PROTECTED]
"Fear of a name, only increases fear of the thing itself."

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to