[appengine-java] Re: New template project for Wicket on Google App Engine

2010-02-22 Thread a.maza
this is a nice thing. thanks for providing this template to the community... On 21 Feb., 16:19, SRF wrote: > I put together a project to help developers get started with deploying > a Wicket application on Google App Engine. It's a re-implementation of > the Guestbook demo. It also uses Guice fo

[appengine-java] Re: Compass on Google App Engine

2010-02-17 Thread a.maza
using an index file in the war folder)... > > ra! > > > > > > > On 17 Feb 2010, at 21:23, a.maza wrote: > > >> checkout the latest source from compass. The last commit removes the > >> Referencable interface. > > >> On 17 Feb., 14:36, Raphael André Bauer

[appengine-java] Re: Compass on Google App Engine

2010-02-17 Thread a.maza
checkout the latest source from compass. The last commit removes the Referencable interface. On 17 Feb., 14:36, Raphael André Bauer wrote: > On Tue, Feb 16, 2010 at 8:15 AM, yonny wrote: > >  Hello Folks, > >    I think deploying a compass app on gae is not possible because the > > core compass

[appengine-java] Re: Estimated expiration average of an entity in memcache

2010-02-10 Thread a.maza
well change with time as you change the data being > saved or as your application's usage patterns shift. > > > > > > On Sun, Feb 7, 2010 at 4:34 AM, a.maza wrote: > > Hello, > > > I am keeping non-critical data (which is updated quite often) in > > m

[appengine-java] Estimated expiration average of an entity in memcache

2010-02-07 Thread a.maza
Hello, I am keeping non-critical data (which is updated quite often) in memcache. I would like to use a cronjob to fetch the data in frequent intervalls from memcache in order to persist it to the datastore. Thus, I would be interested if anyone has any experiences with the average expiration tim

[appengine-java] Re: Question: best practice to persist medium-large data?

2010-01-27 Thread a.maza
in principle, I like to work with both, JDO and JPA. but using either of them requires (in most cases) use of the osiv pattern, which in turn results in using something like spring. Keeping the discussions about request and startup performance in mind, apps on GAE shouldn't make use of too many fra

[appengine-java] Re: Question: best practice to persist medium-large data?

2010-01-26 Thread a.maza
sorry for this maybe thumb question, but I just want to make sure: both frameworks are making the needs for open session in view (as "almost required" when using jdo/jpa in web applications) obsolete, or? regards, andr On 26 Jan., 12:18, John Patterson wrote: > Hi Chau, yes both Objectify and T

[appengine-java] Re: Retrieving an entity using a different key type than the key field in the class

2009-12-18 Thread a.maza
On 17 Dez., 23:11, "Ikai L (Google)" wrote: > When you say it doesn't work, do you mean that it does not retrieve the > entity? right, no entity was found. Can you try creating a Key with the id instead of passing the ID > directly? > > http://code.google.com/appengine/docs/java/javadoc/com/go

[appengine-java] Retrieving an entity using a different key type than the key field in the class

2009-12-15 Thread a.maza
According to the documentation on http://code.google.com/appengine/docs/java/datastore/creatinggettinganddeletingdata.html#Keys it should be possible to retrieve an entity using a different key type than the key field in the class. Assuming the following entity having a key (encoded string) and a

[appengine-java] Re: eclipse plugin and maven?

2009-12-15 Thread a.maza
On 14 Dez., 10:35, drone wrote: > I see now, that they can be found inhttp://www.mvnsearch.org/maven2/ > repository, so I will try updating maven-gae-plugin as soon as I have > some free time. Are you sure? I just checked that but I've found no appengine-related libs there. -- You received t

[appengine-java] Re: eclipse plugin and maven?

2009-12-14 Thread a.maza
It also hope for a better maven support in the future... On Dec 13, 9:19 pm, Rusty Wright wrote: > Thanks; I looked at that as well.  If I remember correctly it hasn't been > updated since May of this year. > > Yoichi wrote: > > Google App Engine has a Maven Plugin project. > > >http://code.goog

[appengine-java] Re: Logging in JUnit tests

2009-12-13 Thread a.maza
I just checked the DN docs and was able to answer this (dumb) question myself. DN's logging can be configured using its logging categories. On 13 Dez., 11:34, "a.maza" wrote: > thanks for your help. using logback for everything through the slf4j > bridges is really an impr

[appengine-java] Re: Logging in JUnit tests

2009-12-13 Thread a.maza
name="RootConsoleAppender"> >         >             %date{-MM-dd HH:mm:ss.SSS z}, %5level: [%thread] > %class.%method.%line: %message%n >         >     > >     >                     value="warn" >         /> >     > >     >        

[appengine-java] Logging in JUnit tests

2009-12-12 Thread a.maza
Hello, I have currently some troubles with logging in junit tests. In general, I have the following questions: -) According to the manuals, I could basically use any log framework which logs to System.out and System.err, respectively (e.g., log4j). However, for having a fine grained selection mec

[appengine-java] Re: updating object doesn't work anymore

2009-12-08 Thread a.maza
I am using Spring and OpenPersistenceManagerInView as well. I experienced various problems. I am now using pmf.getPersistenceManagerProxy() (instead of pmf.getPersistenceManager ()) and it works quite fine. regards, andreas On 8 Dez., 17:30, tal wrote: > I might be having the same problem. > t

[appengine-java] Re: Text Search Support for Java

2009-12-06 Thread a.maza
On 4 Dez., 12:04, Raphael André Bauer wrote: > On Fri, Dec 4, 2009 at 11:46 AM, a.maza wrote: > > regarding compass: > 1. Task queues do not work, because tasks might get executed in > parallel what almost for sure messes up your index > (http://forum.compass-project.org/mess

[appengine-java] Re: Text Search Support for Java

2009-12-04 Thread a.maza
I am quite at the beginning of trying to implement compass on GAE, but maybe it helps if I share my thoughts: > > 1. Task queues do not work, because tasks might get executed in > parallel what almost for sure messes up your index maybe setting the rate of the task queue might help? http://code.

[appengine-java] Re: Text Search Support for Java

2009-12-04 Thread a.maza
regarding compass: what about creating a task, which fetches a number of entities in batch mode and (re-)indexes them? On 4 Dez., 11:28, Raphael André Bauer wrote: > On Thu, Dec 3, 2009 at 7:25 PM, Jess Evans wrote: > > The compass solution is probably sufficient for pet projects.  If I > >

[appengine-java] Re: Spring MVC with annotations

2009-12-02 Thread a.maza
this is a known issue.. there are several threads in this forum about it http://groups.google.com/group/google-appengine-java/search?group=google-appengine-java&q=naming+exception On 2 Dez., 12:33, Rafael Reuber wrote: > The log shows this: > org.springframework.web.servlet.FrameworkServlet in

[appengine-java] Re: Bi-directional unowned one-to-many relationships?

2009-11-13 Thread a.maza
ot;) >     private Set persons = new HashSet(); > >     etc. > > } > > I'm wondering if in some cases modeling things this way may make things > easier to manage.  For example, you may be able to store the object (instead > of its id) in the Set and let it become

[appengine-java] Re: trouble with SDK 1.2.6

2009-11-13 Thread a.maza
On 13 Nov., 12:04, Nacho Coloma wrote: > Just for the record, I also have appengine-api-stubs.jar and > appengine-local-runtime.jar for my tests, and making appengine-agent > the first entry in my classpath solved the problem. > I just tried it out and this works for me. Thanks a lot for that h

[appengine-java] Re: trouble with SDK 1.2.6

2009-11-12 Thread a.maza
same here, when I try to have my junit tests in the same project. anyone got a solution? On 28 Okt., 18:22, Vince Bonfanti wrote: > No, that didn't help. Again, just to make sure I'm being clear: > >  - The only reason appengine-api-stubs.jar and > appengine-local-runtime.jar are in my project cl

[appengine-java] duplicate jdoconfig.xml due to unit testing (eclipse)

2009-11-12 Thread a.maza
hello, my GAE project in eclipse has the following structure (maven-like) *) src/main contains my application - it is comiled to war/WEB-INF/ classes *) src/test contain my junit tests - it is compiled to target/test in both source folders (src/main and src/test) I have a META-INF folder with a

[appengine-java] Re: Paging in java application

2009-11-12 Thread a.maza
I think this may help you http://code.google.com/p/gae-query-pager/ On 11 Nov., 18:50, Sanjith Chungath wrote: > Greetings to All, >               I found this > documentationhttp://code.google.com/appengine/articles/paging.htmlon paging > in python. > Can some one suggest the best way to im

[appengine-java] Re: How to use picasa upload api on Google App Engine

2009-11-12 Thread a.maza
why are you not using another class that implements the MediaSource interface - e.g., MediaByteSource or MediaStreamSource? regards, andr On 11 Nov., 21:22, "Ikai L (Google)" wrote: > Kishore, > > Here are the docs related to sending the data as > binary:http://code.google.com/apis/picasaweb/do

[appengine-java] Bi-directional unowned one-to-many relationships?

2009-11-11 Thread a.maza
I am thinking if it makes sense from a design perspektive to model unowned bi-directional one-to-many relationships.I did some search on the web but didn't find many thoughts about such type of relationship. The two entity types I have should not be in an owned relationship for some reasons. Thus

[appengine-java] Re: Jdo: detaching objects vs. merging transient objects

2009-11-11 Thread a.maza
thanks for your answers: Pierre, the StreamingQueryResult is not serializable. However, to my understanding this problem is alleviated when you work with detached objects since you call something like Collection c = pm.detachCopyAll(resultList); at the end and you are then returning the instanc

[appengine-java] Jdo: detaching objects vs. merging transient objects

2009-11-04 Thread a.maza
I've used the merging of transient objects approach for a while as described in http://timepedia.blogspot.com/2009/04/google-appengine-and-gwt-now-marriage.html and it works quite fine. I only subsituted the proposed implementation of copying fields by dozer. However, I am still thinking to move

[appengine-java] Re: AccessControlException (SerializablePermission enableSubclassImplementation) - Wicket on GAE

2009-11-01 Thread a.maza
I've created an issue for it... http://code.google.com/p/googleappengine/issues/detail?id=2334 On 22 Okt., 08:52, "a.maza" wrote: > I'll be happy to share the code as soon as it is running smoothly and > I got rid of the above mentionedAccessControlException. >

[appengine-java] Re: AccessControlException (SerializablePermission enableSubclassImplementation) - Wicket on GAE

2009-10-22 Thread a.maza
I'll be happy to share the code as soon as it is running smoothly and I got rid of the above mentioned AccessControlException. Thus, I hope somebody could give me a hint what is causing the exception. Regards, andr On 21 Okt., 23:14, Esteban Masoero wrote: > a.maza: > > That&

[appengine-java] Re: having problems with JDO query serialization to memcache...

2009-10-21 Thread a.maza
thanks very much that hint. regards, andr On 21 Okt., 20:20, datanucleus wrote: > Just to mention, JDO (and DataNucleus) supports a Level2 cache, and > can use "javax.cache" (GAE/J memcached) and is a single PMF property > to turn it on. That way you don't need to play around putting objects

[appengine-java] Re: AccessControlException (SerializablePermission enableSubclassImplementation) - Wicket on GAE

2009-10-21 Thread a.maza
On 21 Okt., 20:26, Esteban Masoero wrote: > Hi there: > > We've been running a wicket app on gae since last month, but without the > need of implement memcache-based implementation of Wicket's IPageStore. > Why are you doing that? (our wicket version is 1.3.7) Wicket is very powerful in mainta

[appengine-java] Re: having problems with JDO query serialization to memcache...

2009-10-21 Thread a.maza
thanks jason for clarifying this. just to be sure since Larry's class carries the detachable=true annotation: keep detachable memcached objects their ability to be re-attached later on? thanks, andr On 21 Okt., 18:22, Larry Cable wrote: > cheers ... makes sense! > > On Oct 20, 2:05 pm, "Jason

[appengine-java] AccessControlException (SerializablePermission enableSubclassImplementation) - Wicket on GAE

2009-10-21 Thread a.maza
Hi, I am trying to get Apache Wicket running properly on GAE. Therefore, I am adapting some Wicket behavior (i.e., I am trying to implement a Memcache-based implementation of Wicket's IPageStore). Anyway, I am getting a java.security.AccessControlException: access denied (java.io.SerializablePe