Solved

What architecture to use?

Posted on 2002-03-12
8
136 Views
Last Modified: 2010-03-31
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?
0
Comment
Question by:s_lavie
8 Comments
 
LVL 7

Expert Comment

by:yoren
ID: 6858179
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 :)
0
 
LVL 2

Author Comment

by:s_lavie
ID: 6860004
yoren,
Is it possible to fire events from the server to the client with SOAP? If so, I couldn't understand how!
0
 
LVL 7

Expert Comment

by:yoren
ID: 6861176
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?
0
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
LVL 2

Author Comment

by:s_lavie
ID: 6863729
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
0
 
LVL 7

Accepted Solution

by:
yoren earned 100 total points
ID: 6863815
It's interesting, but the requests are still going from client to server and not vice versa. It's just that you're adding a cache layer on the client so that the actual SOAP request may not always be made.

If the problem you're trying to solve is a performance or bandwidth one, then that may work for you. If you need for the server to make a request to the client then it won't help you.
0
 
LVL 2

Author Comment

by:s_lavie
ID: 6876132
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!
0
 
LVL 9

Expert Comment

by:Venci75
ID: 7901886
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
0
 
LVL 5

Expert Comment

by:Netminder
ID: 7962649
Per recommendation, force-accepted.

Netminder
EE Admin
0

Featured Post

ScreenConnect 6.0 Free Trial

Explore all the enhancements in one game-changing release, ScreenConnect 6.0, based on partner feedback. New features include a redesigned UI, app configurations and chat acknowledgement to improve customer engagement!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
print map entry 34 69
jdbc error in jsp application 20 46
how to see all occupied ports on windows 10 laptop 15 65
hibernate example for saving data 19 43
Java Flight Recorder and Java Mission Control together create a complete tool chain to continuously collect low level and detailed runtime information enabling after-the-fact incident analysis. Java Flight Recorder is a profiling and event collectio…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
Video by: Michael
Viewers learn about how to reduce the potential repetitiveness of coding in main by developing methods to perform specific tasks for their program. Additionally, objects are introduced for the purpose of learning how to call methods in Java. Define …
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question