Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Get data from DB with GWT RPC

 
S Roberts
Ranch Hand
Posts: 66
  • Mark post as helpful
  • send pies
  • 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.
 
Maneesh Godbole
Saloon Keeper
Posts: 11331
16
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • 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)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic