Thursday, September 16, 2010

Wednesday, September 15, 2010

How to develop on IPhone, iPad, ... in Java...

Do you need to develop application for the iPhone, iPad, ... and
you do not want to program in ObjectiveC but in Java ?

How can you do ? Go ahead and check: Java for iPhone

Keep the maximum portability of the code using Java and reduce the dependency to the specific platform by keeping
the specific target platform (Java API specific to a target platform) in specific package.
Some dependency remains to the platform as API but can be reduced and packaged in order
to reuse and maintain the code in a multi-platform way.

There are many cross-compiler available (Cobol to Java (from LegacyJ), C to java, ...) that permit to develop in one language or integrate several languages to target Java platform.

How let an API and libraries that are platform proprietary (language based (Cobol libraries, ...) or OS/Hardware (Win32, iPhone, ...) available to other platform (Java, ...) ? Writing a wrapper of the API and libraries permit to let access it in another language or rewriting the libraries to the new target platform (e.g.: Java) may allow to get portability of the compiled code to different targets.