[appengine-java] Re: An alternative to Objectify?

2011-12-08 Thread datanucleus
 Well, it sounds so. But does (or can/will) Datanucleus support at least
 some of the features Jeff has mentioned?

Yes, several actually. And nothing is dog slow, ... though why dogs
get such a bad reputation I've no idea; take a greyhound for
example ... :-)

The question was is caching in DataNucleus simple and transparent;
that's the question I answered.

Not sure also why people always want to make things into a mines
better than yours contest. The only statements you'll see from me on
here are in answer to specific questions about software that uses
DataNucleus (and Googles plugin does that, with the emphasis on being
owned by Google, and not being part of the DataNucleus project), with
the attempt to aid that person use the software better. Nowhere have I
ever made any comment on Objectify's capabilities or made any
criticism of it (or of similar software, such as Twig, Morphia) -
perhaps due to the fact that I understand only too well how much time
and effort is taken to develop something of that form. All software
has particular features, and their own advantages and
disadvantages ... DataNucleus (and Google's plugin) has plenty of
things going for it, as does Objectify. It's for the user to choose
what best fits *their* requirements using their judgement, not for
people to spend time criticising.

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



[appengine-java] Yaac 0.4 is out! Insert statement is now supported

2011-12-08 Thread Max
Hi, 

Yaac http://code.google.com/p/yaac/0.4 is just released. This is the 
first time I post release note there. So for some of you don't know what is 
*Yaac*, it's a java maven project designed to perform ad hoc admin tasks. 
You can simply download and deploy Yaac to your own domain as a separated 
version. Checkout this 
pagehttp://code.google.com/p/yaac/wiki/DeployGuidelinefor the deployment 
guideline.

===New functions for v0.4===
EGQL (extended GQL) now supports *insert* statement!

   - You can create an arbitrary entity kind / property name by executing 
   insert statement:
   
* insert into any_kind values (prop_1 = 'a', prop_2=now(), prop_3=10)*
Verify immediately by
* select * from any_kind*
In this case, Yaac will assign a numeric key to the new entity (generated 
by appengine)



   - You can also create entity with a predefined key
   
*insert into any_kind values (__key__=key('any_kind', 'key_1'), prop_1 = 
'a', prop_2=now(), prop_3=10)*

make sure key('kind_a', 'key_1') doesn't exist in datastore before



   - Once you have already specified a key to insert, you don't even need 
   into any_kind in above statement, as entity kind already determined by key.
   
*insert values (__key__=key('any_kind', 'key_1'), prop_1 = 'a', 
prop_2=now(), prop_3=10)*


   - You can also decide whether to index a specific property by the 
   optional field indexed=true/false, by default all indexable property will 
   be indexed
   
*insert into any_kind values (prop_1 = 'a', prop_2=now(), prop_3=10 
(indexed=false))*

Note that key will be indexed anyway, and blob / text will never be indexed


   - You can even insert records based on the result of select query, for 
   instance:
   
*insert into job_archive values (orig_key = __key__, timestamp = now() 
(indexed=false)) from (select * from job)*

Verify your result by:

*select count(*) from job_archive*

 
=some features implemented in earlier releases==
Extended GQL (EGQL)
Aggregation functions, used together with group by clause and having clause 
(optional):
MAX, MIN, SUM, COUNT, AVG
Scalar functions:
UCASE / LCASE / MID / LEN / ROUND / FORMAT / NOW / TYPE / DATETIME / KEY / 
USER/ GEOPT, etc.
Inter properties comparison in where clause: eg, *where property1 = 
property2*
Powerful Arithmetic Expressions: eg, *where property1 + 5  property2 * (2 
+ property3)*
Powerful boolean expressions: eg, *where condition1 and (condition2 or 
condition3) and not condition4*
Like query: eg, *where ucase(property1) like %abc% (new)*
More details about EGQL syntax please refer to this page: 
http://code.google.com/p/yaac/wiki/EGQLReference

Datastore Browser:
Download datastore blob / text and blobstore blob directly
Better display keys in list property

Datastore Editor:

Edit any datastore types including blob / text / imhandle / category / 
email / user / key / blobkey / list, etc

Manage entity group hierachy in a more convenient way

Create new entity / new property. 


Datastore Statistics:
More detailed breakdown on root / non root statistics

Sandbox (http://sandbox.yetanotheradminconsole.appspot.com/) is updated 
with the latest version. 86K soccer matches are uploaded. Login with your 
google account and play with it!

For example, for all *Arsenal*'s away draw matches against those end with *
united *having average full time goals are more than 1, we can use 
following EGQL to query:

*
select HOME_TEAM, AWAY_TEAM, count(1), sum(FTHG + FTAG)
from MATCH 
where FTHG = FTAG and AWAY_TEAM = Arsenal and lcase(HOME_TEAM) like 
%united 
group by HOME_TEAM, AWAY_TEAM
having sum(FTHG + FTAG) / count(1)  1
*

Also try this link to try new look of entity viewer (entity with 
grandparent with almost all datatypes)
http://sandbox.yetanotheradminconsole.appspot.com/#editor:ahhzfnlldGFub3RoZXJhZG1pbmNvbnNvbGVydwsSFktJTkRfV0lUSF9BTExfUFJPUEVSVFkYZAwLEhZLSU5EX1dJVEhfQUxMX1BST1BFUlRZIhlzdHJpbmdfa2V5X3dpdGhvdXRfZW50aXR5DAsSFktJTkRfV0lUSF9BTExfUFJPUEVSVFkiCnN0cmluZ19rZXkM

Best regards, 
Max

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



[appengine-java] Securing cron urls / task urls using UserService and not using web.xml

2011-12-08 Thread Raphael André Bauer
Hi,


I am currently trying to secure my urls that are accessed by cron jobs / tasks.

Normally I would use web.xml like that:

security-constraint
web-resource-collection
web-resource-nameProtected Area/web-resource-name
url-pattern/cron/*/url-pattern
/web-resource-collection
auth-constraint
role-nameadmin/role-name
/auth-constraint
/security-constraint


However, I got a constraint, where these urls should be allowed to be
triggered by other authentification mechanisms.

Therefore I tried to use the UserService if a authenticated user is
hitting the url. I though cron is an authenticated user...

UserService userService = UserServiceFactory.getUserService();

if (!userService.isUserLoggedIn()) {

//do nothing

} else if (!userService.isUserAdmin()) {
//do nothing
}

//allow stuff to work...
}


But I do not get a logged in user when cron is programmatically hitting my urls.

Is there a way to determine if google app engine is hitting my urls
without using web.xml security constraints?


Thanks,


Best,

Raphael

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



[appengine-java] Populating the App Engine logs with userid without Google Accounts

2011-12-08 Thread Edward Hartwell Goose
Hi,

I'm using Spring Security in an application of ours, which we have 
successfully authenticating users. We did this because we already have an 
existing single sign on solution in place.

What that means is that none of our log messages have the user id's in them 
- unless the user is also logged in with their Google Account. For example, 
I can filter logs to only show my requests because I'm an admin and I'm 
logged in.

Is it possible to somehow extend our implementation to populate the userid 
field of the App Engine logs? Is there something that Spring (or something 
else?) can do to populate this field? Or is it always populated by GAE 
before control is handed to our servlets?

Thanks,
Ed

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



[appengine-java] Re: An alternative to Objectify?

2011-12-08 Thread Alexander Orlov
On Thursday, December 8, 2011 10:11:40 AM UTC+1, datanucleus wrote:

 Not sure also why people always want to make things into a mines
 better than yours contest. 

I've got the same impression.
 

 DataNucleus (and Googles plugin does that, with the emphasis on being
 owned by Google, and not being part of the DataNucleus project), 

A big *+* for me in my decision!
 
I'll use DN because I'm familiar with JPA2 and Java's persistence 
framework. I've considered the usage of Objectify about two years ago 
(before I've paused my project). At that time GWT used DTOs to persist data 
and Objectify was a viable solution to omit those ugly things. Today, with 
GWT's RF this advantage vanished.



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



[appengine-java] Frontend Instance Hours - what am i doing wrong?

2011-12-08 Thread vega
hi
im not sure if this forum or the general forum is better... but i have a 
feeling that its more java related then general

a month ago (or so...) the billing system got changed. 
i had more then enogh rescourses for free in the old system. 
i put the project into sleeping, due to more important activitys and now i 
restartet working on it...

i have this Servlet:

(isnt there something like a code tag? where is it hiding?



package nOyB;

import java.io.IOException;

import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

@SuppressWarnings(serial)
public class abcServlet extends HttpServlet{
public void doPost(HttpServletRequest req, HttpServletResponse 
resp)throws IOException {
resp.getWriter().write(okay);
}

public void doGet(HttpServletRequest req, HttpServletResponse 
resp)throws IOException {
resp.getWriter().write(nothing to see);
}

}



now ive generated 35 calls from a device within  1 hour (simply for 
the sake of testing the devices capability of using http)
Frontend Instance Hours are at 5% (1.37 of 28.00h)
the log says that the requests take about 4-20ms, a couple needed about 
100-300ms (whatever there is happening... its only sometimes, so 
whatever...)

5% by 35 times doing absolutly nothing means that 700 times doing 
nothing would be all thats for free...
i think im doing a large misstake or do i need to look for a new free 
server if i want to have about ~1k calls per day which do a bit more then 
only printing out ok?



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



Re: [appengine-java] Frontend Instance Hours - what am i doing wrong?

2011-12-08 Thread Bruno Fuster
Hi vega,

Appengine pricing schema has changed. We are billed now for hours, not for
CPU usage anymore, just like EC2.
If you use or do not use that particular instance, your billing will be the
same.

You have 24 hours per day for free. You can set your max idle instances to
1 so you will only pay $9/month and not start new instances.




On Thu, Dec 8, 2011 at 12:01 PM, vega _v...@vr-web.de wrote:

 hi
 im not sure if this forum or the general forum is better... but i have a
 feeling that its more java related then general

 a month ago (or so...) the billing system got changed.
 i had more then enogh rescourses for free in the old system.
 i put the project into sleeping, due to more important activitys and now i
 restartet working on it...

 i have this Servlet:

 (isnt there something like a code tag? where is it hiding?



 package nOyB;

 import java.io.IOException;

 import javax.servlet.http.HttpServlet;
 import javax.servlet.http.HttpServletRequest;
 import javax.servlet.http.HttpServletResponse;

 @SuppressWarnings(serial)
 public class abcServlet extends HttpServlet{
 public void doPost(HttpServletRequest req, HttpServletResponse
 resp)throws IOException {
 resp.getWriter().write(okay);
 }

 public void doGet(HttpServletRequest req, HttpServletResponse
 resp)throws IOException {
 resp.getWriter().write(nothing to see);
 }

 }



 now ive generated 35 calls from a device within  1 hour (simply for
 the sake of testing the devices capability of using http)
 Frontend Instance Hours are at 5% (1.37 of 28.00h)
 the log says that the requests take about 4-20ms, a couple needed about
 100-300ms (whatever there is happening... its only sometimes, so
 whatever...)

 5% by 35 times doing absolutly nothing means that 700 times doing
 nothing would be all thats for free...
 i think im doing a large misstake or do i need to look for a new free
 server if i want to have about ~1k calls per day which do a bit more then
 only printing out ok?



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




-- 
Bruno Fuster

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



Re: [appengine-java] Re: An alternative to Objectify?

2011-12-08 Thread Jeff Schnitzer
On Thu, Dec 8, 2011 at 5:11 AM, datanucleus andy_jeffer...@yahoo.comwrote:

  Well, it sounds so. But does (or can/will) Datanucleus support at least
  some of the features Jeff has mentioned?

 Yes, several actually. And nothing is dog slow, ... though why dogs
 get such a bad reputation I've no idea; take a greyhound for
 example ... :-)

 The question was is caching in DataNucleus simple and transparent;
 that's the question I answered.


I'm sorry, but you clearly haven't actually used this cache in the real
world.  I've looked at DataNucleus' Level2Cache interface and noticed that
it serializes requests entity-by-entity.  This means that every single
request in a batch get triggers 1 or 2 RPCs; on a cold cache, a batch get
for 10 items will require 20 separate, linear RPCs.  This doesn't work -
it's an order of magnitude slower than a simple datastore fetch would have
been in the first place.

I have already stumbled across this problem and had to delay releasing
Objectify 3.1 until GAE supported the batch CAS operations that make CAS
caching efficient.  I had to delay upgrading one of my real-world products
because of this issue.

So no, datanucleus caching is not simple and transparent if your
application makes use of batch fetching (ie, what should be the most
important operation in most applications).

Not sure also why people always want to make things into a mines
 better than yours contest. The only statements you'll see from me on
 here are in answer to specific questions about software that uses
 DataNucleus (and Googles plugin does that, with the emphasis on being
 owned by Google, and not being part of the DataNucleus project), with
 the attempt to aid that person use the software better.


You've dumped a bunch of marketing BS in this thread (nothing could be
simpler!) which does not accurately reflect reality, which is complicated
and messy.  It's not personal, and it's not even because I work on a
competing project - it's just that I happen to know a lot about this
particular subject.  If you were hawking any kind of software and I
happened to know the truth behind the marketing, I would call you out on
it.

It does, however, irritate me.  It takes up some of my time to rebut these
issues (see the thread on Slim3 is fast!).  It takes a few minutes to
post a poorly thought out marketing claim or create a half-baked benchmark.
 It takes actual research to figure out exactly what's wrong with them.
 Your sloppy thinking generates real work for me.

Nowhere have I
 ever made any comment on Objectify's capabilities or made any
 criticism of it (or of similar software, such as Twig, Morphia) -
 perhaps due to the fact that I understand only too well how much time
 and effort is taken to develop something of that form. All software
 has particular features, and their own advantages and
 disadvantages ... DataNucleus (and Google's plugin) has plenty of
 things going for it, as does Objectify. It's for the user to choose
 what best fits *their* requirements using their judgement, not for
 people to spend time criticising.


Let's just make sure those users are well and accurately informed.

Jeff

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



Re: [appengine-java] Re: An alternative to Objectify?

2011-12-08 Thread Jeff Schnitzer
On Thu, Dec 8, 2011 at 10:32 AM, Jeff Schnitzer j...@infohazard.org wrote:


 I'm sorry, but you clearly haven't actually used this cache in the real
 world.  I've looked at DataNucleus' Level2Cache interface and noticed that
 it serializes requests entity-by-entity.  This means that every single
 request in a batch get triggers 1 or 2 RPCs; on a cold cache, a batch get
 for 10 items will require 20 separate, linear RPCs.  This doesn't work -
 it's an order of magnitude slower than a simple datastore fetch would have
 been in the first place.


Oops, that is not quite correct.  On a cold cache, a batch get for 10 items
will require *30* linear RPCs to get the data, plus another 10 to populate
the cache.  40 RPCs in linear execution.  And that's just 10 items.

Jeff

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



Re: [appengine-java] Frontend Instance Hours - what am i doing wrong?

2011-12-08 Thread Simon Knott
Hi,

We actually get 28hrs for free - it allows for a couple of extra instances 
being spun up by the scheduler on the odd load spike, without having to 
face charges.

Cheers,
Simon

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



[appengine-java] cron job schedule question

2011-12-08 Thread Vik
Hie

I tried to use  every 1st,15th day of month 23:59
to run a cron job after every 15th day but this is not correct as app
engine fail to parse this. any advise please.

Thankx and Regards

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

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



Re: [appengine-java] cron job schedule question

2011-12-08 Thread Bruno Fuster
have you tried every 15 days 23:59 ?

On Thu, Dec 8, 2011 at 3:44 PM, Vik vik@gmail.com wrote:

 Hie

 I tried to use  every 1st,15th day of month 23:59
 to run a cron job after every 15th day but this is not correct as app
 engine fail to parse this. any advise please.

 Thankx and Regards

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

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




-- 
Bruno Fuster

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



Re: [appengine-java] cron job schedule question

2011-12-08 Thread Bruno Fuster
Try 1,15 of month 23:59, it should work

On Thu, Dec 8, 2011 at 3:48 PM, Bruno Fuster brunofus...@gmail.com wrote:

 have you tried every 15 days 23:59 ?


 On Thu, Dec 8, 2011 at 3:44 PM, Vik vik@gmail.com wrote:

 Hie

 I tried to use  every 1st,15th day of month 23:59
 to run a cron job after every 15th day but this is not correct as app
 engine fail to parse this. any advise please.

 Thankx and Regards

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

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




 --
 Bruno Fuster




-- 
Bruno Fuster

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



[appengine-java] Re: Spring AOP behaving inconsistently on Google infrastructure.

2011-12-08 Thread objectuser
That's pretty crazy.

Do you know what you're using for AOP?

I'm using Guice, which using AOP alliance stuff, and it works consistently. 
 Does Spring use AspectJ?

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



[appengine-java] Re: Spring AOP behaving inconsistently on Google infrastructure.

2011-12-08 Thread Marcel Overdijk
Yes, it's using AspectJ as well.
The problem is I don't know how to search for the root cause...

On Dec 8, 7:20 pm, objectuser kevin.k.le...@gmail.com wrote:
 That's pretty crazy.

 Do you know what you're using for AOP?

 I'm using Guice, which using AOP alliance stuff, and it works consistently.
  Does Spring use AspectJ?

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



[appengine-java] Offical GAE Plugin for Grails

2011-12-08 Thread sathya vikram
I want to know if there is any official plugin for Grails.

is http://www.grails.org/plugin/app-engine is offical plugin?

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



Re: [appengine-java] Offical GAE Plugin for Grails

2011-12-08 Thread Bruno Fuster
I think so!

Consider using Gaelyk + Objectify instead of Grails + GORM.

http://gaelyk.appspot.com/
http://obgaektify.appspot.com/


On Thu, Dec 8, 2011 at 5:16 PM, sathya vikram sathyavik...@gmail.comwrote:

 I want to know if there is any official plugin for Grails.

 is http://www.grails.org/plugin/app-engine is offical plugin?

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




-- 
Bruno Fuster

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



[appengine-java] Re: Offical GAE Plugin for Grails

2011-12-08 Thread Marcel Overdijk
This plugin is written by Graeme Rocher (Head of Grails Development at
SpringSource).

Although I hoped differently in the past, Grails on AppEngine has
never been a success for me.
Note that I'm using latest Spring (MVC) together with Objectify.


On Dec 8, 8:16 pm, sathya vikram sathyavik...@gmail.com wrote:
 I want to know if there is any official plugin for Grails.

 ishttp://www.grails.org/plugin/app-engineis offical plugin?

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



[appengine-java] Re: Spring AOP behaving inconsistently on Google infrastructure.

2011-12-08 Thread objectuser
Can you make it only use the AOP alliance libs?  I am totally guessing, so 
maybe that's pointless.

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



[appengine-java] Re: Creating a new entity kind using the Datastore Viewer

2011-12-08 Thread Max
Hi Marcel, 

You probably will be inserested at this project (
http://code.google.com/p/yaac/). You can upload blobs to blobstore directly 
or create a new entity / property which don't exist before. 

It's an complete application (rather than a standalone library) to be 
deployed as a separated version. 

Cheers, 
Max

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



[appengine-java] java application upload help

2011-12-08 Thread madushka.prasadgmail.com
i am trying to upload java application via command line.. but i got
error msg. how can i fix this error.?. i have typed password and
email correctly

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\prasadcd\

C:\cd/j

C:\jcd/bin

C:\j\binappcfg.cmd update facebook/
https_www.facebook.com_login.php_login_attem
pt=1/war
Reading application configuration data...
Dec 10, 2011 2:45:39 AM
com.google.apphosting.utils.config.AppEngineWebXmlReader
 readAppEngineWebXml
INFO: Successfully processed facebook/
https_www.facebook.com_login.php_login_att
empt=1/war\WEB-INF/appengine-web.xml
Dec 10, 2011 2:45:39 AM
com.google.apphosting.utils.config.AbstractConfigXmlRead
er readConfigXml
INFO: Successfully processed facebook/
https_www.facebook.com_login.php_login_att
empt=1/war\WEB-INF/web.xml
Beginning server interaction for confirm-account...
0% Created staging directory at: 'C:\DOCUME~1\prasad\LOCALS~1\Temp
\appcfg3683113
221538013906.tmp'
5% Scanning for jsp files.
20% Scanning files on local disk.
Dec 10, 2011 2:45:41 AM
com.google.appengine.tools.admin.AppVersionUpload addFil
e
SEVERE: Invalid character in filename: www.facebook.com_login.php_login_attempts
=1.php
Dec 10, 2011 2:45:41 AM
com.google.appengine.tools.admin.AppVersionUpload addFil
e
SEVERE: Invalid character in filename: __static__/
www.facebook.com_login.php_log
in_attempts=1.php
25% Initiating update.
Email: madushka.pra...@gmail.com
Password for madushka.pra...@gmail.com:
Email: madushka.pra...@gmail.com
Password for madushka.pra...@gmail.com:
Email: madushka.pra...@gmail.com
Password for madushka.pra...@gmail.com:

java.io.IOException: Error posting to URL: https://appengine.google.com/api/appv
ersion/create?app_id=confirm-accountversion=1
401 Unauthorized
Must authenticate first.

Unable to update app: Error posting to URL: https://appengine.google.com/api/app
version/create?app_id=confirm-accountversion=1
401 Unauthorized
Must authenticate first.

Please see the logs [C:\DOCUME~1\prasad\LOCALS~1\Temp
\appcfg9182114970567100400.
log] for further information.

C:\j\bin

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