GWT在GAE上和S3 [英] GWT on GAE and S3
问题描述
我试图与谷歌Web工具包(GWT 1.6)在谷歌AppEngine上使用Java(GAE / J)玩,我所遇到的问题存储数据文件到GAE。所以我决定用S3来存储我的文件,但是当我用Google搜索,我发现库称为的 GWT-S3的让我来存储使用GWT文件到S3,但问题是,它仅允许存储在S3上的文件只有在GWT应用程序托管在/与S3。下面是它说的头版上:
I'm trying to play with Google Web Toolkit (GWT 1.6) on Google AppEngine with Java (GAE/J) and I have encountered problem storing data files to GAE. So I have decided to use S3 to store my files but when I googled, I've found library called gwt-s3 that allows me to store File to S3 using GWT, but the problem is that it only allows storing files on S3 only if GWT app is hosted on/with S3. Here is what its saying on the front page:
由于相同来源的安全策略 限制,该模块只工作 与托管GWT应用程序 在Amazon S3。你也应该有一个 账户与Amazon S3。
Due to same-origin security policy limitations, this module only works with GWT applications that are hosted on Amazon S3. You should also have an account with Amazon S3.
那么,有没有存储在S3上使用GWT数据文件(文本,文档,视频,SWF等),而托管在S3上我的应用程序的任何其他方式。
So, is there any other way of storing data files (text, doc, video, swf, etc) on S3 with GWT without hosting my app on S3.
推荐答案
下面是一些方向/ code获取GAE与S3发挥很好 HTTP://bizo-dev.blogspot .COM / 2009/05 /谷歌应用程序引擎Java的 - 和 - s3.html
Here's some directions/code for getting GAE to play nicely with S3 http://bizo-dev.blogspot.com/2009/05/google-app-engine-java-and-s3.html
这篇关于GWT在GAE上和S3的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!