Hi Eric,

I'm glad you enjoyed the blog, and that it helped.
I'm afraid I am not able to share the code for the stocks app, it's
not quite ready for 'prime time' yet and I'm not even sure I'll be
releasing it open source.

However, I would have no problem in providing a couple of 'annotated'
examples in the blog: soon as I have a few minutes (I have a 'backlog'
of things I want to publish about... but no time!) I will do so.

In any event, all that you need to get started is in the blog + the
JPA tutorial that I refer to + a good book on Spring/JPA (I have the
'In Action' series about Spring Framework (http://www.amazon.co.uk/gp/
product/1933988134?
ie=UTF8&tag=cotrti-21&linkCode=as2&camp=1634&creative=19450&creativeASIN=1933988134),
but a colleague has the Hibernate/JPA one (http://www.amazon.co.uk/gp/
product/1932394885?
ie=UTF8&tag=cotrti-21&linkCode=as2&camp=1634&creative=19450&creativeASIN=1932394885),
and he tells me it's a rather good one too).

I use TopLink Essentials (Oracle) and Hibernate, which are pretty much
the standard JPA implementations, and they both come with Spring (in
the 'lib' directory, I think) when you download the Framework.

Good luck (and please spread the word about the blog :-))),

Marco Massenzio.

Google is hiring!
See http://www.google.com/jobs and contact me directly if you think
you are good enough!

On Nov 12, 3:02 am, Marco Massenzio <[email protected]>
wrote:
> Hiya,
>
> you may want to check out my blog 
> entry:http://codetrips.blogspot.com/2009/05/gwt-spring-and-jpa-not-really-f...
> also remember to check out the comments there, as there are some
> useful pointers from Yaakov.
>
> I will also be posting a contribution from Yaakov soon as I'm back
> from the US.
>
> But the short answer is, trying to make GWT andJPAplay ball, it's
> gonna be a tough one!
>
> On Nov 8, 9:41 pm, Nik <[email protected]> wrote:
>
> > Hi,
>
> > I have serious trouble setting up my GWT Project.
> > I have to use Derby andJPA.
>
> > I installed the eclipselink plugin and tried the following:
>
> > Set up a new GWT Project (with GWT 1.7.1). Didn't touch anything there
> > yet.
> > Then converted it into aJPAProject. (Which added persistence.xml and
> > some Libraries)
> > Created a annotated class. And changed the standard
> > GreetingServiceImpl.java which is installed with the new web project
> > wizard. In it I get a EntityManagerFactory and create a Entity out of
> > it.
>
> > That's all i want to do for now.
>
> > My persistence.xml looks like that:
>
> > <?xml version="1.0" encoding="UTF-8"?>
> > <persistence version="1.0" xmlns="http://java.sun.com/xml/ns/
> > persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
> > xsi:schemaLocation="http://java.sun.com/xml/ns/persistencehttp://java.sun.com/xml/ns/pers...";>
> >         <persistence-unit name="TestProject">
> >                 
> > <provider>org.eclipse.persistence.jpa.PersistenceProvider</provider>
> >                 <class>myproject.TestClass</class>
> >                         <properties>
> >                         <property name="eclipselink.jdbc.driver"
> > value="org.apache.derby.jdbc.ClientDriver"/>
> >                         <property name="eclipselink.jdbc.url" 
> > value="jdbc:derby://localhost:
> > 1527/sample;create=true"/>
> >                         <property name="eclipselink.jdbc.user" value="app"/>
> >                         <property name="eclipselink.jdbc.password" 
> > value="app"/>
> >                         <property name="eclipselink.ddl-generation" 
> > value="create-tables"/>
> >                 </properties>
> >         </persistence-unit>
> > </persistence>
>
> > But when i try to run it, i get this Exception:
>
> > Caused by: org.datanucleus.exceptions.NucleusUserException: No
> > available StoreManager found for the datastore URL key "". Please make
> > sure you have all relevant plugins in the CLASSPATH (e.g datanucleus-
> > rdbms?, datanucleus-db4o?), and consider setting the persistence
> > property "datanucleus.storeManagerType" to the type of store you are
> > using e.g rdbms, db4o
>
> > I've been looking over the web for a solution the last 12 hours, but
> > just don't seem to find the right thing.
>
> > Can somebody help me?
>
> > Regards,
> > Nik
>
>

--

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