I want persist small images (1 MB) as Blob in the GAE Datastore using
RequestFactory. However, I noticed that the RequestFactory EntityProxys do
not support byte [] or Blob.
How can I do this?
In the following topic mentions the alternative to save the image path in
the Datastore. This would
Good afternoon everyone.
I could help, I have a gwt project and make the time to modify or create a
record can be updated dynamically in the project. In datastore updated, but
the project did not run again until the application.
Please help.
regards
--
You received this message because you
hello,
i'm working on a web application with GWT,JPA, and google app engine, and i
have this kind of association between entity :
@Entity
public class Person{
@id
Long person_Id;
@OneToOne(cascade=CascadeType.ALL,*fetch=FetchType.LAZY*)
Solved it, don't bother it anymore =D
On Thu, Mar 29, 2012 at 5:03 PM, inter interbooker...@gmail.com wrote:
Hi, I was just wondering, is there a way to avoid duplicate image when
using Datastore API? I can upload an image with no problem using the
example from
http://ikaisays.com/2010/09
Hi, I was just wondering, is there a way to avoid duplicate image when
using Datastore API? I can upload an image with no problem using the
example from
http://ikaisays.com/2010/09/08/gwt-blobstore-the-new-high-performance-image-serving-api-and-cute-dogs-on-office-chairs/
. But, I don't want
Is it possible to connect to a remote datastore (for example, my
application's datastore on GAE) while running in hosted mode? I'm
guessing that it would have something to do with this line in
jdoconfig.xml:
property name=javax.jdo.option.ConnectionURL value=appengine/
I'd appreciate
What framework are you using to connect to the datastore?
I've not used JDO or JPA, but in Objectify you can set an offset and a
limit on a query. In onRangeChanged you can get them like this:
Range range = display.getVisibleRange();
Integer offset = range.getStart();
Integer limit
Hi Ioan, thank you for your reply.
Indeed I use objectify and to be honest I have not used the offset ever,
however, when I was looking what's the best feature to use I stamped upon
this
thread
https://groups.google.com/d/topic/objectify-appengine/tkC103e2ILQ/discussion
and so I have only
Ioan it works fine, thank you!
-George
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To view this discussion on the web visit
https://groups.google.com/d/msg/google-web-toolkit/-/UtFKujFHj4kJ.
To post to this group, send email to
Hi there,
I have a celltable which displays data from GAE datastore using an
AsyncDataProvider.
Everything works fine up to the last page. So if pageSize is 10 and the
results are 35, doing 1-10, 11-20, 21-30 and back works fine. In order to do
this I store cursors so that I can continue
Hello,
I am trying to query the datastore from GWT client side code
But it throws an exception '500 error' even while accessing the method.
But we can insert into the datastore through other method.
What am i missing?
public String[] getStocks() throws NotLoggedInException {
checkLoggedIn
Please post to the App Engine group and include a stack trace. This is
server-side code, not GWT.
/dmc
On Thu, Jul 7, 2011 at 2:21 PM, SwaminathanG swami...@gmail.com wrote:
Hello,
I am trying to query the datastore from GWT client side code
But it throws an exception '500 error' even
Hi (Kalimera)
I am in the same situation, I am trying to display datastore data on a
celltable. To avoid having to page back and store cursors I place the
celltable in a scrollpanel and when scroll reaches the end I change the
range and the asyncdataprovider makes a new call to get new records
Hi There,
I'm Starting a Web Project with GWT and some problems about datastore
delete by ID.
do not know why having this problem. I think it should be the primary
key generation.
OBS: getters and setters were not placed in this post
Class GRUPO:
import javax.jdo.PersistenceManager
...@gmail.com wrote:
Hi There,
I'm Starting a Web Project with GWT and some problems about datastore
delete by ID.
do not know why having this problem. I think it should be the primary
key generation.
OBS: getters and setters were not placed in this post
Class GRUPO:
import
/webtoolkit/doc/latest/tutorial/clientserver.html
Best,
Dom
2011/4/22 Ram ram...@gmail.com:
I am developing AppEngine java project...I plan to develop client side
using GWT...
Can i access AppEngine Datastore(Using JDO) from GWT client
coding.
If yes...How to do this.please help me
I am developing AppEngine java project...I plan to develop client side
using GWT...
Can i access AppEngine Datastore(Using JDO) from GWT client
coding.
If yes...How to do this.please help me
--
You received this message because you are subscribed to the Google Groups
Google Web
Hello Everyone,
my GWT App uses RequestFactory to access Data.
for actual data storage I would like to ask your opinion,
in your experience what is the benefit of using GAE Datastore over
AmazonSimpleDB ?
Thank You
--
You received this message because you are subscribed to the Google Groups
thanks for the pointer, will have a look...
-g.
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to
I know how GAE datastore paging works...
I am looking to make this work in the context of GWT. I thought about a
scheme of keeping old cursors, but I am wondering if there is a
better/cleaner solution.
-g.
--
You received this message because you are subscribed to the Google Groups
Google
jlaba...@google.com
On Wed, Feb 2, 2011 at 4:14 AM, George Moschovitis
george.moschovi...@gmail.com wrote:
I know how GAE datastore paging works...
I am looking to make this work in the context of GWT. I thought about a
scheme of keeping old cursors, but I am wondering if there is a
better
I would like to present data from a GAE Datastore table using a GWT
CellTable.
Are there any best practices or (even better) a tutorial or sample that
demonstrates how to implement
an AsyncDataProvider that works with Datastore cursors?
thanks in advance,
-g.
--
You received this message
I think that they are not suitable each other, due the lack of rewind of
datastore cursors, i.e you can seek to the next offset but you are not
allowed to move back. To do that you have to make some kind of hack that
keeps all previous cursor positions. For more information about paging you
See
http://code.google.com/appengine/docs/java/javadoc/com/google/appengine/api/datastore/Cursor.html#toWebSafeString()
You can pass / return the Web safe string representation of a cursor in your
service methods.
/dmc
On Wed, Jan 19, 2011 at 11:37 PM, zixzigma zixzi...@gmail.com wrote:
Hello
Hello Everyone,
do you have any idea on how it would be possible to work with GAE DataStore
Cursors from within GWT client ?
how to pass Cursor from Client to Server, and how to integrate Datastore
Cursors with RequestFactory ?
I really appreciate some pointers and suggestions on this.
Thank
What do you think is the best code pattern for servlet and client when
dealing with app engine datastore errors using GWT RemoteService? Do you
catch the errors in your servlets or do you let them filter down to the
client uncaught? Sample code? Thanks in advance.
Jeff
--
You received
I only let pass user-defined exceptions to the client.
Best
On 1/11/11, Jeff Schwartz jefftschwa...@gmail.com wrote:
What do you think is the best code pattern for servlet and client when
dealing with app engine datastore errors using GWT RemoteService? Do you
catch the errors in your servlets
I am facing more or less the same problem. Did you find a good
solution?
Thanks.
Kasper
On 4 Dec. 2010, 03:19, metalhammer29a metalhammer...@gmail.com
wrote:
forgot to add that my question is mainly toward Recursive entities.
what is the best data structure to use ?
(a Folder, can have Zero
Hey guys,
i am trying to use jdo objects on the client-side. I read that it is
possible since GWT 2.0 to use enhanced classes via gwt rpc on the
client side. I've been searching for an working example since
yesterday and couldn't find one.
Does anyone has an working example or can someone tell me
,
is is possible to issue Hierarchical Queries on App Engine datastore ?
so that with one single query, we can get multiple levels deep into
the tree structure ?
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To post to this group, send email
forgot to add that my question is mainly toward Recursive entities.
what is the best data structure to use ?
(a Folder, can have Zero or Many Folders, and Zero or Many Documents)
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To post to
The tutorial page at
http://code.google.com/webtoolkit/doc/latest/tutorial/appengine.html
has no reference for the needed datastore-indexes.xml file. When
uploading the code as described to App Engine, the code throws an
error:
com.google.appengine.api.datastore.DatastoreNeedIndexException
This is just not helping.
I have gone through Tutorials gallor and just cannot get it.
I have GWT and Eclipse yet I just do not seem to understand how to start
writing to Datastore.
I have designed a schema layout and rearing to get some where
Any more ideas
-Original Message
I'm also using Objectify and it is great and simple
On 25 sep, 06:09, Didier DURAND durand.did...@gmail.com wrote:
Hi Trevor,
I would suggest giving also a try to Objectify which a layer on top of
raw Datastore: it makes access to data much easier and has a lower
learning curve than JDO
a try to Objectify which a layer on top of
raw Datastore: it makes access to data much easier and has a lower
learning curve than JDO.
Seehttp://code.google.com/p/objectify-appengine/(havea special look
at wiki pages)
I moved away from JDO for Objectify and I am very satisfied
Hi Trevor,
I would suggest giving also a try to Objectify which a layer on top of
raw Datastore: it makes access to data much easier and has a lower
learning curve than JDO.
See http://code.google.com/p/objectify-appengine/ (have a special look
at wiki pages)
I moved away from JDO for Objectify
Having trouble in finding how to use Datastore or BigTable in GWT.
I have developed using Python and usd datastore.
Where should I look
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To post to this group, send email to google-web-tool
You can use any of GWT's client / server protocols to connect to a
servlet running on App Engine that in turn calls the Datastore. See
the App Engine docs and forum for Datastore questions. The following
links may help on the GWT side:
http://code.google.com/webtoolkit/doc/latest/tutorial
Hello everyone. I'm trying to find the best/just a good way to send
data to Datastore using a local Python (or C) script. I have data
coming in the serial port from some hardware and I need to upload it
to the server somehow. Here's what I have to work with:
Local data source options:
Serial
Hi,
I am getting a file access denied when I try to send an image in the
datastore as an attachment in an email. Is there any way around this?
I was thinking that there should be some way to use the datastore api
to read the file
but I don't know how to do that.
This is the part of my code where
to send an image in the
datastore as an attachment in an email. Is there any way around this?
I was thinking that there should be some way to use the datastore api
to read the file
but I don't know how to do that.
This is the part of my code where I attach the image
(result.get(i
Hello
I want to setup a local datastore but I don’t know where I should put
the following code:
final LocalServiceTestHelper helper = new
LocalServiceTestHelper(
new
LocalDatastoreServiceTestConfig().setBackingStoreLocation(
WEB-INF\\local-db.bin
If you look at Google App Engine, the datastore is part of Google's
free-to-start cloud hosting service.
On Wed, Jun 9, 2010 at 02:56, kensai yanesha archenr...@googlemail.comwrote:
Hi Laurent,
I am also new to GWT, also fascinated :-). I also already went trough
samples and tutorials
in our case there is
no possibility of using online google app engine, altough I already
tried to use it and it worked well.
Thank you
On 9 čvn, 18:32, Tristan Slominski tristan.slomin...@gmail.com
wrote:
@kensai
If you look at Google App Engine, the datastore is part of Google's
free
@Tristan
thx 4 info
On 9 čvn, 18:32, Tristan Slominski tristan.slomin...@gmail.com
wrote:
@kensai
If you look at Google App Engine, the datastore is part of Google's
free-to-start cloud hosting service.
On Wed, Jun 9, 2010 at 02:56, kensai yanesha archenr...@googlemail.comwrote:
Hi
the tutorial. This is amazingly simple to achieve.
On the other side, I tested also Google app Engine to develop and
deploy a JSP/servlet + datastore testing app. Once again, it is really
efficient.
My question is : how can I combine these two approaches to build nice
applications on the client
Hi Laurent,
I am also new to GWT, also fascinated :-). I also already went trough
samples and tutorials and well stopped at the point how to bind
components to, in my case, database table in Oracle database. I don't
know what do you mean exactly by Google datastore but I think you
mean
@kensai
If you look at Google App Engine, the datastore is part of Google's
free-to-start cloud hosting service.
On Wed, Jun 9, 2010 at 02:56, kensai yanesha archenr...@googlemail.comwrote:
Hi Laurent,
I am also new to GWT, also fascinated :-). I also already went trough
samples
a JSP/servlet + datastore testing app. Once again, it is really
efficient.
My question is : how can I combine these two approaches to build nice
applications on the client side with efficient business java code on
the server side and data storing in Google datastore ?
Are there some guidelines
reach
something tricky.
My application data would be at the GAE datastore. I want to assume
that the app will live. Let me explain this:
The entities at the datastore will change. This means that some
properties would be added and some of them maybe removed what leaves
me with a ton
application data would be at the GAE datastore. I want to assume
that the app will live. Let me explain this:
The entities at the datastore will change. This means that some
properties would be added and some of them maybe removed what leaves
me with a ton of exceptions to handle. Knowing
v.mayor...@gmail.com wrote:
Hello,
I've just an applications using GWT and GAE. After reading the docs
and doing some examples I decided to begin coding but soon I reach
something tricky.
My application data would be at the GAE datastore. I want to assume
that the app will live. Let
Hello,
I've just an applications using GWT and GAE. After reading the docs
and doing some examples I decided to begin coding but soon I reach
something tricky.
My application data would be at the GAE datastore. I want to assume
that the app will live. Let me explain this:
The entities
The way I interpreted this(the stock watcher demo approach) is that the
classes used to transfer data are, by virtue of them being in the remote
service, available to client and server.
You do not need to do anything special. However if you have a utility,
validation or some sort of common
On 23 mai, 06:23, Unni Panicker o4tec...@gmail.com wrote:
The way I interpreted this(the stock watcher demo approach) is that the
classes used to transfer data are, by virtue of them being in the remote
service, available to client and server.
You do not need to do anything special. However
Hi,
I have a number of class decelerations, most are passed between client
and server via RPC AND used in the data store (Objectify). Some just
get used in on but not the other. The stock watcher demo for RPC puts
the class that is passed back and fourth in the .client path, but
wouldn't it be
Revision: 8142
Author: jlaba...@google.com
Date: Fri May 14 05:12:25 2010
Log: Adds datastore indexes for the Expenses app.
http://code.google.com/p/google-web-toolkit/source/detail?r=8142
Added:
/branches/2.1/bikeshed/war/WEB-INF/datastore-indexes.xml
Modified:
/branches/2.1/bikeshed/src
Reviewers: rice_google.dom, rjrjr_google.dom, amitmanjhi,
Description:
Adds remote_api support for the datastore bulk uploader to web.xml
Note that this change also requires that you add appengine-tools-api.jar
to
get the servlet class.
Please review this at http://gwt-code-reviews.appspot.com
Revision: 8111
Author: zun...@google.com
Date: Wed May 12 08:28:52 2010
Log: Adds remote_api support for the datastore bulk uploader to web.xml
Note that this change also requires that you add appengine-tools-api.jar to
get the servlet class.
Review at http://gwt-code-reviews.appspot.com/513801
HERE IS AN EXAMPLE FOR U
https://docs.google.com/leaf?id=0B8-wIQvtpx2WYWIxOTllYTktZjlkYS00YjdkLWEwNjQtNjU2MDdiMDZkZTEwhl=en
I also have the same problem in netbeans.
would u like to help me?
--
You received this message because you are subscribed to the Google Groups
Google Web
I installed AppWrench in Eclipse (I'm using 3.4) and attempted to
check out the local datastore through one of the views but was unable
too see it. Can you relay to me the steps to check out the local
datastore (I didn't see clear instructions on the vendor's website)?
In GWT, I just added
My issue kind of crosses GWT and GAE/J, but I'm thinking it's more of
an issue in GWT (most likely an issue with my understanding/missing
something important).
I developed a GAE/J application that was inserting successfully into
my local google datastore. Was also retrieving records fine. When
Hi,
i look at the samples created by GWT and Google App Engine.
all the samples about getting the data from google app engine
datastore api.
is there any example which sends the data to Google App Engine Data
Store Api ?.
For example a save button(in GWT) which saves data to the database
I have build my GWT project upon an MVP architecture. In that, model
objects are transferred between the server and the client. It is
tempting to just add @PersistentCapable to the model classes in
order to be able to store them directly in datastore. Is that a good
strategy?
My concern
I try to figure out how easy it is to ruin/break the data in app
engine's datastore by accident. Assume that a class, say MyClass, has
a number of persistent members, e.g.
...
int a
int b
int c
...
and assume a number of MyClass objects have been stored in app
engine's persistent
I need to deploy in my own server, i think i will use Tomcat, but when
using Tomcat, i can't use datastore. Can you help me solve this
problem
On Mar 21, 12:40 am, Tristan tristan.slomin...@gmail.com wrote:
I hate to make it sound like is it plugged in?, but don't you need
to run the app
Hate to say that, but truth is that you can't. AppEngine only works with
Google AppEngine. At least for now, there's no concrete or complete project
that fake Google's infrastructure, at least, that I know of. You could use
another Datastore tough, like MySQL with Hibernate + Gilead with your
no concrete or complete project
that fake Google's infrastructure, at least, that I know of. You could use
another Datastore tough, like MySQL with Hibernate + Gilead with your tomcat
server. It's more pain and more work, but you'll have complete controle on
your server environnement.
Christian
Datastore tough, like MySQL with Hibernate + Gilead with your tomcat
server. It's more pain and more work, but you'll have complete controle on
your server environnement.
Christian
On Mon, Mar 22, 2010 at 7:42 AM, duclm duclm...@gmail.com wrote:
I need to deploy in my own server, i think
I deploy a Gwt app that using GAE (datastore), hosted mode is ok, but
when i deploy to Tomcat, there is problem like below:
Mar 20, 2010 11:05:56 PM
org.datanucleus.plugin.NonManagedPluginRegistry resolve
Constraints
INFO: Bundle org.datanucleus.jpa has an optional dependency to
org.datanucleu
I hate to make it sound like is it plugged in?, but don't you need
to run the app on Google App Engine to access the datastore? (or
hosted mode, which fakes app engine for you). Or did you somehow fake
a datastore on your own?
On Mar 20, 11:06 am, duclm duclm...@gmail.com wrote:
I deploy a Gwt
(), get(), delete(), and query()
your own typed objects.
Why am I posting about it here?
One of Objectify's goals has been to make it easier to work with GWT.
In Objectify v2, all of the datastore basic types (Key, Email, Link,
GeoPt, Category, Rating, etc) are made available to your GWT code.
So
it here?
One of Objectify's goals has been to make it easier to work with GWT.
In Objectify v2, all of the datastore basic types (Key, Email, Link,
GeoPt, Category, Rating, etc) are made available to your GWT code.
So:
* You can pass your entity classes back and forth through GWT-RPC
put(), get(), delete(), and query()
your own typed objects.
Why am I posting about it here?
One of Objectify's goals has been to make it easier to work with GWT.
In Objectify v2, all of the datastore basic types (Key, Email, Link,
GeoPt, Category, Rating, etc) are made available to your
Hi buzz_buzz,
You could create a lightweight data transfer object (DTO) that could contain
the information that you're interested in getting across the wire in your
RPC call. For example, the getStocks() method signature could be changed to:
public StockDataTransferObject[] getStocks() throws
i am new with GWT. i successfully try compile and upload stockwatcher
application to the google app engine. i alsoa can save and query all
data save in the data store. recently i add 1 more field at stock app
engine data store. i add symbol2. user can save 2 symbol. the problem
is. i dont know
Does anyone have a full finished and working version of stockwatcher
built in eclipse?
Basically the source code for: http://lensticker.appspot.com
My version of it just doesnt work, and i cant work out why:
http://ucanzoom.appspot.com
in hosted mode it says cant display this website
In the Eclipse Console, Im getting the following error:
The server is running at http://localhost:8080/
03-Aug-2009 13:34:52
com.google.appengine.tools.development.LocalResourceFileServlet doGet
WARNING: No file found for: /stockwatcher/login
On Aug 3, 9:41 am, John V Denley
I have an entity Course that has a key to another entity (Document)
inside.
START ==
@PersistenceCapable(identityType = IdentityType.APPLICATION,
detachable=true)
public class Course{
@PrimaryKey
@Persistent(valueStrategy =
Hi @ all,
i want to create object from a custom class, send them over rpc to the
server and then store them into the google datastore.
my problem is to send objects from a class which i created over the
rpc to the server.
i've generated a client interface which both classes were
implementing
- Serializable Types:
http://code.google.com/webtoolkit/doc/1.6/DevGuideServerCommunication.html#DevGuideSerializableTypes
Another question that should help figure out why you're running into
serialization issues - are you using the lower level DataStore API, or are
you using any of the JDO / JPA support
() {
In src/META-INF/jdoconfig.xml in the Eclipse project downloaded from
http://code.google.com/webtoolkit/tutorials/1.6/projects/GettingStartedAppEngine.zip
you need to change
transactionals-optional
to
transactions-optional
In the section describing datastore-indexes.xml there is no mention
displayStocks(String[] symbols) {
for (String symbol : symbols) {
displayStock(symbol);
}
}
If there is no mistake I would like to know where I can download the
caomplete example with datastore workings.
Ty.
--~--~-~--~~~---~--~~
You received
I can download the
caomplete example with datastore workings.
Ty.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
[] symbols) {
for (String symbol : symbols) {
displayStock(symbol);
}
}
If there is no mistake I would like to know where I can download the
caomplete example with datastore workings.
Ty.
--~--~-~--~~~---~--~~
You received this message because
) {
displayStock(symbol);
}
}
If there is no mistake I would like to know where I can download the
caomplete example with datastore workings.
Ty.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Google Web
(symbol);
}
}
If there is no mistake I would like to know where I can download the
caomplete example with datastore workings.
Ty.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To post
87 matches
Mail list logo