[appengine-java] Restricting upload size to the blob store

2010-09-21 Thread Navaneeth Krishnan
How does one restrict the maximum size of a file uploaded to the
blobstore ?

For example, my app should allow an image upload only if the images is
less than 1 MB. Otherwise the image must not be stored at all.

-Navaneeth

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to google-appengine-j...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] Cache questions

2010-09-20 Thread Navaneeth Krishnan

I have a couple of questions wrt Memcache.

1. Where do I find the javadoc for jcache ? The document seems
woefully out-of-date

The examples:
http://code.google.com/appengine/docs/java/memcache/usingjcache.html

refer to a package net.sf.jsr107.Cache. However, I find that the
actual package is net.sf.jsr107cache.Cache.

Where do I find the javadoc for net.sf.jsr107cache.Cache ?

2. In my application, I create a cache with the following property:

   props.put(GCacheFactory.EXPIRATION_DELTA,3600);

Yet, I find that my cache does not expire after an hour. As a matter
of fact, it does not seem to expire at all !  Objects put in the cache
stay forever. Is there something I am missing ?

Regards,
Navaneeth






-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to google-appengine-j...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] Re: Updated Eclipse Plugin ?

2010-07-21 Thread Navaneeth Krishnan

Turns out that one needs to download the latest version of the sdk and
configure eclipse it:
http://code.google.com/eclipse/docs/using_sdks.html

@Hari,
The update will not get you the latest version of GAE because the
latest version of the plugin uses an older version of GAE.

Regards,
Navaneeth


On Jul 20, 7:14 am, Hariharan Anantharaman
 wrote:
> From your eclipse itself(having an older version of gae), you can update to
> latest version by using software updates option in elclipse.
>
> Thanks
> Hari
>
> On Jul 19, 2010 9:39 PM, "Navaneeth Krishnan" 
> wrote:
>
> I tried out the latest version of the eclipse plugin for GAE
>
> http://code.google.com/appengine/docs/java/gettingstarted/installing
>
> to realize that the bundled app engine version is 1.3.3. If there any
> plan to upgrade it to the latest SDK (1.3.5) ?
>
> When can we expect a new release ?
>
> Also, is there a way to manually upgrade the eclipse plugin ?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine for Java" group.
> To post to this group, send email to google-appengine-j...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengine-java+unsubscr...@googlegroups.com unsubscr...@googlegroups.com>
> .
> For more options, visit this group 
> athttp://groups.google.com/group/google-appengine-java?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to google-appengine-j...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] Updated Eclipse Plugin ?

2010-07-19 Thread Navaneeth Krishnan
I tried out the latest version of the eclipse plugin for GAE

http://code.google.com/appengine/docs/java/gettingstarted/installing.html

to realize that the bundled app engine version is 1.3.3. If there any
plan to upgrade it to the latest SDK (1.3.5) ?

When can we expect a new release ?

Also, is there a way to manually upgrade the eclipse plugin ?


-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to google-appengine-j...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.