Wednesday, July 15, 2015

Re: using a simple class to access data from any database using GWT RPC

Well, what did you expect from a message posted more than 8 YEARS AGO ‽
GWT-RPC doc: http://www.gwtproject.org/doc/latest/DevGuideServerCommunication.html#DevGuideRemoteProcedureCalls
Dynatable sample (as of 2.7.0): https://gwt.googlesource.com/gwt/+/2.7.0/samples/dynatable/ (mirror on GitHub: https://github.com/gwtproject/gwt/tree/2.7.0/samples/dynatable )

On Wednesday, July 15, 2015 at 3:52:25 PM UTC+2, Arya Kumari wrote:
Hi ,

   Links which is shared to see example is giving 404 error, can anyone please give the correct link ... want to check datasource code in gwt..
Thanks in advance...

On Tuesday, February 13, 2007 at 9:21:24 PM UTC+5:30, dimakura wrote:
see also

http://code.google.com/webtoolkit/documentation/com.google.gwt.doc.DeveloperGuide.RemoteProcedureCalls.html

here is good description how all it works.

On Feb 13, 3:49 pm, "dimakura" <dimitri.kurashv...@telasi.ge> wrote:
> It is better if you see "SchoolCalendarServiceImpl" class. Here data
> is generated randomly. And you should add here your db-functionality.
> Suppose for the moment that "USE_STATIC_RPC_ANSWERS=false" and see how
> remote service is called from client.
>
> On Feb 13, 3:15 pm, "veera" <sriram.veeramachan...@gmail.com> wrote:
>
> > since i was new to GWT please reply to my question elaboratively and
> > in the sample code of Dynatable
> > if (USE_STATIC_RPC_ANSWERS) {
> >         ServiceDefTarget target = (ServiceDefTarget) calService;
> >         String staticResponseURL = GWT.getModuleBaseURL();
> >         staticResponseURL += "calendar" + startRow + ".txt";
> >         target.setServiceEntryPoint(staticResponseURL);
> >       }
> > instead of txt file how shall i write a code which connect to database
> > for reerence:see the code of SchoolCalendarWidget.java file in the
> > Dynatable example given in GWT Example projects
>
> > On Feb 13, 8:09 pm, "dimakura" <dimitri.kurashv...@telasi.ge> wrote:
>
> > > Really simple question.
>
> > > Imagine that for GWT Dynatable example the data is in database. Write
> > > additional code, which retrieves data from database instead of simply
> > > taking it from static fields. That's all. You'll obtain your first "db-
> > > enabled" GWT application. Note, all db-actions are processed in server-
> > > code.
>
> > > On Feb 13, 2:36 pm, "veera" <sriram.veeramachan...@gmail.com> wrote:
>
> > > > Hai
> > > > Don't think this as a simple question and answer this.In the examples
> > > > of GWT Dynatable shows how to retrieve data from static files using
> > > > RPC but in my project i should retrieve database using RPC from any
> > > > exwidget.java file- Hide quoted text -
>
> > > - Show quoted text -

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment