• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Using Java jar file

 
Ranch Hand
Posts: 238
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 15304
6
Mac OS X IntelliJ IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
reply
    Bookmark Topic Watch Topic
  • New Topic