• 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
  • Paul Clapham
  • Liutauras Vilda
  • Knute Snortum
  • Bear Bibeault
Sheriffs:
  • Devaka Cooray
  • Jeanne Boyarsky
  • Junilu Lacar
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
  • salvin francis
Bartenders:
  • Tim Holloway
  • Piet Souris
  • Frits Walraven

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
19
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)
 
Hey cool! They got a blimp! But I have a tiny ad:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!