If you are willing to limit the uploaded picture size to less than 1 meg you can use the Blob data type. E.g., in your persistent class you'd have something like

@Persistent
private Blob content;


Date: Tue, 22 Dec 2009 14:19:03 -0800
Subject: Re: [appengine-java] Blobstore vs Datastore Blob
From: "Ikai L (Google)" <[email protected]>
To: [email protected]

No, there shouldn't be a difference. Blobs aren't indexed, and neither are
Blobstores. Blobs obviously have the size limit issue and are a bit more
flexible than Blobstores in terms of how you access and manipulate them, but
otherwise, they're using the same mechanisms at a very low level to persist
data.

On Mon, Dec 21, 2009 at 9:13 AM, Peter Ondruska <[email protected]>wrote:

> Is there any difference apart from API, billing restriction and max
> size between using Blobstore and Blob in Datastore? For example is it
> more efficient to store Blobs in Blobstore due to non-existing indexes
> for properties which would otherwise be present in Blob in Blobstore?
> Thanks, Peter

--
Ikai Lan
Developer Programs Engineer, Google App Engine


Avdhesh Yadav wrote:
Hi,

This link says http://code.google.com/appengine/docs/java/blobstore/ that
blobstore requires billing enabled, means blobstore is not freely
available...Google app engine can not allow write to filesystem.Do we have
any other option.

Thoughts ?


--
Experience is that marvelous thing that enables you to recognize a mistake when 
you make it again. -- F. P. Jones

Reply via email to