The IT Certification Resource Center

Featured Deal

Get CompTIA, Cisco, and Microsoft training courses free for a week.
Learn More ❯

Question 18:

A Fortune 500 Company wishes to add new functionality to their existing sales system and has contracted you as the lead architect for the project. The legacy system has been written in C++. They wish to keep this system running and may switch over to a full Java solution later, depending on the performance of the new functionality. So how will connect to this legacy system?

 

Wrap the application using JNI and make it accessible using RMI.

Rewrite the C++ code in Java. This shouldn't be too hard because it's converting from one object-orientated language to another.

Use a screen scraper.

Use CORBA to talk to the C program then get the CORBA to talk to the RMI server.