Results 1 to 2 of 2

Thread: How to judge httpinvoker service is really become effective?

  1. #1
    Join Date
    Nov 2004
    Posts
    16

    Default 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. #2
    Join Date
    Aug 2004
    Location
    Montreal - Canada
    Posts
    46

    Default

    Hi,

    You need the Hibernate jar to deserialize Hibernate Collections.

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

Similar Threads

  1. Replies: 1
    Last Post: Sep 8th, 2005, 09:24 AM
  2. Replies: 2
    Last Post: Aug 2nd, 2005, 08:34 AM
  3. Replies: 9
    Last Post: Feb 8th, 2005, 09:25 PM
  4. Creating a proper service layer?
    By infectedrhythms in forum Architecture
    Replies: 5
    Last Post: Jan 5th, 2005, 06:32 PM
  5. Replies: 1
    Last Post: Nov 23rd, 2004, 08:55 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •