Announcement Announcement Module
Collapse
No announcement yet.
How to judge httpinvoker service is really become effective? Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • How to judge httpinvoker service is really become effective?

    i have add a remote client for petclinic,for test this client,i add some jars to a folder,and add clientContext.xml to this folder, then add a bat file,content is:

    Code:
    echo on
    set classpath=%classpath%;aopalliance.jar;cglib-full-2.0.2.jar;commons-collections.jar;commons-dbcp.jar;commons-lang.jar;commons-pool.jar;dom4j.jar;ehcache1-.0.jar;hibernate2.jar;hsqldb.jar;jstl.jar;jta.jar;odmg.jar;standard.jar;spring.jar;petclinic.jar;swt.jar;jface.jar;jfacetext.jar;runtime.jar;commons-logging.jar;
    java org.springframework.samples.petclinic.client.Bt
    echo off
    it works well.

    but if i remove hibernate.jar, it can't work, be a remote use,hibernate should work at server side, why client must need hibernate.jar to work, does this means my httpinvoker code not work??

    what i think:all persistence operation should occur at server side,should't operate database directly in client.

  • #2
    Hi,

    You need the Hibernate jar to deserialize Hibernate Collections.

    Check the documentation about remoting: http://www.springframework.org/docs/...g.html#d0e9289.

    Comment

    Working...
    X