• 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
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

Framework for reports

 
Greenhorn
Posts: 7
Netbeans IDE MySQL Database Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello
If I may, I'll cut to the chase.

I have installed the JDK 1.8.0 _161 with JRE 1.8.0 _161 Therefore, Java 8

I created a program and I need to print reports, but I found that Java does not seem to have this autonomy and depends on a framework to do it.
So far so good but, the most used framework does not speak to Java 8. Private little problem there between them, you know?

I did not expect this and I am not having good guidelines to resolve the issue so...

I want to avoid having to uninstall Java 8 and to install the JDK 7 worried about the integrity of the code already written so, I will be very grateful if they can help. Thank you very much.
 
Saloon Keeper
Posts: 13889
314
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Welcome to CodeRanch!

You first need to tell us what you mean by a report, and what framework you need to print such reports.
 
kamilano Milano
Greenhorn
Posts: 7
Netbeans IDE MySQL Database Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello Stephan,
Thank you for the answer! But come on ... I've developed a service order control system where I have 15 tables. administrator, customer, equipment, service order, user and others. I am using the Mysql platform with Workbench support and the IDE environment with NetBeans IDE 8.2. The version of my java is JDK 1.8 with JRE 1.8. I need to generate general CRUDS and management reports from the order of services issued, answered, unmet and others. I need to dispose of these reports on the console and on paper (OSs sent to customer service) and others. I've heard a lot about IREPORT but it does not communicate with Java8 and, sorry I'm a beginner in Java, I was surprised to know that Java depends on a Framework to generate reports. The friend knows of some other Framework, which interface [does it work with Java8?
And finally: Does Netbeans not have an interface for this purpose?
The indication of some topic in the Forum that addresses the subject will also be very welcome.
I THANK YOU FOR YOUR HELP.
 
Marshal
Posts: 27214
87
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It's true that printing things on paper isn't one of Java's best features. So if you really need to produce paper documents then yes, it would be better to use something already written rather than trying to do it yourself. Especially if you're a beginner.

However it's not correct to say that Java depends on a framework to generate reports.

Your second post had some useful information -- you mentioned iReport as an example. My brief web search told me that iReport has been unsupported for about three years now. The link I found also said

As of version 5.5.0, Jaspersoft Studio will be the official design client for JasperReports.



So you might want to have a look at that. I don't know what made you think that iReport wouldn't work with Java 8, but at any rate it appears that JasperReports is written in pure Java and so it will work with any version of Java at all, even those not published yet.

But don't take this as a recommendation for JasperReports, it's just a suggestion that you could look for something like that. I've hardly used Java for printing at all, the company I used to work for started to publish information on the web rather than on paper over ten years ago. There are still places for printed output, sure, but you could also consider publishing all of your outputs via the web and letting people print things from there as necessary.

 
kamilano Milano
Greenhorn
Posts: 7
Netbeans IDE MySQL Database Java
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello Paul
I really appreciate your feedback and I'll be researching as alias I already started doing it regarding JasperReports. As for the use of online transactions, I will also be researching. I thank those involved and I guarantee that I will be improving my participation in the site and in the community. I realized that people are involved and with the purpose of helping the participants. That's my recognition.
Thank you Paul and see you soon.
 
kamilano Milano
Greenhorn
Posts: 7
Netbeans IDE MySQL Database Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi, Paul Clapham
Today I had the experience of installing the iReport plugin in NetBeans and it started well in creating the report with the filter user and everything, however, at the time of the preview did not generate the .jasper. I'm thinking of taking the jdk java 1.8.0_161 that I have been using and installing jdk7. Can you offer me any suggestions for resolving the impasse? Be very happy to guide because I'm really a beginner and I'm kind of lost. Thanks in advance.
 
Paul Clapham
Marshal
Posts: 27214
87
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
From what I read in the other forum, it appears to be true that iReport doesn't work with Java 8. So installing Java 7 seems like it's a thing you should do. But at this point you have more experience with the product than I do, so don't expect me to be able to come up with anything more than general advice.
 
kamilano Milano
Greenhorn
Posts: 7
Netbeans IDE MySQL Database Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Okay, since I did not have any opinion, I will continue researching and when I make a decision I will post on the topic. I do not understand how anyone else has still been through this situation and I have expressed a position but ... Thank you very much Paul.
 
Paul Clapham
Marshal
Posts: 27214
87
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
My opinion, for what it's worth, is that you should avoid iReport. But that's only because support for it was discontinued several years ago; that I can say without any knowledge of comparable products. I wish you luck with your research.
 
kamilano Milano
Greenhorn
Posts: 7
Netbeans IDE MySQL Database Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Okay, Paul.
Thank you again. Your opinion for sure will be considered. see you later
 
Ew. You guys are ugly with a capital UG. Here, maybe this tiny ad can help:
free, earth-friendly heat - a kickstarter for putting coin in your pocket while saving the earth
https://coderanch.com/t/751654/free-earth-friendly-heat-kickstarter
reply
    Bookmark Topic Watch Topic
  • New Topic