views:

26

answers:

1

I have web application that uses JasperReports for PDF report generation. I'd like to write a mobile version of my application, specifically iPhone development (iOS). Will this be possible?

+3  A: 

That won't be possible for several reasons:

  1. JasperReports needs Java, so it won't work on devices without Java e.g. iOS
  2. Even if the mobile device supports Java it will probably be the Micro Edition (ME) that doesn't provide all basic classes used by JasperReports, e.g. java.awt.* to handle Fonts.

A possible solution would be to host a webservice that accepts a template and turns that into a PDF that gets return as a result, so you can display that in your app.

Johannes Wachter
Yes I was afraid of this answer. My webpp does work on the iPhone via Safari, but I guess that really doens't quality it from being a mobile app...Thanks for the input.-C
Calvin Han
*sorry for the typos....:)
Calvin Han