The article expllains how to reuse C code in Java and the convention differences between the languages and how to overcome them in order to port a C application to java.
The article talks in detail on how to port an existing C/C++ application to Java and also deals with the program design process and conversion of header files to packages, dealing pointers in Java and also with other issues like enumeration and global variables.
With the growing popularity of the Java programming language for both client and server side applications in network-centric computing, there is a rising need for programming libraries that can be easily integrated into Java programs. In a previous paper, we surveyed current strategies for integrating C source code into Java programs, pointed out their weaknesses and presented goals for an im-
proved migration approach. In this paper, we present the Ephedra approach to software migration and report on the results of three case studies transliterating C source code to Java using the Ephedra environment.