Java Programming Question and Answers

17. What is Event Service in CORBA?
 
  • The event service package provides a facility that de-couples the communication between objects.
  • It provides a supplier consumer communication model that allows multiple supplier objects to send data asynchronously to multiple consumer objects through an event channel.
 
Your Name Your Email-ID
Your Answer
18. What is Callback Mechanism in CORBA?
 
  • In a client/server paradigm, generally, the server is always a service provider and the client is the service requester.
  • But, depending upon the situation, the server may take the position of a client, and the client can become a server. This is called a Callback mechanism.
 
Your Name Your Email-ID
Your Answer
19. What is the main difference between RMI and CORBA?
 
  • RMI mechanism allows the optimization of protocols for communication between Java classes.
  • This optimization, however, comes at the cost of being limited to a single-language environment. In particular, server applications often raise legacy problems.
  • The main advantage of CORBA's approach over RMI's is that CORBA supports multiple programming languages. Although, Java is a more friendly language, in commercial software development, there will always be legacy applications implemented in other languages0.
  • Java applications can access these legacy applications, if they are wrapped in CORBA object, using the most appropriate language binding. CORBA gives additional support for distributed applications by providing CORBA services.
  • RMI is an interesting approach for small and medium-sized applications completely implemented in Java.
  • On the other hand, CORBA IDL's separation of interface definitions from implementations and mappings to many programming languages, in combination with CORBA services, provide better support for large-scale application.
 
Your Name Your Email-ID
Your Answer
20. Draw the class hierarchy in CORBA application?
 
 
Your Name Your Email-ID
Your Answer
12345678 Page 5 of 8