In a website I need to provide a feature to get data in xml format
i.e. some url
e.g.
http://www.mysite.com../data.xml
I think in gae I can not create a file. Any suggestions to create such
feature to get data from data store in this way?
Data store will have large number of records, so in
Hi,
To emulate files, you have to use the Blob object in the datastore to
store such xml content: see com.google.appengine.api.datastore.Blob in
http://code.google.com/appengine/docs/java/datastore/dataclasses.html#Core_Value_Types
Blob has a limited max size: 1 Mbyte. So, you can use a
It sounds like you want to send a xml file to the client not upload an xml
file. If so, you can use the standard XML document classes (see the
org.w3c.dom package). Build up your document then you can convert it to a
String using an empty Transform (see the javax.xml.transform and javax.xml
A client will download a xml file instead of uploading.
Records will be created (or updated, deleted) in a table/kind over
time and all records from a kind need to be downloaded in form of a
xml file, I hope I am explaining the issue bit more clearly.
I am not sure if I could make use of
Sorry, did not see your post earlier Stephen.
I was not aware of this 10 minute feature to create a file, I will
look into.
File size will be greater then 10MB, it is an existing website which I
am thinking to port to gae, file size already gets around 12MB or so.
So I guess more than 10MB
Hi Alexander,
Google also provides a servlet to help with deleting stale session
info. Have a look at this thread:
http://groups.google.com/group/google-appengine-java/browse_thread/thread/4f0d9af1c633d39a
Best regards,
Stefan
On 23 Nov., 18:06, Alexander Arendar alexander.aren...@gmail.com
i was taking a look at the 1.4.0 javadoc for AsyncDatastoreService. i
see the get, put and delete operations return a Future, but the
prepare methods return a naked PreparedQuery object, and it doesn't
look like PreparedQuery has any async get methods.
does the AsyncDatastoreService not support
hello.
I have a problem when trying to update an object that has already been
saved in the dataStore
An Employee and Contactnfo. One employee has a contactInfo...
//
I believe the 30 second limit is imposed on the time it takes for your
servlet to finish. Thus, if your servlet finished generating and returning
the file to the AppEngine infrastructure in 29 seconds, then I think you
will be safe even though it might take another minute or two for Google's
Hi Luke,
First the awesome news:
As of 1.4.0, many queries are implicitly asynchronous. When you call
PreparedQuery.asIterable() or PreparedQuery.asIterator(), we initiate the
query in the background and then immediately return. This lets you do work
while the first batch of results is being
Is the HTML snippet the full client code? If so you need to call the
createChannel service from the client prior to opening the socket.
Also what does the ?key=dev do for you in your script import?
Good luck!
Scott
On Nov 29, 7:20 am, James M jmort...@gmail.com wrote:
Hi Scott,
I'm trying to
We haven't abandoned JDO/JPA, but we may emphasize the low-level APIs going
forward. You'll always get low-level features first. The mismatch between
datastore features and relational database features is starting to really
grow.
One thing we'll plan on doing is to work more closely with
I am getting:
javax.xml.rpc.ServiceException: access denied
(java.lang.RuntimePermission modifyThreadGroup)
at com.google.api.adwords.lib.AdWordsVersion
$AdWordsVersionV201008.setHeaders(AdWordsVersion.java:313)
at
I found this
http://someprog.blogspot.com/2010/08/google-app-engine-can-not-find-tag.html
. This will fix your problem. Not sure why the goog-appengine-plugin
didn't pull it in but use those directions. And a thanks to Sergey
Vasilyev for his first blog post and answer to this question!
--
There are numerous posts concerning the differences between the dev and prod
blobstore behaviors.
Perhaps this is your issue:
http://code.google.com/p/googleappengine/issues/detail?id=3273
http://code.google.com/p/googleappengine/issues/detail?id=3273Another
resource to check are the blobstore
Simply mock out the blobstore service using something like mockito:
http://mockito.org/
On Nov 28, 9:13 am, Gal Dolber gal.dol...@gmail.com wrote:
Hi,
I am having problems testing the blobstore.
I did the initialization:
LocalBlobstoreServiceTestConfig blob =
Thanks for the tip. I added the call to the controller to create the
ChannelService. However, what's odd is that my implementation is like
your first attempt. I had to use the channelId returned from
ChannelService in the JavaScript when opening the socket.
The other odd thing I'm seeing is
Hi Robert,
Check out this thread here. We were able to get it working, but only
with polling. We've yet to figure out the comet part of things:
http://groups.google.com/group/google-appengine-java/browse_thread/thread/19f250b1ff0e4342
James
On Nov 24, 7:41 am, Roberto Saccon
Zsombor,
Follow the implementation outlined in this excellent blog post. It
explains how to upload to blobstore from within your app.
Good luck,
Michael Weinberg
http://jeremyblythe.blogspot.com/2010/10/manipulating-images-in-blobstore.html
On Nov 28, 8:08 am, Zsombor gzsom...@gmail.com
I have also written a blog post here
http://jeremyblythe.blogspot.com/2010/10/manipulating-images-in-blobstore.html
with code samples.
On 30 Nov 2010, at 01:06, A. Stevko andy.ste...@gmail.com wrote:
There are numerous posts concerning the differences between the dev and prod
blobstore
Whoops, posted at the same time!! Glad you found my blog post useful.
Jeremy.
On 30 Nov 2010, at 06:00, Mike weinbe...@gmail.com wrote:
Zsombor,
Follow the implementation outlined in this excellent blog post. It
explains how to upload to blobstore from within your app.
Good luck,
21 matches
Mail list logo