Re: [appengine-java] Re: Inequality Filters Are Allowed On One Property Only

2010-05-03 Thread romesh soni
Thomas, it is possible to pre-determine the solution list for given lower and upper bounds x and y. But there can be enormous rows for a given (x,y) pair. And there will be enormous rows containing (x,y) pairs. So I can not keep a predetermined list. Regards Romesh On Mon, May 3, 2010 at 5:52

[appengine-java] Re: Datastore - entities with package names

2010-05-03 Thread Vaclav Bartacek
I've created a Java GQL parser which allows you to quote kind and property names, so your query would be written: SELECT * FROM 'my.package.myEntity' The description of the parser and link to download source or binary is here: http://audao.spoledge.com/doc-gae-features.html#gqlparser An example

[appengine-java] Paypal integration with app engine?

2010-05-03 Thread shamel
How to integrate paypal with app engine?? i have got many errors when integrating this. main exceptions are org.xml.sax.SAXNotSupportedException: http://xml.org/sax/features/external-general-entities at org.apache.xerces.framework.XMLParser.setExternalGeneralEntities(XMLParser.java:

[appengine-java] Re: Inequality Filters Are Allowed On One Property Only

2010-05-03 Thread Thomas
Hi romesh: Datastore allows multi-value property. So you can have each (x,y, list of possible z) in only one row and the filter is as simple as where z=some-value. The only limitation is that list-of-z can not exceed 5000 elements. Thomas On 5月3日, 下午2時02分, romesh soni soni.rom...@gmail.com

Re: [appengine-java] session management

2010-05-03 Thread Ikai L (Google)
I'm not sure how this mitigates use of the _ah_session records that are created. Anytime you set an attribute, it will use this. If you're worried about _ah_session getting out of control, a better way would be to use Memcache for session data and associate it with a cookie. Stale, unused session

Re: [appengine-java] Communicating between Applications in Google App Engine/J

2010-05-03 Thread Ikai L (Google)
HTTP and XMPP are two different ways of doing so. Just be sure you're in compliance with the Terms of Service: http://code.google.com/appengine/terms.html http://code.google.com/appengine/terms.html4.4. You may not develop multiple Applications to simulate or act as a single Application or

Re: [appengine-java] session management

2010-05-03 Thread romesh soni
Hi Ikai, the way you are managing session is not good. actually you are using cookies for managing session, which is not a good thing. instead session management is done at server side, not client side. On Mon, May 3, 2010 at 1:18 PM, Ikai L (Google) ika...@google.com wrote: I'm not sure how

Re: [appengine-java] insert javascript source in gwt java

2010-05-03 Thread Ikai L (Google)
You'll want to ask your question here in the Google Web Toolkit groups: https://groups.google.com/group/Google-Web-Toolkit?pli=1 https://groups.google.com/group/Google-Web-Toolkit?pli=1This is the list for questions and discussions about Google App Engine. On Sun, May 2, 2010 at 5:58 PM,

Re: [appengine-java] Re: Inequality Filters Are Allowed On One Property Only

2010-05-03 Thread romesh soni
Hi Thomas, the possible value of x and y can be 2020 and 203204206207. do you see that it is possible to make such thing in 5000 element limitation. Are you talking of ArrayList? Your solution is good for small list, but I am afraid that it will not suit my requirement.. On Mon, May 3,

Re: [appengine-java] Reusable Own User Class

2010-05-03 Thread Ikai L (Google)
I'd advise against rolling your own User class on the grounds that it's more work than you think compared to using OpenID. The most compelling reason not to do this, however, is that many internet users are suffering from new account fatigue and will simply not try to remember one more account if

Re: [appengine-java] slow responses for query

2010-05-03 Thread Ikai L (Google)
Indexes don't work the same way they do in relational databases. If you can fetch a value with a query, that likely means an index exists on that property. In a relational database, when an index is not present, the database will do a full table scan. A fetch by Key is always fast. Have you

Re: [appengine-java] session management

2010-05-03 Thread romesh soni
Hey Ikai, sorry I referred you by mistake.. My msg was for lembas On Mon, May 3, 2010 at 1:23 PM, romesh soni soni.rom...@gmail.com wrote: Hi Ikai, the way you are managing session is not good. actually you are using cookies for managing session, which is not a good thing. instead session

[appengine-java] Re: Classloader that uses datastore as backend?

2010-05-03 Thread Patrick Cornelißen
Hi! It looks like this mail didn't got through, please ignore this repost if the original has already reached you. Am 25. April 2010 15:08 schrieb Patrick Cornelißen corne...@pcornelissen.de : Hi! I have just subscribed to this list, so please be gentle. ;-) I am trying to build a portal

[appengine-java] Trying to use Ehcache 2.0.1 with web module

2010-05-03 Thread Sergio Lopes
Hi everybody Ehcach announced recently their AppEngine support. I'm using version 2.0.1 (latest stable release) with Ehcache Web Module. I'm using SimpleCachingHeadersPageCachingFilter to cache page results. When I run my application, I'm getting an AccessControlException because Ehcache Web is

[appengine-java] payment gateway integrations with appengine

2010-05-03 Thread aswath satrasala
Hello, I looked into google-checkout, but it is currently for US Europe only. I am looking to be able to bill the customer in Rupees, and hence would like to integrate with indian payment gateway systems into the appengine app. Any experiences on this Thanks -Aswath -- You received this

[appengine-java] Problem in Serializing ArrayListString - JDO- GWT - GAE/J

2010-05-03 Thread VJain
Hi I am trying to implement a many-to-many relationship as mentioned in the example mentioned in the GAE/J I am using the following object public class Person implements IsSerializable { @Persistent ArrayListString addresses = new ArrayListString(); @Persistent private int age;

[appengine-java] Re: Can't decide: JDO, Twig-Persist or Objectify?

2010-05-03 Thread Nacho Coloma
I just felt that I wanted to manage the references (keys) myself, so I could have more control over when and how those references are instantiated - Twig seems to do that for you (great in many ways), but I have some situations with my application where I think that could have a performance

[appengine-java] Re: App Engine and Spring slow start up

2010-05-03 Thread Nacho Coloma
We saved between 5-10 seg by switching from XML to Spring 3 java-based configuration: listener listener- classorg.springframework.web.context.ContextLoaderListener/listener- class /listener context-param param-namecontextClass/param-name

[appengine-java] Re: Class XXX has multiple relationship fields of type YYYY

2010-05-03 Thread jd
Yep, many to many relationships work well. They can also be polymorhic and use inheritance with no problems. On May 3, 12:09 am, Michael Shtelma mshte...@gmail.com wrote: Hi all, I have looked at twig, I liked it a lot, but there is one issue about many to many relationships. Does Twig

[appengine-java] Re: Class XXX has multiple relationship fields of type YYYY

2010-05-03 Thread jd
On May 2, 2:40 pm, jtuchscherer jtuchsche...@gmail.com wrote: John, are you saying that Twig, Objectify, SimpleDS, Slim3 and Siena don't have this problem? I can only definitivly speak for Twig but I am certain that the others also would not suffer this problem or many many of the other

Re: [appengine-java] Re: Class XXX has multiple relationship fields of type YYYY

2010-05-03 Thread Michael Shtelma
Hi, do you have some sort of example or tutorial for the many to many relations ? When I have tried using them, I got really strange exception. Twig was not able to determine the key for some dependent entities...I think I was doing smth wrong... I will describe the problem in with more details

[appengine-java] setting mail sender address to Google apps address

2010-05-03 Thread Joe Fawzy
Hi all i deployed my application on appengine, set my domain name to point to it through google apps as described and now google apps also manage my email addresses such as i...@my-domain.com so, is it possible to use this address to send emails using the mail api currently i got

[appengine-java] backup and restore options

2010-05-03 Thread Mihai Campean
I know that utilities for backup and restore are in the GAE future roadmap, but until then I need to do some backup/restore operations on the data store of my GAE/J application. I found some info on how to enable the remote API for GAE/J applications by setting up the RemoteServlet in the

[appengine-java] Re: JAXB

2010-05-03 Thread David Chandler
There is an AppEngine plug-in for Apache Commons VFS that lets you store files in the Datastore. http://code.google.com/p/gaevfs/ /dmc http://turbomanage.wordpress.com On May 1, 11:48 pm, m seleron seler...@gmail.com wrote: Hi, I think that it is possible by using memcache or datastore.

Re: [appengine-java] Re: Inequality Filters Are Allowed On One Property Only

2010-05-03 Thread Tristan Slominski
Hey, so I've been thinking about the problem description... you mentioned that there will ever only be one solution for the query, but that doesn't seem like a valid constraint. For example, let x = 4 and y = 10, let x2 = 5 and y2 = 11. The value of z = 6 will result in two solutions. The reason

[appengine-java] Re: backup and restore options

2010-05-03 Thread François Masurel
Anyone interested in a more native backup/restore solution ? Please vote for this issue : http://code.google.com/p/googleappengine/issues/detail?id=776 On 3 mai, 15:52, Mihai Campean mihai...@gmail.com wrote:  I know that utilities for backup and restore are in the GAE future roadmap, but

Re: [appengine-java] Re: VerifyError on no-op default constructor

2010-05-03 Thread Don Schwarz
I suspect that this is due to the way we make javax.servlet.jsp.JspApplicationContext available to application code but do not currently make javax.el.* available. Thus, the javax.el.ELResolver class that you are providing in your application is not the same class that your JspApplicationContext

Re: [appengine-java] Re: VerifyError on no-op default constructor

2010-05-03 Thread Sudhir Ramanandi
Thanks for response Don, very much appreciated. I don't know how to give you the war. It's a basic demonstration of Spring + freemarker. The class in concern is from freemarker. The size of war is 47 MB. I will try to reproduce the issue with a simple servlet+freemarker setup. and attach the war

Re: RE : [appengine-java] Is the MemcacheService LRU?

2010-05-03 Thread keyurva
Thanks, Ikai. On Apr 30, 5:19 pm, Ikai L (Google) ika...@google.com wrote: Yes, Memcache uses LRU to expire elements: http://en.wikipedia.org/wiki/Memcached Romain, this stands for Least Recently Used and refers to Memcache automatically throwing items out of the cache if they have not been

[appengine-java] Fileupload Tutorial?

2010-05-03 Thread Raphael
Hi I'm really new to the whole GAE stuff. I've used Java, but always for desktop stuff, so for the past couple years I was mostly doing PHP for all my Web programming. Well, I decided to see how Java does and the GAE seemed just a really nice playground, but here come the problems. No clue of the

[appengine-java] Serialization Error on GData Spreadhseet

2010-05-03 Thread Rudolf
Hello, I am new on Google App Engine; I wrote some code which accesses a Google Spreadsheet through the provided GData Java API; everythings works well running in the Eclipse local Environment or running the code on a local Apache Tomcat Server; nevertheless, running the code on the Google App

[appengine-java] Wave Robot Fetch URL and Authorization Header Issue

2010-05-03 Thread maxspeicher
Hello everyone, I am trying to make an HTTP request (to a non-Wave server) containing an Authorization header using a Wave Robot. The header is already present and proved to be correct (by a separate PHP script). For the request itself, I am using the low-level Fetch URL API. However, when I set

[appengine-java] Re: VerifyError on no-op default constructor

2010-05-03 Thread Attila Szegedi
Hi Don, thanks for chiming in. Yeah, a feature of FreeMarker is that we provide a mechanism for JSP tag libraries to appear as native FreeMarker macros in the templates. The way we do it is that we emulate a JSP container environment for them so we do implement a lot of javax.servlet.jsp.*

[appengine-java] unable to use sdk 1.3.3.1

2010-05-03 Thread RockyWolf
Hi, I can't understand why my app which runs on 1.2.1 doesn't run on 1.3.3.1 . I keep getting the following error message when I run my app: com.google.appengine.tools.info.RemoteVersionFactory getVersion INFO: Unable to access

[appengine-java] online exam

2010-05-03 Thread k.jansi rani
hi can any one tell me how to develop online exam and online quiz in google app engine using javabean, jsp, servlet. thank you, with, k.swathi. -- 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

[appengine-java] An entity group whose parent uses an unencoded String primary key?

2010-05-03 Thread Mark
Hi, How do we make an entity group with a parent that has an encoded or raw string for its primary key? The examples in the docs use Key (I can get those to work). I need something like: class User { @PrimaryKey private String username; } class FavAnimal { @PrimaryKey

Re: [appengine-java] online exam

2010-05-03 Thread Patrick Cornelißen
Hi! 2010/5/3 k.jansi rani k.jansirani@gmail.com hi can any one tell me how to develop online exam and online quiz in google app engine using javabean, jsp, servlet. thank you, There are a few example projects out there. One is a guestbook. You can use this as a start. The most

[appengine-java] Cache pages in Memcache

2010-05-03 Thread Sergio Lopes
Hi Are there anyone using some kind of server-side page cache using memcached? I'm thinking in a Filter that put page results in memcache when first accessed, and then getting that result in former accesses. The idea is simple but the implementation is not. (how to get the first request

[appengine-java] Random JDODetachedFieldAccessException

2010-05-03 Thread korey_sed
I have a query that runs and works as expected and sometimes throws JDODetachedFieldAccessException if I run it fast in succession. has this been seen before? public User readUser() { User qUser = null; PersistenceManager pm = PMF.instance().getPersistenceManager();

[appengine-java] How to make BlobServlet send non-empty response?

2010-05-03 Thread Jaroslav Záruba
I'm trying to use SWFUpload for uploading images in my application but either this particular component or Flash does not like empty responses. Is it possible somehow to get any content in the response-body from uploadUrl? Regards J. Záruba -- You received this message because you are

[appengine-java] Re: Class XXX has multiple relationship fields of type YYYY

2010-05-03 Thread jd
On May 4, 12:02 am, Michael Shtelma mshte...@gmail.com wrote: When I have tried using them, I got really strange exception. Twig was not able to determine the key for some dependent entities...I think I was doing smth wrong... Ah yes, when you have circular references and you use auto

Re: [appengine-java] Re: Class XXX has multiple relationship fields of type YYYY

2010-05-03 Thread Michael Shtelma
Thank you, yes, now I have found out this too :))) I had just to do some more experiments Twig is working great with many to many relationships, I will defenitely use it :)). Sincerely, Michael Shtelma On Tue, May 4, 2010 at 12:05 AM, jd jdpatter...@gmail.com wrote: On May 4, 12:02 am,

Re: [appengine-java] Re: Inequality Filters Are Allowed On One Property Only

2010-05-03 Thread romesh soni
Hi Tristan, You got a good catch. But the code which populates the data will never let this happen. If there is a pair x = 4 and y = 10, then there will be no such other pair which consist values between 4 and 10. there will be one and only one set for values 4,5,6,7,8,9,10 and that will be

[appengine-java] struts2 result 'null' not found google app engine

2010-05-03 Thread 陈年高
i use struts2 in google app engine i meetsome problem struts2 result 'null' not found who can help me ^_^o(∩_∩)o...^_^ :-) :-)音问久疏,唯愿一切康适。 -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To

Re: [appengine-java] Re: Inequality Filters Are Allowed On One Property Only

2010-05-03 Thread Tristan Slominski
in that case the solution to your dilemma is as follows query.addFilter(x, FilterOptions.LESS_THAN, z); query.addSort(x, SortOrder.DESC); then execute the query with a limit of 1 that is the answer you seek in other words... assume you have two intervalsx1 = 4 y1 = 70 and x2 = 71 y2

Re: [appengine-java] setting mail sender address to Google apps address

2010-05-03 Thread Patrick Cornelißen
Hi! 2010/5/3 Joe Fawzy joewic...@gmail.com: Hi all i deployed my application on appengine, set my domain name to point to it through google apps as described and now google apps also manage my email addresses such as i...@my-domain.com so, is it possible to use this address to send emails