[appengine-java] Re: Datastore server error

2012-03-22 Thread Mike Lawrence
Switch to HR datastore On Mar 21, 9:28 am, Aswath Satrasala aswath.satras...@gmail.com wrote: I have been have the same Datastore Viewer error with my appid 'vs-accounting'.  It is configure as M/S. I am having this trouble for over 1.5 days.  This application is in production.  I don't know

[appengine-java] Re: Presentation: Developing WordPong.com on Google App Engine

2012-03-21 Thread Mike Lawrence
the least. You've referenced many websites, but how about books you found helpful. Thanks again. On Tuesday, March 20, 2012 7:35:03 AM UTC-4, Mike Lawrence wrote: Presenting this slide deck at DevNexus 2012 this week: http://goo.gl/RspSm It details my experiences developing http

[appengine-java] Presentation: Developing WordPong.com on Google App Engine

2012-03-20 Thread Mike Lawrence
Presenting this slide deck at DevNexus 2012 this week: http://goo.gl/RspSm It details my experiences developing http://WordPong.com, a web-based social game, on GAE. Mike Lawrence -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group

[appengine-java] Re: publishing html files

2012-03-01 Thread Mike Lawrence
How about a public google doc? https://support.google.com/docs/bin/answer.py?hl=enanswer=184006 On Feb 26, 2:28 pm, Vik vik@gmail.com wrote: Hie I am generated html documents using a google text doc as template (reading it using gdata apis and then doing some text manipulation). Now, I

[appengine-java] Re: Slow cold starts

2012-02-26 Thread Mike Lawrence
I noticed similar behavior. I think the auto setting for minimum number of instances changed from two to zero active instances. I changed from auto to one, and my app is much more responsive. setting minimum instances higher will co$t you more On Feb 25, 9:36 am, Anders blabl...@gmail.com wrote:

[appengine-java] Re: GAE High Replication datastore (HRD) with transaction

2012-02-20 Thread Mike Lawrence
since hrd is eventually consistent, you need to restructure your app to not immediately query the newly commited data after a transaction. welcome to nosql my app builds its own result page that assumes the committed data is there. by the time the user refreshes the page the data is there and

[appengine-java] Re: Increased Average HTTP Response Times since Feb 12th 2012

2012-02-18 Thread Mike Lawrence
I changed instaces settings in console from auto to a minimum of two and the response times are again about a second On Feb 16, 2:07 pm, Matthias Friedrich mtthsfrd...@gmail.com wrote: hi mike, i can confirm that. The responsetime is getting higher and higher, meanwhile some are above 90

[appengine-java] Increased Average HTTP Response Times since Feb 12th 2012

2012-02-16 Thread Mike Lawrence
Average HTTP Response times have gone from sub-second to about 10secs. http://montools.com/stats/11770 I've not changed any admin settings or code. Anyone else seeing this? Looks like the scheduler now causes more cold starts. Since me requests include memcache and database updates, not sure if

Re: [appengine-java] Abridged summary of google-appengine-java@googlegroups.com - 10 Messages in 5 Topics

2012-02-15 Thread Mike Lawrence
,  Mike Lawrence Blessed are the flexible, for they will never get bent out of shape -- 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

[appengine-java] AppEngineFile typo

2012-02-12 Thread Mike Lawrence
On page: http://code.google.com/appengine/docs/java/googlestorage/overview.html writableFile = new AppEngine(path); should be writableFile = new AppEngineFile(path); -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this

[appengine-java] Re: Abridged summary of google-appengine-java@googlegroups.com - 8 Messages in 5 Topics

2012-01-14 Thread Mike Lawrence
Engine plus.ikailan.com | twitter.com/ikai On Fri, Jan 13, 2012 at 11:12 AM, Mike Lawrence m...@systemsplanet.comwrote: Ikai, Docs still say transactions wont span entity groups: http://code.google.com/appengine/docs/java/datastore/transactions.html http://code.google.com/p

Re: [appengine-java] Abridged summary of google-appengine-java@googlegroups.com - 8 Messages in 5 Topics

2012-01-13 Thread Mike Lawrence
with the High Replication Datastore, which allow you to perform transactions across multiple entity groups. http://code.google.com/appengine/docs/java/datastore/transactions.html Sincerely,  Mike Lawrence On Thu, Jan 12, 2012 at 12:23 AM, google-appengine-java@googlegroups.com wrote:   Today's

[appengine-java] reading html stream

2011-12-11 Thread mike
Hi, I am trying to make some application for google app engine. I am trying to get data from this url http://streamerapi.finance.yahoo.com/s treamer/1.0? s=EURUSD=Xk=l10,t10,g00,h00,v00,j10callback=parent.yfs_u1fmktmcb=parent.yfs_mktmc bgencallback= parent.yfs_gencbr=0 The problem is that

[appengine-java] Memcache errors

2011-11-16 Thread Mike Lawrence
My Java GAE app has http sessions enabled. Periodically, I see calls to createSession fail with a memcache error. Anyone else seeing similar behavior? Is there any elegant way to recover from this? Here's an example: 2011-11-14 18:06:59.062 org.apache.jasper.runtime.JspFactoryImpl

[appengine-java] Re: Http 404 error in google app engine

2011-11-07 Thread Mike!
Try doGet, not post On Oct 29, 10:20 am, jyoerye angel.like...@gmail.com wrote: I have a project in java with a My SQL data base which I need to transfer to Google App engine. I started with a simple example online: I created guestbook.jsp and SignGuestbookServlet,But I get this error

[appengine-java] Re: Prerelease SDK 1.5.5 available for download!

2011-10-03 Thread Mike!
to the high-replication datastore will be enough for my app! Thank you Google, Mike! On Oct 3, 3:40 pm, Ikai Lan (Google) ikai.l+gro...@google.com wrote: Hey everyone, Prerelease SDK 1.5.5 is now available for download! You can get it here: Python:http://code.google.com/p/googleappengine

[appengine-java] Re: .A research: how long will your java app instance start up fully?

2011-10-01 Thread Mike Lawrence
2-3 secs with stripes + slim3 On Sep 29, 9:29 pm, Tapir tapir@gmail.com wrote: ? -- 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

[appengine-java] Re: The *real* cost of the billing changes

2011-09-06 Thread Mike Lawrence
Instead of ranting google broke it, it might be more productive if you: - identify the type of app you are building - use cases - API calls - number users - typical transactions - consistency requirements - etc then offer some suggestions on how google could support your use

[appengine-java] Re: Session/Cookie problem with redirect

2011-08-28 Thread Mike Lawrence
have you tried viewing the http headers in each request using chrome, firebug, httpwatch, etc? sunshine is the best disinfectant I dont think redirects normally can set cookies maybe the prod server is striping your invalid host headers on a redirect On Aug 28, 7:32 am, Simon Knott

[appengine-java] Re: Always On not working properly

2011-08-26 Thread Mike Lawrence
switching to the high availability data store fixed this for me. On Aug 25, 10:30 am, Anders blabl...@gmail.com wrote: I switched on the Always On option and it works inasmuch as the dashboard shows three resident instances but new instances are started sometimes with only a few seconds

[appengine-java] Re: ApplicationError: 10: Unknown when writing to blobstore using FileService

2011-08-24 Thread Mike Prince
Good call - I added BufferedInputStream and BufferedOutputStream and it solved the problem. i.e. ObjectOutputStream out = new ObjectOutputStream( new BufferedOutputStream( Channels.newOutputStream( writeChannel ), 65536 ) ); Thanks! - Mike On Aug 19, 10:48 am, Ikai Lan (Google) ika

[appengine-java] Re: Deploy button in Eclipse does not prompt for administrator account username

2011-08-23 Thread Mike Lawrence
I still cant sign in from eclipse Helios, but I was able to deploy using this cmd: set GAESDK=C:\eclipse\plugins \com.google.appengine.eclipse.sdkbundle_1.5.0.r36v201105092302\appengine- java-sdk-1.5.0 set JAVA_HOME=C:\Program Files\Java\jdk1.6.0_25 %JAVA_HOME%\bin\java -cp

[appengine-java] ApplicationError: 10: Unknown when writing to blobstore using FileService

2011-08-17 Thread Mike Prince
, it works fine in the development environment ;) Thanks, Mike public class Filer { private static final FileService fileService = FileServiceFactory.getFileService(); private static final BlobstoreService blobstoreService = BlobstoreServiceFactory.getBlobstoreService

[appengine-java] Re: Joins!

2011-08-06 Thread Mike Lawrence
the speed of your top use cases use background tasks to propagate updates to denormalized data where needed. consider slim3 dao for global transactions to keep your model consistant mike On Aug 5, 8:06 pm, Jeff Schnitzer j...@infohazard.org wrote: On Fri, Aug 5, 2011 at 11:45 AM, William

[appengine-java] Re: Getting a grip on startup

2011-08-06 Thread Mike Lawrence
the stripes web framework starts in under 3 seconds on GAE. it's clean, simple, and light. do you really need spring? is wiring beans really worth all the startup cost? On Aug 3, 9:57 pm, John jwb...@gmail.com wrote: As our app has grown, the amount of initialization work to do in order to

[appengine-java] JDODetachedFieldAccessException when accessing detached object from memcache

2011-07-26 Thread Mike Prince
and access it's fields everything is ok. But if we detach and save that object to memcache, retrieve the object from memcache, and try to access a String field we get the above error. Any ideas why this started happening? Thanks, Mike -- You received this message because you are subscribed

[appengine-java] Re: JDODetachedFieldAccessException when accessing detached object from memcache

2011-07-26 Thread Mike Prince
/multiinstance with Datastore. One question, Mike, are you using backends? We are not. I'll keep experimenting today and see what I dig up. Thanks, Mike -- 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

[appengine-java] Re: Blog with schema advice for GAE/NoSQL users

2011-07-13 Thread Mike Lawrence
Nice blog post Jeff. I've found myself storing lists of keys in my domain objects to replace queries with fast parallel gets of related domain objects. Of course, there is a trade-off of the expense of keeping the key list fresh. This makes the GUI extreamly fast (no queries, just gets) and

[appengine-java] Re: ANN: BatchFB 2.1, a Java Facebook library with automatic batching

2011-07-13 Thread Mike Lawrence
Nice Jeff. Do you ever sleep? ;) Now we can quickly move all the fb data to g+ and stop using fb. joy. On Jul 12, 1:55 am, Jeff Schnitzer j...@infohazard.org wrote: This is the first time I've announced this opensource project in this forum because until now there wasn't anything GAE-specific

[appengine-java] Cost of using async-session-persistence?

2011-07-01 Thread Mike Lawrence
Googlers? -- 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/-/TMf-DMwnkYQJ. To post to this group, send email to

[appengine-java] Cost of using async-session-persistence?

2011-06-29 Thread Mike Lawrence
What is the financial cost associated with using this feature? IE how many additional API calls/datastore accesses/bytes transferred/ etc can one expect? http://code.google.com/p/googleappengine/issues/detail?id=1692 -- You received this message because you are subscribed to the Google Groups

[appengine-java] Re: Channel API

2011-06-28 Thread Mike Kitzman
I have a question about this. On the client side, I can call the close() function on the created Socket object, however when I have the same client re-connect and request another token, it seems that I am unable retrieve another token (The call to createChannel never returns). Is this

[appengine-java] Eclipse App Engine Deploy Does Nothing

2011-06-22 Thread Mike Davis
I recently installed the google app engine plug in for eclipse. I created a small sample project, and entered my application id into the xml file. When I click on the button for Deploy App Engine Project absolutely nothing happens. I don't get any popups or console out put or anything. Also,

[appengine-java] Re: Is the native API really so much faster than JDO and slim3?

2011-06-08 Thread Mike Lawrence
I get... The number of entities: 1 low level 1717 millis slim3 1502 millis objectify 2970 millis jdo 3485 millis probably should modify this example to do an average of several runs one important thing to note, is slim3 allows you to update multiple entity types in a single transaction. not

[appengine-java] Unit Testing Emails

2011-06-06 Thread Mike!
Hey all, I've been trying to do some unit testing for emails. I've tried GreenMail in conjunction with JUnit Rule + ExternalResource (start/ stop GreenMail service)...I'm now stumped and can't find anything on the great oracle (google). Any ideas? Mike! -- You received this message because

[appengine-java] Re: Java = Google app

2011-05-24 Thread Mike Lawrence
maven thoughts - anyone who's worked on a large project over time has seen the build scripts grow in complexity and maintenance costs - maven, like many solutions, introduces a domain-specific-language to simplify things, or in mavens case, a domain specific XML schema - I usually cringe when I

[appengine-java] Re: GAE - Java - JSON?

2011-05-21 Thread Mike Lawrence
+1 stripes my stripe app boots cold in 2 seconds round trip times from browser to datastore in back are about 100ms the rest of the stack... combined with slim3 datastore and much if the gae datastore issues melt away jquery mobile - works cross browser, google tv, cross smart

[appengine-java] Re: SpringMVC RESTful + JSP + GAE/J .. 404 not found on JSPs..

2011-05-17 Thread Mike!
for / WEB-INF/view/jsp//error.jsp (which should still resolve, but is not necessary and clouds up the code a bit) Mike! On May 15, 9:09 pm, jlc488 jlc...@gmail.com wrote: I've implemented a site using SpringMVC RESTful approaches. I did not need any view such as JSP or Velocity and stuff

[appengine-java] Re: Vs: Re: Stripes + UrlBinding + Google App Engine

2011-05-15 Thread Mike Lawrence
sorry you're having problems. dont think this is an app engine issue since many folks use stripes on gae. here are the stripe parts from my web XML ?xml version=1.0 encoding=utf-8? web-app xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xmlns=http://java.sun.com/xml/ns/javaee;

[appengine-java] Re: Vs: Re: Stripes + UrlBinding + Google App Engine

2011-05-15 Thread Mike Lawrence
there is no file system in gae so the multipart wrapper could be your problem. it probably would work locally by not in prod On May 15, 8:30 am, Mike Lawrence m...@systemsplanet.com wrote: sorry you're having problems. dont think this is an app engine issue since many folks use stripes on gae

[appengine-java] unable to deploy to app engine anymore

2011-05-10 Thread mike fulton
always launching the internal eclipse web browser. Any help would be much appreciated... Thanks, Mike -- 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

[appengine-java] makePersistent silently failing after MetaDataValidator$DatastoreMetaDataException in development

2011-04-26 Thread Mike Prince
I have a first entity MediaAlbum with a @Transient field that holds a List of another entity Media. After querying for a list of MediaAlbum I get an exception: Error in meta-data for com.yumyumlabs.foundation.appengine.media.model.Media.id: Cannot have a java.lang.Long primary key and be a

[appengine-java] Re: Integrating Flex/Flash/Silverlight/AJAX/Android with Java classes in GAE

2011-04-07 Thread Mike Lawrence
Mark, if I write a simple servlet that accepts JSON it supports any client too, for free with no external dependencies. I watched your entire video. Sorry, not sure I understand your value proposition. On Apr 5, 3:45 pm, Mark Piller mpil...@gmail.com wrote: Hey guys, I am not sure what the

[appengine-java] Re: Tips/Pitfalls for total newbies?

2011-04-02 Thread Mike Lawrence
Ck out this crash course in getting a java app up from scratch... http://goo.gl/UT2W3 My personal recommendations: - plan on spending a week or two learning how the datastore works before you get started - if you will ever need the High Replication Datastore, set it up now. it's a pain to add it

[appengine-java] Re: Does anyone use cloudcover for running junit tests on appengine?

2011-03-25 Thread Mike Lawrence
this one works really well locally and on gae http://code.google.com/p/ktrwjr/ On Mar 22, 5:58 pm, Brendan Doherty bren...@propertysimplified.com wrote: At Google I/O last year, Max Ross gave an interesting talk on a unit test harness that let you run existing test suites in production on

[appengine-java] New Mac Java Update, Now Dev Server Stops After ACK Running

2011-03-16 Thread Mike Dillon
SUCCESSFUL. I can run this exact project on another machine (another mac minus the java update though). Anyone seen this / got any ideas? I'd like to change the log reporting level because I feel like something isn't getting through. Thanks, - Mike -- You received this message because you

[appengine-java] Re: New Mac Java Update, Now Dev Server Stops After ACK Running

2011-03-16 Thread Mike Dillon
Thanks, I searched and searched before I posted this. Sorry about that. On Mar 16, 12:55 pm, Jay Young jayyoung9...@gmail.com wrote: https://groups.google.com/forum/#!topic/google-appengine-java/WiImnzV... -- You received this message because you are subscribed to the Google Groups Google App

[appengine-java] Re: Deleted APP, recover app ID

2011-03-15 Thread Mike Lawrence
http://code.google.com/appengine/kb/general.html How many applications can I create with Google App Engine? You can delete your existing applications via the Admin Console if you want to create more, but you will not be able to re-register an application ID. On Mar 14, 9:41 am, IvanRdz

Re: [appengine-java] java.lang.SecurityException

2011-03-03 Thread Mike Zhou
Toby, Thanks for the quick response. I will give it a try and let you know how it goes. Mike On Thu, Mar 3, 2011 at 11:15 AM, Toby Reyelts to...@google.com wrote: The jar file containing the class, org.eclipse.emf.ecore.EObject has been signedhttp://download.oracle.com/javase/tutorial

Re: [appengine-java] java.lang.SecurityException

2011-03-03 Thread Mike Zhou
Toby, by removing the manifest file, the issue is gone. Thanks a lot for the help. Mike -- 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

[appengine-java] java.lang.SecurityException

2011-03-02 Thread Mike Zhou
application ran well in previous AppEngine version. It seems that the AppEngine security control has been changes. Anyone can explain the reason? Also, the difference between AppEngine Eclipse testing env and the real Java running env in the cloud would be appreciated. Thanks, Mike -- You

[appengine-java] How to write JPA query that...

2010-12-30 Thread Mike Guo
@Entity class A { ListB bs; } @Entity class B { C c; } @Entity class C { int id; } A has a list of Bs. i want to create a JPA query to fullfill below: 1. get all As, 2. and the A has one or more B, 3. and the B must has a C 4. and the C's id == the appoint id. public static

[appengine-java] Re: How to write JPA query that...

2010-12-30 Thread Mike Guo
now i managed to get the answer. thx anyway -- 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

Re: [appengine-java] JPA query(JPQL) setFirstResult() and setMaxResult() does not work

2010-12-28 Thread Mike Guo
i'm sorry but what does RCP means? -- 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

[appengine-java] JPA query(JPQL) setFirstResult() and setMaxResult() does not work

2010-12-27 Thread Mike Guo
hi All: i posted this problem on GWT forum but i think it's better to place here, as it has no related to GWT. see here: https://groups.google.com/forum/?lnk=gstq=ClassNotResolvedException#!topic/google-web-toolkit/uEkludbtwpg thanks. -- You received this message because you are subscribed to

[appengine-java] Re: Best way to approach templating?

2010-12-20 Thread Mike!
too Mike! http://www.thepixlounge.com On Dec 19, 10:37 am, JaredC concealedscr...@gmail.com wrote: I'm new to the Java App Engine and I've been searching for a way to have a general template or theme for my site. I have a header, menu, and side bar that will stay the same for all pages, so why

[appengine-java] Re: 1.4 eclipse plugin

2010-12-05 Thread Mike
I fixed this problem by making sure that App Engine SDK 1.4.0 is first in my Java Build Path in the Order and Export and changing my GWT SDK to 2.1.0 -- 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

[appengine-java] Re: calling blobstore from inside the webapp

2010-11-30 Thread Mike
jeremybly...@gmail.com wrote: Whoops, posted at the same time!! Glad you found my blog post useful. Jeremy. On 30 Nov 2010, at 06:00, Mike weinbe...@gmail.com wrote: Zsombor, Follow the implementation outlined in this excellent blog post. It explains how to upload to blobstore from

[appengine-java] Re: calling blobstore from inside the webapp

2010-11-29 Thread Mike
Zsombor, Follow the implementation outlined in this excellent blog post. It explains how to upload to blobstore from within your app. Good luck, Michael Weinberg http://jeremyblythe.blogspot.com/2010/10/manipulating-images-in-blobstore.html On Nov 28, 8:08 am, Zsombor gzsom...@gmail.com

[appengine-java] Re: Unable to update app (Error 400)

2010-11-19 Thread Mike
Twitter:http://twitter.com/app_engineOn Thu, Nov 18, 2010 at 10:05 AM, Mike michael.heue...@gmail.com wrote: Hi, I have problems to deploy my simple hello world app after deploying it a couple of times and it worked perfectly. Try to solve the problem on my own first. After reading threw some

[appengine-java] Re: Unable to update app (Error 400)

2010-11-19 Thread Mike
Problem solved! Super stupid mistake from my site. On Nov 19, 9:30 am, Mike michael.heue...@gmail.com wrote: Thx for the response, but when the issue you mentioned appeared I have had the error 500 message. After this was solved, I'm still having the same problem (client error - 400). Dont

[appengine-java] Unable to update app (Error 400)

2010-11-18 Thread Mike
? - java.io.IOException: Error posting to URL: https://appengine.google.com/api/appversion/create?app_id=http%3A%2F%2Fmycabexapmle.appspot.comversion=1; 400 Bad Request Client Error (400) The request is invalid for an unspecified reason. --- thx mike -- You received this message because you are subscribed

[appengine-java] BlobStore Image Service

2010-11-01 Thread Mike
I know about the new super-fast image serving API for images stored in the blobstore - it's awesome and greatly simplifies image resizing.. However I still want to resize the original image to a smaller size before handling it with the image serving API.. So if a user uploads a 5MB Image I want

[appengine-java] Re: Fwd: BlobstoreService not compatible with HTML5 multiple file upload?

2010-10-23 Thread Mike!
It's my #1 request too, but GAE doesn't support any multiple file upload...I'm guessing that it's not far off though since the blobstore interface returns a Map of blobs Mike! On Oct 23, 3:55 pm, Dan Dubois uvico...@gmail.com wrote: Has anyone figured out a way around this problem yet? Best

[appengine-java] Re: Having Issue with Sitemesh on App engine .

2010-09-28 Thread Mike!
I've got it working in mine too, but I don't use the pattern filtering inside the decorator.xml file...What is your specific error? Where's your base directory pointing to? Is it in the WEB-INF folder? Mike! On Sep 28, 12:26 pm, Guillaume Laforge glafo...@gmail.com wrote: I've been

[appengine-java] Java Heap Space Error, Correct Increasing Method?

2010-06-28 Thread Mike Dillon
are only using one instance of the persistance manager as per the recommendations to use a singleton class. Each batch hits a servlet on our app and then does its work. Should we close the persistence manager after every batch is completed? I'm wondering if this would be a memory leak. Thanks, -Mike

[appengine-java] Re: Any ETA for a backup/restore facility?

2010-06-28 Thread Mike Dillon
of the fine print, i.e. one caveat is that you must have had your datastore populated for at least 12 hours which is the amount of time it takes for the statistics info to be built. That what the bulkloader works off of to do its datastore dump. - Mike On Jun 28, 7:16 am, mscwd01 mscw...@gmail.com

[appengine-java] Re: Java Heap Space Error, Correct Increasing Method?

2010-06-28 Thread Mike Dillon
=com.google.appengine.tools.development.DevAppServerMain/ arg value=--po...@{port}/ arg value=--addre...@{address}/ arg value=--jvm_flag=-Xmxmem size here/ options/ arg value=@{war}/ args/ /java /sequential /macrodef Thanks for the help Don. - Mike On Jun

[appengine-java] Re: Java Heap Space Error, Correct Increasing Method?

2010-06-28 Thread Mike Dillon
), not to java.exe. That should work the same way for the ant, dev_appserver/ task. (You can see this in config/user/ant-macros.xml). On Mon, Jun 28, 2010 at 3:51 PM, Mike Dillon mikedillo...@gmail.com wrote: Another thing to consider. I'm not using eclipse, and I'm building and running the server

[appengine-java] Re: AppEngine session advice

2010-05-27 Thread Mike
state if i don't use the app for about 2-3 minutes (can this be related to session-enabled ?). On May 26, 11:36 pm, Mike m...@westforkconsulting.com wrote: Some questions: 1) Did you run the server trace on your code to see what was slow? 2) One idea -- rather than calling

[appengine-java] Re: How to use com.google.appengine.api.datastore.Text ?

2010-05-26 Thread Mike
method). Cheers Mike -- 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

[appengine-java] Re: Best method to set up nested classes in Objectify

2010-05-24 Thread Mike
data to the client with the A contains @Embedded B -- it just means that you would have to create (and use) some sort of DTO that contained only the data that you wanted to send to the client, and using that technique is likely the simplest way for you to achieve your goals (I think). Cheers Mike

[appengine-java] Re: How to organize your server code

2010-05-24 Thread Mike
Actually, I would recommend the following syntax instead: public MyServlet { private OtherServlet otherServlet @Inject public MyServlet(OtherServlet otherServlet) { this.otherServelt = otherServlet; } // ... } Its ok to do the field injection, but the constructor injection is recommended (I

[appengine-java] Help running without a ContextPath

2010-05-23 Thread Mike!
. In my web.xml file, I also must have the context path as my servlet-mapper value and can not use /*. When I've tried /*, I can not resolve my JSP views being returned back by my methods. Any help would be greatly appreciated! Mike! -- You received this message because you are subscribed

[appengine-java] GAE Guestbook example differing behavior between Chrome and Firefox

2010-02-26 Thread Mike
=sendButtonContainer/td /tr tr td colspan=2 style=color:red; id=errorLabelContainer/ td /tr /table /body /html Would appreciate a helpful nudge in the right direction (still getting up to speed a bit here)... Cheers Mike -- You received this message because you

[appengine-java] Re: GAE Guestbook example differing behavior between Chrome and Firefox

2010-02-26 Thread Mike
just took a peek at the GWT homepage, and I will probably move to that at some point. But, want to learn from the ground up, and go through these steps as well. Cheers Mike -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post

[appengine-java] createLoginURL() and Sing-up behavior when running locally under Eclipse debugger?

2010-02-26 Thread Mike
running under Eclipse) will redirect to what appears to be a Google Accounts sign-up page. However, I am unable to trigger that behavior, no matter what text I provide to that control. Any suggestions? Is this a bug or a misprint (or even, a misunderstanding on my part)? Cheers Mike Sheridan -- You

[appengine-java] Re: GAE Guestbook example differing behavior between Chrome and Firefox

2010-02-26 Thread Mike
Have you ruled out cache issues? Thanks. It appears that it was a caching problem (on the browser I guess). The expected behavior is delivered to each browser now. Thanks for the tips, apologies for not sorting it out myself. Cheers Mike Sheridan -- You received this message because you

[appengine-java] Getting the updated Key for child entity after calling pm.makePersistent(childEntity)

2010-01-01 Thread Mike
Hi, I have two entities - Parent and Child, the relationship is mapped using the mappedBy annotations. Both entities are using Key type as the pk, which is manually generated during the instantiation of the object. When the PK is generated for the Child, parent information in the child key is

[appengine-java] Re: Scope of datastores -- accessible across multiple GAE applications?

2009-12-27 Thread mike s
Merry Christmas. Surely an important use of cloud computing is creating services that can be shared? So why not implement your harvester with an API that allows other apps, including your own, to read the database? i.e. other applications connect to your datastore through your application

[appengine-java] Some suggestions regarding the not support multiple parent key provider fields JDOexception

2009-12-22 Thread Mike
Hi, I am playing about with JDO, creating objects, relationship, etc. I have a set of unit tests to make sure that what I am creating conform with GAE's implementation of JDO. Coming from a RDBMS background, very often I find myself the following exception: javax.jdo.JDOException: App Engine

[appengine-java] Strange exception from JDO - Please help

2009-12-21 Thread Mike
Hi, I am a newbie to GAE and it's the first time I try out the JDO facility. I followed the JUnit How-To to create all the base classes for Junit test and the following is my test: public class AbcTest extends LocalServiceTestCase { Abc abcType = null; PersistenceManagerFactory pmf =

[appengine-java] Re: GetObjectByID JDO question (NucleusObjectNotFoundException)

2009-12-21 Thread Mike
You can query the key only, hope this helps. http://code.google.com/appengine/docs/python/datastore/queriesandindexes.html#Queries_on_Keys On Dec 21, 8:51 pm, Jess Evans laphroai...@gmail.com wrote: Be wary of a try/get/catch/persist combo.  I was doing this initially, but found it triggered

[appengine-java] new comer

2009-11-25 Thread Mike
hi, i am the green hand on GAE ,i want to use it to develop some project . -- 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,

[appengine-java] Re: Image Upload

2009-09-02 Thread Mike
/java.html#fileforms what can I check on? Thanks, Mike --~--~-~--~~~---~--~~ 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

[appengine-java] Re: Xml Support in GAE (xerces.jar SAXNotSupportedException)

2009-08-18 Thread Mike
Hi Max, I used javax.xml.parsers.SAXParser. Mike On Aug 18, 8:50 am, Max max.seven@gmail.com wrote: I have read that I must add xerces.jar to project to add support for XML. I have project in Eclipse with Google Plugin that works fine without XML. I added xerces.jar to war/WEB-INF