add JNDI resource reference in  web.xml
calculate order's subtotal when create order via API