Peter Backlund has an
excellent post on running Spring on Google App Engine. He lists the issues, with references. The first one, the one with the javax.naming.NamingException, is the first one you run into using annotation driven configuration. One workaround is not to use JPA. However, if you still want it you can always disable the black sheep, doing this in your applicationContext.xml:
<bean id="org.springframework.context.annotation.
internalPersistenceAnnotationProcessor" class="java.lang.Object" />
This disables the bean that wanted the NamingException. I have only verified that bean configuration and autowiring works as expected, transactions are the next step.
No comments:
Post a Comment