can i use it with my normal classes i'm looking for a way to have a singleton class and obtain it from a shared location, said class will contain, eventsbus,ActivityManager,ActivityMapper etc..
i also rely in many cases on static variable which are androgynous clases, i failed to to see that pressing F5 does not in fact re-initilzes them . On Thu, Jul 7, 2011 at 6:39 AM, Chris McBrien <chris.mcbr...@sjrb.ca> wrote: > I believe that GWT.create will by default give you back a shared single > instance. > > karthik reddy <karthik.ele...@gmail.com> 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 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. > > -- > 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. > > -- 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.