True. Nearly. The point is that much of the processing and business logic can be transferred to the client (it's not just UI).
So, for instance, an order number can be checked to ensure that it fits the pattern before you worry the server about it. That is a simple example that you'd be doing in old-style JS anyway. What you might not do is to validate that an XML doc parses OK before you send it. If you can write a check in Java for the server, you can create the JS to do it on the client and catch errors before submission. You will also want to check on the server end before accepting it, but the point is that you can offload a lot of processing and catch problems using the client's cpu cycles, not your server's. My CPU is currently hitting about 3% and this is a development laptop! Save your server's cpu cycles (save the user a round trip, and give them an instant response) by letting them validate. Checks on the server are really then only double-checks and for security reasons. Ian http://examples.roughian.com 2009/10/12 azure <[email protected]> > > Great. I got the answer. GWT can only be used for the UI and not for > serverside processing. RPC/RequesBuilder/JSON etc are helpful to > communicate with the server. Thank you all for posting. :) > > On Oct 12, 5:15 pm, Ian Bambury <[email protected]> wrote: > > GWT is client-side only. It's JavaScript created from Java. You can't use > it > > on the server. > > RPC is just a link to serverside Java. PHP is a language used on servers, > > just like any other. Spring is a Java framework for use on servers. > > > > Requestbuilder is just a link to serverside "anything" > > > > Ian > > > > http://examples.roughian.com > > > > 2009/10/12 azure <[email protected]> > > > > > > > > > Hi, > > > From some of the projects using GWT I've seen, they use GWT for the > > > client side only (eg. Google wave client and many others that I can't > > > remember right now). So, I think it is better to use some other > > > technology at the serverside like PHP, Spring etc. > > > > > On Oct 12, 8:08 am, Kamal Chandana Mettananda <[email protected]> > > > wrote: > > > > How about using GWT with SSL? > > > > > > --------------------------------------- > > > > Kamal Mettanandahttp://lkamal.blogspot.com > > > > > > On Mon, Oct 12, 2009 at 7:28 AM, Alvin Reyes < > > > [email protected]>wrote: > > > > > > > Same inquiry here, can i trust GWT with such development? Is it > safe to > > > use > > > > > this technology in making an enrollment / payment system? > > > > > > > On Mon, Oct 12, 2009 at 9:53 AM, azure <[email protected]> > wrote: > > > > > > >> I don't think we can trust RPC for such. So, is it better if I use > > > > >> Spring or similar technology at the serverside? > > > > > > >> On Oct 11, 9:40 pm, aMen <[email protected]> wrote: > > > > >> > is this a secure approch?? > > > > > > > -- > > > > > Alvin Jay P. Reyes > > > > > IT Consultant / Software Developer > > > > > # 5 San Vicente Ferrer St. San Antonio Valley 1 Sucat Pque > > > > >http://www.brainyquote.com/link/quotefu.rss > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
