aspose file tools*
The moose likes GWT and the fly likes Get data from DB with GWT RPC Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » GWT
Bookmark "Get data from DB with GWT RPC" Watch "Get data from DB with GWT RPC" New topic
Author

Get data from DB with GWT RPC

S Roberts
Ranch Hand

Joined: Dec 06, 2013
Posts: 66
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

Joined: Jul 26, 2007
Posts: 10519
    
    9

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)


[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Get data from DB with GWT RPC