|
-
Jun 30th, 2006, 09:53 PM
#1
Thread Starter
Addicted Member
Java with Report
I start learning Java Programming. I develop small java program that connect to database. Now I want to create a report for this application. for example, report of monthly stock out. I know we use Crystal Report in VB.NET. How about Java? Thanks.
-
Jul 1st, 2006, 06:19 AM
#2
"I'm not normally a praying man, but if you're up there, save me... Superman!" - Homer Simpson
My Blog
-
Jul 2nd, 2006, 09:20 PM
#3
New Member
Re: Java with Report
There have many reports tool in java,for example,stylereprot,jreport.If you want to use a free and open source report tool,I think ireport is a good choice.
-
Jul 2nd, 2006, 09:28 PM
#4
Thread Starter
Addicted Member
Re: Java with Report
Thank all. I have one more question. Can we use Crystal Report with Java? if yes, how?
-
Jul 2nd, 2006, 09:32 PM
#5
New Member
Re: Java with Report
 Originally Posted by ychhuong
Thank all. I have one more question. Can we use Crystal Report with Java? if yes, how?
yes,Of course.
I have generated a jsp report with crystal report
-
Jul 5th, 2006, 10:43 PM
#6
Thread Starter
Addicted Member
Re: Java with Report
Is there any sample of using Crystal Report with Java? I have tried JasperReport, but when I run it i alway got error. Here is my code.
VB Code:
try{
JasperReport jasperReport = JasperCompileManager.compileReport("HelloReportWorld.jrxml");
}
catch(JRException e){
e.printStackTrace();
}
Error Message:
VB Code:
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/digester/Digester
at net.sf.jasperreports.engine.JasperCompileManager.compileReport(JasperCompileManager.java:142)
at Factoriel.main(Factoriel.java:12)
-
Jul 6th, 2006, 12:46 AM
#7
New Member
Re: Java with Report
JasperReport is a free and open source report tool based on java.but it's only a java API and hasn't GUI designer just like crystal report,moreover,the tutorial of jasperreport isn't free.
But there have so many free jasperreport tutorials,just like below link
http://www.developerzone.biz/index.p...98ab874e2e6a10
If you need a free designer,download ireport.
As to the error,you only need copy all jar files under iib directory into classpath,the problem will be sovle.
There also have many good java reports tool,like jreport and stylereport
Last edited by jetbrains; Jul 6th, 2006 at 01:08 AM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|