[Opensource] Swing client

Turgay Zengin turgay_zengin at hotmail.com
Thu Jul 4 14:12:12 PDT 2002


Hi Tsanko, thanks for clarifying some issues. About your ideas:

-communications: I made a test today and logged into Expresso from a 
standalone client, but I had problems with the Controller so I had to change 
LoginController's processLogin. But this was because that I did not 
send/receive ControllerRequest/ControllerResponse, but a HashMap containing 
name/value pairs. That's a good idea to pass 
ControllerRequest/ControllerResponse, then the Controllers will stay the 
same. But we'll need to keep Expresso class files on the client as well 
then...

-RMI: I did not use RMI before, so I don't know the pros/cons well. Jason 
Hunter's fine book "Java Servlet Programming" describes communication using 
RMI, HTTP, and non-HTTP sockets. (Source code can be downloaded from 
http://www.servlets.com - Chapter 10 is all about applet-servlet 
communication). I was considering using HTTP, but RMI is welcome if I can do 
it and it's worth.

-about bypassing Expresso security: can you please explain what you mean by 
this? I just logged into Expresso from client app today, and the 
LoginController places objects on the session to describe the CurrentLogin, 
so this should not be a problem, Expresso security should behave the same. 
Am I missing something here?
-protection of the information being passed: very important. I didn't need 
to consider this before, so have no idea how to do (https?)

Hi David,
Thank you very much for a good explanation of JaWS. I think JaWS is the way 
to go for client side applications.
Yes, I was considering HTTP communication. And for the servlet, as Tsanko 
said, ControllerRequest/Response can be passed between, so another servlet 
will not be necessary, the same Controllers can be called.
SOAP (e.g. Web Services) : I have really little idea about what they are - 
can you briefly describe benefits of using SOAP and Web Services for this 
job?



_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com




More information about the Opensource mailing list