• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

Get data from DB with GWT RPC

 
Ranch Hand
Posts: 66
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello, i have an gwt UI with different Widgets on it, and i need to get Data from DB Tables into this widgets, i have two dropdownlist widgets one of them is related to another so that if i choose one category in the first dropdown then it has many subcategorys in the second dropdown, and i need to get this data from DB table with gwt rpc. There is tables for this dropdownlists in the db also. I can't understand what to do to get this data from db tables with this gwt rpc. Should i create methods with query in Impl, Service and ServiceAsync classes for getting data from db tables and then call this methods from EntryPoint class? Any suggestions would be appreciated.
 
Bartender
Posts: 11497
19
Android Google Web Toolkit Mac Eclipse IDE Ubuntu Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

S Roberts wrote:Hello, i have an gwt UI with different Widgets on it, and i need to get Data from DB Tables into this widgets, i have two dropdownlist widgets one of them is related to another so that if i choose one category in the first dropdown then it has many subcategorys in the second dropdown, and i need to get this data from DB table with gwt rpc. There is tables for this dropdownlists in the db also. I can't understand what to do to get this data from db tables with this gwt rpc. Should i create methods with query in Impl, Service and ServiceAsync classes for getting data from db tables and then call this methods from EntryPoint class? Any suggestions would be appreciated.


Yes. If any of the dropdown selection values affect this query, you can pass those values as arguments to these method(s)
 
I suggest huckleberry pie. But the only thing on the gluten free menu is this tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic