[appengine-java] Any pointers to how to retreive the data's from data Store and shows it in JSP?

2011-12-28 Thread suresh ashok
Hi All,

Has anyone came across the requirement like this? Have to retreive the
data's from Data Store and shows the result set of the dataStore's
Data in the JSP?



Regards,
Suresh

-- 
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-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



Re: [appengine-java] Re: name cannot be null or empty exception

2011-12-28 Thread Vik
yup that makes a good sense and seems to be solving my issue. Will update
Thankx and Regards

Vik
Founder
http://www.sakshum.org
http://blog.sakshum.org


On Wed, Dec 28, 2011 at 1:34 PM, Anton Mochalin anton.mocha...@gmail.comwrote:

 Seems like the collection ( bloodDonorEmailList ) you create elsewhere
 in the code and then use in your query contains null. When querying
 against the primary key you can't use null because it can't be null,
 obviously.

 --
 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-java@googlegroups.com.
 To unsubscribe from this group, send email to
 google-appengine-java+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/google-appengine-java?hl=en.



-- 
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-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] Re: Any inputs for How to use the DataStore for Java?

2011-12-28 Thread Simon Knott
Hi Suresh,

It might be worth having a look through some of Brandon's examples at 
http://code.google.com/p/gwt-examples/

Cheers,
Simon

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine-java/-/GHftT15awtUJ.
To post to this group, send email to google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] Re: Simple Java WebServices Call in GAE

2011-12-28 Thread Hector Rovira
Are you trying to expose a Web Service from your Appspot?

For this you will need to extend HttpServlet, and configure it in your 
web.xml with a mapping for your web service.
http://code.google.com/appengine/docs/java/runtime.html#Requests_and_Servlets

For an example of a REST web service with JSON output, go here: 
 http://goo.gl/0zU0e  

It uses Spring MVC to manage URL mappings.  In this example, the controller 
receives an AJAX request from a web page to 
https://example.appspot.com/users/whoami and returns JSON containing 
information about the logged in user... I use this controller to load user 
information on the web page, and provide a sign out button.

Here's a javascript component that makes the REST call and processes the 
JSON:  http://goo.gl/Z18ev

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine-java/-/6GazSiYJ-8wJ.
To post to this group, send email to google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



Re: [appengine-java] Re: Any inputs for How to use the DataStore for Java?

2011-12-28 Thread sundarrajan.srgm
Hi Suresh,

Refer this site vogella.de

I found this site with great- hands on sample code for google apps. including 
both java as well as python.

http://www.vogella.de/articles/GoogleAppEngineJava/article.html#todo_overview


Hope it will be adding blend for your search.

Thanks
Sundar

-Original Message- 
From: suresh ashok 
Sent: Wednesday, December 28, 2011 11:14 AM 
To: Google App Engine for Java 
Subject: [appengine-java] Re: Any inputs for How to use the DataStore for Java? 

Hi,

I can able to get the details about Java Data Store in Google
Application Engine.. But is their any hands-on sample to demonstrate
the Java Data Store in GAE.


Regards,
Suresh

On Dec 27, 3:53 pm, Simon Knott knott.si...@gmail.com wrote:
 Hi,

 I highly recommend that you read all of the documentation at:

-http://code.google.com/appengine/docs/java/datastore/overview.html
-
http://code.google.com/p/twig-persist/wiki/Comparison#Objectify_and_S...

-http://code.google.com/p/objectify-appengine/wiki/Concepts?tm=6

 Once you've read all of those, hopefully you will have some more direct
 questions to ask.

 Cheers,
 Simon

-- 
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-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.

-- 
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-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] twitter4j.TwitterRuntimeException: A JSONObject text must begin with '{' found: (Solucionado)

2011-12-28 Thread LaloFain
Gente, si alguien tiene este problemas con la version 2.2.5 de Twitter4J 
(para GAE), que mientras estamos desarrollando no les falló y al deployar 
en appengine falla, les cuento que la solución es muy simple, el problema 
(supongo) debe ser que los requests de appengine soportan gzip y envían a 
twitter en los headers que el contenido puede venir gzipeado, por lo cual 
twitter lo envía así haciendo fallar al parser de twitter4j que espera una 
respuesta REST plana (JSON).

La solución en mi caso, que estoy usando la clase ConfigurationBuilder fue 
usar setGZIPEnabled(false),  o sea:

ConfigurationBuilder cb = new ConfigurationBuilder();
cb.setOAuthConsumerKey(myOAuthConsumerKey);
cb.setOAuthConsumerSecret(myOAuthConsumerSecret);
cb.setOAuthAccessToken(myOAuthAccessToken);
cb.setOAuthAccessTokenSecret(myOAuthAccessTokenSecret);
cb.setGZIPEnabled(false);
TwitterFactory fact = new TwitterFactory(cb.build());
Twitter twitter = fact.getInstance();

Saludos!

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine-java/-/eOAMHXG3-ukJ.
To post to this group, send email to google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] Working application doesn't work when deployed

2011-12-28 Thread Kristof
Hi all,

I'm developing a tag recommendation application for todo's. I've got
it working perfectly in localhost, but when I deploy it to GAE it
fails. More specific my server is throwing NullPointerExceptions
(where it doesn't in localhost for exactly the same input). I already
googled this kind of error, but I only found one result which was for
Python (so not very helpful).
Hope u can help me out,

Thx,

Kristof

-- 
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-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] GWT RequestFactory to GAE Java Backend Instance

2011-12-28 Thread Felipe Stanham
Hi,

I´ve been searching for an answer to this question for a while now and 
couldn´t find any. Although this is also related to GWT, I consider this a 
GAE configuration problem not a GWT issue.

I´m using GWT RequestFactory with GAE and would like to send some requests 
(long report making) to a backend instance so as to avoid the 30 seconds 
time limit but can´t find the way to configure this. Maybe it´s got 
something to do with defining different custom implementations 
requestFactoryies, in that case maybe it´s a GWT issue.

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine-java/-/S73IvYcB8bYJ.
To post to this group, send email to google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] Re: Any inputs for How to use the DataStore for Java?

2011-12-28 Thread suresh ashok
Hi Sundar,

It seems that link is fine to learn GAE basics, but their is nothing
related to Java Data Store in that  url.

Regards,
Suresh

On Dec 28, 11:27 am, sundarrajan.s...@gmail.com wrote:
 Hi Suresh,

 Refer this site vogella.de

 I found this site with great- hands on sample code for google apps. including 
 both java as well as python.

 http://www.vogella.de/articles/GoogleAppEngineJava/article.html#todo_...

 Hope it will be adding blend for your search.

 Thanks
 Sundar



 -Original Message-
 From: suresh ashok
 Sent: Wednesday, December 28, 2011 11:14 AM
 To: Google App Engine for Java
 Subject: [appengine-java] Re: Any inputs for How to use the DataStore for 
 Java?

 Hi,

 I can able to get the details about Java Data Store in Google
 Application Engine.. But is their any hands-on sample to demonstrate
 the Java Data Store in GAE.

 Regards,
 Suresh

 On Dec 27, 3:53 pm, Simon Knott knott.si...@gmail.com wrote:
  Hi,

  I highly recommend that you read all of the documentation at:

     -http://code.google.com/appengine/docs/java/datastore/overview.html
     -
     http://code.google.com/p/twig-persist/wiki/Comparison#Objectify_and_S...

     -http://code.google.com/p/objectify-appengine/wiki/Concepts?tm=6

  Once you've read all of those, hopefully you will have some more direct
  questions to ask.

  Cheers,
  Simon

 --
 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-java@googlegroups.com.
 To unsubscribe from this group, send email to 
 google-appengine-java+unsubscr...@googlegroups.com.
 For more options, visit this group 
 athttp://groups.google.com/group/google-appengine-java?hl=en.- Hide quoted 
 text -

 - Show quoted text -

-- 
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-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



Re: [appengine-java] Re: name cannot be null or empty exception

2011-12-28 Thread gitar yang
java.lang.
IllegalArgumentException: name cannot be null or empty--this is
important,find it


2011/12/28 Anton Mochalin anton.mocha...@gmail.com

 Seems like the collection ( bloodDonorEmailList ) you create elsewhere
 in the code and then use in your query contains null. When querying
 against the primary key you can't use null because it can't be null,
 obviously.

 --
 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-java@googlegroups.com.
 To unsubscribe from this group, send email to
 google-appengine-java+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/google-appengine-java?hl=en.



-- 
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-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] Re: Any inputs for How to use the DataStore for Java?

2011-12-28 Thread Doug
Those are all great references indeed. However, I'm still stumped on this 
one which should be basic.

Using the Low Level API, I still cannot why String Properties break on 
special characters. 

thisEntity.setProperty(stringDescription ,Save 20% Off anything in 
store);

A little help on how to (convert?) and store (then get...) Strings 
containing non-alphanumeric characters with LLAPI?

Many Thanks
Doug

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine-java/-/Whb8noU7rZMJ.
To post to this group, send email to google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] Any Hands-on Sample for CRON-jobs ?

2011-12-28 Thread suresh ashok
Hi,

Did anyone used the  CRON-jobs in Java.


Regards,
Suresh

-- 
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-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] Any Hands-on Sample for CRON-jobs ?

2011-12-28 Thread suresh ashok
Hi,

Did anyone used the  CRON-jobs in Java.


Regards,
Suresh

-- 
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-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



Re: [appengine-java] Re: Any inputs for How to use the DataStore for Java?

2011-12-28 Thread Jeff Schnitzer
It won't be a problem with the Low-Level API.  It works just fine with
exotic unicode strings.

Your problem is somewhere else in your app, probably somewhere that
you are generating the string or rendering it.

Jeff

On Wed, Dec 28, 2011 at 10:59 AM, Doug douganderson...@gmail.com wrote:
 Those are all great references indeed. However, I'm still stumped on this
 one which should be basic.

 Using the Low Level API, I still cannot why String Properties break on
 special characters.

 thisEntity.setProperty(stringDescription ,Save 20% Off anything in
 store);

 A little help on how to (convert?) and store (then get...) Strings
 containing non-alphanumeric characters with LLAPI?

 Many Thanks
 Doug

 --
 You received this message because you are subscribed to the Google Groups
 Google App Engine for Java group.
 To view this discussion on the web visit
 https://groups.google.com/d/msg/google-appengine-java/-/Whb8noU7rZMJ.

 To post to this group, send email to google-appengine-java@googlegroups.com.
 To unsubscribe from this group, send email to
 google-appengine-java+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/google-appengine-java?hl=en.



-- 
We are the 20%

-- 
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-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.