This week's book giveaway is in the Java in General forum.
We're giving away four copies of Event Streams in Action and have Alexander Dean & Valentin Crettaz on-line!
See this thread for details.
Win a copy of Event Streams in Action this week in the Java in General forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Knute Snortum
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Ron McLeod
  • Piet Souris
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Frits Walraven
  • Ganesh Patekar

Get data from DB with GWT RPC

 
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.
 
Bartender
Posts: 11445
18
Android Google Web Toolkit Mac Eclipse IDE Ubuntu Java
  • 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)
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!