|
View:
New views
4 Messages
—
Rating Filter:
Alert me
|
|
|
Why use SOAP in JavaHi,
I am wondering why use SOAP with Java? Since SOAP is based on RPC, I think the best question may be asked, why use RPC for client-server application? Thanks __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com |
|
|
Re: Why use SOAP in JavaAm Wed, 9 Apr 2008 07:21:29 -0700 (PDT)
schrieb Sam Wun <samwun2@...>: > I am wondering why use SOAP with Java? > Since SOAP is based on RPC, I think the best question may be asked, > why use RPC for client-server application? Well... let's put it another way: Why not use SOAP and/or RPC for client-server applications? Isn't RMI per definition also sort of RPC if you keep it "straight" Java? Good thing about doing RPC in a SOAP-like way is that you virtually can create a client-server system without requiring any of the both parts to be implemented in Java, as it is easy to, say, call server-sided Java "procedures" from a system implemented in Python, .NET, Perl or whatever could come to your mind... Cheers, Kristian -- Kristian Rink * http://zimmer428.net * http://flickr.com/photos/z428/ jab: kawazu@... * icq: 48874445 * fon: ++49 176 2447 2771 "One dreaming alone, it will be only a dream; many dreaming together is the beginning of a new reality." (Hundertwasser) --------------------------------------------------------------------- To start a new topic, e-mail: users@... To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
|
|
Re: Why use SOAP in JavaI wonder if the real question here is not more like: what advantage
does one gain in using RPC rather than some other method? I must admit that I sometimes ask myself that question. I must also admit that this whole thread is too general to be topical on the Tomcat list. -- Mark H. Wood, Lead System Programmer mwood@... Typically when a software vendor says that a product is "intuitive" he means the exact opposite. |
|
|
Re: Why use SOAP in Java----- Original Message ----- From: "Sam Wun" <samwun2@...> To: <users@...> Sent: Wednesday, April 09, 2008 4:21 PM Subject: Why use SOAP in Java > Hi, > > I am wondering why use SOAP with Java? > Since SOAP is based on RPC, I think the best question may be asked, why > use RPC for client-server application? Web Browser ---(HTTP) --- Tomcat Servlet/JSP Java/C/VB/.Net Application -----(Soap) ---- Tomcat Server (Axis) Java Application ------- (RMI) ------- Application Server (Beans) Browser Served Applications -----(HTTP)------ Tomcat Harbor (Applications) Its all related - protocols ontop of protocols, ie SOAP is an XML format ontop of HTTP And there is a lot of overlap, a programmer may decide to use a HTTP client and call (POST or GET) for a simple value from a Tomcat, whereas SOAP would translate parameters for you. Probably the most general technology out there is browser against web server, but sometimes the others are more useful... for example a remote .Net programmer wants to call a function (web service) (soap) that you have written in java on (axis) tomcat (in theory anyway). But you need to study all these technologies because there is no perfect solution. Soap is quite slow, Ejb is hard to learn and servers are all different, but well supported, Harbor is made by a crazy guy that loves Tomcat and doesnt want to use anything else;) If you can use a servlet (Tomcat) against a browser.... always a good solution that one wants to move away from reluctantly... my feeling anyway. Have fun... > Thanks > --------------------------------------------------------------------------- HARBOR: http://coolharbor.100free.com/index.htm The most powerful application server on earth. The only real POJO Application Server. Making the Java dream come true. --------------------------------------------------------------------------- --------------------------------------------------------------------- To start a new topic, e-mail: users@... To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
| Free embeddable forum powered by Nabble | Forum Help |