GWT is pure client side.

The server package only comes into use for example if u were using GWT +
GAE, then you would put your server-side classes in the server package.  The
server package has no relationship with GWT.

On Thu, May 27, 2010 at 12:25 PM, Magnus <[email protected]>wrote:

> As I said, I am absolutely new to GWT. I don't know, which code to put
> on the server and which on the client. Is there a basic rule, then
> please let me know.
>
> In general, I would try to put as much as possible to the server, but
> I cannot really judge, what fits where best...
>
> Thank you
> Magnus
>
> On May 27, 7:10 pm, Pavel Byles <[email protected]> wrote:
> > Could you say what the purpose of a ServerPanel is?
> > Everything for GWT afaik should be placed in the client or shared
> directory.
> > I don't think there is much sense in using client-side ui objects on the
> > server.
> >
> > On Thu, May 27, 2010 at 11:55 AM, Magnus <[email protected]
> >wrote:
> >
> >
> >
> > > Hello,
> >
> > > I am absolutely new to GWT and I would like to start with a generic
> > > panel as a container for my GUI.
> >
> > > So I created a new Panel derived from SimplePanel and added it to my
> > > host page:
> >
> > > final MyPanel p = new MyPanel ();
> > > RootPanel.get("TestContainer").add(p);
> >
> > > Within the panel constructor I create a text box, so that I can verify
> > > that everything works.
> >
> > > However, I wonder where to place my panel class: I placed a class
> > > "ClientPanel" in the client directory and a class "ServerPanel" in the
> > > server directory within the eclipse project directory tree.
> >
> > > When I use the ClientPanel, it works. When I use the ServerPanel, I
> > > get errors within eclipse, e. g.
> > > "[ERROR] [firstwebapp] Unable to find type
> > > 'fwa.Application.client.FirstWebApp'"
> >
> > > Any hints?
> >
> > > Thank you
> > > Magnus
> >
> > > --
> > > 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]<google-web-toolkit%[email protected]>
> <google-web-toolkit%[email protected]<google-web-toolkit%[email protected]>
> >
> > > .
> > > For more options, visit this group at
> > >http://groups.google.com/group/google-web-toolkit?hl=en.
> >
> > --
> > -Pav
>
> --
> 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]<google-web-toolkit%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>
>


-- 
-Pav

-- 
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