Shuttle between Galaxies: 8/12/07 - 8/19/07

Thursday, August 16, 2007

hjpetstore project has been out

As approved by java.net administrator, hjpetstore has been out.

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