jnlp with jasper report

hi ia have one java Frame in which i enter the no.and according to number it ghenereate report from data base.using jasper reporti have one test.jar and one test.jrxml file for jasper reporthow can i start jasper report with jnlp
[250 byte] By [Sayonara_yoga] at [2007-11-27 9:23:49]
# 1

> hi ia have one java Frame in which i enter the no.and

> according to number it ghenereate report from data

> base.using jasper report

Either Jasper reports will need to be 'installed',

or it will need to have its classes on the application's

runtime classpath. The last one is probably the

better strategy, but the first is also possible, using

a (web start) installer (element).

Can you run this from the command line?

If so, what exact command do you use to run it?

> i have one test.jar and one test.jrxml file

How does the code load the .jrxml file?

A File("test.jrxml") approach would be a

problem for web start.

The best way is to put it also on the application's

classpath (probably by putting it in a Jar it and

adding the jar to the classpath), then use getResource()

to get an URL pointing to it.

>..for

> jasper report

>

> how can i start jasper report with jnlp

Then there is the question of whether the DB

and JNLP will be coming from the same server,

which means the code can be sandboxed, or

whether it requires code signing and extended

permissions.

What does the frame do with the report once it

is generated? Is it written to disk, or printed?

This question breaks down to many parts.

Message was edited by:

AndrewThompson64

AndrewThompson64a at 2007-7-12 22:19:16 > top of Java-index,Desktop,Deploying...