Announcement Announcement Module
No announcement yet.
sample program with httpinvoker ... Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • sample program with httpinvoker ...


    I am a newbie to spring. I am trying to put together a simple sample program using httpinvoker. I have spent a considerable amount of time with no success. I am using WinXP, Jdk1.5, Spring Framework 2.5.5.

    1) The "jpetstore" sample works for me on windows. It uses several remoting techniques supported by spring including "httpinvoker". So, it seems that this method does work.

    2) The doc "spring-reference" manual describes this technology with a sample app called "account Service". I have tried that meticulously with no success.

    3) The few sample programs found on these forums (e.g timeService) seem to have quite different config files. (the xml files web.xml, remoting-servlet.xml, applicationContext.xml).

    A simple working example would be great.


  • #2
    sample program with httpinvoker ... working sample ... timeService


    I managed to get the timeService sample that was posted here by user "karldmoore". I had to make a few minor modifications. (e.g DispatcherServlet is packaged in spring-webmvc.jar instead of spring.jar in spring 2.5.5). This system would'nt let me include a URL that refer's to "karldmoore"'s original posting. :-(

    I have attached a zip file that contains client and server stuff. It does not contain "jar files". Please follow instructions in the Readme.txt file.
    It does contain, the code, the associated config files (xml stuff) and a Readme.txt.

    My environment ...
    1) WinXP
    2) Apache-tomcat-5.5.23
    3) Jdk 1.6