[appengine-java] Re: GWT+servlet - how to redirect to a different page

2010-12-29 Thread l.denardo
Why don't you simply build the form panel with the specified target in
the constructor?

http://google-web-toolkit.googlecode.com/svn/javadoc/2.1/com/google/gwt/user/client/ui/FormPanel.html#FormPanel%28java.lang.String%29

FormPanel uses a hidden IFrame to manage the cycle of submit/receive
response; if you give a target to the constructor it will follow
standard behavior of replacing the current page after submit.

Regards
Lorenzo

On Dec 28, 2:10 pm, dreamer venugopal.vasire...@gmail.com wrote:
 Instead of server dispatching/forwarding to a new page as in
 traditional web flows,
 I send the page name as response to BROWSER, and used GWT -
 onSubmitComplete
 event to go to new page.
 == HERE CLIENT side code 
 formPanel.addSubmitCompleteHandler(new
 FormPanel.SubmitCompleteHandler() {
               public void onSubmitComplete(SubmitCompleteEvent event) {
                   shownextpage(/page2.html);
               }
             });
 --
 private native void shownextpage(String message) /*-{
         $wnd.alert(message);
         $wnd.location.href=/page2.html;
         }-*/;
 ---

 On Dec 28, 3:10 am, dreamer venugopal.vasire...@gmail.com wrote:

  Hi,

  I have a GWT entry point that submits to servlet , build using
  FormPanel.
  I am trying to build page flow using servlet RequestDispatcher or
  sendRedirect, even though no exception GAE is not forwarding to next
  page.

-- 
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-j...@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] Persisting an empty set

2010-12-29 Thread WillSpecht
I am trying to persist an empty HashSet in App Engine. It persists
fine but when I pull the the item that contains the HashSet from the
data-store the HashSet is now null. What can I do to force App Engine
to store an empty HashSet? Or, do I just need to check for null and
create the HashSet each time until it has something in it? I'm
guessing I would create a field hashSetEmpty and not create the
HashSet till I ran code that added to the HashSet.

-- 
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-j...@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: Using entity.setProperty on one-to-many relationships

2010-12-29 Thread Didier Durand
Hi,

Yes, the class Entity by Google only supports the core types defined
in the Dev Guide.

1 question : it seems that you are trying to mix high-level (JDO) and
low-level datastore api.  Is that correct ? Why do you have to do
that ?

regards

didier

On 29 déc, 10:06, Kalyan Akella kalyan.ake...@gmail.com wrote:
 Hi,

 Thank you for the reply.

 I am using the setProperty() method to set the list of *Recipe*s onto an
 instance of the 
 Entityhttp://code.google.com/appengine/docs/java/javadoc/com/google/appengi...class
  that represents a CookBook instance.

 It appears that this method only allows the supported data store types and
 collections of supported data store types. Although custom serializable
 types are allowed, they can be used with this method only if setting them as
 Blob or collection of Blob(s).

 In my application, storing the *Recipe*s as collection of Blob(s) inside 
 *CookBook
 *is unintended (as it impairs query filtering  ordering etc), I am going to
 modify this association to an unowned one-to-many relationship and try it
 out.

 Sincere Regards,
 Kalyan Akella

-- 
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-j...@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: Using entity.setProperty on one-to-many relationships

2010-12-29 Thread Kalyan Akella
Hi,

Yes, I had to use the low level API because that code is part of another 
unit test I am writing against my domain. So, I had to get hold of the 
DataStoreService, Entity and such classes, as documented 
herehttp://code.google.com/appengine/docs/java/tools/localunittesting.html#Writing_Datastore_Tests
.

Do you think there's a better alternative to doing testing than this way ?

Sincere Regards,
Kalyan Akella

-- 
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-j...@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: Using entity.setProperty on one-to-many relationships

2010-12-29 Thread Didier Durand
Hi,

Yes: why don't you only work with JDO and use its persistence manager
to store your entities? The pm of jdo will handle translation between
annotated pojos and datastore transparently for you and then
drastically reduce your code size.

N.B; I personnally switched from JDO to Objectify: much simpler, very
efficient. My only was of accessing the datastore as of now.

About JDO: future seems not so bright. Read section by Ikai Lan in
this thread: 
http://groups.google.com/group/google-appengine-java/browse_thread/thread/defc6d14445318b8/75a1e7b5bcbc1bb3?pli=1

regards

didier

On 29 déc, 13:12, Kalyan Akella kalyan.ake...@gmail.com wrote:
 Hi,

 Yes, I had to use the low level API because that code is part of another
 unit test I am writing against my domain. So, I had to get hold of the
 DataStoreService, Entity and such classes, as documented 
 herehttp://code.google.com/appengine/docs/java/tools/localunittesting.htm...
 .

 Do you think there's a better alternative to doing testing than this way ?

 Sincere Regards,
 Kalyan Akella

-- 
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-j...@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: Persisting an empty set

2010-12-29 Thread Didier Durand
Hi,

How do you persist it: JDO ? JPA ?  Low-level Datastore API ? 3rd
party package like Objectify ?

regards

didier

On 29 déc, 12:09, WillSpecht willspe...@gmail.com wrote:
 I am trying to persist an empty HashSet in App Engine. It persists
 fine but when I pull the the item that contains the HashSet from the
 data-store the HashSet is now null. What can I do to force App Engine
 to store an empty HashSet? Or, do I just need to check for null and
 create the HashSet each time until it has something in it? I'm
 guessing I would create a field hashSetEmpty and not create the
 HashSet till I ran code that added to the HashSet.

-- 
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-j...@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: Instant messenger

2010-12-29 Thread pdzarkar
Hi Andy,
I can't hire you because i am just a small developer and doing this
for learning API's and new technology.
Have you worked on XMPP or instant messenger before ?
Do i need any other tool other than eclipse,GWT fro development ?


On Dec 28, 10:50 pm, A. Stevko andy.ste...@gmail.com wrote:
 Hello Piyush,

 re: Authentication and Authorization APIs
 Every service has their own authentication API. Many are coming to use the
 OAuth standard although I've not seen many successful integration efforts
 yet.http://code.google.com/appengine/docs/java/oauth/

 http://code.google.com/appengine/docs/java/oauth/There is google user
 authentication support into the appengine platform with this 
 package:http://code.google.com/appengine/docs/java/javadoc/com/google/appengi...

 The external services you are referring are out of the scope of this forum.
 You might want to research them directly.
 I've included some links to expedite your 
 efforts.http://code.google.com/apis/accounts/docs/GettingStarted.htmlhttp://developers.facebook.com/docs/authentication/http://developer.yahoo.com/auth/

 Another resource that is is of broader scope and therefore more appropriate
 for many the issues you are going to face ishttp://stackoverflow.com/

 BTW, I'm open for hire presently...

 http://code.google.com/appengine/docs/java/javadoc/com/google/appengi...









 On Tue, Dec 28, 2010 at 2:14 AM, Piyush Zarkar pdzar...@gmail.com wrote:
  Thanks Stevko for quick reply.
  Your suggestions are really helpful to start with.
  I have decided to select servlets for writing code, GWT for creating GUI as
  you suggested.
  But i am still confused how to authenticate google users , facebook users
  ,yahoo users etc. Is there any authentication API ?
  I am just collecting requirements at this moment. Once all the requirements
  freezes, i will start working on code and GUI.
  If you have any suggestion please let me know.
  Hope you will help me.

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

 --
 -- A. Stevko
 ===
 If everything seems under control, you're just not going fast enough. M.
 Andretti

-- 
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-j...@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: GWT+servlet - how to redirect to a different page

2010-12-29 Thread dreamer
Thanks Ikai  Lorenzo. I am trying page flow as in struts, server
does some business logic
and tells where to go next depends on some biz logic or status.

I will try your suggestions.


On Dec 29, 1:41 am, l.denardo lorenzo.dena...@gmail.com wrote:
 Why don't you simply build the form panel with the specified target in
 the constructor?

 http://google-web-toolkit.googlecode.com/svn/javadoc/2.1/com/google/g...

 FormPanel uses a hidden IFrame to manage the cycle of submit/receive
 response; if you give a target to the constructor it will follow
 standard behavior of replacing the current page after submit.

 Regards
 Lorenzo

 On Dec 28, 2:10 pm, dreamer venugopal.vasire...@gmail.com wrote:







  Instead of server dispatching/forwarding to a new page as in
  traditional web flows,
  I send the page name as response to BROWSER, and used GWT -
  onSubmitComplete
  event to go to new page.
  == HERE CLIENT side code 
  formPanel.addSubmitCompleteHandler(new
  FormPanel.SubmitCompleteHandler() {
                public void onSubmitComplete(SubmitCompleteEvent event) {
                    shownextpage(/page2.html);
                }
              });
  --- 
  ---
  private native void shownextpage(String message) /*-{
          $wnd.alert(message);
          $wnd.location.href=/page2.html;
          }-*/;
  --- 
  

  On Dec 28, 3:10 am, dreamer venugopal.vasire...@gmail.com wrote:

   Hi,

   I have a GWT entry point that submits to servlet , build using
   FormPanel.
   I am trying to build page flow using servlet RequestDispatcher or
   sendRedirect, even though no exception GAE is not forwarding to next
   page.

-- 
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-j...@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 GAE APP as standalone app

2010-12-29 Thread dreamer
Hi,

I developed a small app using eclipse plug in (GWT) and datastore.
I want to roll to some users as standalone application.

I guess local datastore in eclipse is just a file like derby db file.
Any body tried this ? please share your experience before I burn too
many hours in this direction.

A

-- 
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-j...@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] Update an Existing object in the datastore - Problem

2010-12-29 Thread lisandrodc
Hi! I have a problem with the persistence of an existing object
Torneo (with a empty collection of objects Equipo).
When I add elements to the collection and want to persist,
sometimes persist and sometimes not persist in the
datastore(Restarting the server of the application). The code of
example:
public void agregarEquipoConTorneo(Torneo unTorneo, Equipo  unEquipo)
{
/*add Equipo with a existing Torneo in the
   datastore, the  unTorneo(param) class obtain with:
Torneo b =
   pm.getObjectById(model.Torneo.class, idTorneo);*/
Transaction tx = pm.currentTransaction();
try {
tx.begin();
unTorneo.agregarEquipo(unEquipo);
//add unEquipo to collection equipos
pm.makePersistentAll(unTorneo);
tx.commit();
System.out.println(persistioTorneoConEquipo);
} finally {
 pm.close();
if (tx.isActive()) {
tx.rollback();
}
}
Does it design someone of what this one happening?
Thanks!
Regards
Lisandro

-- 
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-j...@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: GWT GAE APP as standalone app

2010-12-29 Thread dreamer
If any tricks to package the app will be very helpful (without eclipse
etc).




On Dec 29, 6:25 am, dreamer venugopal.vasire...@gmail.com wrote:
 Hi,

 I developed a small app using eclipse plug in (GWT) and datastore.
 I want to roll to some users as standalone application.

 I guess local datastore in eclipse is just a file like derby db file.
 Any body tried this ? please share your experience before I burn too
 many hours in this direction.

 A

-- 
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-j...@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: persistent and scalable global atomic counter: not possible with GAE?

2010-12-29 Thread Nichole
Hi MG,

   Sharded counters help solve the concurrent write contention for an
entity.
Time (to the accuracy of milliseconds) helps to provide a one way
arrow towards a unique value.
Each request itself could be associated with an identity (this is up
to you, perhaps time in the request header).
The combination of all 3 may lead to a guaranteed unique number.

Cheers,
Nichole
(p.s. If you do use sharded counters in your approach, you can
configure the datastore
read consistency to be strong:
http://code.google.com/appengine/docs/java/datastore/usingjdo.html)

On Dec 28, 8:33 pm, MG michael.glas...@gmail.com wrote:
 Yes, keys are unique, but they are strings, and quite long (20+
 characters, from what I've seen). I do need unique and growing
 numeric counter.

 On Dec 28, 11:20 pm, nischalshetty nischalshett...@gmail.com wrote:







  Have a look at the Datastore Key thingy. The keys generated are
  unique across the system IMO. Not sure though but that's what I
  remember reading somewhere.

  -N

  On Dec 29, 7:43 am, MG michael.glas...@gmail.com wrote:

   Hello!

   I need to create a global atomic counter (64-bit) in my AppEngine/J
   app. Like

   long count = MyCounter.increment()

   that will 100% guarantee that count will never ever be the same for
   two different requests, and that I will be able to increment it
   several million times/day initially, and much more if/when traffic
   increases. I do not really care if it skips a number or two
   occasionally: I can live with it returning a value larger than the
   actual number of calls, but I do need absolute uniqueness and
   reasonably linear growth (i.e. is two consecutive calls from a client
   should result in ascending counter values).

   Is this possible to do with Google AppEngine? Sharded counters can
   ensure consistent counting, but not unique counts; memcache counters
   can ensure unique increments, but they are perishable and thus
   difficult (impossible?) to properly synchronize with persistent
   storage. Using one entity to read-update in a transaction will not
   scale...

   Thanks,
   MG

-- 
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-j...@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: Using entity.setProperty on one-to-many relationships

2010-12-29 Thread Kalyan Akella
Hi Didier,

Thank you for pointing out the easier approach of using JDO  
PersistenceManager APIs to do unit testing. I missed the point that the same 
benefits provided by these high-level APIs are equally applicable for unit 
testing as well. I wrote that code basing purely on the official 
documentation on data store unit testing. I shall use your approach right 
away and try to simplify my code.

Sincere Regards,
Kalyan Akella

-- 
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-j...@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] passing multiple parameters to JDOQL

2010-12-29 Thread Vik
Hie

I am trying to pass multiple parameters as follows

 Query query = pm.newQuery(PocVacationSchedule.class);
  query.setFilter(pocId == bind_pocId  startDate ==
bind_startDate  endDate == bind_endDate);
  query.declareParameters(Long bind_pocId);
  query.declareParameters(Date bind_startDate);
  query.declareParameters(Date bind_endDate);
 ListPocVacationSchedule rulesList =
(ListPocVacationSchedule)query.execute(pocId, startFrom, endFrom);

And it throws exception passed 3 parameters where query is expecting 1.

So, what I am doing wrong here?



Thankx and Regards

Vik
Founder
www.sakshum.com
www.sakshum.blogspot.com

-- 
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-j...@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: persistent and scalable global atomic counter: not possible with GAE?

2010-12-29 Thread dreamer
It may be possible to simulate oracle sequence triggers, write some
service
on app engine that returns next number in sequence and every body else
calls
this service.


On Dec 29, 6:30 am, Nichole nichole.k...@gmail.com wrote:
 Hi MG,

    Sharded counters help solve the concurrent write contention for an
 entity.
 Time (to the accuracy of milliseconds) helps to provide a one way
 arrow towards a unique value.
 Each request itself could be associated with an identity (this is up
 to you, perhaps time in the request header).
 The combination of all 3 may lead to a guaranteed unique number.

 Cheers,
     Nichole
 (p.s. If you do use sharded counters in your approach, you can
 configure the datastore
 read consistency to be 
 strong:http://code.google.com/appengine/docs/java/datastore/usingjdo.html)

 On Dec 28, 8:33 pm, MG michael.glas...@gmail.com wrote:







  Yes, keys are unique, but they are strings, and quite long (20+
  characters, from what I've seen). I do need unique and growing
  numeric counter.

  On Dec 28, 11:20 pm, nischalshetty nischalshett...@gmail.com wrote:

   Have a look at the Datastore Key thingy. The keys generated are
   unique across the system IMO. Not sure though but that's what I
   remember reading somewhere.

   -N

   On Dec 29, 7:43 am, MG michael.glas...@gmail.com wrote:

Hello!

I need to create a global atomic counter (64-bit) in my AppEngine/J
app. Like

long count = MyCounter.increment()

that will 100% guarantee that count will never ever be the same for
two different requests, and that I will be able to increment it
several million times/day initially, and much more if/when traffic
increases. I do not really care if it skips a number or two
occasionally: I can live with it returning a value larger than the
actual number of calls, but I do need absolute uniqueness and
reasonably linear growth (i.e. is two consecutive calls from a client
should result in ascending counter values).

Is this possible to do with Google AppEngine? Sharded counters can
ensure consistent counting, but not unique counts; memcache counters
can ensure unique increments, but they are perishable and thus
difficult (impossible?) to properly synchronize with persistent
storage. Using one entity to read-update in a transaction will not
scale...

Thanks,
MG

-- 
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-j...@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: Concurrency issue when dealing with datastore

2010-12-29 Thread cghersi
Thank you Didier,

I had to strongly synchronize my app using Java options (locka,
synchrnized objects, and so on...).

I think it is quite unbelievable that a huge giant like BigTable is so
weak in concurrency issues...

Perhaps my approach is geared from my experience in relational DBs,
but I'm quite puzzeld...

Anyway, thank you for your hints!
Bye
CRI

On Dec 26, 9:14 am, Didier Durand durand.did...@gmail.com wrote:
 Hi,

 I guess that you should read the Background parag 
 ofhttp://code.google.com/appengine/articles/scaling/contention.htmlto
 see what's happening to your app and then find out a way to
 rearchitect it in order to avoid touching same data at same time from
 different transactions

 Don't have enough details about your appl but maybe the recipe in
 following articles may 
 help:http://code.google.com/appengine/articles/sharding_counters.html

 regards

 didier

 On Dec 20, 8:42 pm, cghersi cristiano.ghe...@gmail.com wrote:







  Hi all,
  I'm very new with GoogleAppEngine, and I cannot yet understand how to
  deal with Transactions and concurrency.
  I've got a servlet called by a queue task where I need to manipulate
  several kind of objects.
  I'm not able to use the Transactions, as I'm updating several objects
  not belonging to the same entity group.
  I'm facing a org.datanucleus.exceptions.NucleusDataStoreException:
  Concurrent Modification problem when trying to close my
  PersistenceManager object at the end of the doPost() method of the
  servlet.

  Is there a known pattern to face with this problem?

  Thank you very much.
  Bye
  cghersi

-- 
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-j...@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: How to completely erase the datastore of an app

2010-12-29 Thread Didier Durand
Hi,

You can very easily empty your datastore using the Datastore viewer of
the admin console: you can select and delete all entities from the
viewer screen.

regards

didier

On Dec 29, 4:52 pm, cghersi cristiano.ghe...@gmail.com wrote:
 Hi,

 I've got an app on GAE with 4 versions, up to now.

 Until the 4th version I had an entity with an ancestor, so its keys
 were of the type (EntityID-AncestorID).
 In the 5th version I changed my design and now this entity hasn't got
 ancestor any more. Its keys are now simple long values.

 On my development server all is OK, given that my local datastore has
 been correctly updated.
 But with the online app I'm not able to remove the unused indexes and
 to create entities with the new long key.

 How may I completely erase my datastore online in order to rebuild it
 from scratch?

 Thank you very much!!!
 Bye
 CRI

-- 
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-j...@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] passing multiple parameters to JDOQL

2010-12-29 Thread Stephen Johnson
You need to do it like this:

  query.declareParameters(Long bind_pocId, Date bind_startDate, Date
bind_endDate);

However, unless you've normalized your dates on midnight or something I
don't think this will work they way you want since date objects have
millisecond precision.

On Wed, Dec 29, 2010 at 7:46 AM, Vik vik@gmail.com wrote:

 Hie

 I am trying to pass multiple parameters as follows

   Query query = pm.newQuery(PocVacationSchedule.class);
  query.setFilter(pocId == bind_pocId  startDate ==
 bind_startDate  endDate == bind_endDate);
  query.declareParameters(Long bind_pocId);
  query.declareParameters(Date bind_startDate);
  query.declareParameters(Date bind_endDate);
  ListPocVacationSchedule rulesList =
 (ListPocVacationSchedule)query.execute(pocId, startFrom, endFrom);

 And it throws exception passed 3 parameters where query is expecting 1.

 So, what I am doing wrong here?



 Thankx and Regards

 Vik
 Founder
 www.sakshum.com
 www.sakshum.blogspot.com

 --
 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-j...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@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-j...@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] passing multiple parameters to JDOQL

2010-12-29 Thread Vik
yeah thanks..  I will try it this way...

Yes I am manually setting time component part to 0 before storing the data.

Thankx and Regards

Vik
Founder
www.sakshum.com
www.sakshum.blogspot.com


On Wed, Dec 29, 2010 at 9:52 PM, Stephen Johnson onepagewo...@gmail.comwrote:

 You need to do it like this:

   query.declareParameters(Long bind_pocId, Date bind_startDate, Date
 bind_endDate);

 However, unless you've normalized your dates on midnight or something I
 don't think this will work they way you want since date objects have
 millisecond precision.

 On Wed, Dec 29, 2010 at 7:46 AM, Vik vik@gmail.com wrote:

 Hie

 I am trying to pass multiple parameters as follows

   Query query = pm.newQuery(PocVacationSchedule.class);
  query.setFilter(pocId == bind_pocId  startDate ==
 bind_startDate  endDate == bind_endDate);
  query.declareParameters(Long bind_pocId);
  query.declareParameters(Date bind_startDate);
  query.declareParameters(Date bind_endDate);
  ListPocVacationSchedule rulesList =
 (ListPocVacationSchedule)query.execute(pocId, startFrom, endFrom);

 And it throws exception passed 3 parameters where query is expecting 1.

 So, what I am doing wrong here?



 Thankx and Regards

 Vik
 Founder
 www.sakshum.com
 www.sakshum.blogspot.com

 --
 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-j...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@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-j...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@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-j...@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: slf4j debug messages not in admin console

2010-12-29 Thread nacho
I tryied to log messages in DEBUG level following the instructions of
this page http://code.google.com/intl/es-AR/appengine/docs/java/runtime.html
and i can't log any DEBUG message.

If I use other higher levels works fine like @Tomas sayid.

Is this an appengine restriction?


On 28 dic, 05:19, radomir radomi...@gmail.com wrote:
 I use SLF4J bridged to java.util.logging and I receive debug messages
 (using FINEST level in JUL config).

 On Dec 25, 11:48 pm, Tomas Vojtech tomas.vojt...@gmail.com wrote:

  Hello,

  I use SLF4J for logging and if I use logger.debug or logger.trace no
  message is shown in logs in administration console. Higher levels work
  fine and are in the console.

  Is problem in my application or where is problem?

  blaf

-- 
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-j...@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: persistent and scalable global atomic counter: not possible with GAE?

2010-12-29 Thread Ikai Lan (Google)
What are you building? With distributed systems, it can be tricky to do some
things. A single, scalable, atomic counter is an implementation for a
solution, not a solution to a problem. There may be an alternate
implementation that'll make your life easier but solve the problem at hand.

--
Ikai Lan
Developer Programs Engineer, Google App Engine
Blogger: http://googleappengine.blogspot.com
Reddit: http://www.reddit.com/r/appengine
Twitter: http://twitter.com/app_engine



On Wed, Dec 29, 2010 at 6:55 AM, dreamer venugopal.vasire...@gmail.comwrote:

 It may be possible to simulate oracle sequence triggers, write some
 service
 on app engine that returns next number in sequence and every body else
 calls
 this service.


 On Dec 29, 6:30 am, Nichole nichole.k...@gmail.com wrote:
  Hi MG,
 
 Sharded counters help solve the concurrent write contention for an
  entity.
  Time (to the accuracy of milliseconds) helps to provide a one way
  arrow towards a unique value.
  Each request itself could be associated with an identity (this is up
  to you, perhaps time in the request header).
  The combination of all 3 may lead to a guaranteed unique number.
 
  Cheers,
  Nichole
  (p.s. If you do use sharded counters in your approach, you can
  configure the datastore
  read consistency to be strong:
 http://code.google.com/appengine/docs/java/datastore/usingjdo.html)
 
  On Dec 28, 8:33 pm, MG michael.glas...@gmail.com wrote:
 
 
 
 
 
 
 
   Yes, keys are unique, but they are strings, and quite long (20+
   characters, from what I've seen). I do need unique and growing
   numeric counter.
 
   On Dec 28, 11:20 pm, nischalshetty nischalshett...@gmail.com wrote:
 
Have a look at the Datastore Key thingy. The keys generated are
unique across the system IMO. Not sure though but that's what I
remember reading somewhere.
 
-N
 
On Dec 29, 7:43 am, MG michael.glas...@gmail.com wrote:
 
 Hello!
 
 I need to create a global atomic counter (64-bit) in my AppEngine/J
 app. Like
 
 long count = MyCounter.increment()
 
 that will 100% guarantee that count will never ever be the same for
 two different requests, and that I will be able to increment it
 several million times/day initially, and much more if/when traffic
 increases. I do not really care if it skips a number or two
 occasionally: I can live with it returning a value larger than the
 actual number of calls, but I do need absolute uniqueness and
 reasonably linear growth (i.e. is two consecutive calls from a
 client
 should result in ascending counter values).
 
 Is this possible to do with Google AppEngine? Sharded counters can
 ensure consistent counting, but not unique counts; memcache
 counters
 can ensure unique increments, but they are perishable and thus
 difficult (impossible?) to properly synchronize with persistent
 storage. Using one entity to read-update in a transaction will not
 scale...
 
 Thanks,
 MG

 --
 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-j...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@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-j...@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] Lightweight Best performing MVC framework - Recommendation

2010-12-29 Thread Ikai Lan (Google)
Um ... those are like the opposite of lightweight.

Here are some I like:

Play Framework: probably the most underrated Java framework I've ever see
http://www.playframework.org/

Slim3: built for App Engine. Cons: kind of needs deep Eclipse integration
http://sites.google.com/site/slim3appengine/

There are more. I'll post in a bit. What are other frameworks everyone else
here likes?

--
Ikai Lan
Developer Programs Engineer, Google App Engine
Blogger: http://googleappengine.blogspot.com
Reddit: http://www.reddit.com/r/appengine
Twitter: http://twitter.com/app_engine



On Wed, Dec 29, 2010 at 10:49 AM, Nasif Noorudeen nas...@gmail.com wrote:

 spring  jsf

 On 12/29/10, Sree sreeju...@gmail.com wrote:
  Hello,
 
  I am new to Java and App Engine, and coming from ASP.NET C# and
  Windows Azure world. I am looking for a lightweight  best performing
  java based MVC framework.  I would like to migrate my ASP.NET MVC
  project to App Engine (Java).
 
  It would be great if you can share your experience.  I am open to
  Python as well, but learning Java is faster than Python, since I am
  good at C#.
 
  Thanks in Advance.
 
  Regards
  Sree
 
  --
  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-j...@googlegroups.com.
  To unsubscribe from this group, send email to
  google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@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-j...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@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-j...@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: persistent and scalable global atomic counter: not possible with GAE?

2010-12-29 Thread MG
Ikai, you are right - I don't need a counter, a sequence of unique and
growing numbers will do. And I think I can make a scalable numeric
sequence by combining a sharded counter with a memcache counter (and
an occasional transaction). I'll post my solution when it's done.

MG

On Dec 29, 1:48 pm, Ikai Lan (Google) ikai.l+gro...@google.com
wrote:
 What are you building? With distributed systems, it can be tricky to do some
 things. A single, scalable, atomic counter is an implementation for a
 solution, not a solution to a problem. There may be an alternate
 implementation that'll make your life easier but solve the problem at hand.

 --
 Ikai Lan

-- 
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-j...@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: persistent and scalable global atomic counter: not possible with GAE?

2010-12-29 Thread Ikai Lan (Google)
Sweet. Remember that Memcache's INCR operation IS atomic.

Waiting to see your solution ... as well as what you are using it for =).

--
Ikai Lan
Developer Programs Engineer, Google App Engine
Blogger: http://googleappengine.blogspot.com
Reddit: http://www.reddit.com/r/appengine
Twitter: http://twitter.com/app_engine



On Wed, Dec 29, 2010 at 12:38 PM, MG michael.glas...@gmail.com wrote:

 Ikai, you are right - I don't need a counter, a sequence of unique and
 growing numbers will do. And I think I can make a scalable numeric
 sequence by combining a sharded counter with a memcache counter (and
 an occasional transaction). I'll post my solution when it's done.

 MG

 On Dec 29, 1:48 pm, Ikai Lan (Google) 
 ikai.l+gro...@google.comikai.l%2bgro...@google.com
 
 wrote:
  What are you building? With distributed systems, it can be tricky to do
 some
  things. A single, scalable, atomic counter is an implementation for a
  solution, not a solution to a problem. There may be an alternate
  implementation that'll make your life easier but solve the problem at
 hand.
 
  --
  Ikai Lan

 --
 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-j...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@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-j...@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: Instant messenger

2010-12-29 Thread A. Stevko

 Have you worked on XMPP or instant messenger before ?


No, I haven't had the opportunity yet to work with the IM libraries although
they do seem to be straight forward.

Do i need any other tool other than eclipse,GWT fro development ?


Besides using nearly every kind of browser (with the gwt dev addon), you can
get away with just using eclipse with the google plug-in to do everything.
There are a bunch of tools and best practices out there that will make your
life easier in the long run. The links below are for Windows specific utils
since I'm mostly working on Windows for local and Linux for remote.

* Definitely use a version control system - I recommend SVN, There are
others that are as good.
http://tortoisesvn.tigris.org/  (windows shell svn extensions)
http://subversion.tigris.org/

* While many people are drawn to using JDO or JPA for the persistent data
layers - both have a tough learning curve. I recommend using Objectify to
hide much of the complexities in using Big Table's no-sql nature.
http://code.google.com/p/objectify-appengine/

* As you advance, you will want to use Google Guice  GIN to simplify 
document the dependencies
http://code.google.com/p/google-guice/

* A local proxy service brings daylight to the way the components
communicate on the network.
http://www.fiddler2.com/fiddler2/

* Firefox add-ons that are invaluable
Firebug! - allows you to view the GWT client logs in the browser window
instead of viewing them in the eclipse dev console (also works w/ production
instances)
Scrapbook Plus - for literally snapshotting the current page state with live
html/image/js
Web Developer - for inspecting the page contents and layout
View Cookies - for inspecting/editing cookies

* The MVP pattern is a great way to design a medium to highly complex
application's architecture.

* Take the time to look at the Session Videos from the last two years of
Google IO. They will change your life - they did mine.
http://www.google.com/events/io/2010/sessions.html

I've got an GAE/GWT application deployed that was developed using all of the
above technologies. If you are a Facebook user, give it a free trial.
www.ninuku.com

--Andy Stevko


On Wed, Dec 29, 2010 at 4:49 AM, pdzarkar pdzar...@gmail.com wrote:

 Hi Andy,
 I can't hire you because i am just a small developer and doing this
 for learning API's and new technology.
 Have you worked on XMPP or instant messenger before ?
 Do i need any other tool other than eclipse,GWT fro development ?


 On Dec 28, 10:50 pm, A. Stevko andy.ste...@gmail.com wrote:
  Hello Piyush,
 
  re: Authentication and Authorization APIs
  Every service has their own authentication API. Many are coming to use
 the
  OAuth standard although I've not seen many successful integration efforts
  yet.http://code.google.com/appengine/docs/java/oauth/
 
  http://code.google.com/appengine/docs/java/oauth/There is google user
  authentication support into the appengine platform with this package:
 http://code.google.com/appengine/docs/java/javadoc/com/google/appengi...
 
  The external services you are referring are out of the scope of this
 forum.
  You might want to research them directly.
  I've included some links to expedite your efforts.
 http://code.google.com/apis/accounts/docs/GettingStarted.htmlhttp://developers.facebook.com/docs/authentication/http://developer.yahoo.com/auth/
 
  Another resource that is is of broader scope and therefore more
 appropriate
  for many the issues you are going to face ishttp://stackoverflow.com/
 
  BTW, I'm open for hire presently...
 
  http://code.google.com/appengine/docs/java/javadoc/com/google/appengi..
 .
 
 
 
 
 
 
 
 
 
  On Tue, Dec 28, 2010 at 2:14 AM, Piyush Zarkar pdzar...@gmail.com
 wrote:
   Thanks Stevko for quick reply.
   Your suggestions are really helpful to start with.
   I have decided to select servlets for writing code, GWT for creating
 GUI as
   you suggested.
   But i am still confused how to authenticate google users , facebook
 users
   ,yahoo users etc. Is there any authentication API ?
   I am just collecting requirements at this moment. Once all the
 requirements
   freezes, i will start working on code and GUI.
   If you have any suggestion please let me know.
   Hope you will help me.
 
   --
   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-j...@googlegroups.com.
   To unsubscribe from this group, send email to
   google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@googlegroups.comgoogle-appengine-java%2B
 unsubscr...@googlegroups.com
   .
   For more options, visit this group at
  http://groups.google.com/group/google-appengine-java?hl=en.
 
  --
  -- A. Stevko
  ===
  If everything seems under control, you're just not going fast enough.
 M.
  Andretti

 --
 You received this message because you are subscribed to the Google Groups
 Google 

Re: [appengine-java] Instant messenger

2010-12-29 Thread Sumi
Why do you say not many successful oAuth integrations?I have tried using
them but with so success...is there anyone from google who can comment on
this... i did everything mentioned in gdata oauth integrations but still no
luck..


On Tue, Dec 28, 2010 at 9:50 AM, A. Stevko andy.ste...@gmail.com wrote:

 Hello Piyush,

 re: Authentication and Authorization APIs
 Every service has their own authentication API. Many are coming to use the
 OAuth standard although I've not seen many successful integration efforts
 yet.
 http://code.google.com/appengine/docs/java/oauth/

 http://code.google.com/appengine/docs/java/oauth/There is google user
 authentication support into the appengine platform with this package:

 http://code.google.com/appengine/docs/java/javadoc/com/google/appengine/api/users/package-summary.html

 The external services you are referring are out of the scope of this forum.
 You might want to research them directly.
 I've included some links to expedite your efforts.
 http://code.google.com/apis/accounts/docs/GettingStarted.html
 http://developers.facebook.com/docs/authentication/
 http://developer.yahoo.com/auth/

 Another resource that is is of broader scope and therefore more appropriate
 for many the issues you are going to face is http://stackoverflow.com/

 BTW, I'm open for hire presently...




 http://code.google.com/appengine/docs/java/javadoc/com/google/appengine/api/users/package-summary.html
 On Tue, Dec 28, 2010 at 2:14 AM, Piyush Zarkar pdzar...@gmail.com wrote:

 Thanks Stevko for quick reply.
 Your suggestions are really helpful to start with.
 I have decided to select servlets for writing code, GWT for creating
 GUI as you suggested.
 But i am still confused how to authenticate google users , facebook users
 ,yahoo users etc. Is there any authentication API ?
 I am just collecting requirements at this moment. Once all the
 requirements freezes, i will start working on code and GUI.
 If you have any suggestion please let me know.
 Hope you will help me.

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




 --
 -- A. Stevko
 ===
 If everything seems under control, you're just not going fast enough. M.
 Andretti





  --
 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-j...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@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-j...@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] google oauth - Help needed

2010-12-29 Thread Sumi
I spent the past few days implementing google oauth for gdata API s
integration with no success...
I followed the steps mentioned in
http://code.google.com/apis/accounts/docs/OAuth.html#prepServiceCall

Is there anyone from google who can confirm that google aouth is not broken
and its working...and if it is working..are there any configuration
omissions in the documentation?

-- 
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-j...@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] Instant messenger

2010-12-29 Thread A. Stevko
A couple of other resources Piyusk are:
The issue ticket base at
http://code.google.com/p/googleappengine/issues/listhttp://code.google.com/p/googleappengine/issues/list?can=2q=oauthcolspec=ID+Type+Component+Status+Stars+Summary+Language+Priority+Owner+Logcells=tiles#
http://code.google.com/p/googleappengine/issues/list?can=2q=oauthcolspec=ID+Type+Component+Status+Stars+Summary+Language+Priority+Owner+Logcells=tiles#and
the twice monthly IRC chat with the GAE developers.



On Wed, Dec 29, 2010 at 2:45 PM, Sumi sumi...@gmail.com wrote:


 Why do you say not many successful oAuth integrations?I have tried using
 them but with so success...is there anyone from google who can comment on
 this... i did everything mentioned in gdata oauth integrations but still no
 luck..



 On Tue, Dec 28, 2010 at 9:50 AM, A. Stevko andy.ste...@gmail.com wrote:

 Hello Piyush,

 re: Authentication and Authorization APIs
 Every service has their own authentication API. Many are coming to use the
 OAuth standard although I've not seen many successful integration efforts
 yet.
 http://code.google.com/appengine/docs/java/oauth/

 http://code.google.com/appengine/docs/java/oauth/There is google user
 authentication support into the appengine platform with this package:

 http://code.google.com/appengine/docs/java/javadoc/com/google/appengine/api/users/package-summary.html

 The external services you are referring are out of the scope of this
 forum. You might want to research them directly.
 I've included some links to expedite your efforts.
 http://code.google.com/apis/accounts/docs/GettingStarted.html
 http://developers.facebook.com/docs/authentication/
 http://developer.yahoo.com/auth/

 Another resource that is is of broader scope and therefore more
 appropriate for many the issues you are going to face is
 http://stackoverflow.com/

 BTW, I'm open for hire presently...




 http://code.google.com/appengine/docs/java/javadoc/com/google/appengine/api/users/package-summary.html
 On Tue, Dec 28, 2010 at 2:14 AM, Piyush Zarkar pdzar...@gmail.comwrote:

 Thanks Stevko for quick reply.
 Your suggestions are really helpful to start with.
 I have decided to select servlets for writing code, GWT for creating
 GUI as you suggested.
 But i am still confused how to authenticate google users , facebook users
 ,yahoo users etc. Is there any authentication API ?
 I am just collecting requirements at this moment. Once all the
 requirements freezes, i will start working on code and GUI.
 If you have any suggestion please let me know.
 Hope you will help me.

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




 --
 -- A. Stevko
 ===
 If everything seems under control, you're just not going fast enough.
 M. Andretti





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




-- 
-- A. Stevko
===
If everything seems under control, you're just not going fast enough. M.
Andretti

-- 
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-j...@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] Instant messenger

2010-12-29 Thread A. Stevko
Sumi - I personally have not seen lots of successful examples of oauth
deployed although it seems to be the right direction.
I suggest you start another thread with your experiences and details...

On Wed, Dec 29, 2010 at 6:03 PM, A. Stevko andy.ste...@gmail.com wrote:

 A couple of other resources Piyusk are:
 The issue ticket base at
 http://code.google.com/p/googleappengine/issues/listhttp://code.google.com/p/googleappengine/issues/list?can=2q=oauthcolspec=ID+Type+Component+Status+Stars+Summary+Language+Priority+Owner+Logcells=tiles#
 http://code.google.com/p/googleappengine/issues/list?can=2q=oauthcolspec=ID+Type+Component+Status+Stars+Summary+Language+Priority+Owner+Logcells=tiles#and
 the twice monthly IRC chat with the GAE developers.



 On Wed, Dec 29, 2010 at 2:45 PM, Sumi sumi...@gmail.com wrote:


 Why do you say not many successful oAuth integrations?I have tried using
 them but with so success...is there anyone from google who can comment on
 this... i did everything mentioned in gdata oauth integrations but still no
 luck..



 On Tue, Dec 28, 2010 at 9:50 AM, A. Stevko andy.ste...@gmail.com wrote:

 Hello Piyush,

 re: Authentication and Authorization APIs
 Every service has their own authentication API. Many are coming to use
 the OAuth standard although I've not seen many successful integration
 efforts yet.
 http://code.google.com/appengine/docs/java/oauth/

 http://code.google.com/appengine/docs/java/oauth/There is google user
 authentication support into the appengine platform with this package:

 http://code.google.com/appengine/docs/java/javadoc/com/google/appengine/api/users/package-summary.html

 The external services you are referring are out of the scope of this
 forum. You might want to research them directly.
 I've included some links to expedite your efforts.
 http://code.google.com/apis/accounts/docs/GettingStarted.html
 http://developers.facebook.com/docs/authentication/
 http://developer.yahoo.com/auth/

 Another resource that is is of broader scope and therefore more
 appropriate for many the issues you are going to face is
 http://stackoverflow.com/

 BTW, I'm open for hire presently...




 http://code.google.com/appengine/docs/java/javadoc/com/google/appengine/api/users/package-summary.html
 On Tue, Dec 28, 2010 at 2:14 AM, Piyush Zarkar pdzar...@gmail.comwrote:

 Thanks Stevko for quick reply.
 Your suggestions are really helpful to start with.
 I have decided to select servlets for writing code, GWT for creating
 GUI as you suggested.
 But i am still confused how to authenticate google users , facebook
 users ,yahoo users etc. Is there any authentication API ?
 I am just collecting requirements at this moment. Once all the
 requirements freezes, i will start working on code and GUI.
 If you have any suggestion please let me know.
 Hope you will help me.

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




 --
 -- A. Stevko
 ===
 If everything seems under control, you're just not going fast enough.
 M. Andretti





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




 --
 -- A. Stevko
 ===
 If everything seems under control, you're just not going fast enough. M.
 Andretti








-- 
-- A. Stevko
===
If everything seems under control, you're just not going fast enough. M.
Andretti

-- 
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-j...@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: Lightweight Best performing MVC framework - Recommendation

2010-12-29 Thread nischalshetty
That was Struts 2, made a mistake in the spelling


-N

On Dec 30, 10:08 am, nischalshetty nischalshett...@gmail.com wrote:
 Strust 2 , just the default one, without putting in anything unwanted
 into it. I use it for m apphttp://justunfollow.comand seems to work
 well.

 -N

 On Dec 30, 12:02 am, Ikai Lan (Google) ikai.l+gro...@google.com
 wrote:







  Um ... those are like the opposite of lightweight.

  Here are some I like:

  Play Framework: probably the most underrated Java framework I've ever 
  seehttp://www.playframework.org/

  Slim3: built for App Engine. Cons: kind of needs deep Eclipse 
  integrationhttp://sites.google.com/site/slim3appengine/

  There are more. I'll post in a bit. What are other frameworks everyone else
  here likes?

  --
  Ikai Lan
  Developer Programs Engineer, Google App Engine
  Blogger:http://googleappengine.blogspot.com
  Reddit:http://www.reddit.com/r/appengine
  Twitter:http://twitter.com/app_engine

  On Wed, Dec 29, 2010 at 10:49 AM, Nasif Noorudeen nas...@gmail.com wrote:
   spring  jsf

   On 12/29/10, Sree sreeju...@gmail.com wrote:
Hello,

I am new to Java and App Engine, and coming from ASP.NET C# and
Windows Azure world. I am looking for a lightweight  best performing
java based MVC framework.  I would like to migrate my ASP.NET MVC
project to App Engine (Java).

It would be great if you can share your experience.  I am open to
Python as well, but learning Java is faster than Python, since I am
good at C#.

Thanks in Advance.

Regards
Sree

--
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-j...@googlegroups.com.
To unsubscribe from this group, send email to
google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2B
 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-j...@googlegroups.com.
   To unsubscribe from this group, send email to
   google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2B
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-j...@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] google eclipse plugin开发gae,wa r目录不能同步

2010-12-29 Thread EtuO
参照http://googlewebtoolkit.blogspot.com/2010/08/how-to-use-google-
plugin-for-eclipse.html的官方博客。将一个maven工程改成eclipse热部署。
现在的状态是启动都是ok的,工作目录是:src/main/webapp,启动的目录是:target/your-project-name,访问正
常。
问题是工作目录的文件修改时不能同步到启动目录中去。
例如我在工作目录下修改一个jsp文件,用浏览器访问不能生效,因为启动目录里面文件还没有改变。

那位碰到过这个问题的,指教下。

-- 
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-j...@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: Instant messenger

2010-12-29 Thread pdzarkar
Hi Andy,
I visited ninuku.com.I found its an interesting website. The idea
behind application is awesome. I think you were working there ?
And again thanks for valuable suggestions.

Regards,
Piyush



On Dec 30, 3:22 am, A. Stevko andy.ste...@gmail.com wrote:
  Have you worked on XMPP or instant messenger before ?

 No, I haven't had the opportunity yet to work with the IM libraries although
 they do seem to be straight forward.

 Do i need any other tool other than eclipse,GWT fro development ?

 Besides using nearly every kind of browser (with the gwt dev addon), you can
 get away with just using eclipse with the google plug-in to do everything.
 There are a bunch of tools and best practices out there that will make your
 life easier in the long run. The links below are for Windows specific utils
 since I'm mostly working on Windows for local and Linux for remote.

 * Definitely use a version control system - I recommend SVN, There are
 others that are as good.http://tortoisesvn.tigris.org/ (windows shell svn 
 extensions)http://subversion.tigris.org/

 * While many people are drawn to using JDO or JPA for the persistent data
 layers - both have a tough learning curve. I recommend using Objectify to
 hide much of the complexities in using Big Table's no-sql 
 nature.http://code.google.com/p/objectify-appengine/

 * As you advance, you will want to use Google Guice  GIN to simplify 
 document the dependencieshttp://code.google.com/p/google-guice/

 * A local proxy service brings daylight to the way the components
 communicate on the network.http://www.fiddler2.com/fiddler2/

 * Firefox add-ons that are invaluable
 Firebug! - allows you to view the GWT client logs in the browser window
 instead of viewing them in the eclipse dev console (also works w/ production
 instances)
 Scrapbook Plus - for literally snapshotting the current page state with live
 html/image/js
 Web Developer - for inspecting the page contents and layout
 View Cookies - for inspecting/editing cookies

 * The MVP pattern is a great way to design a medium to highly complex
 application's architecture.

 * Take the time to look at the Session Videos from the last two years of
 Google IO. They will change your life - they did 
 mine.http://www.google.com/events/io/2010/sessions.html

 I've got an GAE/GWT application deployed that was developed using all of the
 above technologies. If you are a Facebook user, give it a free 
 trial.www.ninuku.com

 --Andy Stevko









 On Wed, Dec 29, 2010 at 4:49 AM, pdzarkar pdzar...@gmail.com wrote:
  Hi Andy,
  I can't hire you because i am just a small developer and doing this
  for learning API's and new technology.
  Have you worked on XMPP or instant messenger before ?
  Do i need any other tool other than eclipse,GWT fro development ?

  On Dec 28, 10:50 pm, A. Stevko andy.ste...@gmail.com wrote:
   Hello Piyush,

   re: Authentication and Authorization APIs
   Every service has their own authentication API. Many are coming to use
  the
   OAuth standard although I've not seen many successful integration efforts
   yet.http://code.google.com/appengine/docs/java/oauth/

   http://code.google.com/appengine/docs/java/oauth/There is google user
   authentication support into the appengine platform with this package:
 http://code.google.com/appengine/docs/java/javadoc/com/google/appengi...

   The external services you are referring are out of the scope of this
  forum.
   You might want to research them directly.
   I've included some links to expedite your efforts.
 http://code.google.com/apis/accounts/docs/GettingStarted.htmlhttp://d...

   Another resource that is is of broader scope and therefore more
  appropriate
   for many the issues you are going to face ishttp://stackoverflow.com/

   BTW, I'm open for hire presently...

   http://code.google.com/appengine/docs/java/javadoc/com/google/appengi..
  .

   On Tue, Dec 28, 2010 at 2:14 AM, Piyush Zarkar pdzar...@gmail.com
  wrote:
Thanks Stevko for quick reply.
Your suggestions are really helpful to start with.
I have decided to select servlets for writing code, GWT for creating
  GUI as
you suggested.
But i am still confused how to authenticate google users , facebook
  users
,yahoo users etc. Is there any authentication API ?
I am just collecting requirements at this moment. Once all the
  requirements
freezes, i will start working on code and GUI.
If you have any suggestion please let me know.
Hope you will help me.

--
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-j...@googlegroups.com.
To unsubscribe from this group, send email to
google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2B
 unsubscr...@googlegroups.comgoogle-appengine-java%2B
  unsubscr...@googlegroups.com
.
For more options, visit this group at
   

[appengine-java] Re: Instant messenger

2010-12-29 Thread pdzarkar
Hi Sumi,
I am starting working on oauth integration soon. If there any
success,i will help you on this issue.

Regards,
Piyush

On Dec 30, 3:45 am, Sumi sumi...@gmail.com wrote:
 Why do you say not many successful oAuth integrations?I have tried using
 them but with so success...is there anyone from google who can comment on
 this... i did everything mentioned in gdata oauth integrations but still no
 luck..







 On Tue, Dec 28, 2010 at 9:50 AM, A. Stevko andy.ste...@gmail.com wrote:
  Hello Piyush,

  re: Authentication and Authorization APIs
  Every service has their own authentication API. Many are coming to use the
  OAuth standard although I've not seen many successful integration efforts
  yet.
 http://code.google.com/appengine/docs/java/oauth/

  http://code.google.com/appengine/docs/java/oauth/There is google user
  authentication support into the appengine platform with this package:

 http://code.google.com/appengine/docs/java/javadoc/com/google/appengi...

  The external services you are referring are out of the scope of this forum.
  You might want to research them directly.
  I've included some links to expedite your efforts.
 http://code.google.com/apis/accounts/docs/GettingStarted.html
 http://developers.facebook.com/docs/authentication/
 http://developer.yahoo.com/auth/

  Another resource that is is of broader scope and therefore more appropriate
  for many the issues you are going to face ishttp://stackoverflow.com/

  BTW, I'm open for hire presently...

  http://code.google.com/appengine/docs/java/javadoc/com/google/appengi...
  On Tue, Dec 28, 2010 at 2:14 AM, Piyush Zarkar pdzar...@gmail.com wrote:

  Thanks Stevko for quick reply.
  Your suggestions are really helpful to start with.
  I have decided to select servlets for writing code, GWT for creating
  GUI as you suggested.
  But i am still confused how to authenticate google users , facebook users
  ,yahoo users etc. Is there any authentication API ?
  I am just collecting requirements at this moment. Once all the
  requirements freezes, i will start working on code and GUI.
  If you have any suggestion please let me know.
  Hope you will help me.

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

  --
  -- A. Stevko
  ===
  If everything seems under control, you're just not going fast enough. M.
  Andretti

   --
  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-j...@googlegroups.com.
  To unsubscribe from this group, send email to
  google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2B 
  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-j...@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.



[google-appengine] Re: Channel API from mobile

2010-12-29 Thread David
Thomas,
On Android, do you mean you are using the Channel API in the Android
web browser?  Or did you create a java client for the channel api?  If
the latter, can you share your java client code?  I'm definitely
interested in using the Channel API in my Android application (not
through javascript in a browser)
Thanks,
David

On Dec 28, 6:46 pm, Thomas Wiradikusuma wiradikus...@gmail.com
wrote:
 Hi Ikai,

 I tested on Android and iPhone, Channel API works. As for BlackBerry,
 I end up removing Channel API and using manual polling instead.

 On Dec 29, 2:45 am, Ikai Lan (Google) ikai.l+gro...@google.com
 wrote:

  I'm curious if anyone with a BlackBerry can make this work. The Channel API
  uses whatever technology is available for browser push when possible, and if
  not, long-polling. It's possible the BlackBerry's browser simply doesn't
  support this technology.

  I'd be surprised if iPhone/Android devices *couldn't* handle this, though
  with limitations - I have no idea what the behavior would be like if the
  browser were backgrounded.



-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] Cannot access to Datastore Admin

2010-12-29 Thread Wesley C (Google)
greetings,

are you using Safari on a Mac? if so, see the ticket below. if not,
please add your OS/browser+version pair to this ticket:
http://code.google.com/p/googleappengine/issues/detail?id=4021

-- wesley
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Core Python Programming, Prentice Hall, (c)2007,2001
Python Fundamentals, Prentice Hall, (c)2009
   http://corepython.com

wesley.chun : wesc+api at google.com : @wescpy
developer relations :: google app engine
@app_engine :: googleappengine.blogspot.com

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Double billed for Dec 18th

2010-12-29 Thread Kenneth
Hi,

I was billed twice for usage on Dec 18th.  How do I get this fixed?

Thanks,
Kenneth

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Temporary data more than 1mega

2010-12-29 Thread Sahid Orentino Ferdjaoui
Hello Community!

I need to store in a temporary time an image uploaded by user.
This image can it modified by the user in a real time.

(I don't want resize the uploaded image to less than 1mega before record in 
a temporary because if the user make a zoom, i want use the full image 
size.)

Memcache and db.Blob are limited to 1mega and i think Blobstore is not 
useful for my problem Python memory is too little for be used.

You have an idea?

Thank you.
--sahid

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Update an Existing object in the datastore - Problem

2010-12-29 Thread lisandro

lisandrodc
View profile
 More options Dec 29, 11:26 am
Hi! I have a problem with the persistence of an existing object
Torneo (with a empty collection of objects Equipo).
When I add elements to the collection and want to persist,
sometimes persist and sometimes not persist in the
datastore(Restarting the server of the application). The code of
example:
public void agregarEquipoConTorneo(Torneo unTorneo, Equipo  unEquipo)
{
/*add Equipo with a existing Torneo in the
   datastore, the  unTorneo(param) class obtain with:
Torneo b =
   pm.getObjectById(model.Torneo.class, idTorneo);*/
Transaction tx = pm.currentTransaction();
try {
tx.begin();
unTorneo.agregarEquipo(unEquipo);
//add unEquipo to collection equipos
pm.makePersistentAll(unTorneo);
tx.commit();
System.out.println(persistioTorneoConEquipo);
} finally {
 pm.close();
if (tx.isActive()) {
tx.rollback();
}
}
Does it design someone of what this one happening?
Thanks!
Regards
Lisandro

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Re: Cloud2db for Cassandra and MongoDb

2010-12-29 Thread lisandro
Hi Sandeep! Excelent... But:
I do not find in the site any example of code of Cloud2db that works
with GAE, specially with Hibernate. Can they offer someone?
Then, Cloud2db ... is it totally functional and free with GAE?
Regards!
Lisandro

On Dec 28, 5:03 pm, Sandeep Sathaye sandeep.sath...@gmail.com wrote:
 Hi Everyone,

 Cloud2db http://www.cloud2db.com/ is pleased to announce the support for
 Cassandra and mongoDB cloud database platforms in addition to Google
 Bigtable platform which it already supports. With this new release you will
 be able to transparently choose between Google Bigtable, Cassandra and
 MongoDB as your cloud database platform.

 Please download the Cloud2db software from the following link.

 Download http://cloud2db-server.appspot.com/website/download.html(Google
 Bigtable, Cassandra, MongoDB)

 Cloud2db provides a standards-based abstraction layer over cloud databases.
 This product provides you with performance and scalability of cloud platform
 along with structure, standards and interoperability of RDBMS, SQL and JDBC.

 With Cloud2db, you will be able to manage your data on cloud platforms by
 using established concepts of RDBMS, SQL and JDBC, and thereby preserving
 your existing investments in tools, technologies, frameworks and skills.

 Here are Cloud2db features:

    - Manage data on Google Bigtable, Cassandra and MongoDB using familiar
    concepts of RDBMD, SQL
       - Referential integrity (Primary Keys, Foreign Keys)
       - Role Based Security
       - Joins (Inner Join, Left Outer Join, Theta Join, Cross Join)
       - Subqueries (Exists, Not Exists, In)
       - DDL  DML
       - Transactions (for the datastores supporting transactions)
       - ANSI SQL stored functions
       - Views
       - BLOB and CLOB support (for the datastores supporting BLOBs)

    - Use any JDBC compliant tools and frameworks in the market to interact
    with the Google Datastore. For example.
       - Squirrel SQL (database management)
       - Power Architect (data modeling)
       - Jasper Reports (reporting)
       - Hibernate (Object To Relational mapping)
       - All JDBC compliant tools

    - Port exiting RDBMS instances to cloud databases

 Please visit our websitehttp://www.cloud2db.comand try out the free trial
 version. Please visit google group
 Cloud2dbhttp://groups.google.com/group/cloud2db to
 share your feedback and thoughts.

 Sincerely,

 Sandeep Sathaye
 Founder and Chief Architect
 Cloud2db

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] Double billed for Dec 18th

2010-12-29 Thread Robert Kluin
Hi Kenneth,
  You might want to use the billing support form:
 
http://code.google.com/support/bin/request.py?contact_type=AppEngineBillingSupport


 http://code.google.com/appengine/kb/billing.html#morehelp





Robert






On Wed, Dec 29, 2010 at 08:30, Kenneth goo...@kmacleod.ie wrote:
 Hi,

 I was billed twice for usage on Dec 18th.  How do I get this fixed?

 Thanks,
 Kenneth

 --
 You received this message because you are subscribed to the Google Groups 
 Google App Engine group.
 To post to this group, send email to google-appeng...@googlegroups.com.
 To unsubscribe from this group, send email to 
 google-appengine+unsubscr...@googlegroups.com.
 For more options, visit this group at 
 http://groups.google.com/group/google-appengine?hl=en.



-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] Doubts about receiving mail with Java.

2010-12-29 Thread Robert Kluin
Hey Nacho,
  Yes, setup m...@gmail.com to forward to whate...@yourapp.appspotmail.com.

  If your app is in the BCC list, maybe.  Otherwise the BCC field is
probably stripped by the server.  Note, I've not tested to this, but
that is what I would expect.


Robert





On Wed, Dec 29, 2010 at 09:41, nacho vela.igna...@gmail.com wrote:
 1) Can i receive mails from for example m...@gmail.com? Or i only can
 receive mails sended to str...@myappid.appspotmail.com?

 2) Can i get the BCC address? I tried but i get a null.

 --
 You received this message because you are subscribed to the Google Groups 
 Google App Engine group.
 To post to this group, send email to google-appeng...@googlegroups.com.
 To unsubscribe from this group, send email to 
 google-appengine+unsubscr...@googlegroups.com.
 For more options, visit this group at 
 http://groups.google.com/group/google-appengine?hl=en.



-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Qauth vs OpenID

2010-12-29 Thread yuvi
Hi,

I'm developing a Gadget to  Java App Engine .

In some cases I use GAE build-in OAuth:
 OAuthService oauth = OAuthServiceFactory.getOAuthService();
user = oauth.getCurrentUser();

In one case openid:
UserService userService = UserServiceFactory.getUserService();

I have noticed in both cases  getUserId() is the same. Is that always
right, and
I can be sure it is the same user ? I use this process to know if user
X belongs to Google Apps Domain Y.

Is there a more simple way in GAE build-in OAuth to know  if user X
belongs to Google Apps Domain Y ?

Thanks

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] Re: Channel API from mobile

2010-12-29 Thread Ikai Lan (Google)
He's referring to Channel API in the Android browser.

With Android, you probably want to use the Push APIs:

http://code.google.com/android/c2dm/

--
Ikai Lan
Developer Programs Engineer, Google App Engine
Blogger: http://googleappengine.blogspot.com
Reddit: http://www.reddit.com/r/appengine
Twitter: http://twitter.com/app_engine



On Wed, Dec 29, 2010 at 12:51 AM, David s2kd...@gmail.com wrote:

 Thomas,
 On Android, do you mean you are using the Channel API in the Android
 web browser?  Or did you create a java client for the channel api?  If
 the latter, can you share your java client code?  I'm definitely
 interested in using the Channel API in my Android application (not
 through javascript in a browser)
 Thanks,
 David

 On Dec 28, 6:46 pm, Thomas Wiradikusuma wiradikus...@gmail.com
 wrote:
  Hi Ikai,
 
  I tested on Android and iPhone, Channel API works. As for BlackBerry,
  I end up removing Channel API and using manual polling instead.
 
  On Dec 29, 2:45 am, Ikai Lan (Google) 
  ikai.l+gro...@google.comikai.l%2bgro...@google.com
 
  wrote:
 
   I'm curious if anyone with a BlackBerry can make this work. The Channel
 API
   uses whatever technology is available for browser push when possible,
 and if
   not, long-polling. It's possible the BlackBerry's browser simply
 doesn't
   support this technology.
 
   I'd be surprised if iPhone/Android devices *couldn't* handle this,
 though
   with limitations - I have no idea what the behavior would be like if
 the
   browser were backgrounded.
 
 

 --
 You received this message because you are subscribed to the Google Groups
 Google App Engine group.
 To post to this group, send email to google-appeng...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-appengine?hl=en.



-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] Re: Deleting Data Really Expensive!

2010-12-29 Thread Ikai Lan (Google)
One more tip: only index the properties you need. When you delete an entity,
we also have to delete all the associated indexes.

--
Ikai Lan
Developer Programs Engineer, Google App Engine
Blogger: http://googleappengine.blogspot.com
Reddit: http://www.reddit.com/r/appengine
Twitter: http://twitter.com/app_engine



On Tue, Dec 28, 2010 at 9:01 PM, Wesley C (Google)
wesc+...@google.comwesc%2b...@google.com
 wrote:

 A. +1 on tim's suggestion.as an example (in Python), the following
 piece of code...

 for obj in Object.all():
obj.delete() # thousands of individual delete()s

 ... should run way slower than...

 Object.all(keys_only=True)
 db.delete(posts) # one massive delete()

 the second is faster in 2 ways:
 1) keys-only means that it doesn't have to fetch the actual data
 2) uses the google.appengine.ext.db.delete() once where you pass in
 individual keys

 B. another alternative is the new Datastore Admin where you can
 manually bulk delete entities:

 http://code.google.com/appengine/docs/python/datastore/creatinggettinganddeletingdata.html#Deleting_Entities_in_Bulk

 http://googleappengine.blogspot.com/2010/10/new-app-engine-sdk-138-includes-new.html

 C. other alternatives

 when a game finishes, *must* you do the deletes before returning back
 to the user? if it's not critical, then you can farm out this job to a
 task queue or use the new mapper API (half of the MapReduce solution).
 more info on both at:

 Tasks Queue API
 http://code.google.com/appengine/docs/python/taskqueue/overview.html

 Mapper API
 http://googleappengine.blogspot.com/2010/07/introducing-mapper-api.html
 http://code.google.com/p/appengine-mapreduce/
 http://code.google.com/appengine/articles/mr/mapper.html

 if deletion is complex, you may also consider the new Pipeline API:
 http://code.google.com/p/appengine-pipeline/
 http://news.ycombinator.com/item?id=2013133

 hope this helps!
 -- wesley
 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 Core Python Programming, Prentice Hall, (c)2007,2001
 Python Fundamentals, Prentice Hall, (c)2009
http://corepython.com

 wesley.chun : wesc+api at google.com : @wescpy
 developer relations :: google app engine
 @app_engine :: googleappengine.blogspot.com

 --
 You received this message because you are subscribed to the Google Groups
 Google App Engine group.
 To post to this group, send email to google-appeng...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-appengine?hl=en.



-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] must i install Visual Studio for python ssl module?

2010-12-29 Thread PhistucK
I have Visual C++ 2005 Express and Visual C++ 2008 Express installed and I 
still get that message. Did anyone here successfully built and integrated 
the SSL module into Python for Google App Engine?

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] The request to API call urlfetch.Fetch() was too large but, didn't the limit was changed from 1MB to 32MB?

2010-12-29 Thread jdlforce
If this is true:
Increased API Call Size Limits - A new API architecture has allowed us to 
start lifting the 1MB size limits on many of the App Engine APIs. To start, 
the following APIs have been changed:
* Response size limits for URLFetch have been raised from 1MB to 32MB.

Why am I getting The request to API call urlfetch.Fetch() was too large?

I am trying to fetch a 2MB file.

Thanks, jdlforce

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] Update an Existing object in the datastore - Problem

2010-12-29 Thread Ikai Lan (Google)
Objects are re-persisted if there are any fields that are marked dirty.
Sometimes, when you add objects to a collection property, since the property
reference may not be marked dirty, it will not be repersisted when the
PersistenceManager is closed. You can either:

1. Call JDOHelper.makeDirty(entity, field) to mark the field as dirty
2. Create a new, equivalent collection and point the equipos reference to it
3. (98% sure this works) Change a value in another property, causing the
entire Entity to be persisted (App Engine entities are persisted whole, not
piecemeal as you might do in a relational database)

--
Ikai Lan
Developer Programs Engineer, Google App Engine
Blogger: http://googleappengine.blogspot.com
Reddit: http://www.reddit.com/r/appengine
Twitter: http://twitter.com/app_engine



On Wed, Dec 29, 2010 at 6:53 AM, lisandro lisandr...@gmail.com wrote:


 lisandrodc
 View profile
  More options Dec 29, 11:26 am
 Hi! I have a problem with the persistence of an existing object
 Torneo (with a empty collection of objects Equipo).
 When I add elements to the collection and want to persist,
 sometimes persist and sometimes not persist in the
 datastore(Restarting the server of the application). The code of
 example:
 public void agregarEquipoConTorneo(Torneo unTorneo, Equipo  unEquipo)
 {
/*add Equipo with a existing Torneo in the
   datastore, the  unTorneo(param) class obtain with:
 Torneo b =
   pm.getObjectById(model.Torneo.class, idTorneo);*/
Transaction tx = pm.currentTransaction();
try {
tx.begin();
unTorneo.agregarEquipo(unEquipo);
//add unEquipo to collection equipos
pm.makePersistentAll(unTorneo);
tx.commit();
 System.out.println(persistioTorneoConEquipo);
} finally {
 pm.close();
if (tx.isActive()) {
tx.rollback();
}
}
 Does it design someone of what this one happening?
 Thanks!
 Regards
 Lisandro

 --
 You received this message because you are subscribed to the Google Groups
 Google App Engine group.
 To post to this group, send email to google-appeng...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-appengine?hl=en.



-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Re: must i install Visual Studio for python ssl module?

2010-12-29 Thread Darien Caldwell
I once asked and received a compiled copy. But I have to confess I
haven't tried it. There is always a risk that someone could have added
in some vulnerability to a pre-compiled copy.  Google used to
distribute a compiled copy at this link:
http://web-feature-labs.googlecode.com/files/ssl-py2.5-win32-1.15.exe

however, they stopped for some reason. I wish they would put a known-
clean copy back up.

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Re: The request to API call urlfetch.Fetch() was too large but, didn't the limit was changed from 1MB to 32MB?

2010-12-29 Thread Geoffrey Spear
The request was too large would seem to me to say you're sending too
much data, not that you're trying to fetch too much.

On Dec 29, 2:44 pm, jdlforce jocsan.d...@gmail.com wrote:
 If this is true:
 Increased API Call Size Limits - A new API architecture has allowed us to
 start lifting the 1MB size limits on many of the App Engine APIs. To start,
 the following APIs have been changed:
     * Response size limits for URLFetch have been raised from 1MB to 32MB.

 Why am I getting The request to API call urlfetch.Fetch() was too large?

 I am trying to fetch a 2MB file.

 Thanks, jdlforce

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] Support for SSL on different domains

2010-12-29 Thread Tom Fishman
I'm pretty satisfied with the current support:

Browsers with support for TLS server name 
indication:[6]http://en.wikipedia.org/wiki/Server_Name_Indication#cite_note-5

   - Internet Explorer 7 http://en.wikipedia.org/wiki/Internet_Explorer_7 
(Vista 
   or higher, not XP) or later
   - Mozilla Firefox http://en.wikipedia.org/wiki/Mozilla_Firefox 2.0 or 
   later
   - Opera http://en.wikipedia.org/wiki/Opera_(web_browser) 8.0 or later 
   (the TLS 1.1 protocol must be enabled)
   - Opera Mobile http://en.wikipedia.org/wiki/Opera_Mobile at least 
   version 10.1 beta on Android[*citation 
neededhttp://en.wikipedia.org/wiki/Wikipedia:Citation_needed
   *]
   - Google Chrome http://en.wikipedia.org/wiki/Google_Chrome (Vista or 
   higher. XP on Chrome 6 or 
newer[7]http://en.wikipedia.org/wiki/Server_Name_Indication#cite_note-6. 
   OS X 10.5.7 or higher on Chrome 5.0.342.1 or newer)
   - Safari http://en.wikipedia.org/wiki/Safari_(web_browser) .2.1 or 
   later (Mac OS X 10.5.6 or higher and Windows Vista or higher)
   - MobileSafari http://en.wikipedia.org/wiki/MobileSafari in Apple 
iOShttp://en.wikipedia.org/wiki/IOS_(Apple) 4.0 
   or later[8]http://en.wikipedia.org/wiki/Server_Name_Indication#cite_note-7
   - Windows Phone 7 http://en.wikipedia.org/wiki/Windows_Phone_7[*citation 
   needed http://en.wikipedia.org/wiki/Wikipedia:Citation_needed*]
   - Maemo http://en.wikipedia.org/wiki/Maemo


I don't mind to redirect the rest users to https://*.appspot.com.

Will GAE support it soon? 
What's the difference between GAE and App Engine for business? I know App 
Engine for business is going to support it soon. (
http://code.google.com/appengine/business/roadmap.html)





-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] add minutes to stored date field within query

2010-12-29 Thread pieceovcake
how can i do this, add 30 minutes to the stored date field then do 
a comparison. 

query.setFilter(lastDate = anotherDateTimeParam);

Looking to do something like this
query.setFilter(lastDate + 30minutes = anotherDateTimeParam );



-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] add minutes to stored date field within query

2010-12-29 Thread Ikai Lan (Google)
1. Create a new date object from the old date object and add 30 minutes to
it
2. Construct the query using this object

--
Ikai Lan
Developer Programs Engineer, Google App Engine
Blogger: http://googleappengine.blogspot.com
Reddit: http://www.reddit.com/r/appengine
Twitter: http://twitter.com/app_engine



On Wed, Dec 29, 2010 at 1:57 PM, pieceovcake bira...@gmail.com wrote:

 how can i do this, add 30 minutes to the stored date field then do
 a comparison.

 query.setFilter(lastDate = anotherDateTimeParam);

 Looking to do something like this
 query.setFilter(lastDate + 30minutes = anotherDateTimeParam );



  --
 You received this message because you are subscribed to the Google Groups
 Google App Engine group.
 To post to this group, send email to google-appeng...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-appengine?hl=en.


-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] get_serving_url fails with unspecified error

2010-12-29 Thread Philip
Hi,

a get_serving_url call for a 9.7mb image fails with a Error()
exception. Maybe you can take a look into this issue.

The blob key is:
AMIfv94YqnvRRcq1TCedOpDMmmESNDO5KkkwJ_JundhLbqks3nCh7p16movcqgItF3fW9DcsP6E_swb8UsvcnqVVdsu1JEQDMb1mFQrqyfN9spbFXUgDBn9SChZS7UDYBAwi4NGOX3iSIPh9s6JktGjp_RHK2bbRJA

My app id is:
d-crawl

Best Regards
Philip

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Re: add minutes to stored date field within query

2010-12-29 Thread Geoffrey Spear


On Dec 29, 4:57 pm, pieceovcake bira...@gmail.com wrote:
 how can i do this, add 30 minutes to the stored date field then do
 a comparison.

 query.setFilter(lastDate = anotherDateTimeParam);

 Looking to do something like this
 query.setFilter(lastDate + 30minutes = anotherDateTimeParam );

Subtract 30 minutes from anotherDateTimeParam and compare with that
instead.

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] !! Tasks execution delayed by over a minute

2010-12-29 Thread vlad
  Since 12/28 I am seeing huge delays on some tasks. See below is an except 
from admin console. Note the last task is 43s late and still hasn't fired. 
Is Anyone else seeing this?





‹ Prev 10 * * Next 10 › 
  Order by: *Task Name* | Task 
ETAhttps://appengine.google.com/queuedetails?app_id=ace-pokerversion_id=1-04-alpha.347266366338703874queue_name=defaultstart_eta=0
 
Name ETA Creation Time Method/URL Retries Payload Headers Actions
13754705236112398022 2010/12/29 16:18:06
0:00:34 ago  2010/12/29 16:17:56
0:00:45 ago  POST /_ah/queue/deferred  
 517 bytes  
5 headers 
 Referer: http://ace-poker.appspot.com/dispatch
Host:ace-poker.appspot.com
X-AppEngine-Current-Namespace:
Content-Type:application/octet-stream
User-Agent:AppEngine-Google; (+ 
http://code.google.com/appengine)http://code.google.com/appengine%29 
 Run Now13754705236112398559  2010/12/29 16:19:06
0:00:25 from now  2010/12/29 16:16:06
0:02:35 ago  POST /_ah/queue/deferred  
 426 bytes  
5 headers 
 Referer: http://ace-poker.appspot.com/_ah/queue/deferred
Host:ace-poker.appspot.com
X-AppEngine-Current-Namespace:
Content-Type:application/octet-stream
User-Agent:AppEngine-Google; (+ 
http://code.google.com/appengine)http://code.google.com/appengine%29 
 Run Now13754705236112398588  2010/12/29 16:18:05
0:00:35 ago  2010/12/29 16:17:55
0:00:46 ago  POST /_ah/queue/deferred  
 517 bytes  
5 headers 
 Referer: http://ace-poker.appspot.com/dispatch
Host:ace-poker.appspot.com
X-AppEngine-Current-Namespace:
Content-Type:application/octet-stream
User-Agent:AppEngine-Google; (+ 
http://code.google.com/appengine)http://code.google.com/appengine%29 
 Run Now13754705236112399547  2010/12/29 16:19:06
0:00:25 from now  2010/12/29 16:16:06
0:02:35 ago  POST /_ah/queue/deferred  
 426 bytes  
5 headers 
 Referer: http://ace-poker.appspot.com/_ah/queue/deferred
Host:ace-poker.appspot.com
X-AppEngine-Current-Namespace:
Content-Type:application/octet-stream
User-Agent:AppEngine-Google; (+ 
http://code.google.com/appengine)http://code.google.com/appengine%29 
 Run Now13754705236112399576  2010/12/29 16:18:06
0:00:34 ago  2010/12/29 16:17:56
0:00:45 ago  POST /_ah/queue/deferred  
 517 bytes  
5 headers 
 Referer: http://ace-poker.appspot.com/dispatch
Host:ace-poker.appspot.com
X-AppEngine-Current-Namespace:
Content-Type:application/octet-stream
User-Agent:AppEngine-Google; (+ 
http://code.google.com/appengine)http://code.google.com/appengine%29 
 Run Now
predessor-aglhY2UtcG9rZXJyDQsSBVRhYmxlGPX0PAw-1293668276-89-1be830737f8ecd452b7dea7e3361bf9ac68934a7
 
 2010/12/29 16:17:57
0:00:43 ago  2010/12/29 16:17:56
0:00:45 ago  POST /_ah/queue/deferred  
 338 bytes  
5 headers 
 Referer: http://ace-poker.appspot.com/dispatch
Host:ace-poker.appspot.com
X-AppEngine-Current-Namespace:
Content-Type:application/octet-stream
User-Agent:AppEngine-Google; (+ 
http://code.google.com/appengine)http://code.google.com/appengine%29 
 Run Now   

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Re: !! Tasks execution delayed by over a minute

2010-12-29 Thread vlad
After playing with it a bit: Appears to affect only tasks scheduled with 
small delay of 0-3 sec. Tasks with 5+ sec delay appear to fire on time.

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] GQL Bad argument error

2010-12-29 Thread rahul jain
I am getting this error when executing this sql

db.GqlQuery(select * from kind_name WHERE propert_name_x != :val
ORDER BY property_name_y  DESC LIMIT 5 , val=blah)

BadArgumentError: First ordering property must be the same as
inequality filter property,

I know this is because of two diff. property name I am using


propert_name_x
 property_name_y

But I would to have the query that way, gives me the first 5 items
based on property_name_y but should not include propert_name_x.

How to resolve this ?

Thanks.

--RJ

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] AddAppVersion failed: DEADLINE_EXCEEDED

2010-12-29 Thread Nicky
I am getting a error when visiting my app (Java based) occasionally and only 
on the first visit. Has anyone else had this problem or have insight on what 
is going on?

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] GQL Bad argument error

2010-12-29 Thread Robert Kluin
Hi Rahul,
  1) Restructure your model so that you can query using only equality
filters and the order.
  2) If your data allows it, don't filter based on property_x in the
query, do it in your code.  You might need to fetch 10 entities, and
possibly even re-fetch once or twice, but that will probably still use
fewer resources than always running multiple queries -- which is what
your current solution does.
  3) Or if these are root entities, set the key_name to property_y and
don't use order for the query, the entities will be ordered by key.

 If possible, I would probably go with the first or second option.
You'll have to decide based on which fits your data better.


Robert






On Wed, Dec 29, 2010 at 20:32, rahul jain jainwolver...@gmail.com wrote:
 I am getting this error when executing this sql

 db.GqlQuery(select * from kind_name WHERE propert_name_x != :val
 ORDER BY property_name_y  DESC LIMIT 5 , val=blah)

 BadArgumentError: First ordering property must be the same as
 inequality filter property,

 I know this is because of two diff. property name I am using


 propert_name_x
  property_name_y

 But I would to have the query that way, gives me the first 5 items
 based on property_name_y but should not include propert_name_x.

 How to resolve this ?

 Thanks.

 --RJ

 --
 You received this message because you are subscribed to the Google Groups 
 Google App Engine group.
 To post to this group, send email to google-appeng...@googlegroups.com.
 To unsubscribe from this group, send email to 
 google-appengine+unsubscr...@googlegroups.com.
 For more options, visit this group at 
 http://groups.google.com/group/google-appengine?hl=en.



-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] ImagesService Down?

2010-12-29 Thread Peter Liu
Having failed 2000 times in past few hours.

com.pekca.main.utility.Utility critical:
com.google.appengine.api.images.ImagesServiceFailureException: Unknown

#
W 12-29 09:28PM 21.728

[vikispot/0-4-16.347267200973382122].stderr:
com.google.appengine.api.images.ImagesServiceFailureException: Unknown


#
W 12-29 09:28PM 21.729

[vikispot/0-4-16.347267200973382122].stderr:  at
com.google.appengine.api.images.ImagesServiceImpl.getServingUrl(ImagesServiceImpl.java:
224)


#
W 12-29 09:28PM 21.729

[vikispot/0-4-16.347267200973382122].stderr:  at
com.pekca.main.utility.BlobUtility.getImageUrl(BlobUtility.java:72)


#
W 12-29 09:28PM 21.729

[vikispot/0-4-16.347267200973382122].stderr:  at
com.pekca.vikispot.admin.commands.TransferImageFileCmdImpl.work(TransferImageFileCmdImpl.java:
89)


#
W 12-29 09:28PM 21.729

[vikispot/0-4-16.347267200973382122].stderr:  at
com.pekca.vikispot.admin.commands.TransferImageFileCmdImpl.performExecute(TransferImageFileCmdImpl.java:
26)


#
W 12-29 09:28PM 21.729

[vikispot/0-4-16.347267200973382122].stderr:  at
com.pekca.main.app.CommandImpl.execute(CommandImpl.java:36)

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Re: ImagesService Down?

2010-12-29 Thread Peter Liu
Seems it's failing over the same image with blobkey:
AMIfv9453wGAckSs1JFCjM8acSN_assBA1KEux8Dy26Q3EgRrCvJOvmHAD7X6l_VMatfyT5JGlsDk5Pvp5rPT8-
tnT2ptqudSo2-
r7g6xQGBVHYjqTCQiZE1iyd5FKUTmN9WtRzfgwR4eXaJyqbok20K56lnQukO_A

app name: vikispot


On Dec 29, 9:32 pm, Peter Liu tinyee...@gmail.com wrote:
 Having failed 2000 times in past few hours.

 com.pekca.main.utility.Utility critical:
 com.google.appengine.api.images.ImagesServiceFailureException: Unknown

 #
 W 12-29 09:28PM 21.728

 [vikispot/0-4-16.347267200973382122].stderr:
 com.google.appengine.api.images.ImagesServiceFailureException: Unknown

 #
 W 12-29 09:28PM 21.729

 [vikispot/0-4-16.347267200973382122].stderr:    at
 com.google.appengine.api.images.ImagesServiceImpl.getServingUrl(ImagesServi 
 ceImpl.java:
 224)

 #
 W 12-29 09:28PM 21.729

 [vikispot/0-4-16.347267200973382122].stderr:    at
 com.pekca.main.utility.BlobUtility.getImageUrl(BlobUtility.java:72)

 #
 W 12-29 09:28PM 21.729

 [vikispot/0-4-16.347267200973382122].stderr:    at
 com.pekca.vikispot.admin.commands.TransferImageFileCmdImpl.work(TransferIma 
 geFileCmdImpl.java:
 89)

 #
 W 12-29 09:28PM 21.729

 [vikispot/0-4-16.347267200973382122].stderr:    at
 com.pekca.vikispot.admin.commands.TransferImageFileCmdImpl.performExecute(T 
 ransferImageFileCmdImpl.java:
 26)

 #
 W 12-29 09:28PM 21.729

 [vikispot/0-4-16.347267200973382122].stderr:    at
 com.pekca.main.app.CommandImpl.execute(CommandImpl.java:36)

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.