Take the 2-minute tour ×
Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. It's 100% free, no registration required.

Sorry, it is NOT duplicated question, just read it please,

I'm totally new to Java world, I'm a .NET developer, and I have a good exprience in ASP.NET.

Now I have a task to make a demo for JasperReport, I need QUICK start to Java and Java web application on Apache and then I will figure out how to use JasperReport.

Thank you very much people,

share|improve this question
1  
if you need to learn the basics of java, you can take this link Java –  Ant's Mar 30 '11 at 13:11

2 Answers 2

up vote 0 down vote accepted

As a PHP dev who tinkers with javascript when neccessary, I was tasked with producing an application using jasper reports, because "java is like javascript, right?". Thankfully, some kind folk have produced an open source utility (.jar) that run jasper reports from the shell/command line.

It's called "RunJasperReports" (). ttp://code.google.com/p/runjasperreports/I haven't looked at the latest release but the one I ended up using supports MySQL, PostgreSQL and a couple of other data sources, and shouldn't be too difficult to extend if you can find the right odbc drivers.

Once you have a template up and running (designed in iReport), you can use the language of your choice (assuming shell access) to produce reports by simply running the utility with parameters for the jrxml template path, desired format and database url.

share|improve this answer
    
thanks @supposedJavaGuru, it looks so helpful, I will try the utility ... I hope my lake of Java knowledge will not slow me down! –  magdy.roshdy Mar 31 '11 at 7:04

Both Tomcat (Apache's Java server) and JasperReports come with a wealth of examples. Tomcat also comes with decent documentation (I don't know about the JR documentation, not having used the product recently). And you've already been pointed to the Java tutorial to learn the basics about the language itself.

share|improve this answer
    
yes, but reading the documentation required lot of time, I need quick start stuff to just run the report, then I can dive in whatever I want later. thank you, –  magdy.roshdy Mar 31 '11 at 7:05

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.