If you luckly understand Chinese, Here is a serial document for this project.
Currently, JNDI DataSource couldn't worked for Jetty 6, but local DataSource done.
Below settings will always fail:
<bean id="dataSource"
class="org.springframework.jndi.JndiObjectFactoryBean">
<!-- for Jetty 6, the value is just a reference to the id in
jetty-evn.xml datasource.
see: http://docs.codehaus.org/display/JETTY/JNDI#JNDI-resref
But it didn't work by far.-->
<property name="jndiName" value="jdbc/hjpetstore"/>
See below screenshoots taken when running on different servers (see the footnote part: Running on ...)
First, my favorite, Jetty 6 (precisely 6.1.3)
Sun Application Server9.0 / GlassFish v1
Tomcat 5.5.17
2 comments:
Lukly we have google translate which can translate chinease to english. This is the link: http://www.google.com/translate_t?langpair=zh|en
Hope this help
abubakar,
Thanks for your comment.
Actually, if I have enough time, I can translate the serial articles manually.
Let me see whether I have the time to do this in the near future.
Post a Comment