GWT is client-side mostly. If you don't use RPC then ANY webhosting works. This could be for instance when you make a Facebook application that uses their Javascript SDK or your own Javascript SDK.
If you use GWT RPC then you need a servlet hosting (like GAE) Each GWT module is a javascript library, you just write it in Java, that's the difference. So to maintain state between page navigation you need to use server-side. You can create a module for each page or a single module which is aware of the page which is loaded, and/or have the state transferred from the server. On Aug 10, 9:09 pm, spierce7 <[email protected]> wrote: > Thank you very much for your replies earlier today. Due to the link to > your app (and even the source code!), you've completely changed/ > corrected my view of how GWT is supposed to be used. I was stuck in > the PHP mindset of multiple websites, and I've read that GWT is used > to make Rich Internet Applications probably 15 times, but I didn't > really understand how it was supposed to fit together until I saw your > app, so thank you very much. > > ~Scott > > On Aug 10, 11:00 am, Joe Hudson <[email protected]> wrote: > > > > > It very well could be called datastore - I just recalled a name from > > memory... > > > As far as the multiple files, you can have as many GWT application > > files as you want - the each require an EntryPoint class though. And > > if you want just plain static files and resources, you can do that as > > well... you would just put them directly under the war directory of > > your application. One thing to note - AFAIK, you can't make a change > > to a single resource and upload that - you have to upload the whole > > site again. But, google has a nice versioning system so you can > > upload multiple versions of your app to test and then move a version > > to the default version when you are ready. > > > Joe > > > On Aug 10, 9:22 am, spierce7 <[email protected]> wrote: > > > > Joe, > > > > Thanks for your fast reply. I figured you'd have you use google's > > > database solution, but I thought it was called datastore. Either way > > > I'm fine with that as long as it works, however using multiple less > > > than operators across multiple entities would be convenient. > > > > One of my questions was how would you have a gwt application (or > > > applicationS) spanning multiple html files, however you have your > > > entire website it seems on a single html file. I'm not sure how you > > > did that with your GWT app, but I'm gonna look through your source > > > code and see if I can't figure out how. Through doing that, AppEngine > > > is able to host your entire website, which is what I'd like. > > > > I actually have a good portion of my GWT app written. I've got RPC > > > calls working, and I have the ability to use JDO, and make objects > > > persistent, however I've been getting weird errors, and haven't been > > > able to get my queries to work once. So I started thinking about other > > > things and these questions started coming to mind. I thought that if I > > > wasn't going to be able to host my site completely on app engine, why > > > would I even bother with this, and not just use SQL? So apparently I'm > > > going to keep chugging it out with AppEngine. Thanks! > > > > ~Scott > > > > On Aug 10, 8:50 am, Joe Hudson <[email protected]> wrote: > > > > > Hi Scott, > > > > > That is what I am doing withhttp://www.gwtmarketplace.com. The catch > > > > is that you currently have to use their BigTables DB but supposedly in > > > > the third quarter they will be adding relational database support. > > > > > You need to register an app engine account and then register a google > > > > apps account for the domain of your choice and map the app engine > > > > account to that domain. You can browse the source code for > > > > gwtmarketplace here if you are > > > > interested:http://code.google.com/p/gwtmarketplace/source/browse/ > > > > > I am using Objectify (http://code.google.com/p/objectify-appengine/) > > > > as the data access utility but you could also use JPA as well. > > > > > As far as what hosts can run GWT - a simple web server like Apache can > > > > do that as your GWT application will be compiled to static recources > > > > to be served. You will still need servlets or some other mechanism > > > > for data access - I use servlets with RPC calls (http:// > > > > code.google.com/webtoolkit/doc/1.6/DevGuideServerCommunication.html) > > > > > Hope this helps... > > > > > Joe > > > > > On Aug 10, 7:59 am, spierce7 <[email protected]> wrote: > > > > > > There isn't any way to host an entire website on AppEngine is there? > > > > > It doesn't seem like it, I just thought I'd ask. So if that's the > > > > > case, how am I supposed to integrate GWT into my application? an > > > > > iFrame? Does GWT have any write-ups about this? What if I need the > > > > > rest of my website to have access to the same database my application > > > > > is using. Is my only option at that point alternative hosting? > > > > > > What if I want my entire website to use GWT components, and a GWT RIA > > > > > integrated into a specific part? That's what I'm trying to accomplish, > > > > > and I don't know javascript worth squat, so what am I supposed to do? > > > > > I need the entire site to have access to the database, so I'm thinking > > > > > about buying hosting, and using my-sql as my db, but I'm not sure what > > > > > hosts can run gwt server side applications either. Any information you > > > > > guys have or experiences with this would be great! > > > > > > ~Scott -- 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.
