Your question wasn't very clear, but as I understood it, I don't think anyone has answered you yet.
You're asking why does gwt emulate the sql package? Clearly, you can't use sql in the browser (yet, I think HTML5 is adding a client database, but I have no idea how it is accessed), so I think these types are just to allow you to pass these objects back and forth over the wire. Notice they are all data structure types, and not, for example, java.sql.Connection. As for your second question about splitting code, I think it is best practice to create a 'client' and a 'server' folder. Additionally, I tend to create a subfolder of client named 'rpc' that contains any services or serializable types I plan to use, and another folder named 'ui' for anything actually rendered in the browser. Good luck! On Mar 11, 12:51 am, mousedolly2002 <[email protected]> wrote: > I have worked with GWT for a while. > And I want to know why and how does GWT extract these subset of the > core Java class libraries ? > ashttp://code.google.com/intl/ja/webtoolkit/doc/latest/RefJreEmulation.... > anyone can tell me. > > And, I want to know if there is any best practice or rules about how > split code between server side and client side. > > thanks a lot! > OI will appreciate your reply. -- 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.
