Thanks! This really a smart way for relations that often changes.
But I wonder if this is the only way?
What if the relation seldom change?
I believe the cost of the indirection will be shown on
the complexity of code and the runtime performance,
if using the resolution Entity everywhere.
On
Actually, another option is just to overwrite B so the key stays the
same but the data in it changes.
On 20 Jan 2010, at 15:31, Alan She wrote:
Thanks! This really a smart way for relations that often changes.
But I wonder if this is the only way?
What if the relation seldom change?
I
Hi John,
Ive got that web.xml from gwt wizard in eclipse, so there is no
copypase... Ive tried removed all whitespace chars from that file -
still have no luck to deploy it to google app engine...
On 19 янв, 20:47, John Patterson jdpatter...@gmail.com wrote:
I recall an error I got from cutting
To make the requirement clear,
the relation should change to an existing B.
And there will be some queries on A which using B as the criteria.
For example, the JPAQL would be,
select a from + A.class.getName() + as a where a.bKey = :bKey
So I think the second solution won't fit.
For the first
Hello
I am developed a page which is working fine at local machine but when
I deploy on appspot showing error :
Uncaught exception from servlet
java.lang.RuntimeException: java.io.NotSerializableException:
com.ei.server.web.fe.ReviewFrmCmd
at
You class ReviewFrmCmd is being put in the session and so must be made
serializable. On the local dev server the session is not serialized
so you do not get this exception.
On 20 Jan 2010, at 18:13, java wrote:
Hello
I am developed a page which is working fine at local machine but when
I
I completely blanked out, here's the code of the servlet that handles
the upload from SwfUploader and tries to dispatch to the Blobstore:
String postUploadUrl = null;
try {
BlobstoreService blobstoreService =
BlobstoreServiceFactory.getBlobstoreService();
postUploadUrl =
I'm very familiar with BlazeDS, but haven't looked into GraniteDS for
a few years.
I know that with BlazeDS, this is done using a streaming AMF channel,
which is essentially an endless http request, or streaming response.
Since the connection is left open, I am a bit worried that it may not
work
Hello
I have the following class
public class SecurityPermission {
@PrimaryKey
@Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
private Key key;
@Persistent
private String name;
}
I have the following query on SecurityPermission Entity to filter by keys.
Thanks guys, but I ended up migrating away. I'll wait until the
datastore is a bit more developed :D
On Jan 16, 6:54 am, datanucleus andy_jeffer...@yahoo.com wrote:
I think Max has been improving the GAE/J inheritance support recently,
so would be surprised if this isn't possible, at least in
Hi
My initial testing with Google App Engine used JPA, JAX-RS, Google
GSON, Google Closure Templates - elegant REST development, but it
wasn't the quickest loading or serving app. Everything loosely
coupled, lots of class path scanning, compiling of templates on the
fly.
So I've ditched the
Thanks Andrés,
I've filed an
issuehttp://code.google.com/p/googleappengine/issues/detail?id=2658for
this. There's a bug in the implementation of HttpServlet.doOptions
which
is preventing OPTIONS http requests from being fulfilled correctly. Most
people don't need to serve OPTIONS requests, so
I've read (only in snippets, and in passing reference in the GAE
documentation) that using an unencoded String key, aka key name,
guarantees uniqueness of that user-provided field in the same way that
a Long field is unique (but generated by the backend). However, it's
been really tough figuring
ok, I'll test it this night and I'll tell you.
Thanks.
2010/1/20 Toby Reyelts to...@google.com:
Thanks Andrés,
I've filed an issue for this. There's a bug in the implementation of
HttpServlet.doOptions which is preventing OPTIONS http requests from being
fulfilled correctly. Most people
I also get same error
is there someone can help me out
--
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
make sure you compile the java source using encoding=UTF8
On Jan 18, 4:38 pm, 凌志 许 lingzhixu...@gmail.com wrote:
In my project, I need to store chinese characters to datastore, but I
tried using the following code to do it:
PersistenceManager pm = PMF.get().getPersistenceManager();
I have a problem, that Appengine generates duplicate keys and thus my
objects get overwritten. I have following classes:
@PersistenceCapable(identityType = IdentityType.APPLICATION)
public class ProfileEntity {
@PrimaryKey
@Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
Wow, Jeff, this actually looks pretty good. Did you write this? This is
exactly the reason why we expose the low-level API!
On Tue, Jan 19, 2010 at 7:28 PM, Jeff Schnitzer j...@infohazard.org wrote:
Entities persisted with Objectify can be serialized in their entirety
(including keys) through
Hi,
I was trying to write a proxy server in java.
It´s a very simple application that filters the requests to
myproxy.appspot.com, retrieves the pages itself and then displays
them with the same url.
It´s not the same as seen proxies like http://proxycgi.appspot.com/
(which work really good)
I
DataNucleus also provides a REST API,
http://www.datanucleus.org/products/accessplatform_2_0/rest/httpmethods.html
--
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
Please posts how it works, I will need it later this year.
Good luck.
Tim
Sent from my iPhone
On Jan 20, 2010, at 9:00 AM, A1programmer derrick.simp...@gmail.com
wrote:
I'm very familiar with BlazeDS, but haven't looked into GraniteDS for
a few years.
I know that with BlazeDS, this is
Sorry if this is a silly question but...
How do you make an asynchronous URLFetch call in Java? Is this a
question of making calls to fetch() without calling getContent() on
the response?
Jeff
I see no limit of simultaneous [urlfetch] API calls documented on
the quotas page (
This functionality will be available in the low-level URLFetch API,
hopefully in the next release.
I have not implemented it for java.net.URLConnection, although we could
potentially do that in the future (by having connect() initiate the request
and having methods like getContent and
How many child entities does a model have? Is it in a transaction? Index
updates are synchronous, though a simple update to the index should not
dramatically increase the insert time.
In addition to reducing the indexed properties, you may also want to look at
inserting entities asynchronously
There should be plenty of examples around, but here is one from Max Ross's
blog:
http://gae-java-persistence.blogspot.com/2009/10/creating-bidrectional-owned-one-to-many.html
We're looking at expanding the capabilities of the App Engine Cookbook to
support examples like this contributed by the
In total my model has about 4000 entities. The shape of my model is
like this: a root entity that has many owned one to many
relationships
(about 10), and each children collection can have hundreds or
thousands of child entities in them, something like:
public class Account{
No, you won't be able to authenticate the second application once a user is
logged into the first. If you think about the security issues here - and
there are many - this is something that just won't work and won't be
supported in the manner you have described.
One solution to the problem you
How much does the CPU time increase by?
On Wed, Jan 20, 2010 at 1:59 PM, Lucian Baciu lucianba...@gmail.com wrote:
In total my model has about 4000 entities. The shape of my model is
like this: a root entity that has many owned one to many
relationships
(about 10), and each children
This is what an insert request looks like now: 10659ms 44687cpu_ms
40040api_cpu_ms for about 4000 entities in the model. I would say its
increases by 10 seconds per 1000 entities.
On Jan 21, 12:01 am, Ikai L (Google) ika...@google.com wrote:
How much does the CPU time increase by?
On Wed,
Do you have 4000 entities total? Or 4000 child entities for the model?
On Wed, Jan 20, 2010 at 2:04 PM, Lucian Baciu lucianba...@gmail.com wrote:
This is what an insert request looks like now: 10659ms 44687cpu_ms
40040api_cpu_ms for about 4000 entities in the model. I would say its
increases
Sorry, I have 4000 entities in the entity group (child entities).
On Jan 21, 12:21 am, Ikai L (Google) ika...@google.com wrote:
Do you have 4000 entities total? Or 4000 child entities for the model?
On Wed, Jan 20, 2010 at 2:04 PM, Lucian Baciu lucianba...@gmail.com wrote:
This is what
Hi,
Any plans of supporting the -javaagent flag in the app engine? I would
like to add my agent for instrumenting code.
-Kartik
--
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
There are no immediate plans for this. Is there something that prevents you
from instrumenting via ClassLoaders?
On Wed, Jan 20, 2010 at 5:40 PM, Kartik kart...@gmail.com wrote:
Hi,
Any plans of supporting the -javaagent flag in the app engine? I would
like to add my agent for instrumenting
I had gotten my application to save data, but my queries are returning
nothing. I see my data in both the parent and the child. I am getting
a java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 error when
I try to iterate through the child data. One of the strangest thing is
that my primary
Anyone else getting problems XMPP?
Seems to have started this afternoon.
Trying to chat to an appengine bot from beejive (IM client on iphone)
I get a [Error 503]
The gtalk webgadget in my gmail page shows all appengine buddies as
offline!
Regards,
Hani
--
You received this message because you
I can't run anymore after I updated the sdk and even downloading a
fresh eclipse and gae plugin, I always get the same error.
Initializing AppEngine server
The server is running at http://localhost:/
01 21, 10 2:30:15 AM com.google.apphosting.utils.jetty.JettyLogger
warn
WARNING: EXCEPTION
i only enhance my model classes (pojo) , but i get warning like
below . Is class dao, service need to be included for data nucleus
enhancer?
[testetefsdf/2.339300673130228559].stdout: 13:20:36,874 DEBUG
[DataNucleus.MetaData] - Class
com.user.testing.service.TestingImplDao has annotations but
It looks like xmpp messages to the application do not get received.
It can send xmpp and everything else seems fine.
--
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
Sorry i think that's not my problem. I'm using a rpc call, here you
have the stack:
#
/net.brucecooper.mindmapgadget.MindMapGadget/greet
- Mostrar texto citado -
java.security.AccessControlException: access denied
(java.lang.RuntimePermission accessDeclaredMembers)
at
Will app engine support SAML identity providers? Our app currently
supports 100K+ users at multiple universities as a SAML service
provider. We use the Shibboleth service provider for our site and
currently integrate with Shib, CAS, and Oracle IdPs. We'd like to
deploy our app in the app engine,
After debugging more, I found out that I was passing secPermKeyList as
null. Hence I was getting zero results back.
But, after correcting that issue and passing a valid Key list, I get the
following error
Testcase: testSecurityGroup took 1.351 sec
Caused an ERROR
Illegal argument
Looks like I am not the only one with this problem!
http://groups.google.com/group/google-appengine/browse_thread/thread/0d93bab93e3195dc#
--
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
In developer server:_ah/admin watch the datastore viewer is not encode
utf8,so see ???
but in GAE server it's good!
--
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
This really looks great!
On 13 jan, 18:28, Jeff Schnitzer j...@infohazard.org wrote:
http://code.google.com/p/objectify-appengine/
I probably should have called this project Goldilocks, because it's
a little bit how I feel. Despite being a longtime Hibernate user
(since the 1.0 days), the
44 matches
Mail list logo