Well, for those like me who hit this, just a few things I have
learned:

a) Writing an application with GWT and App Engine support is trickier
than app engine by itself with some html front end (which I had
working). You have to really keep track of the new folders created.
b) I was hoping I could mix JPA objects between GWT and App Engine,
and put my JPA enabled files into "shared" folder. This was a key
problem took me a bit to understand, refering to the gwt xml file
which looks there for dependencies by default.
c) When one does this, and does understand that GWT expects things in
shared to be consumed by GWT, more care is required. GWT could not
resolve the libraries as it appears to use a different build library
path than the app engine server code.
d) I have (for now) recreated my GWT and App Engine project, and put
my JPA related files in the server path (I know, Duh, well, ah well, I
was in a hurry, you know the speel...)
e) Whew, i'm working again, but with brain dead GWT UI... work on that
tomorrow morning.

The project now runs the the default GWT support, and my JPA objects
are ready to be used in the project. I have to read a few more
articles on how to transfer objects between the app engine proper and
GWT (so far is seems complicated), and I was hoping to use my JPAs as
POJOs even in GWT, but well, that I'm not clear on yet. This should
help a searcher who hit my problem, and save several hours scratching
their head, looking at web pages, and messing with the eclipse build
path settings.

Perry

On Jun 7, 5:01 pm, Perry Dykes <pdy...@gmail.com> wrote:
> Use Eclipse (Version: 3.5.2.R35x_v20100210-0800-9hEiFzmFst-
> TiEn9hNYgDWg1XN8ulH_JvCNGB), develop within it, have 1.3.4 app engine
> sdk, using JPA.
>
> I have recently upgraded to app engine 1.3.4. Since upgrade, the
> "Validating newly complied units" in Development Mode window in
> Eclipse gives me new errors. That window is reporting errors (normal
> eclipse view does not show errors).
>
> My com.google.appengine.api.datastore.Blob is not found according to
> the error, and all Blob References fails. Also, I created an EMF like
> static class, and also the javax.persistence.EntityManagerFactory, and
> they also can't be found now (this application actually worked a while
> ago).
>
> I have checked the project build path, and libraries in the GWT SDK
> (using GWT), App Engine and JRE 6 jar are included. I tried to
> explicitly include the jpa and geronimo jars where these exist, but no
> luck with that approach.
>
> Anybody hit something like this?
>
> Perry

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

Reply via email to