[appengine-java] simple request (change localhost for debug app engine server to my local ip)

2011-06-03 Thread Bourke Floyd IV
I want to change localhost to an ip. I know the flag is -a or -address for the dev_appserver.sh (Java) but I'm running the Android/AppEngine Task demo and the arguments passed into the debug config are for GWT not the previous shell script. Thus I get Unknown argument: -a Google Web Toolkit 2.4.0b

[appengine-java] Best option to scope transactions for fast RPC calls

2010-02-05 Thread Bourke Floyd IV
I'm working on a RPC like service and I was wondering if I picked the right method to implement my classes that I'll be persisting to the datastore. Also note that I allow users to create their own keys used to lookup their data. Currently I have a MerchantClass Entity that holds my merchants and

[appengine-java] Re: Why is it called "Google App Engine for Java" ?

2009-11-29 Thread Bourke Floyd IV
I'd say look before your leap. http://groups.google.com/group/google-appengine-java/web/will-it-play-in-app-engine?hl=en Your asking one company to change a product name due finding yourself mislead. Even if I agreed with your perspective I'd welcome you to Capitalism. On Nov 28, 10:53 am, Ravi Sh

[appengine-java] Re: InputStream read returning -1, but avalible btyes correct ?

2009-11-23 Thread Bourke Floyd IV
    response.getWriter().println("Got your post: " + new String(body)); > >     } > > } > > What mechanism are you using to POST to your application? Is it a browser > form or a custom client? > > On Sat, Nov 21, 2009 at 12:37 PM, Bourke Floyd IV wrote: > &g

[appengine-java] InputStream read returning -1, but avalible btyes correct ?

2009-11-21 Thread Bourke Floyd IV
//This was working before I overhauled the authentication of my app //I'm trying to store the body of a Http POST as Text, I also plan on doing a Blob version //The maxLength is returning the correct size, but the read is returning -1 instead of properly //updating the body byte array //... Input

[appengine-java] Re: Google HOSTED Account Auth Help! w/ Code

2009-10-30 Thread Bourke Floyd IV
8 am, Bourke Floyd IV wrote: > Code in reference > to:http://groups.google.com/group/google-appengine-java/browse_thread/th... > > I'm not getting back the ACSID Cookie. The comments in the Servlet > Code below explain everything. I hope this helps someone else getting > sta

[appengine-java] Google HOSTED Account Auth Help! w/ Code

2009-10-28 Thread Bourke Floyd IV
Code in reference to: http://groups.google.com/group/google-appengine-java/browse_thread/thread/47306a917b8e1628 I'm not getting back the ACSID Cookie. The comments in the Servlet Code below explain everything. I hope this helps someone else getting started because I had a ton of sifting to get t

[appengine-java] Re: I'm getting a already connected exception when I setRequestMethod("GET") on my HttpURLConnection

2009-10-28 Thread Bourke Floyd IV
tmili); > conn.setReadTimeout(timeoutmili); > rd = new BufferedReader(new InputStreamReader(conn.getInputStream())); > StringBuffer sb = new StringBuffer(); > String line; > while ((line = rd.readLine()) != null) { >     sb.append(line);} > > response = sb.toString(); > >

[appengine-java] Re: Authentication - So close.... getCurrentUser() still null

2009-10-26 Thread Bourke Floyd IV
); resp.sendRedirect(destUrl); On Oct 24, 6:35 pm, Bourke Floyd IV wrote: > This has been a pain from the beginning, but I'm so close I can smell > it! First, I tried sending normal Authentication header to my app, but > it was being striped off and not used. Then I found in documentation

[appengine-java] I'm getting a already connected exception when I setRequestMethod("GET") on my HttpURLConnection

2009-10-26 Thread Bourke Floyd IV
URL authUrl = new URL(url); connection = (HttpURLConnection) authUrl.openConnection(); connection.setRequestMethod("GET"); //<- already connected exception. The documentation indicates that I supposed to use openConnection, then set my params, then use connect. Inspecting the connection object i

[appengine-java] Authentication - So close.... getCurrentUser() still null

2009-10-24 Thread Bourke Floyd IV
This has been a pain from the beginning, but I'm so close I can smell it! First, I tried sending normal Authentication header to my app, but it was being striped off and not used. Then I found in documentation that I need to reference the Auth token I get from the ClientLogin for each of my servic

[appengine-java] Authentication Help - Best Practice/Performance

2009-10-19 Thread Bourke Floyd IV
I'm working on a app that requires the users to Authenticate with my HOSTED Google domain. I can get the Auth=... id back with the first response, but my users can't add the Authentication header to their follow up requests because of their API restrictions. So I'm going to need to allow them to s