ANy particular problem??
I would design these classes like this...
@PersistenceCapable(detachable = true)
public class User implements Serializable {
@PrimaryKey
@Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
private Key id;
private String email;
private String firstName;
Did u try Cursors?
http://code.google.com/appengine/docs/java/datastore/queries.html#Query_Cursors
On Thu, Sep 15, 2011 at 1:20 PM, cghersi cristiano.ghe...@gmail.com wrote:
Hi all,
I'm facing a little problem of scalability. I'm using JDO to query my
datastore.
I need to retrieve all the
Lets say you have book Harry potter
If you want to search this withH or Ha Har Harr then this facility provided
by google app engine, instead of Like use startWith .
Else if you really want to search it with arry or rry basically any word
in it, then you may saev every book name as SetString
- this later is indexed by the framework.
On Aug 29, 4:01 am, Ravi Sharma ping2r...@gmail.com wrote:
Lets say you have book Harry potter
If you want to search this withH or Ha Har Harr then this facility
provided
by google app engine, instead of Like use startWith .
Else if you really want
No You can not use federated login for facebook..
i have used facebook login like this
http://techsravi.blogspot.com/2011/05/facebook-login-on-google-app-enginejava.html
2011/7/8 Andrei Cosmin Fifiiţă andrei.fifi...@gmail.com
I already use Federated login for google and yahoo (getting the
I think you partially answered your self, If you cant do it on server then
use Thread.sleep at client side.
also you have option to use DelayQueue at client side(if its not
GWT)
http://download.oracle.com/javase/6/docs/api/java/util/concurrent/DelayQueue.html
Put your all request on
Look into Spring 3.0+, they have this fucntionality inbuilt, Just by
annotation you can specify whether eu want output as Json or xml etc. I
havent tried it but i have seen such video fromSpringSource
On Fri, May 20, 2011 at 1:11 PM, Pop Vasile vasile@gmail.com wrote:
Hi,
I want to
Using Spring MVC you could use it to solve the problem.
Basically you want different Controller for http://www.mainsite.com and
http://test.mainsite.com
I have used it in one of my application. I write all the steps in a blog
here. I hope it will helpfull
Hi,
I am using http://code.google.com/p/facebook-java-api/ to login using
facebook. But unable to do so as documenttaion is not quite completed there
and posted my problem on this site but long time no response.
I am sure in this group many people must have done with their java app to
login using
Thanks all for your replys. SOme how i made it work with facebook_java_api
project and posted the tutorial here
http://techsravi.blogspot.com/2011/05/facebook-login-on-google-app-enginejava.html
face4j looks quite promising too...i will look into it too.
Thanks
Ravi.
On Sat, May 14, 2011 at
Hi ,
I have a chained task which runs every 1 second(Still wondering how can i
run it every 3 seconds)
Task code is something like this
try{
//Do something
//read data store and update datastore
}catch(Throwable ex){
I have not mentioned any retry count...so i guess whatever the default one
is being used. (Actually i never want to retry if one fails next one will
take care .. Do you know how to never retry a task.)
On Sat, Apr 30, 2011 at 3:48 PM, Brandon Donnelson
branflake2...@gmail.comwrote:
Did they
Hi Manvel,
I dont see anything related to Channel in your code. Channel API is only for
sending Message from SERVER TO CLIENT
http://code.google.com/appengine/docs/java/channel/
Ravi.
On Fri, Apr 29, 2011 at 11:50 AM, Manvel Saroyan saroy...@gmail.com wrote:
Thank you Ravi Sharma
Hi,
I got a weird index problem
I had a entity claas A like his
Class A{
//Few properties
SetKey locationIds;
Date lastSaveDate;
}
and i was querying it like this
select * from A where locationIds = SomeKey order by lastSaveDate DESC
It was working good...
then i needed to add extra property
Thanks for the reply Moishe. This helps at least now i know i am going in
right direction.
On Mon, Apr 25, 2011 at 2:42 PM, Moishe mois...@google.com wrote:
My question:
1) Is it the right way to distribute the message to each client. My app
requirment is that everybody(online user)
Hi,
I have just started using Channel API and it look to work fine. But there
are few things i would like to know/clear/understand about my design.
My Design:
Currently when my site's page load it creates a token at server and injet
into HTML page, GWT then read the token and start listening to
May be you can do womething like this
class HouseProperty{
Key id;
String Name;
}
in above class you can create your all properties like
hasAirCond,hasInternet etc. One property
per Row.
and in House you can have somethin glike this
class House{
SetKey properties;
}
and if some house has
try Spring Roo
On Wed, Jan 26, 2011 at 8:08 PM, GeneralSlaine lennart.ben...@gmail.comwrote:
Thanks all for the feedback. I guess I will start with having a good
look at Objectify.
Other question:is there any open source project that you guys know of
which fully generates a gui
Hi,
I have a entity like this
Class AdPost{
...few property
SetKey locations;
SetKey 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
be downloaded from
http://jcp.org/aboutJava/communityprocess/mrel/jsr243/index3.html
-matthew
On Jan 7, 5:24 am, Ravi Sharma ping2r...@gmail.com wrote:
Hi,
I have a entity like this
Class AdPost{
...few property
SetKey locations;
SetKey categories;
}
when i am running a query
actually i was following this link
http://googlewebtoolkit.blogspot.com/2010/08/how-to-use-google-plugin-for-eclipse.html
may be i am not able to understand it or i am doing something wrong...
I have tried this roo pom too but i am not able to make it work.
Do you guys have a sample pom for
).
I'd recommend that you use the latest version of the plugin and
install the appengine sdk using mvn gae:unpack.
Mo.
On 20 Sep., 21:05, Ravi Sharma ping2r...@gmail.com wrote:
Hi All,
I am trying to maenize my exisitng GAE-GWT project. So first i started
with
a sample new project
Hi All,
I am trying to maenize my exisitng GAE-GWT project. So first i started with
a sample new project as mentioned here
http://code.google.com/p/maven-gae-plugin/
I created a project with this command as mentioned on this page
mvn archetype:generate -DarchetypeGroupId=net.kindleit
relational
attributes in a core database class. What do you think?
Greets
Poe
On 7 Jul., 01:25, AC acol...@gmail.com wrote:
Thanks. That answers my question.
On Jul 6, 3:18 pm, Ravi Sharma ping2r...@gmail.com wrote:
You need to understand the concept of Entity group here
ur DB connection is closed by the time you try to select Address list(i am
assuming writing phone is just a typo) first time.
Either select/iterate the list before closing the pm in method
userDao.getUser(TEST_USER_ID);
or use (defaultFetchGroup = true) for ListAddress addresses declartion
like
you are already sorting on date..and that can be best candidate for paging
too but u may need indexes in both direction(asc,desc) for creation
date.
lets say ur entity has fololowing prooerty on which u will fliter
propA
propB
creationData
so u will write basic query like
select * from
Hi All JDO Experts,
I am trying to write JDO query to query on List property but didnt find in
documentaion on google app site.
Class InterestedParty
{
Key id;
ListKey parties;
}
So basically now i want to query all IntrestedParties where parties list
contain User(1) or User(5) etc.
So i expect
What about the code which reads the data? How we will test it if can't
persist the data in test cases.
Sent from my iPhone
On 21 May 2010, at 15:33, Unni Panicker o4tec...@gmail.com wrote:
When you run the server , data gets persisted and u can view the
data using the console
I Downloaded the SDK and tried to create SDK 1.3.4 in eclipse. The Zip file
was unzipped as D:\library\appengine-java-sdk-1.3.4, so while adding SDK in
eclipse i choose this as Installation dir.
But after choosing it says failed to initialize App ENgine SDK at
D:\library\appengine-java-sdk-1.3.4.
-java-sdk-1.3.4, after moving it out it worked well. Is
this your issue also?
Thanks,
Patrick
On Wed, May 19, 2010 at 4:38 PM, Ravi Sharma ping2r...@gmail.com wrote:
I Downloaded the SDK and tried to create SDK 1.3.4 in eclipse. The Zip
file was unzipped as D:\library\appengine-java-sdk
Drasko,
I checked your demo,its great. I found one small problem. For Yahoo and
google it works fine but for AOL and OpenId it go to goole login page. does
this mean we can use only google and yahoo or its something you have just
not provided correct info while creating the urls.
Thyanks,
Ravi.
I tried using it in dev mode in my machine and used the following method to
create login URL.
UserServiceFactory.getUserService().createLoginURL(/index.htm,
www.test.com,emai...@hotmail.com, null);
and i got the login url as
http://127.0.0.1:/_ah/login?continue=%2Findex.htm
and i am
Hi,
I have a application running on Google app engine and lets say i am
accessing it through www.mysite.com (Mysite.com is registered on google
apps)
Now i have created another application which i want to access through
newapp.mysite.com (through sub domain of above application).
Is it possible?
of the issue and have already begun investigating it. I'll
open up a public issue to mirror our progress so everyone can follow it and
add their comments.
On Wed, Dec 9, 2009 at 1:09 AM, Ravi Sharma ping2r...@gmail.com wrote:
Can anyone from google look into this issue please?
On Mon, Dec 7
chat.sendMessage(messageXml);
}
public void disconnect() throws XMPPException
{
connection.disconnect();
}}
On Tue, Dec 1, 2009 at 11:24 PM, Ravi Sharma ping2r...@gmail.com wrote:
Hi Ikai,
Yes you are right you might have got 10 messages/minute. As i said i
Hi Jason and all Google guys,
This is real big problem and its not just canslimbot application but there
are many applications, in today's mails i can see 3 people have faced this
problem i ncluding m e. I am sure there is some defect in index building.
Can you please have a look.
Thanks,
Ravi.
Hi,
After indexing my all queries returning fewer rows.
I have this class
public class AudioMedia{
@PrimaryKey
@Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
private Key id;
@Persistent
private String title;
.
@Persistent
private String
at this problem?
Thanks,
Ravi
On Nov 30, 8:19 pm, Ravi Sharma ping2r...@gmail.com wrote:
Hi,
Thanks for looking into it.I am sending the small code which i am using.
I
am using smack library.
This behaviour is not consistant. Once i was able to send messges at
every 5
seconds(and sent
to do that I might need
2/6 = minutes(6 calls per minutes) or 55 hours or two and
half day. Am I suppose to keep running my program for 2 and half days
to make those 2 calls.
I really need some help here.
Thanks in Advance
Ravi.
On Nov 25, 9:50 pm, Ravi Sharma ping2r
I am not sure, but i think you dont need to(should not) set fromJid, as
message will be sent from your application JID.
I am running following code and its working .
JID jid = new JID(responseJid);
Message msg = new MessageBuilder()
.withRecipientJids(jid)
Hi,
I am trying to write a XMPP Client. When i send a mesage from Client to GAE
application, it always reach the server and then server reply back. When i
ran the client first time it worked for 3-4 times. but then now i am not
receiving any message on client side. I checked the server logs and it
.
Thanks,
Ravi.
On Nov 8, 5:50 pm, LUAI KASSAR luai.kas...@gmail.com wrote:
Use Apache betwixt ,its works on GAEhttp://commons.apache.org/betwixt/
On Sun, Nov 8, 2009 at 7:46 PM, Ravi Sharma ping2r...@gmail.com
wrote:
I am not sure if i understand you.
Can you explain bit more
I am not sure if i understand you.
Can you explain bit more, an example or link would be great.
I can do normal Sax parsing but then writing code for each different kind of
xml is gonna be very tidious work.So looking for some GAE supported
libararies like JAXB or XMLBEAN
My Requirment is as
Hi,
Is is there any limit on maximum length of XMPP message.?
Ravi.
--~--~-~--~~~---~--~~
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
Hi,
I have following classes. I am creating a country object first and it get
persisted, then i read its key field and i get some value.
Basically i start a transaction and persist it close/commit the transaction.
then i create a State and set Country for state object as the country(reload
the
45 matches
Mail list logo