xyz.com, a shipping company, is building an enterprise system to track the location of packages. One part of the tracking system is a network of wireless inventory devices. The devices can only be accessed using a custom, synchronous TCP/IP protocol. How should you encapsulate interaction with the wireless inventory system? A. With an EJB session bean that uses a JMS to interact with the inventory system. B. With a Java class that uses custom Java networking to interact with the inventory system. C. With a distributed CORBA object that uses IIOP to interact directly with the inventory system. D. With an EJB entity bean that uses container-managed persistence to encapsulate the inventory system.
Ans: C but Iam not ok with that. Guys please share your thoughts.
Do not rely for all the answers on these mock exams.
You should though as If you are developing this application.
I will do with B. As none of the other talks in terms of socket connection. And A / D are totally wrong. So, need to choose between B and C. C is also wrong because in question nothing is mention about the IIOP support at the device end. So, go with B.