Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Using Java jar file

 
Muhammad Imad Qureshi
Ranch Hand
Posts: 238
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is it possible to use a java jar file for iPhone development. I have an app for android and I want to use my business classes in the iPhone app rather than rewriting those classes. I am just trying to estimate effort for iPhone development given the fact that I am a Java developer and it will take me a while to learn objective C to begin with.

Thanks
Imad
 
Gregg Bolinger
GenRocket Founder
Ranch Hand
Posts: 15302
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Short answer is no.

I've not run across anything that will allow Objective-C to talk to Java directly. There are some project efforts out there to allow cross compilation of one intermediate language to the binary language of each native platform but this has more to do with the logic that controls screen navigation, etc than it does with pure business logic.
 
Ulf Dittmer
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Gregg Bolinger wrote:I've not run across anything that will allow Objective-C to talk to Java directly.

For OS X, there's the Rococoa library (on dev.java.net), but it still requires a JVM.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic