Its not just BlobKey. Its also Key and every c
om.google.appengine.api.datastore.* type.

David C blogged his experience with this situation
http://turbomanage.wordpress.com/2009/10/15/gwt-gae-and-the-balm-of-gilead/

This is a comparison between the various technologies.
http://stackoverflow.com/questions/2394280/looking-for-opinions-on-using-objectify-appengine-instead-of-jdo-in-gae-j


On Mon, Dec 20, 2010 at 1:09 PM, Ahmed Shoeib <[email protected]
> wrote:

> the Error in using BlobKey that want to import com.google.appengine
>
> how can i solve it ?
>
> On Dec 20, 10:50 pm, "A. Stevko" <[email protected]> wrote:
> > The reason your class instances are not available outside of the app
> engine
> > jvm is that they have been altered/instrumented by the persistence
> manager.
> > See step 3 of this tutorialhttp://
> www.datanucleus.org/products/accessplatform_1_0/guides/jdo/tut...
> > <http://www.datanucleus.org/products/accessplatform_1_0/guides/jdo/tut..
> .>
> > There are several approaches to designing around this requirement.
> > For pure java - create Data Transfer Objects that match your persistent
> > classses. I do this because it provides fine control of the externally
> > visible model and not expose the entire internal model.
> > Another approach is to use Objectifyhttp://
> code.google.com/p/objectify-appengine/
> > Other people like Gileadhttp://sourceforge.net/projects/gilead/
> >
> > On Mon, Dec 20, 2010 at 12:29 AM, Ahmed Shoeib <
> >
> > [email protected]> wrote:
> > > now i want to use this bean class outside server package
> > > but i face problem during compilation with ( com.google.appengine )
> > > that can't be resolved.
> >
> > > @PersistenceCapable(identityType = IdentityType.APPLICATION,
> > > detachable = "true")
> > > public class HTNews {
> >
> > >        @PrimaryKey
> > >        @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
> > >        private Key id;
> > >        @Persistent
> > >        private String name;
> > >        @Persistent
> > >        private String linkUrl;
> > >        @Persistent
> > >        private BlobKey imageKey;
> > > .....
> >
> > > is there any way to do that ??
> > > please help .
> >
> > > --
> > > You received this message because you are subscribed to the Google
> Groups
> > > "Google Web Toolkit" group.
> > > To post to this group, send email to
> [email protected].
> > > To unsubscribe from this group, send email to
> > > [email protected]<google-web-toolkit%[email protected]>
> <google-web-toolkit%[email protected]<google-web-toolkit%[email protected]>
> >
> > > .
> > > For more options, visit this group at
> > >http://groups.google.com/group/google-web-toolkit?hl=en.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<google-web-toolkit%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>
>


-- 
-- A. Stevko
===========
"If everything seems under control, you're just not going fast enough." M.
Andretti

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" 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-web-toolkit?hl=en.

Reply via email to