Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
GAE - Direct Java Access
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  5 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Baz  
View profile  
 More options Jun 24, 7:46 am
From: Baz <thinkl...@gmail.com>
Date: Wed, 24 Jun 2009 04:46:06 -0700
Local: Wed, Jun 24 2009 7:46 am
Subject: GAE - Direct Java Access

I want to run some tests using the native Java objects for GAE. I am not a
Java expert but I have done this before using other Java libs. Could someone
tell me how to create the primary object for datastore access - basically
completing this command: createObject('Java',
'Path.To.Datastore.Object').init()

Thanks,
Baz


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Vince Bonfanti  
View profile  
 More options Jun 24, 8:13 am
From: Vince Bonfanti <vbonfa...@gmail.com>
Date: Wed, 24 Jun 2009 08:13:32 -0400
Local: Wed, Jun 24 2009 8:13 am
Subject: Re: [OpenBD] GAE - Direct Java Access

I'm not sure what you mean by the "primary object for datastore access." Do
you want to use the GAE low-level datastore API?

http://code.google.com/appengine/docs/java/javadoc/com/google/appengi...

Using this API from CFML might be tedious; it might be easier to write a JSP
page, then you can code in Java directly.

The first thing you need to do is create a DatastoreService using the
DatastoreServiceFactory. All of your interaction with the datastore is
through the DatastoreService methods. You'll then need to create Query, Key,
or Entity instances to read/write to the datastore.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Baz  
View profile  
 More options Jun 24, 8:31 am
From: Baz <thinkl...@gmail.com>
Date: Wed, 24 Jun 2009 05:31:54 -0700
Local: Wed, Jun 24 2009 8:31 am
Subject: Re: [OpenBD] Re: GAE - Direct Java Access

Yes the DatastoreServiceFactory. I just can't seem to get the full path to
put in CreateObject.

Baz


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Vince Bonfanti  
View profile  
 More options Jun 24, 8:37 am
From: Vince Bonfanti <vbonfa...@gmail.com>
Date: Wed, 24 Jun 2009 08:37:38 -0400
Local: Wed, Jun 24 2009 8:37 am
Subject: Re: [OpenBD] Re: GAE - Direct Java Access

This doesn't work?

<cfset ds = createObject(
"java","com.google.appengine.api.datastore.DatastoreServiceFactory").getDat astoreService()>
<cfdump var="#ds#">


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Baz  
View profile  
 More options Jun 24, 8:44 am
From: Baz <thinkl...@gmail.com>
Date: Wed, 24 Jun 2009 05:44:26 -0700
Local: Wed, Jun 24 2009 8:44 am
Subject: Re: [OpenBD] Re: GAE - Direct Java Access

Yes it does, thank you.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google