Just to add to that; if you are using Java on your server side you may
be planning to use Servlets. If that's the case you can have a look at
the following tutorial.

http://lkamal.blogspot.com/2008/09/java-gwt-servlets-web-app-tutorial.html

Cheers.



On Fri, Jul 10, 2009 at 9:58 PM, Jim<[email protected]> wrote:
>
> If you plan to use Java for your server side, you don't have to use
> XML http requests. You can use the built-in RPC to retrieve Java
> objects from server and send to GWT clients or vice versa. That is a
> big advantage to stick to Java in server side. You can find an example
> in http://www.gwtorm.com/gwtMail.jsp.
>
> Jim
> http://www.gwtorm.com
> http://code.google.com/p/dreamsource-orm/
>
> On Jul 10, 10:54 am, Neha Chachra <[email protected]> wrote:
>> Hi,
>>
>> I started using GWT only about a week ago and I have rather little
>> experience with client-server interactions so I wish to make sure that I am
>> headed in the right direction. Though, I am guessing that the question is
>> not directly related to GWT and I apologize for that.
>>
>> Basically, I am making a webpage. Depending on the data in SQL server, I
>> need to render widgets on the page. As a simple example, if there are 20
>> data items, then I need to make 20 check boxes with the labels as retrieved
>> from the server.
>>
>> The data on the server changes rather infrequently.
>>
>> While I am able to do this currently, I have a feeling it's not the best
>> approach to the problem. I am making XML Http requests to the server, and
>> then I parse the data and render the widgets accordingly on the fly.
>>
>> I am wondering if that's a good solution... I am confused because it feels
>> like I have the data already, then I should be able to avoid data requests
>> and the consequent delay in rendering. But with this approach, I can't think
>> of a way to update the webpage appropriately if the data in the SQL server
>> changes.
>>
>> Any opinions/suggestions?
>>
>> Thanks a lot,
>>
>> Neha
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to