Results 1 to 4 of 4

Thread: client - server applications where clients are desktop applications...

  1. #1

    Default client - server applications where clients are desktop applications...

    Hi all,
    i have some questions i would like you take me a hand with:

    Can i use a RMI, Hessian/Burlap or HTTP exposed beans, (with Spring transaction mannage, ect...) like my middleware in a client-server application where the clients are desktop applications?

    Tecnologies like RMI, Hessian/Burlap or Spring HTTPInvoker support multithread (thread save)? I mean a bean exposed through these tecnologies can be accesed by several clients at the same time? Is this a good approach to desing an application?

    RMI, Hessian/Burlap or Spring HTTPInvoker need to run an application server?
    Can i use Spring HTTPInvoker in combination with Acegi?

  2. #2
    Join Date
    Aug 2004
    Location
    San Francisco
    Posts
    423

    Default

    maykell,

    I'm using the HttpInvoker solution to expose my service methods to swing clients very successfully. The same services are also used locally by a web application serving HTML as output. I don't have experience with the other technologies. To answer your specifics.

    The HttpInvoker solution runs on top of the servlet model so, yes, multiple clients can access the code at the same time. However, I've only ever used stateless services. I don't know if there is any support for stateful services using this technique. The new scopes in Spring 2.0 maybe useful there.

    As the solution depends on the servlet model you can deploy in a servlet container, such as Jetty or Tomcat, you don't need an application server.

    Finally, about Acegi. The short answer is yes, HttpInvoker can be used with acegi. Acegi supplies an extension of the standard request executor that adds authentication.

    hope that helps,
    Jonny

  3. #3
    Join Date
    Sep 2006
    Location
    UK
    Posts
    8,424

    Default

    I'd agree with Jonny. Last big project used HttpInvoker and Acegi. Worked very nicely. That was tomcat based.

  4. #4

    Default

    Thank you very much, this is one of the few forum that allways answer the questions and allways the answer is of a great help.

    Thank you.

Posting Permissions

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