when using GWT.create(..) for image bundle, i18n or service

1.should i put the GWT.create() as global variable private final in
the main class (entry point) and pass as reference to all my composite
class files that required it?
2. should I just put the GWT.create() in every constructor of each
composite class that required?
3. should I put as global variable private final in every composite
class that required to use it?

which approuch is best prastice? currently i using technique "1"
because I saw it is used in the 'sample mail' source code. what do you
think?




--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to