[appengine-java] Re: The import com.google.appengine cannot be resolved

2011-01-07 Thread Didier Durand
Hi, You only have to move the source file of your class from src/package/ name/of/your/appl/client (where it is now) to src/package/name/of/your/ appl/server and change all the references of users of this classes to new name : i.e. package.name.of.your.appl.client to package.name.of.your.appl.srv

[appengine-java] Re: JAXB Exception on Production and not on local env

2011-01-07 Thread Didier Durand
Hi, Please, dump here the entire stack of the exception: that provides info for more precise answers from this forum. regards didier On Jan 6, 8:32 pm, Roi wrote: > Hi, > I am using JAXB to serialize objects in app. > I have this function that i use to generate XML response from objects > in m

[appengine-java] Re: wicket ajax on gae

2011-01-07 Thread Didier Durand
Hi, After analyzing your error messages, I think that you need to create a /app/resources in your /war created by the jdk, copy in it all the files and subdirs mentions in your error message: wicket-ajax.js, org.apache.wicket.extensions.ajax.markup.html.modal.ModalWindow/res/ modal.js, after you l

Re: [appengine-java] Re: JDO - Set property question

2011-01-07 Thread Ravi Sharma
Thanks all. Stephen you are right '==' can be used in query. It appears it was just a problem of some old data .I created fresh database(local) and it worked and now its working on production too. Happy Coding. Ravi. On Fri, Jan 7, 2011 at 11:26 PM, Stephen Johnson wrote: > That is incorrect. Y

[appengine-java] wicket ajax on gae

2011-01-07 Thread fachhoch
Please help me with the issue , I am trying to deploy wicket in google app engine, i was able to bring up the home page ,then for further testing I added a simple ajaxlink , when I click on the link nothing happens then I enabled logging of wicket and saw this in logs [code] FINE: ending

[appengine-java] Re: new bee need suggestion on persistance

2011-01-07 Thread Matthew Adams
You appear to be talking about two different things here: JDO ORM specs & GAEJ's JDO support. I'll take each one independently. 1. JDO ORM Specification If you're referring to JDO, the specification, as distinct from GAEJ's DataNucleus plugin for BigTable, then you are referring to the object-r

[appengine-java] Re: new bee need suggestion on persistance

2011-01-07 Thread John Bito
On Thu, Jan 6, 2011 at 20:26, Matthew Adams wrote: > Can you expain what you mean by this? > > > Among the more annoying limitations in JDO is the prohibition of > > superclass-table inheritance. > > I'd like to understand it. > The case for a superclass-table inheritance is relevant where the a

[appengine-java] Re: Lightweight & Best performing MVC framework - Recommendation

2011-01-07 Thread fabianofranz
I'm performance freak and using a simple JSP / Servlets architecture together with Guice 3.0 is rocking. Currently serving 13,000 users and I don't pay a dime. :) Fabiano Franz @fabianofranz -- You received this message because you are subscribed to the Google Groups "Google App Engine for J

Re: [appengine-java] Re: Lightweight & Best performing MVC framework - Recommendation

2011-01-07 Thread Ikai Lan (Google)
GWT MVP is probably superior to pure GWT. I like GWT, but the programming model better fits a rich UI than a webpage with a few simple XHR controls. BTW, I think GWT Designer is *awesome*: http://code.google.com/webtoolkit/tools/download-gwtdesigner.html -- Ikai Lan Developer Programs Engineer,

Re: [appengine-java] Re: Lightweight & Best performing MVC framework - Recommendation

2011-01-07 Thread Gal Dolber
Probably On Fri, Jan 7, 2011 at 1:38 PM, Sreejumon KP wrote: > How about using GWT MVP in App Engine? Would it be better than rest of the > MVC frameworks? > > Regards > Sreejumon > > > On Fri, Jan 7, 2011 at 10:56 PM, Ikai Lan (Google) < > ikai.l+gro...@google.com > wrote: > >> Yes, Play has a

Re: [appengine-java] How to store appengine.api.datastore.Text using GWT (RCP)

2011-01-07 Thread Ikai Lan (Google)
You'll need to create a data transfer object (DTO) and translate this data transfer object into a class that understands this class. Another solution I have seen is to stub this out on the client side, but this is probably more trouble than it is worth. -- Ikai Lan Developer Programs Engineer, Go

Re: [appengine-java] Re: JDO - Set property question

2011-01-07 Thread Stephen Johnson
That is incorrect. You can specify a filter using the == with a single value and a list or set such as query.setFilter("keywords == keywordParam"); query.declareParameters("String keywordParam"); This works just fine in JDO on AppEngine. On Fri, Jan 7, 2011 at 8:06 AM,

[appengine-java] How to store appengine.api.datastore.Text using GWT (RCP)

2011-01-07 Thread kidowell
Hi, Im trying to store a pojo "Book" that has a com.google.appengine.api.datastore.Text attribute, wich GWT cannot compile. Ho can I store that pojo to the datastore then?. I wish that class was in the server side, but if I do that then I cannot imported from the client side. I'm quiet stuck.

Re: [appengine-java] Re: Lightweight & Best performing MVC framework - Recommendation

2011-01-07 Thread Sreejumon KP
How about using GWT MVP in App Engine? Would it be better than rest of the MVC frameworks? Regards Sreejumon On Fri, Jan 7, 2011 at 10:56 PM, Ikai Lan (Google) > wrote: > Yes, Play has a long initialization stage. > > The reason I'm bringing it up now is because you can enable "Always On" to >

Re: [appengine-java] Re: Lightweight & Best performing MVC framework - Recommendation

2011-01-07 Thread Ikai Lan (Google)
Yes, Play has a long initialization stage. The reason I'm bringing it up now is because you can enable "Always On" to reduce cold starts. -- Ikai Lan Developer Programs Engineer, Google App Engine Blogger: http://googleappengine.blogspot.com Reddit: http://www.reddit.com/r/appengine Twitter: http

[appengine-java] JAXB Exception on Production and not on local env

2011-01-07 Thread Roi
Hi, I am using JAXB to serialize objects in app. I have this function that i use to generate XML response from objects in my app. public static String Generate(ServerResult result) { try { JAXBContext context; if (result.isDa

Re: [appengine-java] Re: The import com.google.appengine cannot be resolved

2011-01-07 Thread Cesar Ruiz
Indeed, I am using GWT, oh I understand what you're saying. But the pojo that will contain the Text attribute is in the client side (in the same package that the MainEntryPoint.java). @Entity @Table(name = "book") public class Book implements Serializable { @Id @GeneratedValue(strategy =

[appengine-java] Re: JDO - Set property question

2011-01-07 Thread Matthew Adams
Your query as written is testing for whether oneLocation is equal to locations and oneCategory is equal to categories. That will never be true (I hope), because a Set will never equal a Key. What you mean is are they **contained by** their respective collections: select AdPost where locations.co

[appengine-java] Re: JDO - Set property question

2011-01-07 Thread Matthew Adams
It appears as though your filter is testing whether "oneLocation" and "oneCategory" are actually equal to the collections "locations" & "categories", respectively. I think what you mean to ask is whether the collections **contain** the keys in question: ... where locations.contains(oneLocation) &

[appengine-java] Re: The import com.google.appengine cannot be resolved

2011-01-07 Thread Didier Durand
I think that I understand through the words "inheritance & module": aren't you using Google Web Toolkit ? (GWT) If yes, you can't use the Text class in you front-end: you have to use a String in the front-end move it to the server via the GWT RPC and then convert it to a Text in an annotated Pojo

Re: [appengine-java] Re: The import com.google.appengine cannot be resolved

2011-01-07 Thread Cesar Ruiz
I realized the jar is included aproperly in the classpath, As it does it automatically when choosing GAE as a server. I also manually added the jar in the classpath, but nothing happens It still is throwing the error. The import com.google.appengine cannot be resolved [ERROR] Hint: Check the in

[appengine-java] Re: The import com.google.appengine cannot be resolved

2011-01-07 Thread Didier Durand
No, you don't need the source code: I use Text very often based on the compiled version that is in the jar appengine-api-1.0-sdk-1.3.8.jar (for v 1.3.8 under Eclipse) Just obtain from somebody else how to put this jar in you classpath and everything will be ok btw, did you install the App Engine

Re: [appengine-java] Re: The import com.google.appengine cannot be resolved

2011-01-07 Thread Cesar Ruiz
:( . When I see the com.google.appengine.api.datastore and look for the class Text, I try to open it but I it says: "no source code". I think I need the sourse code, rather than the .class. I'm stuck :(. On 7 January 2011 14:51, Didier Durand wrote: > Hi, > > Sorry: I work only on Eclipse. But,

[appengine-java] Re: The import com.google.appengine cannot be resolved

2011-01-07 Thread Didier Durand
Hi, Sorry: I work only on Eclipse. But, I guess other people of this forum knowing Netbeans will take over. Good luck! didier On Jan 7, 2:35 pm, Cesar Ruiz wrote: > I Compile with NetBeans. How can I set my clathpath manually, or if you know > in NetBeans even better. > > regards. > > César Ru

Re: [appengine-java] Re: The import com.google.appengine cannot be resolved

2011-01-07 Thread Cesar Ruiz
I Compile with NetBeans. How can I set my clathpath manually, or if you know in NetBeans even better. regards. César Ruiz. On 7 January 2011 09:53, Didier Durand wrote: > Hi, > > If your classname is correct, then the problem most probably com from > your classpath when compiling / editing > >

[appengine-java] User defined Key/ID column name

2011-01-07 Thread rajeev jha
Hi, is it possible to create user define Key/ID column name ? When i define Key column name as follows : @PrimaryKey @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY) private String Username; above code generate Key/ID field as "name". By using following code , it generate

Re: [appengine-java] JSP problem

2011-01-07 Thread kartik kudada
Hi Shoubhik, When you declare like this <% a = 100; %> , after compilation this becomes local declaration inside service method of generated servlet. But when you declare like this <%! int a = 300; %> , after compilation it becomes class level declaration. Hence when you say a = <%= a %>, <%= t

[appengine-java] Proposal of several plug-in architectures for GWT applications running on the Google App Engine platform

2011-01-07 Thread Ingo Jaeckel
Hello everyone, this week I published an article entitled "Proposals for Google Web Toolkit application plug-in architectures" [1] on of my HoneyCRM project page [2]. The existence of plug-ins is not new for web applications in general. However, there are a number of technical issues making it dif

[appengine-java] JDO - Set property question

2011-01-07 Thread Ravi Sharma
Hi, I have a entity like this Class AdPost{ ...few property Set locations; Set categories; } when i am running a query like select AdPost where locations = oneLocation && categories == oneCategory (pseudo code) where oneLocation is one valid key of a location and oneCategory is a valid key of one

[appengine-java] JSP problem

2011-01-07 Thread Shoubhik
<% a = 100; %> <% int a = 200; %> <%! int a = 300; %> a = <%= a %>, <%= this.a %> this gives : a = 200, 100 Could you please tell me what's happening ? -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to

[appengine-java] Re: The import com.google.appengine cannot be resolved

2011-01-07 Thread Didier Durand
Hi, If your classname is correct, then the problem most probably com from your classpath when compiling / editing Where do you compile ? In Eclipse ? If yes, you should publish your .classpath file (root directory of your project) regards didier On Jan 7, 9:41 am, Cesar Ruiz wrote: > Sorry, I

Re: [appengine-java] Re: The import com.google.appengine cannot be resolved

2011-01-07 Thread Cesar Ruiz
Sorry, I am using the same type (I wrote it wronly before). Im using "com.google.appengine.api.datastore.Text". But it is always showing me the same error when compiling. It is somehow not finding the source code. I only provide it the Text.class not the .java. I do not know if this has anything t

[appengine-java] Re: The import com.google.appengine cannot be resolved

2011-01-07 Thread Didier Durand
Hi, Check http://code.google.com/appengine/docs/java/datastore/entities.html#Properties_and_Value_Types The type you want to use is probably : com.google.appengine.api.datastore.Text (i.e with api.datatstore, in the name) and not com.google.appengine.Text as you say regards didier On Jan 7, 8