[google-appengine] Re: Testing GWT + GAE locally (not DevMode)

2013-04-30 Thread Brandon Donnelson
When deploying does the GWT module compile before it deploys? It should 
compile before it deploys. Another option to verify its compiling is delete 
the gwt project module and related from the war directory, thats compiled, 
before deploying. (Don't delete any static resources.) Is the compile 
comping the module getting deployed, or is there more than one module and 
one module is not getting compiled. There are a few other reasons that this 
happens, but maybe that hints at helping deployments. 

Brandon

On Tuesday, April 30, 2013 1:58:06 PM UTC-7, xybrek wrote:

 `DevMode` works just fine when testing a GWT + GAE application. However 
 the problem arises when we try to deploy our app in GAE cloud, and suddenly 
 we get:


 GWT module 'app' need to be recompiled

 After a long update/upload time. The issue now is how can we test locally 
 and be sure at least that we won't suddenly get this error. In a typical 
 GWT (non-GAE) its very easy to do, just deploy it to a local Tomcat of 
 JBoss AS server. 

 However we can't do this for a GAE app. So what are the options to achieve 
 this?

  - Where to deploy a GWT+GAE app to be able to see if the GWT needs to be 
 recompiled or what, before we even try to upload it.
  - Or are there any better way? `SuperDevMode` perhaps? 


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




Re: [google-appengine] Activate Cloud End Points?

2012-07-29 Thread Brandon Donnelson
Thanks Amy. I've already applied for the program. 

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/b4utfA98IRkJ.
To post to this group, send email to google-appengine@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] App Engine Cloud Endpoints enable CORS

2012-07-29 Thread Brandon Donnelson
Is there a way to tweak the response headers to enable CORS by adding to 
response: Access-Control-Allow-Origin: *?

Brandon

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/F3MF2HQMQ9oJ.
To post to this group, send email to google-appengine@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: App Engine Cloud Endpoints enable CORS

2012-07-29 Thread Brandon Donnelson
My question on stack 
overflow: 
http://stackoverflow.com/questions/11714647/how-to-enable-cors-with-could-endpoints

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/6EPAPK6uV7QJ.
To post to this group, send email to google-appengine@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] Activate Cloud End Points?

2012-07-28 Thread Brandon Donnelson
Could someone help with the Cloud End Points activation for 
democloudpoint.appspot.com?

I'd like to build a dart demp  example but realized I needed to be a 
trusted program tester at this point in time. 

https://groups.google.com/a/dartlang.org/d/topic/misc/E4iKniN-q8s/discussion

Brandon
http://c.dart-examples.com

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/xAF0dYaJPQEJ.
To post to this group, send email to google-appengine@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: New App Id gets 404 on deployment?

2012-07-03 Thread Brandon Donnelson
Nevermind. Eclipse had me logged into my work account. :)

Brandon

On Monday, July 2, 2012 11:14:18 PM UTC-7, Takashi Matsuo (Google) wrote:

 Hi Brandon,

 Can you see your application's dashboard at:
 https://appengine.google.com/dashboard?app_id=YOUR_APP_ID ?


 On Tue, Jul 3, 2012 at 2:29 PM, Brandon Donnelson branflake2...@gmail.com
  wrote:

 The install... 

 -- 
 You received this message because you are subscribed to the Google Groups 
 Google App Engine group.
 To view this discussion on the web visit 
 https://groups.google.com/d/msg/google-appengine/-/KJ48OKZVuj4J.

 To post to this group, send email to google-appengine@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.




 -- 
 Takashi Matsuo
  

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/iUXjV6r0cOEJ.
To post to this group, send email to google-appengine@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] Hook me up with SSL on a Custom Domain

2012-04-20 Thread Brandon Donnelson
Can a Google Guru hook me up with SSL on a custom domain?

Brandon Donnelson
http://c.gwt-examples.com

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/_oINcrzVDjsJ.
To post to this group, send email to google-appengine@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] Example of how to start a Java DeferredTask

2012-03-28 Thread Brandon Donnelson
I've created a couple examples of how I like to start my app engine tasks.

One of examples is how to start a much simpler DeferredTask.  
http://c.gwt-examples.com/home/app-engine/task

Brandon Donnelson
http://c.gwt-examples.com

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/OvkjpTHrKjwJ.
To post to this group, send email to google-appengine@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] Why can't I reply to Java discussions? Did I get banned? :)

2012-03-27 Thread Brandon Donnelson
To Moderators:

I can't seem to reply to the Java threads. Could you check to see if I got 
banned?

https://groups.google.com/forum/#!forum/google-appengine-java

Thanks,
Brandon Donnelson
http://c.gwt-examples.com

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/yMTKMsddstsJ.
To post to this group, send email to google-appengine@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] Desired feature in dashboard data viewer entity list, show full owned entity ids.

2012-01-02 Thread Brandon Donnelson

I'd like to see the possibility to show the entire full entity id. Or click 
on a checkbox for detailed view. [] all values| details

My imagined full detailed view of id would be like:
from: 
id=4126https://appengine.google.com/datastore/edit?app_id=s~studentlearningplanversion_id=86.355773341779415098key=ahVzfnN0dWRlbnRsZWFybmluZ3BsYW5yPwsSD0xlYXJuaW5nUGxhbkpkbxj48gEMCxIJQ291cnNlSmRvGO43DAsSEUNvdXJzZVByb2dyZXNzSmRvGJ4gDA
to: *Decoded entity key:* LearningPlanJdo: 
id=31096https://appengine.google.com/datastore/edit?app_id=s~studentlearningplanversion_id=86.355773341779415098key=ahVzfnN0dWRlbnRsZWFybmluZ3BsYW5yFwsSD0xlYXJuaW5nUGxhbkpkbxj48gEM
  CourseJdo: 
  id=7150https://appengine.google.com/datastore/edit?app_id=s~studentlearningplanversion_id=86.355773341779415098key=ahVzfnN0dWRlbnRsZWFybmluZ3BsYW5yJwsSD0xlYXJuaW5nUGxhbkpkbxj48gEMCxIJQ291cnNlSmRvGO43DA
  *CourseProgressJdo: 
  id=4126*https://appengine.google.com/datastore/edit?app_id=s~studentlearningplanversion_id=86.355773341779415098key=ahVzfnN0dWRlbnRsZWFybmluZ3BsYW5yPwsSD0xlYXJuaW5nUGxhbkpkbxj48gEMCxIJQ291cnNlSmRvGO43DAsSEUNvdXJzZVByb2dyZXNzSmRvGJ4gDA

I'm looking for a pattern and its slow to open up each entity details view.

Brandon Donnelson
http://c.gwt-examples.com

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/5_Y7fBuoq78J.
To post to this group, send email to google-appengine@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] What are folks using for Backup?

2011-12-07 Thread Brandon Donnelson
What are folks using for backups of datastore?

Brandon Donnelson
http://c.gwt-examples.com
http://gwt-examples.googlecode.com

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/aOu1lWWJ0pEJ.
To post to this group, send email to google-appengine@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: [appengine-java] GeoPt vs. two floats

2011-10-18 Thread Brandon Donnelson
Someone can do there own own GeoPoint Indexing using a hash for the 
geopoint. I've used the java lib below and it works good.

http://code.google.com/p/geomodel/ - python lib
http://code.google.com/p/javageomodel/ - java lib

http://code.google.com/apis/maps/articles/geospatial.html - another great 
article

Brandon Donnelson
http://gwt-examples.googlecode.com

-- 
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/-/Edf1asb5lpcJ.
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: Blobstore and upload question

2011-09-22 Thread Brandon Donnelson
I used a servlet to spit out an upload URL in plain text. If its unsecure,
you could just type a get request into the url and it should render a url in
a format that you could grab. It could be any content type you like. I used
a plain text (unsecure) servlet to render the url in plain text (for
example), and then I just grabbed it from the client.

Have a good day,
Brandon Donnelson
c.gawkat.com

The Donnelson Team
YourDTeam.com



On Thu, Sep 22, 2011 at 3:11 PM, GeorgeS sxoutt...@gmail.com wrote:

 I finally got back to the upload function and started trying to get it to
 work... I'm using VB.Net WebClient to try to talk to my upload server to get
 an upload URL and I keep getting a 'null' return. Do I need to make that
 call using XMLRPC or something similar? It works just fine from my native
 GAE Application using a file uploader control but I'd like to have the
 capability fitted in with my .Net application to make it easier on my
 clients.

 Thanks!

 --
 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/-/oSLtC3R3ez4J.

 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.


-- 
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] Documentation Suggestion: More JDO ancestor query on collection documentation

2011-09-19 Thread Brandon Donnelson
May I suggest adding more query on ancestors (collecitons, lists, 
vectors...) documentation. Please combine owned relationships with a section 
on how to query the owned relationships, elaborating on it more than what's 
currently stated. 

For example, if my HashSetString list has {I,went,there} how can I query 
that if it is an ancestor collection; needs more info in docs. Maybe I'm not 
seeing whats currently stated. In that case please tie it into the 
collections area. 

Thanks,
Brandon Donnelson
http://gwt-examples.googlecode.com

-- 
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/-/h55ZFfQYYrMJ.
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: Writing to google spreadsheet from GAE

2011-09-19 Thread Brandon Donnelson
The Java gdata works great as an api accessing the spreadsheet. If you only 
want access to your own spreadsheet you can hardcode your authentication, 
otherwise oauth is what you want.

Here is one of my examples doing 
it. http://code.google.com/p/gwt-examples/wiki/DemoGwtGData
Another great example by Ikai 
- 
http://ikaisays.com/2011/05/26/setting-up-an-oauth-provider-on-google-app-engine/

Once you have your oauth token, you an access the spreadsheet api easily on 
the server side.

public void test() {

String scope = https://spreadsheets.google.com/feeds/;;
AppTokenJdo appToken = AppTokenStore.getToken(scope);

String consumerKey = sp.getOAuthConsumerKey();
String consumerSecret = sp.getOAuthConsumerSecret();

String token = appToken.getAccessTokenKey();
String tokenSecret = appToken.getAccessTokenSecret();

GoogleOAuthParameters oauthParameters = new GoogleOAuthParameters();
oauthParameters.setOAuthConsumerKey(consumerKey);
oauthParameters.setOAuthConsumerSecret(consumerSecret);
oauthParameters.setOAuthToken(token);
oauthParameters.setOAuthTokenSecret(tokenSecret);

//log.info(Token  + token +  TokenSecret:  + tokenSecret +  
ConsumerKey:  + consumerKey +  ConsumerSecret:  + consumerSecret);

SpreadsheetService service = new 
SpreadsheetService(Gone_Vertical_LLC-CoreSystem_v1);
try {
  service.setOAuthCredentials(oauthParameters, new OAuthHmacSha1Signer());
} catch (OAuthException e) {
  e.printStackTrace();
}

URL url = null;
try {
  url = new 
URL(https://spreadsheets.google.com/feeds/spreadsheets/private/full;);
} catch (MalformedURLException e1) {
  e1.printStackTrace();
}
SpreadsheetFeed feed = null;
try {
  feed = service.getFeed(url, SpreadsheetFeed.class);
} catch (IOException e) {
  e.printStackTrace();
} catch (ServiceException e) {
  e.printStackTrace();
}
ListSpreadsheetEntry spreadsheets = feed.getEntries();
for (int i = 0; i  spreadsheets.size(); i++) {
  SpreadsheetEntry entry = spreadsheets.get(i);
  //System.out.println(\t + entry.getTitle().getPlainText());
}

  }


Brandon Donnelson
http://gwt-examples.googlecode.com

-- 
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/-/8MIfMW6nxEcJ.
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] Why now 1.5.3 SDK in eclipse repository yet?

2011-08-23 Thread Brandon Donnelson
Could you stick the 1.5.3. SDK in the eclipse repository 3.7.

Thanks,
Brandon Donnelson
http://gwt-examples.googlecode.com

-- 
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/-/vyB42yXkoIwJ.
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] Why now 1.5.3 SDK in eclipse repository yet?

2011-08-23 Thread Brandon Donnelson
Wahoo, good job.

On Aug 23, 2011 11:30 AM, David Chandler drfibona...@google.com wrote:

 We're working on it. The process is currently coupled with GPE releases
and there's one in progress. We're working to decouple these so SDKs can be
released independently.


 On Tue, Aug 23, 2011 at 12:18 PM, Brandon Donnelson 
branflake2...@gmail.com wrote:

 Could you stick the 1.5.3. SDK in the eclipse repository 3.7.

 Thanks,
 Brandon Donnelson
 http://gwt-examples.googlecode.com

 --
 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/-/vyB42yXkoIwJ.
 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.




 --
 David Chandler
 Developer Programs Engineer, GWT+GAE
 w: http://code.google.com/
 b: http://turbomanage.wordpress.com/
 b: http://googlewebtoolkit.blogspot.com/
 t: @googledevtools

 --
 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.

-- 
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: GWT will serialize java.util.Hashet and won't serialize org.datanucleus.sco.backed.HashSet from JDO. Why?

2011-08-23 Thread Brandon Donnelson
The workaround for GWT HashSet transport.

  // this wont work
  java.util.HashSetLong hs = jdoIds;

  // work around
  private HashSetLong getChildren() {
if (jdoIds == null || jdoIds.size() == 0) {
  return null;
}
java.util.HashSetLong r = new java.util.HashSetLong();
IteratorLong itr = jdoIds.iterator();
while (itr.hasNext()) {
  Long l = itr.next();
  if (l != null) {
r.add(l);
  }
}
return r;
  }


Brandon Donnelson
http://gwt-examples.googlecode.com

-- 
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/-/SlXJM72IP2cJ.
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: GWT will serialize java.util.Hashet and won't serialize org.datanucleus.sco.backed.HashSet from JDO. Why?

2011-08-23 Thread Brandon Donnelson
Wow, that worked, your my best friend :)

How I got it to work:

if (j != null) {
  classJdo detatched = pm.detachCopy(j);
  a.add(detatched.getData());
}


Thanks,
Brandon Donnelson
http://gwt-examples.google.com

-- 
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/-/WHNAPM0VlqYJ.
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: GWT will serialize java.util.Hashet and won't serialize org.datanucleus.sco.backed.HashSet from JDO. Why?

2011-08-23 Thread Brandon Donnelson
Heck, I'll just share the query method:

private SchoolPeopleData[] queryPeoples(SchoolPeopleDataFilter filter) {

String qfilter = null;

// filter a batch of ids
ListKey keysList = null;
if (filter.getUseIds() == true) {
  keysList = getFilterForIds(filter);
  if (keysList != null) {
qfilter = :keys.contains(key);
  }
  if (keysList == null || keysList.size() == 0) {
return null;
  }
}

ArrayListSchoolPeopleData a = new ArrayListSchoolPeopleData(); 
PersistenceManager pm = sp.getPersistenceManager();
try {
  Query q = pm.newQuery(select from  + SchoolPeopleJdo.class.getName());
  if (qfilter != null) {
q.setFilter(qfilter);
  }
  q.setRange(filter.getRangeStart(), filter.getRangeFinish());
  
  ListSchoolPeopleJdo ids = null;
  if (filter.getUseIds() == true  keysList != null) {
ids = (ListSchoolPeopleJdo) q.execute(keysList);

  } else {
ids = (ListSchoolPeopleJdo) q.execute();
  }
  
  IteratorSchoolPeopleJdo itr = ids.iterator();
  while (itr.hasNext()) {
SchoolPeopleJdo j = itr.next();
if (j != null) {
  SchoolPeopleJdo detatched = pm.detachCopy(j);
  a.add(detatched.getData());
}
  }
  q.closeAll();
} catch (Exception e) { 
  e.printStackTrace();
  log.log(Level.SEVERE, , e);
} finally {
  pm.close();
}
if (a.size() == 0) {
  return null;
}
SchoolPeopleData[] r = new SchoolPeopleData[a.size()];
a.toArray(r);

return r;
  }


Brandon Donnelson
http://gwt-examples.googlecode.com

-- 
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/-/nL8qXD3CHKwJ.
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: is it possible to use Java 7 on GAE ?

2011-08-23 Thread Brandon Donnelson
What would be the benefits of moving to Java 7 sooner than later?

-- 
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/-/qUqOlkgoVrQJ.
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: GWT will serialize java.util.Hashet and won't serialize org.datanucleus.sco.backed.HashSet from JDO. Why?

2011-08-23 Thread Brandon Donnelson
Ah, I thought they were both the same at first, so after you said that I 
tried pm.makeTransient(j); and it won't work for me. Thanks for the help. 

Brandon

-- 
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/-/-cOOHJDt4YUJ.
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: Blobstore and upload question

2011-07-28 Thread Brandon Donnelson
What I do with files is upload, then I redirect the new blobkey to a 
servlet, which then does the things I need it to. I've used the mapper lib, 
but if I'm going to be processing anything, I'll stick it in a task which 
gives up to 10 minutes per task I'll poll a from GWT client and see when the 
task is done. You can read the file line by line easily. It works great. I 
have some examples where I do it. I decode base 64 on the fly from blobstore 
and has been working great. 

Some of my blob 
notes: http://code.google.com/p/gwt-examples/wiki/DemoGAEMultiFileBlobUpload

Which way did you choose to go?

Brandon Donnelson
http://gwt-examples.googlecode.com


-- 
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/-/GMfXd1GxHo8J.
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: Blobstore: storing multiple blobs, retrieving blobkeys in doGet, form dissappears in appspot deployment

2011-07-27 Thread Brandon Donnelson
I'm not sure yet to where it is failing. Can you send the exception/trace 
too? First step I do is check the ./war/WEB-INF/appengine-generated and see 
if the file arrived from the upload, if its not there, the form url is not 
working should be something like _ah If you can get the blobkey url in 
the jsp, I suggest using a servlet to render the html you need and get rid 
of the jsp all together. At least thats what I do.

http://demofileuploadgae.appspot.com/ - demo and its source below (its in 
gwt, but the upload servlet is the same)
Here is my simple upload servlet on my wiki 
- 
http://code.google.com/p/gwt-examples/source/browse/trunk/DemoGAEMultiFileUpload/src/org/gonevertical/MultiFileUpload/server/blobs/Servlet_Upload.java

First concentrate on getting the URL correctly to the html upload form. Once 
you get this hitting submit will take care of the rest. You can confirm it 
worked by checking the directory I told you about above. I don't like using 
jsp, b/c its messy and problematic if you don't have the libs. I like to use 
a servlet to render my html. I recommend doing that to keep things simple. 

A note to after uploading exception, you can only, i mean *only* *redirect*, 
which means pass on the information you need in a post or get to a servlet 
that can deal with you next steps. If you get an error trying to render some 
HTML, its because you can only redirect. I'll pass on the blob key in the 
url to my servlet and do stuff with it.

I think your other items might fall into place after you get a successful 
upload. Let me know if you can reder your html in a servlet, and get the 
blob url correctly. Then confirm the file gets to the directory. Then you 
might want to iterate and see if you have it too.

Hope that helps,
Brandon Donnelson
http://gwt-examples.googecode.com



-- 
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/-/iLwPgRCTftYJ.
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: Blobstore: storing multiple blobs, retrieving blobkeys in doGet, form dissappears in appspot deployment

2011-07-26 Thread Brandon Donnelson
Can you post some of your source code. Its hard to diagnose via your 
comments above.

Here is some of my code I use to do 
it: http://code.google.com/p/gwt-examples/wiki/DemoGAEMultiFileBlobUpload

Brandon Donnelson
http://gwt-examples.googlecode.com

-- 
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/-/gVsUAoAPRvoJ.
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: Can I/Should I test my *ServiceImpl class? (RPC calls - GAE+GWT+MVP)

2011-07-26 Thread Brandon Donnelson
I just tried GWTTestCase with App Engine enabled in eclipse and didn't get 
it to work. But you can run the app in eclipse dev mode and use some logging 
to console and see if your rpc is working or you can tell because the data 
made it to the client. The eclipse dev hosting mode works pretty much like 
the production environment although there are a few minor differences.

Brandon Donnelson
http://gwt-examples.googlecode.com

-- 
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/-/Jatt2UKjRW0J.
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.



[google-appengine] Is there any Google+ backend API (OAuth) in the works for use with Apps?

2011-07-26 Thread Brandon Donnelson
I'm curious if there is any planned Google+ backend API + OAuth support 
coming? Particularly pertaining to a Google users circles. 

For instance, It would be nice to give a user in my app authorization to 
someone in one of my circles?

Brandon Donnelson
http://gwt-examples.googlecode.com

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/LASHN7UjbWcJ.
To post to this group, send email to google-appengine@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] Is there any Google+ backend API (OAuth) in the works for use with Apps?

2011-07-26 Thread Brandon Donnelson
Wow, thanks for the fast reply. I've signed up but, I couldn't resist 
asking. I'm excited to see what pops out into the wild in the future.

Brandon Donnelson
http://gwt-examples.googlecode.com
http://c.gawkat.com

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/0wcaLbPJp4UJ.
To post to this group, send email to google-appengine@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.



[appengine-java] Re: 1.5.2 SDK Prerelease

2011-07-23 Thread Brandon Donnelson
Suggestion: When you prerelease, could you stick that in the eclipse 
repository too, for ease of download?

Brandon Donnelson
http://gwt-examples.googlecode.com

-- 
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/-/5cCk5uJvnykJ.
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.



[google-appengine] Re: 1.5.2 SDK Prerelease

2011-07-23 Thread Brandon Donnelson
Suggestion: When you prerelease, could you stick that in the eclipse 
repository too, for ease of download?

Brandon Donnelson
http://gwt-examples.googlecode.com

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/5cCk5uJvnykJ.
To post to this group, send email to google-appengine@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: 1.5.2 is out!

2011-07-21 Thread Brandon Donnelson
Why is the eclipse repository always delayed about a day?

Brandon Donnelson
http://gwt-examples.googlecode.com

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/7FLaHDyVLdgJ.
To post to this group, send email to google-appengine@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.



[appengine-java] Re: FileServiceFactory.getFileService().getBlobKey(file) is Broken, blobkey parser returns null

2011-06-05 Thread Brandon Donnelson
My work around:

  try {
  writeChannel.closeFinally();
} catch (IllegalStateException e) {
  success = false;
  log.severe(close(): Error 6: writeChannel.closeFinally() error  + 
e.toString());
} catch (IOException e) {
  success = false;
  log.severe(close(): Error 7: writeChannel.closeFinally() error  + 
e.toString());
}

if (success == false) {
  log.severe(close(): Error 8: quitting...);
  return;
}

BlobKey blobKey = fileService.getBlobKey(file);

// try by finding filename
if (blobKey == null) {
  log.severe(close(): Blobkey was null. 1. trying workaround.);
  blobKey = tryfindingBlobKey();
}

// try waiting then check fileservice again
if (blobKey == null) {
  log.info(close(): 2. trying to get it from fileservice again.);
  try {
wait(2000);
  } catch (InterruptedException e) {
log.warning(close(): 3. couldn't wait 2 seconds.);
e.printStackTrace();
  }
  blobKey = fileService.getBlobKey(file);
}

// try finding the filename again
if (blobKey == null) {
  log.severe(close(): 4. Blobkey was null. trying workaround.);
  blobKey = tryfindingBlobKey();
}

// quit if haven't found it
if (blobKey == null) {
  success = false;
  log.severe(close(): 5. Workaround, Blobkey was null agian. Couldn't find 
the blobkey using the filename);
  return;
}
  }

  private BlobKey tryfindingBlobKey() {
log.info(tryfindingBlobKey(): filename= + filename);

String skey = null;
DatastoreService datastore = DatastoreServiceFactory.getDatastoreService();
try {
  Query q = new Query(__BlobInfo__);
  q.addFilter(filename, FilterOperator.EQUAL, filename);
  PreparedQuery e = datastore.prepare(q);
  IteratorEntity itr = e.asIterator();
  while (itr.hasNext()) {
Entity entity = itr.next();
Key k = entity.getKey(); 
// #GAE needs a k.getStringId(); // only has k.getId();
String sk = k.toString();
String sbk = sk.replaceFirst(.*?\, );
sbk = sbk.replaceFirst(\.*, );
skey = sbk;
  }
} catch (Exception e) {
  success = false;
  log.log(Level.SEVERE, decode(): ERROR: , e);
} 

BlobKey blobKey = null;
if (skey != null) {
  blobKey = new BlobKey(skey);
} else {
  log.warning(tryfindingBlobKey(): warn: wasn't able to parse the blobkey 
or find the file: skey= + skey);
}

return blobKey;
  }


Brandon Donnelson
http://gwt-examples.googlecode.com



-- 
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/-/eDBmbFdJX01TS2tK.
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: FileServiceFactory.getFileService().getBlobKey(file) is Broken, blobkey parser returns null

2011-06-05 Thread Brandon Donnelson
I needed to use Thread.sleep(2000); instead of wait(2000);

Brandon Donnelson
http://gwt-examples.googlecode.com

-- 
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/-/YjExZEdFbmVZM29K.
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: GWT Google Maps: Creating multiple markers leads to no error, but only one marker shows up; Exception with Clickhandler

2011-06-05 Thread Brandon Donnelson
Just to be sure, is this GWT?

-- 
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/-/cWlRQU0xVkFBdDRK.
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: [google-appengine] Suggestion: ACL Management API

2011-06-05 Thread Brandon Donnelson
I can see your point and agree on seeing the difficulty, nevertheless, every 
app has to deal with it and thought I'd suggest it due duplicative effort, 
there ought to be a practical methodology in ACL management with apps in the 
cloud, thus a handy api might be useful. I'm using Google auth with my own 
brew of ACL.

Thanks for your time,
Brandon Donnelson
http://gwt-examples.googlecode.com 

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/dUJnbTMwR21uU3dK.
To post to this group, send email to google-appengine@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.



[appengine-java] Re: newbie question: redirect users (GWT 2.3.0)

2011-06-04 Thread Brandon Donnelson
I use a servlet as my index.html page, so I can intercept the google login 
and process according. You can do all kinds of fun things before GWT loads 
here. 

!--  WEB-INF/web.xml --
  servlet-mapping
servlet-nameindex/servlet-name
url-pattern/index.html/url-pattern
  /servlet-mapping
  servlet
servlet-nameindex/servlet-name
servlet-classcom.gonevertical.server.servlet.Servlet_Index/servlet-class
  /servlet

  welcome-file-list
welcome-fileindex.html/welcome-file
  /welcome-file-list

Brandon Donnelson
http://gwt-examples.googlecode.com

-- 
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/-/QVBFYXBTSzhoQ3dK.
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.



[google-appengine] Suggestion: ACL Management API

2011-06-04 Thread Brandon Donnelson
I wanted to suggest adding an Access Level Management (authorizations) api 
to the services. I think its a higher level api and probably not needed at 
the current time, but I think it could be a nice helper api for newbie devs 
like me. I also think it could cut some time to app 
production deployment for one man band developers like me.

Any thoughts?

Brandon Donnelson
http://gwt-exampls.googlecode.com

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/V1ZCOWxKeEZlTzhK.
To post to this group, send email to google-appengine@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.



[appengine-java] Re: Why do I get - The datastore operation timed out, or the data was temporarily unavailable.

2011-06-01 Thread Brandon Donnelson
Good point. And to that, I'm now trying and getting better results with the 
code below. Deleting nevertheless just isn't as snappy as I thought. 


public void deleteTmpBlobAll_FromTask(long taskId) {
log.info(BlobTmpJdo.deleteTmpBlobAll(): deleting all the tmp blob records. 
taskId= + taskId);
doSomeExist(); // output the total to log
int i=0; 
do { // batch query, otherwise timeout happens
  log.info(deleteTmpBlobAll_FromTask() loop index i= + i);
  delteTmpBlobAll(1000);
  i++;
} while (doSomeExist());
new Db_Feed_TaskQue(sp).deleteTask(taskId);
  }

  public void delteTmpBlobAll(int limit) {
PersistenceManager pm = sp.getPersistenceManager();
try {
  javax.jdo.Query q = pm.newQuery(select id from  + 
BlobTmpJdo.class.getName());
  q.setRange(0, limit);
  ListString results = (ListString) q.execute();
  IteratorString itr = results.iterator();
  while(itr.hasNext()) {
String id = itr.next();
delete(id);
  }
} catch (Exception e) {
  log.severe(delteTmpBlobAll(): ERROR:  + e.toString());
  e.printStackTrace();
} finally {
  pm.close();
}
  }

  public boolean doSomeExist() {
int size = 0;
PersistenceManager pm = sp.getPersistenceManager();
try {
  javax.jdo.Query q = pm.newQuery(select id from  + 
BlobTmpJdo.class.getName());
  q.setRange(0, 10);
  ListString ids = (ListString) q.execute();  
  size = ids.size();
  q.closeAll();
} catch (Exception e) { 
  log.log(Level.SEVERE, , e);
} finally {
  pm.close();
}
log.info(BlobTmpJdo.getTotal() total= + size);
boolean b = false;
if (size  0) {
  b = true;
}
return b;
  }

  private void delete(String id) {
PersistenceManager pm = sp.getPersistenceManager();
Transaction tx = pm.currentTransaction();
try {
  tx.begin();
  BlobTmpJdo btj = pm.getObjectById(BlobTmpJdo.class, id);
  pm.deletePersistent(btj);
  tx.commit();
} finally {
  if (tx.isActive()) {
tx.rollback();
  }
  pm.close();
}

Brandon Donnelson
http://gwt-examples.googlecode.com

-- 
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/-/VDJ3ZHRMUDZXVE1K.
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: Why do I get - The datastore operation timed out, or the data was temporarily unavailable.

2011-06-01 Thread Brandon Donnelson
Thanks for the help :)

-- 
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/-/VmxBT3RvN2lLbWtK.
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: FileWriteChannel writeChannel throwing java.io.IOException?

2011-05-31 Thread Brandon Donnelson
I have found no workarounds for this limitation at the moment. I'm slicing 
up my images into tiles/squares which suites my strategy anyway. But it 
would be nice to figure out why the error shows up.

Brandon Donnelson
http://gwt-examples.googlecode.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-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: FileWriteChannel writeChannel throwing java.io.IOException?

2011-05-31 Thread Brandon Donnelson
I made an issue: 
 http://code.google.com/p/googleappengine/issues/detail?id=5131

Can GAE dev setup Blob write to datastore unit test, which would take up to 
10min writing 10MB+ of data in task. This should replicate the issue.

Brandon Donnelson
http://gwt-examples.googlecode.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-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: New GWT/App Engine site

2011-05-31 Thread Brandon Donnelson
Nice site!

Brandon Donnelson
http://gwt-examples.googlecode.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-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: FileWriteChannel writeChannel throwing java.io.IOException?

2011-05-30 Thread Brandon Donnelson
The error:


   1. E2011-05-27 07:41:59.139
   
   org.gonevertical.core.server.jdo.data.base64.WriteBase64 writeToBlob: 
writeToBlob(): Error 5: java.io.IOException
   
   2. E2011-05-27 07:41:59.149
   
   org.gonevertical.core.server.jdo.data.base64.WriteBase64 decode: 
   com.google.appengine.api.datastore.DatastoreTimeoutException: The datastore 
operation timed out, or the data was temporarily unavailable.
at 
com.google.appengine.api.datastore.DatastoreApiHelper.translateError(DatastoreApiHelper.java:46)
at 
com.google.appengine.api.datastore.DatastoreApiHelper$1.convertException(DatastoreApiHelper.java:98)
at 
com.google.appengine.api.utils.FutureWrapper.get(FutureWrapper.java:69)
at 
com.google.appengine.api.datastore.FutureHelper.getInternal(FutureHelper.java:71)
at 
com.google.appengine.api.datastore.FutureHelper.quietGet(FutureHelper.java:32)
at 
com.google.appengine.api.datastore.QueryResultsSourceImpl.loadMoreEntities(QueryResultsSourceImpl.java:69)
at 
com.google.appengine.api.datastore.QueryResultsSourceImpl.loadMoreEntities(QueryResultsSourceImpl.java:56)
at 
com.google.appengine.api.datastore.QueryResultIteratorImpl.ensureLoaded(QueryResultIteratorImpl.java:156)
at 
com.google.appengine.api.datastore.QueryResultIteratorImpl.hasNext(QueryResultIteratorImpl.java:65)
at 
org.gonevertical.core.server.jdo.data.base64.WriteBase64.decode(WriteBase64.java:219)
at 
org.gonevertical.core.server.jdo.data.base64.WriteBase64.decodeToBlob(WriteBase64.java:87)
at 
org.gonevertical.core.server.jdo.data.BlobTmpJdo.writeTmpBlob(BlobTmpJdo.java:335)
at 
org.gonevertical.core.server.jdo.data.BlobTmpJdo.writeTmpBlob(BlobTmpJdo.java:321)
at 
org.gonevertical.core.server.servlet.Servlet_Task.startWriteToBlob(Servlet_Task.java:106)
at 
org.gonevertical.core.server.servlet.Servlet_Task.doGet(Servlet_Task.java:92)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at 
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
at 
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1166)
at 
com.google.apphosting.utils.servlet.ParseBlobUploadFilter.doFilter(ParseBlobUploadFilter.java:97)
at 
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
at 
com.google.apphosting.runtime.jetty.SaveSessionFilter.doFilter(SaveSessionFilter.java:35)
at 
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
at 
com.google.apphosting.utils.servlet.TransactionCleanupFilter.doFilter(TransactionCleanupFilter.java:43)
at 
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
at 
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:388)
at 
org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
at 
org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
at 
org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418)
at 
com.google.apphosting.runtime.jetty.AppVersionHandlerMap.handle(AppVersionHandlerMap.java:238)
at 
org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
at org.mortbay.jetty.Server.handle(Server.java:326)
at 
org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
at 
org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:923)
at 
com.google.apphosting.runtime.jetty.RpcRequestParser.parseAvailable(RpcRequestParser.java:76)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
at 
com.google.apphosting.runtime.jetty.JettyServletEngineAdapter.serviceRequest(JettyServletEngineAdapter.java:135)
at 
com.google.apphosting.runtime.JavaRuntime.handleRequest(JavaRuntime.java:260)
at 
com.google.apphosting.base.RuntimePb$EvaluationRuntime$2.handleRequest(RuntimePb.java:9669)
at com.google.net.rpc.impl.RpcUtil.runRpcInApplication(RpcUtil.java:439)
at com.google.net.rpc.impl.Server$RpcTask.runInContext(Server.java:573)
at 
com.google.tracing.TraceContext$TraceContextRunnable$1.run(TraceContext.java:448)
at com.google.tracing.TraceContext.runInContext(TraceContext.java:688)
at 
com.google.tracing.TraceContext$AbstractTraceContextCallback.runInInheritedContextNoUnref(TraceContext.java:326)
at 
com.google.tracing.TraceContext$AbstractTraceContextCallback.runInInheritedContext(TraceContext.java:318)
at 
com.google.tracing.TraceContext$TraceContextRunnable.run(TraceContext.java:446)
at 

[appengine-java] Re: Deploying My Web Application in google App engine

2011-05-27 Thread Brandon Donnelson
I've considered duel deployments and I have tested it using JDO  for GAE and 
Tomcat/MySQL, although you have to use JDO entirely for the persistant 
engine. You'll have to use lowest common denominator in API for JDO and 
switch out the libraries and configuration to get the job done. when I used 
JDO on mysql, it seemed fun and seemed to have the new JDO features which 
were nice, but GAE doesn't support all JDO features. 

Brandon Donnelson
http://gwt-examples.googlecode.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-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: setter values becom null during AsyncCall

2011-05-27 Thread Brandon Donnelson
Is this JSP, GWT or something else?


-- 
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: Aw: Re: setter values becom null during AsyncCall

2011-05-27 Thread Brandon Donnelson
Sounds like it could be scope of the variable. Check to see if your setting 
the superclass var or subclass var. At least thats what I am thinking at the 
moment after looking at your code. I think some more code could help divine 
the solution easier. 

Brandon Donnelson
http://gwt-examples.googlecode.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-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: FileWriteChannel writeChannel throwing java.io.IOException?

2011-05-27 Thread Brandon Donnelson
oops HeapByteBuffer error is not an error but the object toString().

-- 
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] Aw: Re: Aw: Re: setter values becom null during AsyncCall

2011-05-27 Thread Brandon Donnelson
Good job.
On May 27, 2011 2:40 PM, meiaestro jmalbre...@gmx.de wrote:
 Ok, found it. Guess you gave me the right push - thanks:

 While my subclasses did extend the IsSerializable interface, the
superclass
 didn't. Never the less... funny effect ;-)

 --
 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.


-- 
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: JDO Query ordering issue

2011-05-26 Thread Brandon Donnelson
I was thinking of import com.google.appengine.api.datastore.Query;
http://code.google.com/appengine/docs/java/datastore/queries.html

I'm not sure that's going to help b/c of the restriction mentioned. The way 
I deal with it is use multiple query drill down and depending on size I'll 
send them into another tmp jdo class or into an array and keep drilling 
(querying) the data until I get what I want. I've found it doesn't add to 
much overhead. But I'm sure there are other ways too.

Brandon Donnelson
http://gwt-examples.googlecode.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-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.



[google-appengine] Re: Up loading jpg files to google docs area

2011-05-26 Thread Brandon Donnelson
You should have no problem storing any type of document in the datastore. If 
you want to upload to google docs, I would check out oauth authentication 
and for getting the docs there use one of the apis like Robert is referring 
to. 

I have some notes here that I think are relevant to what you might be doing.
http://code.google.com/p/gwt-examples/wiki/DemoGwtGData
http://code.google.com/p/gwt-examples/wiki/DemoGAEMultiFileBlobUpload#Upload_by_File

Brandon Donnelson
http://gwt-examples.googlecode.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-appengine@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: data structure size

2011-05-26 Thread Brandon Donnelson
Your correct so far the entity limit is 1M. I've heard talk into looking 
into moving limit but haven't seen anything yet.

http://code.google.com/appengine/docs/java/datastore/overview.html#Quotas_and_Limits

What I do when I hit the limit is shard the data into multiple entities, 
and/or I use the datastore. 

Brandon Donnelson
http://gwt-examples.googlecode.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-appengine@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: data structure size

2011-05-26 Thread Brandon Donnelson
Yes properties can = 1024 bytes.

-- 
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-appengine@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: data structure size

2011-05-26 Thread Brandon Donnelson
my bad, variables can be much larger, you'll have to worry about the memory 
limit then. My bad

-- 
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-appengine@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: data structure size

2011-05-26 Thread Brandon Donnelson
I guess the data structure size confused me. Usually that refers to stored 
data. Then you said variable, which JDO has.

Are you talking about class variables?

-- 
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-appengine@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.



[appengine-java] Re: JDO Query ordering issue

2011-05-25 Thread Brandon Donnelson
What restrictions are you referring? Have you tried the entity query class, 
the sort is a bit easier to set up.

  Query q = new Query(BlobTmpJdo);
  q.addFilter(key, FilterOperator.EQUAL, fbd.getKey());
  q.addSort(index);


Brandon Donnelson
http://gwt-examples.googlecode.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-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: Google App Engine + Java Applet

2011-05-25 Thread Brandon Donnelson
Try this: http://www.htmlcodetutorial.com/applets/_APPLET.html - stick the 
applet tag in a web page html source.

Brandon Donnelson
http://gwt-examples.googlecode.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-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: Strange behavior by App Engine Eclipse Plugin

2011-05-25 Thread Brandon Donnelson
Is this the location for revoking?
https://www.google.com/accounts/b/0/IssuedAuthSubTokens

Brandon Donnelson
http://gwt-examples.googlecode.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-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: Failed to upload app with Google App account SDK 1.5.1

2011-05-25 Thread Brandon Donnelson
Hmmm, I would think try revoking the oauth so it asks for your credentials 
again.

https://www.google.com/accounts/b/0/IssuedAuthSubTokens - I'm not sure if 
this is the place yet.

https://groups.google.com/d/msg/google-appengine-java/Hg2PgwC6_0g/RDtz9XlJ1isJ

Brandon Donnelson
http://gwt-examples.googlecode.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-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: Strange behavior by App Engine Eclipse Plugin

2011-05-25 Thread Brandon Donnelson
D'oh, I could have spotted that one, first one in my list. :)

Thanks for your time :).
Brandon

-- 
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: Google App Engine + Java Applet

2011-05-24 Thread Brandon Donnelson
Doesn't an applet run on the client side? Did you want it to run on the 
server side? If it does run on the client GAE won't care what you do. 

Brandon Donnelson
http://gwt-examples.googlecode.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-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: Strange behavior by App Engine Eclipse Plugin

2011-05-24 Thread Brandon Donnelson
In the Development Mode tab, when you see the link, right click on it, 
you'll get choices of which browser to run. You can set it back to default 
browser or choose another browser to run.

Brandon Donnelson
http;//gwt-examples.googlecode.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-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: HashMap within an Embedded Class

2011-05-24 Thread Brandon Donnelson
Here are the supported property 
types: 
http://code.google.com/appengine/docs/java/datastore/entities.html#Properties_and_Value_Types

You could make an entity that has a key and value properties. Then you could 
store your values into the entities like the hashmap. You would have to 
manage the sort with an incremented order value.

Brandon Donnelson
http://gwt-examples.googlecode.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-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: Connect Android Emulator to Google App Engine (GAE) local PC - domain works correctly.

2011-05-24 Thread Brandon Donnelson
Can you get your android phone on the 10.0.2.2 private network?

-- 
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: Connect Android Emulator to Google App Engine (GAE) local PC - domain works correctly.

2011-05-24 Thread Brandon Donnelson
I have some questions to help me and others that visit this thread. The 
servlet container for the GAE dev, I assume its running? And do you know if 
the servlet request is coming in from the android emulator when made? If 
your servlet is getting the request, can see if all the body and headers are 
like you want them? And if the request, how about the response, what does it 
look like?

Brandon Donnelson
http://gwt-examples.googlecode.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-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: Connect Android Emulator to Google App Engine (GAE) local PC - domain works correctly.

2011-05-24 Thread Brandon Donnelson
Yea, changing the url should work. I have to make url modifications 
depending on local and production. I would check to see if a Cookie is 
getting sent in the header.

Brandon

-- 
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] Java = Google app

2011-05-23 Thread Brandon Donnelson
I see nothing wrong with what you said. Its fun to see others perspectives.
That's what this group is all about. :)
On May 23, 2011 4:58 PM, Rusty Wright rwright.li...@gmail.com wrote:
 Sorry, my post was slightly tongue in cheek; sometimes I can't resist
 sticking a twig into a hornet's nest.


 On 2011-05-23 08:26, Ugorji wrote:
 +1 all the way to Jeff's comments.


 --
 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.


-- 
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: couple questions about consume REST services using jersey(works on prod however doesn't work on dev)

2011-05-22 Thread Brandon Donnelson
As to the inclusion of the libs in war/WEB-INF/lib, that is a yes. You may 
have to check jaxb dependencies to make sure all of them are whitelisted or 
the dependencies have to be included in the lib folder. 

Brandon Donnelson
http://gwt-examples.googlecode.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-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.



[google-appengine] Re: Query Blobstore by creation date?

2011-05-22 Thread Brandon Donnelson
Some of my 
notes: 
http://code.google.com/p/gwt-examples/wiki/DemoGAEMultiFileBlobUpload#Querying_WHERE
 
- I don't specifically mention the date, but you could add it to the filter.

Brandon Donnelson
http://gwt-examples.googlecode.com

 Entity[] entities = null;
try {
  DatastoreService datastore = 
DatastoreServiceFactory.getDatastoreService();
  Query q = new Query(__BlobInfo__);

  if (filter.getBlobKey() != null) { // - filter is my object I use to 
drill the blobkey
Key key = KeyFactory.createKey(__BlobInfo__, filter.getBlobKey());
q.addFilter(__key__, Query.FilterOperator.EQUAL, key);
  }

  PreparedQuery pq = datastore.prepare(q);
  ListEntity entList = 
pq.asList(FetchOptions.Builder.withLimit(limit).offset(offset));

  entities = new Entity[entList.size()];
  entList.toArray(entities);
  
} catch (Exception e) {
  e.printStackTrace();
} finally {
}

-- 
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-appengine@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: RE: [google-appengine] Re: how to avoid an IN query

2011-05-22 Thread Brandon Donnelson
I use the get all too (like Brandon W suggested) and filter them out as I 
loop through the collection. I like drilling down. Depending on the size, 
I'll buffer the entities into an array or tmp entity for retrieval. I think 
there are quite a few ways you could do it. 

Brandon Donnelson
http://gwt-examples.googlecode.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-appengine@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: How reliable is the writing files to the blobservice?

2011-05-22 Thread Brandon Donnelson
In my opinion, its pretty safe. I think experimental means the api is still 
in transition, so future releases, there for warning us that we may have to 
change the way we have coded it. Having said that, deprecation takes a 
while, which means plenty of time to adjust to the new apis.

Brandon Donnelson
http://gwt-examples.googlecode.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-appengine@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: Google removing posts that raised concerns on the new pricing model?

2011-05-21 Thread Brandon Donnelson
I haven't seen any get erased. 

Brandon Donnelson
http://gwt-examples.googlecode.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-appengine@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.



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

2011-05-20 Thread Brandon Donnelson
Check out http://www.json.org/ under java section towards bottom middle, 
there are classes that serialize java objects into json for outing. GWT has 
some libs that does it too.

Brandon Donnelson
http://gwt-examples.googlecode.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-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: Coding with Adobe Software

2011-05-20 Thread Brandon Donnelson
I would start with eclipse to code for GWT, android, and/or GAE, but there 
are other good IDE's you could use for Java development. Eclipse cost 
nothing and works great. I'd save up for the devices for testing. :)

Brandon Donnelson
http://gwt-examples.googlecode.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-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] GAE - Java - JSON?

2011-05-20 Thread Brandon Donnelson
I forgot I'm using GSON too, indirectly through another library that works 
with Google's geocoding API. It translates it very nicely into JAVA, which 
all gets done on GAE.

Brandon Donnelson
http://gwt-examples.googlecode.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-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.



[google-appengine] Re: Static Files: Here is a real Problem. Can I solve it with GAE?

2011-05-20 Thread Brandon Donnelson
Which direction do you plan to go?

Brandon Donnelson
http://gwt-examples.googlecode.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-appengine@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: RE: [google-appengine] Re: Static Files: Here is a real Problem. Can I solve it with GAE?

2011-05-20 Thread Brandon Donnelson
Do you know why they are leaning towards Azure?

Brandon

-- 
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-appengine@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: Doc File

2011-05-20 Thread Brandon Donnelson
I've used open office api's to do the job and they work good. They have a 
nice java lib. 

http://api.openoffice.org/

Brandon Donnelson
http://gwt-examples.googlecode.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-appengine@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: RE: [google-appengine] Static Files: Here is a real Problem. Can I solve it with GAE?

2011-05-20 Thread Brandon Donnelson
Want to use my botnet? ... just kidding :)

Brandon

-- 
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-appengine@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.



[appengine-java] Re: is setHeader(Connection, keep-alive) prohibited?

2011-05-19 Thread Brandon Donnelson
It has to do with limits that are set for the API your using. If you need 
longer transit times, I would use a task or something like the the Channel 
API. Or split up the traffic.

Brandon Donnelson
http://gwt-examples.googlecode.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-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.



[google-appengine] Re: GAE/J doesnot save records

2011-05-17 Thread Brandon Donnelson
Can you show the User (class/object)?

-- 
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-appengine@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: GAE and Google Maps License

2011-05-17 Thread Brandon Donnelson
I get two keys, one for my project.appspot.com and one for www.domain.tld 
which cnames to project, and I tell it to use key that is relavant for host 
and domain. 

This is what I do:

 private void setupMapKeys() {
mapKeys.put(127.0.0.1, ABQIoVxd5Qo5vFe3MnANAR_5IhQut5BYGs]);
mapKeys.put(abc.com, ABQIoVxd5Qo5vFe3MnANAR_5I);
mapKeys.put(gawkat.com, ABQIoVxd5Qo5vFe3MnANAR_5IhTp);
mapKeys.put(asdfsdfaps.com, ABQIoVxd5Qo5vFe3MnANAR_5IQ);
mapKeys.put(v3asdfasdf3.appspot.com, ABQIoVxd5Qo5vFe3MnANAR_5);
mapKeys.put(asdfasdf-hr.appspot.com, ABQIoVxd5Qo5vFe3MnAN);
  }

 public String getMapKey() {
String url = Window.Location.getHost();
if (url.contains(:)) {
  url = url.replaceAll(:.*, );
}
String s = mapKeys.get(url);
return s;
  }


Brandon Donnelson
http://gwt-examples.googlecode.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-appengine@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: NotSerializableException

2011-05-17 Thread Brandon Donnelson
Stephen is correct. You won't be able to use some classes since they don't 
know how to translate into javascript. What I do is setup a class for data 
transport, to go between GAE and GWT front end.

Brandon Donnelson
http://gwt-examples.googlecode.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-appengine@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.



[appengine-java] Re: how to transfer request to a different servlet ?

2011-05-15 Thread Brandon Donnelson
Do you mean: response.sendRedirect(url);

Brandon Donnelson
http://gwt-examples.googlecode.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-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: UserService.getCurrentUser() returning null sometimes

2011-05-15 Thread Brandon Donnelson
Dev or Production side? I've had this happen on the dev side at times. I 
haven't seen it recently in my app.

Brandon Donnelson
http://gwt-examples.googlecode.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-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: old tutorials still available?

2011-05-13 Thread Brandon Donnelson
Its under JDO:
http://code.google.com/appengine/docs/java/datastore/jdo/queries.html

Brandon Donnelson
http://gwt-examples.googlecode.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-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: old tutorials still available?

2011-05-13 Thread Brandon Donnelson
Yeah, I can see your point. I've begun to like the datastore query class 
better for queries, but for putting it into object form JDO query class 
seems to be easier. Although, the datastore query class seems a bit more 
flexible and easier to query with filters and sort. I think JDO's design is 
a bit more textual in the query and datastore query is more static 
constants, which is a bit easier for me to use. It would be nice if you 
could have a utility class to assemble the entity into the object/class like 
JDO when using the datastore query. 

Brandon Donnelson
http://gwt-examples.googlecode.com
http://c.gawkat.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-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: Google Web App Set Up Info

2011-05-13 Thread Brandon Donnelson
1. Are you able to startup eclipse. (java will need installed)
2. Once you install eclipse, what I do is get the update site for installed
   a. http://code.google.com/eclipse/docs/getting_started.html - 
http://dl.google.com/eclipse/plugin/3.6
   b. Goto Eclipse  Help  Install New Software  that update link
   c. Install the google stuff
3. Once Eclipse restarts
4. Check the top of eclipse for some shortcuts with g. Hit the blue g with 
down looking carrot, and add new web application.
 a. Or Eclipse  File  New  (g) Web application Project - This will 
setup a simple GWT project to work with
 b. For your first project this is what I do, Use 
tld.domain.myfirsttest.MyFirstTest for package path and Project name 
MyFirstTest. 
5. Once your done with that make sure you test it first, start it up with 
hitting debug with down carrot, and hit debug on the web app.
6. Once you the test works, place with the code in small chunks get the feel 
first.

Hope that helps,
Brandon Donnelson 
http://gwt-examples.googlecode.com
http://c.gawkat.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-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: overcome onetomany limitation of 5000

2011-05-13 Thread Brandon Donnelson
I would try another JDO class or Entity to store your friends instead of a 
list. I like to use unowned relationships my self.

Brandon Donnelson
http://gwt-examples.googlecode.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-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: Google Web App Set Up Info

2011-05-13 Thread Brandon Donnelson
I forgot, this is a good time to test deploying an app to GAE too. If you 
get a successful run of the example app, I deploy for testing the simplest 
working app.

bd

-- 
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.



[google-appengine] Re: App key And App secret

2011-05-13 Thread Brandon Donnelson
Are you talking about oauth? If so here you 
go: https://www.google.com/accounts/ManageDomains

http://code.google.com/p/gwt-examples/wiki/DemoGwtGData - oauth demo

Brandon Donnelson

-- 
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-appengine@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: Can't login to appengine

2011-05-13 Thread Brandon Donnelson
Try this? https://appengine.google.com/

Brandon Donnelson
http://gwt-examples.googlecode.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-appengine@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: Is App Engine suddenly becoming more expensive???

2011-05-12 Thread Brandon Donnelson
Robert I am agreeing with you. I realized I can easily rake in the operating
cost of the app through adsense on my apps. I also realize anywhere I move,
I'll have some overhead costs.

Brandon Donnelson

-- 
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-appengine@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: Is App Engine suddenly becoming more expensive???

2011-05-12 Thread Brandon Donnelson
I'm sorry, but what the FUD is going on in here :).

Brandon

-- 
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-appengine@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: Is App Engine suddenly becoming more expensive???

2011-05-12 Thread Brandon Donnelson
Fair to say, good point.
On May 12, 2011 9:37 AM, Nischal Shetty nischalshett...@gmail.com wrote:
 GAE now has Free and Enterprise plans. The free plan is useless for any
 serious app and the enterprise plan will rip single developers like me and
 everyone else who thinks they can sustain this through adsense and other
 means (unless you do not want to make anything for yourself).

 There should be a third plan in between the free and enterprise and that
 plan exists, it is the current paid plan that we are all making use of
where
 we pay for the CPU Hours. Increase the price for that if you want!

 I currently pay around $200-$300 per month to GAE. I can go a maximum of
2x
 increase in price (I would still cry a couple of nights and curse whoever
 thought of charging so much) but anything above that would simply make me
 move on to some other platform.

 I'm guessing there would be more like me. Enterprises will not spread the
 word about GAE, most if not all will not participate in your google group
 discussion to help others out, no one will tweet thank you GAE for making
 my life easier. We are not Enterprise!

 There are a lot of things that won't happen if GAE starts treating
 individual devs (or small teams of 2-3 devs) as ENTERPRISE!

 Bring out a third plan. Don't be Evil.

 On 12 May 2011 21:19, Brandon Donnelson branflake2...@gmail.com wrote:

 I'm sorry, but what the FUD is going on in here :).

 Brandon

 --
 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-appengine@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.




 --
 -Nischal
 +91-9920240474
 twitter: NischalShetty http://twitter.com/nischalshetty
 facebook: Nischal http://facebook.com/nischal

 http://www.justunfollow.com http://www.buffr.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-appengine@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-appengine@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: [appengine-java] Re: GAE+GDate+Dev mode+Proxy: can not access internet

2011-05-10 Thread Brandon Donnelson
Very good job.

Brandon Donnelson
http://gwt-examples.googlecode.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-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: JDO and HRD

2011-05-10 Thread Brandon Donnelson
Nothing has to be done with JDO to make the app HR. Although when you create 
an app in the dashboard you will have to select HR in the beginning. Once 
you have created a Master/Slave you will not be able to upgrade that app to 
HR. 

Brandon Donnelson
http://gwt-examples.googlecode.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-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: RE: [google-appengine] new pricing - existing apps

2011-05-10 Thread Brandon Donnelson
Good one :)

-- 
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-appengine@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: Is App Engine suddenly becoming more expensive???

2011-05-10 Thread Brandon Donnelson
I liked the pay as you go formula better too. I think it would have been a 
better choice to lower the thresholds on the quota limits before paying, or 
a better sales job in the price changes.

Brandon Donnelson
http://gwt-examples.googlecode.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-appengine@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.



[appengine-java] Re: 1MB URL Fetch limit

2011-05-09 Thread Brandon Donnelson
I haven't used this api yet, although, the java api is a wrapping up the 
parameters into a post to the docs service in xml. In this case, what I 
might do is sniff the http post out and get the config. Usually I can figure 
out the api's intentions and get it to work for me. In this case I can see 
some classes are restricted, and a sniff of the post, copy and configure it 
to your liking would do the job. You can stream the bytes ouf of the blob 
into a post request to the doc api.

Brandon
http://gwt-examples.googlecode.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-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: GAE+GDate+Dev mode+Proxy: can not access internet

2011-05-09 Thread Brandon Donnelson
How is Winxp proxy setup for you? Do you just setup proxy in each app, or do 
you have a OS global setting? I do know there is an OS global proxy setup, 
but I can't remember that at the moment.

Brandon

-- 
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.



  1   2   >