[appengine-java] Re: eclipse plugin and maven?

2009-12-14 Thread a.maza
It also hope for a better maven support in the future... On Dec 13, 9:19 pm, Rusty Wright wrote: > Thanks; I looked at that as well.  If I remember correctly it hasn't been > updated since May of this year. > > Yoichi wrote: > > Google App Engine has a Maven Plugin project. > > >http://code.goog

[appengine-java] Lazy Loading, Spring MVC and PersistenceManager Closing

2009-12-14 Thread Al
Hi I just wanted to confirm that I am using the PersistenceManager in the correct manner... I have a List of a JDO persisted class retrieved in my Spring MVC controller as follows: protected ModelAndView handleRequestInternal(HttpServletRequest req, HttpServletResponse resp) throws Exception {

[appengine-java] Re: eclipse plugin and maven?

2009-12-14 Thread drone
Regarding maven-gae-plugin - for now, the best way to adopt your application is to copy/paste pom parts from one of the example projects (plain jsp or gwt). It's not trivial, but not impossible. Also I tried to document every piece of pom.xml there. However it is true, that this plugin has become

[appengine-java] Re: where I should put the Task Queue code?

2009-12-14 Thread John V Denley
Thanks JD (slightly weird, I feel like Im writing to myself!) I think we all understand what task queues are, the problem is how to actually set up the functionality behind the URL I think we are getting close to a simple example, which I will post as soon as I get this mechanism working. From wha

[appengine-java] Re: Cache stops returning results under heavy load

2009-12-14 Thread Martin Caslavsky
There are only several objects in the cache (up to 10), each about 10kb. But there is also a bigger one (about 260kb) which I suspect of source of problems. I am afraid I am not able to reproduce the problem. Dec 7: 2600 pageviews, cache occasionally does not work (at least one time started to wor

[appengine-java] AppWrench 1.0 released: App Engine Profiler, Data Store Viewer and more

2009-12-14 Thread kor
OnPositive Technologies is happy to announce the release of AppWrench 1.0, the first collection of powerful productivity tools created specifically for Google App Engine. AppWrench includes the following tools: * App Engine Java Profiler A unique tool which allows profiling Java applications dep

[appengine-java] Re: What does true do?

2009-12-14 Thread Philip
Whenever I attempt to use pre-compilation I receive a 503 Service Unavailable error and a roll back is made. There is no further explanation in the logs. I made several tries at different times. Unable to update: java.io.IOException: Error posting to URL: http://appengine.google.com/api/appversi

Re: [appengine-java] Slow response time under load

2009-12-14 Thread Jess Evans
Can that be clarified a bit? GAE concurrent requests are capped below 10 and 1/3 sec response time is considered a long request? This doesn't seem realistic compared to non-trivial 3-tier JEE clusters where an installation might support upwards of 100+ open sockets and a looong transaction might

Re: [appengine-java] enhance classes in eclipse plugin

2009-12-14 Thread Jason Parekh
Hi, The string you should put in the ORM properties page is "src/", could you try that instead of "/src"? jason On Fri, Dec 11, 2009 at 8:40 PM, asianCoolz wrote: > > > my properties->google-->orm-> already put /src   but i still get the > below error > > i'm using jdk1.6 gae1.2.6. what did i d

Re: [appengine-java] Re: What does true do?

2009-12-14 Thread Toby Reyelts
Please send us your app-id privately (if you don't feel comfortable posting it publicly), and we can investigate. -- Forwarded message -- From: Philip Date: Mon, Dec 14, 2009 at 10:19 AM Subject: [appengine-java] Re: What does true do? To: Google App Engine for Java Whenever I

Re: [appengine-java] Re: Class XXX has multiple relationship fields of type YYYY

2009-12-14 Thread Max Ross (Google)
Datastore cursors is something we hoped to support in 1.2.8 but it didn't quite make it in. There are changes in the ORM code to support it but it's not actually enabled in the datastore back-end. This should be available early next year. On Sat, Dec 12, 2009 at 7:46 AM, David Fuelling wrote:

[appengine-java] Re: how to save and read large content of strings to GAE JDO object

2009-12-14 Thread abhi
Hey, try something like this @PersistenceCapable(identityType = IdentityType.APPLICATION) public class MyLongTextExample { @PrimaryKey @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY) private Long id; @Persistent private Text content; p

Re: [appengine-java] Cloud2db (Universal database for cloud computing)

2009-12-14 Thread Bhim Khadka
Dear Friends, Thank you very much sent mail .I Recive to your massage is good news . I will most be i like it Bhim Bdr. Khadka Technical Supporter On 12/13/09, Sandeep wrote: > > Dear member, > > My name is Sandeep Sathaye. I am a founder of a company called > Cloud2db. We have developed a p

[appengine-java] Apache Wink Project Supported on App Engine?

2009-12-14 Thread bombaygoose
Hi all, this is probably already discussed but I am slightly confused over what is and what is not supported in Google App Engine. I was looking at Google App Engine's "What will play" page and it says that JAXB is supported totally in Google Appengine. But on Apache Wink Project Wiki, they have

Re: [appengine-java] Apache Wink Project Supported on App Engine?

2009-12-14 Thread Jeremy Blythe
JAXB wasn't working until about December 10th and version 1.2.8. So I guess the Apache Wink Wiki might not be updated yet. I personally haven't tried Wink but I can vouch for JAXB support. J. On Mon, Dec 14, 2009 at 7:41 AM, bombaygoose wrote: > Hi all, > > this is probably already discussed bu

Re: [appengine-java] Re: new in 1.2.8: "relationship fields of type . This is not yet supported."

2009-12-14 Thread Max Ross (Google)
I believe the exception you're getting is the result of having multiple parents for the same type, and unfortunately that bug isn't fixed in this release. The bugs fixed in this release are: - Incorrect exception for multiple fields of same type http://code.google.com/p/datanucleus-appengine/issu

Re: [appengine-java] Re: Sending mail with the mail api

2009-12-14 Thread Andrés Cerezo
I think I have problems with the mail.jar,Where have you downloaded the jar files? Thanks. 2009/12/13 GregD > I'm having the exact same problem. Can someone from gae help out > here? > > On Dec 11, 2:41 pm, Werner Kok wrote: > > Hi, > > > > Any news on this issue, I'm having the same problem

[appengine-java] any header test for task queues (like "X-AppEngine-Cron: true" for crons)?

2009-12-14 Thread Prashant
Hi, Requests from the Cron Service contains a HTTP header: X-AppEngine-Cron: true Is there any header added by Task Queue Service??? Thanks. -- 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 goo

Re: [appengine-java] Re: new in 1.2.8: "relationship fields of type . This is not yet supported."

2009-12-14 Thread bryce cottam
good point, I kinda got lost in the exceptions I was getting :) I wound up sorting it out by making an embedded class instead of having multiple parent classes for a given child class. Although, it would be nice if a child class could have different parent types. Thanks for all your help Max. -b

Re: [appengine-java] Re: new in 1.2.8: "relationship fields of type . This is not yet supported."

2009-12-14 Thread Max Ross (Google)
Sure, sorry it was such a headache for you. When I've got a fix ready I'll let you know. On Mon, Dec 14, 2009 at 10:57 AM, bryce cottam wrote: > good point, I kinda got lost in the exceptions I was getting :) > I wound up sorting it out by making an embedded class instead of > having multiple

Re: [appengine-java] Lazy Loading, Spring MVC and PersistenceManager Closing

2009-12-14 Thread Rusty Wright
Something to investigate: http://static.springsource.org/spring/docs/2.5.x/api/org/springframework/orm/jdo/support/OpenPersistenceManagerInViewFilter.html Shortened: http://xrl.in/408b Al wrote: > Hi > > I just wanted to confirm that I am using the PersistenceManager in the > correct manner...

Re: [appengine-java] any header test for task queues (like "X-AppEngine-Cron: true" for crons)?

2009-12-14 Thread Rusty Wright
http://code.google.com/appengine/docs/java/taskqueue/overview.html Then search for the string x- And it documents the 3 headers. Prashant wrote: > Hi, > > Requests from the Cron Service contains a HTTP header: X-AppEngine-Cron: > true > Is there any header added by Task Queue Service??? >

[appengine-java] Re: Lazy Loading, Spring MVC and PersistenceManager Closing

2009-12-14 Thread abhi
Hey , why do you want to close the persistance manager here, you are not saving or updating any entities. You should use a static PMF class to get the entity manager und you feed class should have something like this ... class FEED { private static PersistenceManager pm; // this fetches the pers

Re: [appengine-java] Slow response time under load

2009-12-14 Thread Ikai L (Google)
The limit right now is 30 simultaneous requests, not 10: http://code.google.com/appengine/docs/java/runtime.html Much of App Engine's model is based on the idea that the majority of requests should be speedy with a small minority taking longer to respond, as research has indicated that past a cer

[appengine-java] Re: What does true do?

2009-12-14 Thread David Fuelling
Is there any drawback to using precompilation? Just wondering why it's opt-in for now. david On Dec 7, 11:18 pm, "Ikai L (Google)" wrote: > It's still opt-in, so you'll need to enable it if you want it. > -- You received this message because you are subscribed to the Google Groups "Google Ap

[appengine-java] Can we use Enums as fields in Data classes

2009-12-14 Thread dantuluri
Hi, Can we use java enums as @Persistent data fields in the Data classes? There is no tutorial that talks about java enums being used in the Data classes. Thanks, Prasad -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post

[appengine-java] Re: Datastore String limit: 500 characters or 500 bytes, which is it?

2009-12-14 Thread Jeff Schnitzer
Can anyone comment on this in an official capacity? I can write some code to test actual behavior, but I'd really rather know the defined behavior. Thanks, Jeff On Fri, Dec 11, 2009 at 2:41 AM, Jeff Schnitzer wrote: > The javadocs for Text say the datastore limit is 500 characters: > > http://c

[appengine-java] Re: how to save and read large content of strings to GAE JDO object

2009-12-14 Thread noelo
Thanks a lot! Now I have a new question,how can I delete the datas which generated when I test my temp application in the local environment(Eclipse + GAE plugin). Cause I had to change some properties of the model,and I met some error of data type unmatch,how can I delete the former local data whi

[appengine-java] Re: how to save and read large content of strings to GAE JDO object

2009-12-14 Thread noelo
how can I delete the datas which generated when I test my temp application in the local environment(Eclipse + GAE plugin). Cause I had to change some properties of the model,and I met some error of data type unmatch,how can I delete the former local data which was different from the new data class

[appengine-java] How to delete temp datas generated while testing the application?

2009-12-14 Thread noelo
How can I delete the datas which generated when I test my temp application in the local environment(Eclipse + GAE plugin). Cause I had to change some properties of the model,and I met some error of data type unmatch,how can I delete the former local data which was different from the new data class

[appengine-java] Re: how to save and read large content of strings to GAE JDO object

2009-12-14 Thread noelo
Have I had to change the decleration of the property "content", not just "@Persistent "?"@Persistent(serialized="true", defaultFetchGroup="true")" or "@Enumerated",whitch one is true? I met the problem as follow: ARNING: Conversion error for org.datanucleus.store.appengine.query.StreamingQueryResu

[appengine-java] Introducing App Engine SDK 1.3.0

2009-12-14 Thread Jason (Google)
Hi Everyone. We just released version 1.3.0 of the App Engine SDK for both Python and Java. The most notable change is the new experimental Blobstore API which allows billed apps to store files up to 50 MB. The release also includes some performance tweaks to the Java runtime. Blog post: http://g

Re: [appengine-java] Re: new in 1.2.8: "relationship fields of type . This is not yet supported."

2009-12-14 Thread Max Ross (Google)
Ok I've got good news for you. I need to do more testing but I think different parent types for child objects should work fine as long as you use list-ordering for your one-to-many relationships, which you really ought to be doing anyway. Position properties are already incredibly inefficient, an

Re: [appengine-java] any header test for task queues (like "X-AppEngine-Cron: true" for crons)?

2009-12-14 Thread Prashant
oh, thanks. i was searching it in "Config" page. On Tue, Dec 15, 2009 at 12:48 AM, Rusty Wright wrote: > http://code.google.com/appengine/docs/java/taskqueue/overview.html > > Then search for the string > > x- > > And it documents the

[appengine-java] Re: How to delete temp datas generated while testing the application?

2009-12-14 Thread Icarus
You can access the local datastore via the web interface when the app is running. If the app is running at http://local:8080, point browser to http://local:8080/_ah/admin/datastore You will see all your data there... and can edit/delete/clear them. The datastore is saved locally as a .bin file

[appengine-java] Re: new in 1.2.8: "relationship fields of type . This is not yet supported."

2009-12-14 Thread Todd Vierling
On Dec 14, 11:06 pm, "Max Ross (Google)" wrote: > Ok I've got good news for you.  I need to do more testing but I think > different parent types for child objects should work fine as long as you use > list-ordering for your one-to-many relationships, which you really ought to > be doing anyway.  

Re: [appengine-java] Re: new in 1.2.8: "relationship fields of type . This is not yet supported."

2009-12-14 Thread Max Ross (Google)
JPA _only_ supports list-ordering (the good kind). You can use the @OrderBy annotation to specify the properties to order by, but even if you leave this annotation off it will order by the primary key field. On Mon, Dec 14, 2009 at 8:45 PM, Todd Vierling wrote: > > On Dec 14, 11:06 pm, "Max Ros

Re: [appengine-java] Re: new in 1.2.8: "relationship fields of type . This is not yet supported."

2009-12-14 Thread bryce cottam
hahaha, no that doesn't sound draconian. I remember reading that the ordering of lists can be a performance hit, I haven't bothered to look too deep into it yet (since I'm only doing a proof of concept right now). I have some questions about it though. For instance, what if I were to order by so

Re: [appengine-java] Re: new in 1.2.8: "relationship fields of type . This is not yet supported."

2009-12-14 Thread Max Ross (Google)
If you order by anything other than your primary key you'll take a performance and cpu hit on writes but there won't be a penalty on your reads. The reason the JDO default is such a problem is that it adds an implicit property to each child entity containing the position of that entity in its pare

Re: [appengine-java] Apache Wink Project Supported on App Engine?

2009-12-14 Thread Uncle Chavan
Thanks Jeremy. Let me try that out and post back my findings. On Mon, Dec 14, 2009 at 10:19 AM, Jeremy Blythe wrote: > JAXB wasn't working until about December 10th and version 1.2.8. So I > guess the Apache Wink Wiki might not be updated yet. > > I personally haven't tried Wink but I can vouch

Re: [appengine-java] Re: new in 1.2.8: "relationship fields of type . This is not yet supported."

2009-12-14 Thread bryce cottam
do SortedSets suffer from the same problem? In particular, I could define a displayOrder property that was rather sparse (every 10th int or something: 10, 20, 30 etc.) and if I needed to insert something between the first and second (which shouldn't happen very often) I could just set it's dis

Re: [appengine-java] Re: new in 1.2.8: "relationship fields of type . This is not yet supported."

2009-12-14 Thread Max Ross (Google)
A Set will not suffer from this same problem. The datastore has no way of knowing what the sort function of your SortedSet might be so this will be treated as an unordered Collection as well, but the sort will happen in-memory as the collection is populated. If the collection has an explicit orde

Re: [appengine-java] Re: new in 1.2.8: "relationship fields of type . This is not yet supported."

2009-12-14 Thread bryce cottam
thanks for the info. Getting feedback like this from someone as close to the low level implementation as yourself is priceless! I think I'll be fine using either a SortedSet or a List with the @Order and the datanucleus extension on it for the Activity.ratePlans collection. This set could just b

Re: [appengine-java] Apache Wink Project Supported on App Engine?

2009-12-14 Thread Uncle Chavan
Ok. Appengine does support Wink. It took me some time to setup the libraries, but finally got it working. I can see the response coming in both Badgerfish JSON format as well XML. On Mon, Dec 14, 2009 at 10:06 PM, Uncle Chavan wrote: > Thanks Jeremy. > > Let me try that out and post back my fin