Finally, I’ve got Tapestry 5.1 working in Google App Engine (GAE): http://tapestry-test.appspot.com/ (this is the Tapestry 5.1 integration test application)
It was some kind of a way…
The main problem was the Stax parser and the dependency to the Woodstox lib (see Tapestry in the Cloud and Tapestry 5.1 Woodstox).
First, I tried to use a standard Stax parser instead of Woodstox2. I tried this because we had some issues with running Tapestry in Appservers and having to add -Djavax.xml.stream.XMLInputFactory=com.ctc.wstx.stax.WstxInputFactory. This didn’t seem to work because Stax is kind of a mess and no implementation can hande DTDs.
The solution was to replace the Stax with a Sax parser. This was some work, but the parser works in is now in test at our company.
Then I decided to try to check GAE again and voila – it works. I’m happy.
Hi, can u publish the jpa/jdo integration with T5.1 ?
I haven’t tried out JPA/JDO with GAE. What I’ve read is that the support is quite minimal.
Excuse me, but what did you use to persist your objects in the data store ?!
Thanks in advance for your reply.
No, not really. I did some experiments and read some articles – but not more. There’s a good series of articles on developerWorks about persistence on GAE http://www.ibm.com/developerworks/views/java/libraryview.jsp?search_by=Google+App+Engine+Hightower
Hey Derkoe,
That is really exciting.
How did you actually do the replacing of the Stax with a Sax parser? Did you have to actually modify Tapestry, or could this be done in your app somehow through the IOC?
Thanks!
- Mike
Oh I missed your link to the ticket, looks like everything is in there. Yes no? Thanks so much!
Yes, actually all is described under:
http://wiki.github.com/derkoe/tapestry-sax-parser