I can't speak to the first question (although I suspect you can use
SSL), but as for your second question, you can reuse the Service
instance across multiple calls -> I use a Singleton pattern for our
connection layer.
Saqib Rasul wrote:
>Hi,
>
>I am a Hessian Newbie, so please excuse my newbie-ness :)
>
>1. I would like to know if Hessian can handle https URLs instead of HTTP
>and is there anything i have to do to enable this?
>
>2. Can hessian also handle Persistent Connections for more than 1 call
>to the same servlet? For example:
>
>Interface CalcService
>{
> int add(int a, int b)
> int sub(int a, int b)
>}
>
>Class Calc extends HessianServlet implements CalcService
>{
> ...
>}
>
>>From the client:
>
>ClacService s = factory.get();
>
>// start persistant connection here...
>s.add(1,3);
>// reuse the prev connection for this call
>s.sub(10,2);
>// close connection here
>
>Is it possible to do something like this?
>
>Regards,
>
>Saqib
>------------------------------------------------------------------------
>SAGA D.C. GmbH Phone : +49 (0) 6731-9428-0
>Berliner Strasse 73 Fax : +49 (0) 6731-9428-26
>D-55232 Alzey
>mailto:saqib.rasul@xxx.de http://www.sagadc.de
>
>
>
>
>
>
>
-- Regards, *Toby Hede* Senior Software Engineer * * *P:* 03 9934 0888 *F:* 03 9934 0899 *E:* toby.hede@xxx.biz <mailto:toby.hede@xxx.biz> *W:* www.webalive.biz <http://www.webalive.biz> WebAlive Technologies Level 1, Innovation Building Digital Harbour 1010 La Trobe Street Docklands Melbourne VIC 3008 This email (including all attachments) is intended solely for the named addressee. It is confidential and may contain legally privileged information. If you receive it in error, please let us know by reply email, delete it from your system and destroy any copies. This email is also subject to copyright. No part of it should be reproduced, adapted or transmitted without the written consent of the copyright owner. Emails may be interfered with, may contain computer viruses or other defects and may not be successfully replicated on other systems. We give no warranties in relation to these matters. If you have any doubts about the authenticity of an email purportedly sent by us, please contact us immediately.Received on Sun 06 Nov 2005 14:25:11 -0800
This archive was generated by hypermail 2.1.8 : Thu Sep 28 2006 - 20:16:41 PDT