You can take a look on 4 types of key on app engine and choose what you want: http://code.google.com/appengine/docs/java/datastore/creatinggettinganddeletingdata.html#Keys
On Sat, May 22, 2010 at 5:35 AM, aijazzz <[email protected]> wrote: > Hi, > I was looking to some examples to start my work on google appengine > application and found out that I have to use appengine related code in > source. For example, in a database example I found this, > import com.google.appengine.api.datastore.Key; > > I am wondering if there is a way I can keep my code clean so that I > can use same code in another environment? > Please suggest. Thanks. > > regards, > Ijaz > > -- > 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 > [email protected]. > To unsubscribe from this group, send email to > [email protected]<google-appengine-java%[email protected]> > . > 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 [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
