File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes GWT and the fly likes Appengine And Amazon S3 Integration Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » GWT
Bookmark "Appengine And Amazon S3 Integration" Watch "Appengine And Amazon S3 Integration" New topic

Appengine And Amazon S3 Integration

Pawan Komaram
Ranch Hand

Joined: Dec 08, 2009
Posts: 91

I have a java application which is deployed on google's appengine. This application has got several file upload options, appengine supports upto 1 MB of file size to upload into the datastore, But my application's requirement is to upload files up to 10 MB in size at one go. So I have decided to use amazon S3 as file storage system. Amazon's SDK provides an API to easily interact with the S3 storage system, but it doesn't work on appengine because of restrictions on some JRE classes. I have tried using some of third party provided libraries like JCloud, S3Shell(Modified Version) and even appengine's url fetch service to overcome this problem but none of these have solved the problem.

Does anyone of you have a better solution to integrate appengine and S3 to overcome this problem?

Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10826

Why not move everything to Amazon? Or host your app on Amazon and use the bigtable on GAE?
So effectively Client<->Amazon<-if required->GAE

[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
Pawan Komaram
Ranch Hand

Joined: Dec 08, 2009
Posts: 91
As amazon's EC2 is a paid service, I don't want to go for that....I just want to use S3 (though it is also a paid service) for storage purpose only.....
I agree. Here's the link:
subject: Appengine And Amazon S3 Integration
It's not a secret anymore!