An application accepts input from a user and invokes a function on a server. The client knows where the server resides and the client can be implemented on any platform. The client cannot continue processing until the server has returned. Application development productivity is more of a concern than end user application performance. The server code is implemented in C. What middleware solution BEST fits this situation?
B is the right answer here. The server code is written in C and the clients can be implemeneted on any platform. Clearly an RMI solution will not fly when talking to a server written in C. RMI requires java on both sides. Likewise EJB would like to talk to other java clients via RMI-IIOP, and will have trouble talking to the server. Servlets are interesting, but again, won't talk directly to a legacy server written in C. CORBA is a solution for integrating heterogeneous systems. dan'l
posted 19 years ago
Dan'l covered it very well. John
The only reason for time is so that everything doesn't happen all at once.
- Buckaroo Banzai
An interesting subtlety here is you could suggest that since the you're using IIOP as the underlying transport protocol, why shouldn't the client be able to talk the C code on the server? After all, isn't the point of moving from RMI-JRMP to RMI-IIOP to allow a pure java solution to talking with non-java code? Unfortunately, RMI-IIOP supports only a subset of IIOP and so doesn't necessarily provide whatever piece of IIOP that particular client needs to run as a distrubted service. A good link explaining this is at: http://www.javaworld.com/javaworld/jw-12-1999/jw-12-iiop_p.html Regards, Mark
[This message has been edited by Mark Donaghue (edited April 27, 2001).]
posted 19 years ago
You're right. In a two tier solution, I suppose it could. But the question asks for a middleware solution.
Hi This is an interesting post After reading this and the article mentioned in java world I have a question. What if the given question has Java IDL as one of it's options? Do u guys say saying CORBA or JAva IDL is the same as Java IDL is nothing but an ORB or do one has advantage over other(interms of client being a java etc)? Thanks
So there I was, trapped in the jungle. And at the last minute, I was saved by this tiny ad: