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
showing work Ubuntu system or either opensuse

Please remember to read and follow all of the assignment guidelines. This assignment will expand upon the simulation algorithm given in class to produce a program which may be u

Extend the AirRaid game, so that the planes drop a bomb on the gun as they go over it. The gun has to move out of the way otherwise it will be destroyed if hit. Provide three lives

I have an assignment that requires from me to run multiple clients and one server ( Corba)

Why is this correct/when is this the right idea

Expertsmind brings you unique solution in java assignments Interfaces A program in the Java selection language is a fuzzy type that is used to specify a program (in the ge

Suppose you have a ?le orase of city and country names, like this: Cluj, Romania Debrecen, Hungary Klagenfurt, Austria Berlin, Germany Szeged, Hungary Budapest, Hungary Lintz, A

ADO. NET ADO.NET (ActiveX Information Things for .NET) is a set of programs elements that developers can use to accessibility data and data solutions. It is an element of the platf

Explain the applet Element ? Applets are embedded in web pages by using the and tags. The APPLET element is same to the IMG element. Like IMG APPLET references a source fil

Access Modifiers Convenience Modifiers or we can say (Access Specifies) identifies as the opportunity of accessibility of an Item and its associates. All C# kinds and kind associat