[appengine-java] Re: 1.3.8 upgrade delete datastore contents
My data also disappeared in development environment with the same error. -- 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: javaassist, AspectJ, Will it play?
Javaassit works fine. We use it to create classes at run-time. The problem is with current start-up time on GAE, adding code generation in our application was slowing us down by 2 sec. So we moved all the code generation to build time. We still use Javaassit in GAE development environment . -- 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] ImagesService make image smaller then 32K to be able to use base64 in IE8
In our application we want user upload-able images to be shown in application. The image is re-sized to 150x200 and Thumbnail are stored in DB. Then we show images in browser using GWT RPC and retrieve base 64 encoded image. But to show image in IE8 the data can only be max 32K. The question is can we make an image Transformation in GAE that reduce the image size. e.g. reduce the number of colors, reduce the quality? I used ImagesServiceFactory.makeImFeelingLucky() BUT it does not help to reduce the size. Vlad PS the code snippet we used: -- Upload --- try { Image image = ImagesServiceFactory.makeImage(imageData); ImagesService imagesService = ImagesServiceFactory.getImagesService(); // 3x4 proportions, we show 150x200 image int width; int height; if (image.getWidth() * 4 / 3 < image.getHeight()) { height = 200; width = height * image.getWidth() / image.getHeight(); } else { width = 150; height = width * image.getHeight() / image.getWidth(); } Transform touchup = ImagesServiceFactory.makeImFeelingLucky(); Transform resize = ImagesServiceFactory.makeResize(width, height); CompositeTransform composite = ImagesServiceFactory.makeCompositeTransform(); composite.concatenate(touchup); composite.concatenate(resize); composite.concatenate(touchup); Image newImage = imagesService.applyTransform(composite, image, OutputEncoding.PNG); log.debug("new image size {}", newImage.getImageData().length); -- Send to GWT client --- import com.google.appengine.repackaged.com.google.common.util.Base64; return Base64.encode(imageData); -- 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: Google Plugin for Eclipse 1.3 is now available
Thanks Google for hard work! In your FAQ you made a big efforts to support Dynamic Web projects in Eclipse for Java EE for GWT applications. Does the same apply for App Engine projects? What is the recommended way to make complex GWT and App Engine applications? In template projects created by Plugin you see all in one project. Client and server are all together with one classpath. What would be the real world scenario with Client projects(modules) and server project(modules) all in separate Eclipse projects? Regards, Vlad -- 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: how to do initialization at startup?
There is an Custom Admin Console pages in new SDK 1.3.1. I think the best place to preload the data to your application is using servlet/page exposed in this Console. -- 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.