GWT uses RPC mechanism for communication between server and client.
I would do something like this:
myserver.getresultsservercall(
new AsyncCallback() {
public void onFailure
( Throwable caught )
{
}
public void onSuccess( Object
result )
{
//cast the results to
an array
//initialize the
com.xxx.login.client.Report composite/panel with this result.
}
);
Regards,
Satya
>
> I have a connection to a database on the server side, I'm sticking
> results into array, this is in my com.xxx.login.server.PSQLConnection
> class.
> I also have a class which is responisble for drawing the webpage etc
> com.xxx.login.client.Report.
> I have no idea at this point how to pass this array from the server to
> the client.
>
> Any ideas ?
>
> Help
>
> Regards
>
> PEter
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---