Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Java to Javascript and Datasources

    Hi there,

    i'm mainly a Java guy and not really well versed in the behind-the-scenes workings of GWT/SmartGWT. So, i have a question

    When looking at optimizing / performance, is there anything at all to gain by for example declaring a DataSource object in a central place and then passing that single pointer object around via method call and class constructor parameters , versus just calling DataSource.get("X) in every place that you need to get hold of a DataSource object of a certain type?

    My guess is not, and that it wont even make any difference after the compiler has done its job? Would be great to hear from experts.

    #2
    No, there would be no gain at all from doing this.

    Comment


      #3
      Right, thanks for quick response!

      Comment

      Working...
      X