Thanks all. This was quick :)

On Sat, May 22, 2010 at 8:46 AM, Vaclav Bartacek <
[email protected]> wrote:

> As for the datastore - you can create abstract DAO layer which hides
> the actual implementation. Try AuDAO tool (http://audao.spoledge.com)
> to generate an abstract DAO layer + implementation for GAE, MySQL or
> Oracle DBs.
> However, if you want to optimize the code and also due to several
> restrictions on GAE's datastore (queries, transactions and keys), even
> the abstract DAO layer will differ for GAE and e.g. MySQL
> implementations (e.g. in GAE it can be more efficient to use multi-
> value fields = Lists than to decompose the entity (table) into more
> entities (tables)).
>
> Vaclav
>
>
> On May 22, 12: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 athttp://
> 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]<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.

Reply via email to