Simple corba program, Programming Languages

You are working in charge of a group of programmers at a software company. Your task is to assess and research CORBA and to produce a report to be given to the programmers detailing your technical recommendations regarding how and when CORBA should be used.  As part of this, you will need to develop the CORBA programs below.  You will not need to demonstrate the programs, but you will still need to develop them in order to gain the experience based on which you will write your report.

1. Follow the instructions on the attached "Getting Started with CORBA" sheet to compile and run a simple CORBA program.

2. Modify the program you have been provided with to create a system that works as follows:

a. The server stores a single numeric value (called the "counter"), which starts at 0.

b. The server offers two methods: "add" and "get". 

c. The "add" method takes an integer and adds it to the counter.

d. The "get" method returns the current value of the counter.

e. The client should give the user the option of adding a value (of their choice) to the counter, or getting the value of the counter and having it printed on the screen.

You should test this program by running it with several clients connected to the server at once.  As you work, make a log of the work that you do on this program (including failed attempts); it will be useful for writing your report.

3. Modify your code so that if an attempt is made to add a number that would take the counter higher than 20, an error is returned to the client via a CORBA exception.  You will need to investigate for yourself the method by which exceptions are dealt with in CORBA.

4. CORBA offers a method by which "persistent data", such as the counter in the program above, can be stored so that it is maintained even if the server object detaches from the ORB. Investigate this method and find out how to use it.  You do not need to implement it in your program but doing so may help your understanding.

Posted Date: 2/21/2013 5:53:29 AM | Location : United States







Related Discussions:- Simple corba program, Assignment Help, Ask Question on Simple corba program, Get Answer, Expert's Help, Simple corba program Discussions

Write discussion on Simple corba program
Your posts are moderated
Related Questions
Let the player (denoted U in the diagram below) navigate around the board until she wins the game by finding the exit or is killed by a monster. A player begins the game with a sli

Problem Specification I/O programming is the \bread and butter", the raison d'etre, of microcontrollers. After all, our definition of a microcontroller is \a microprocessor wit

1. Write a program that reads a minimum of three command line arguments and displays the program's results. a. Command Line arguments:  i. The first argument will be the program

Calculate the total price to purchase all the components required to build a state-of-the-art gaming computer from components available on the internet. Before attempting this exer

How to read datasets in multiple text files in an non interactive program?

what is the code to copy code on 1 jsp page to others

Introduction A search engine (like Google) has three main components: a crawler that finds and stores copies of files on the web, an indexer that creates a data structure that

Explain the Goto Statement - Computer Programming? The goto statement is employed to alter the normal sequence of program execution by transferring control to some other part o

Create a Money data structure that is made up of amount and currency.  (a) Write a constructor for this data structure   (b)  Create accessors for this data structure (c)

What is an abstract class:   Abstract class is stated as an abstract concept that cannot be instantiated or comparing to interface this can have some implementation and interface c