Link to home
Start Free TrialLog in
Avatar of s_lavie
s_lavie

asked on

What architecture to use?

I need to write a client-server application over http.
I know of the 'Java Web Services Developer Pack', but I quiet not sure whether it is stable enough.
What I'm looking for is something like RMI, but as I mentioned it needs to run over http.
Is the answer is SOAP?
Can anyone suggest any stable architecture?
Avatar of yoren
yoren

If you want stability, SOAP is your best bet. Apache's got a good SOAP implementation. See http://xml.apache.org/soap/ .

As for the developer pack, I would as a rule of thumb stay away from anything called "Early Access 1" if you're concerned about stability :)
Avatar of s_lavie

ASKER

yoren,
Is it possible to fire events from the server to the client with SOAP? If so, I couldn't understand how!
By definition, the server is the one that accepts the events. So, if you want your server to send events/requests to the client, your client needs to be a server too.

I can think of two ways for you to do this:

1. Run an HTTP server on the client and make both sides SOAP clients and servers.

or

2. Have the client periodically send requests to the server of the form "do you want me to execute anything?".

Is this what you wanted?
Avatar of s_lavie

ASKER

Not actually, but I think I've found what I'm looking for!Maybe you'll find it intersting too:
http://www.javaworld.com/javaworld/jw-03-2002/jw-0308-soap.html
ASKER CERTIFIED SOLUTION
Avatar of yoren
yoren

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of s_lavie

ASKER

yoren,
It might be a little bit out of the scope of my question, but I'll appreciate your cooperation:
I'm trying to summarize RMI vs. SOAP:
Security, Firewall port, Installation.
I would be glad to have your input in few words.
Thanks!
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:
Answered by: yoren
Please leave any comments here within the next seven days.
 
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
 
Venci75
EE Cleanup Volunteer
Per recommendation, force-accepted.

Netminder
EE Admin