I believe that GWT.create will by default give you back a shared single instance.
karthik reddy <[email protected]> wrote: I use my Resources.java (it extends ClientBundle and holds references to images etc) in multiple classes and in each class I would create an instance of it class using GWT.create(Resources.class) Would making this class a singleton offer me tangible performance gains or is it not worth the engineering effort ?? I am not looking for a quantified answer necessarily but even something of a gut check would suffice. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/WRE3Jx1rph0J. 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. -- 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.
