InterviewSolution
This section includes InterviewSolutions, each offering curated multiple-choice questions to sharpen your knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
How Are Jasperreports And Ireports Created? |
|
Answer» Jasper Reports are created MANUALLY USING jrxml FILE and COMPILING it. On the other hand iReport gives ONE the more user-friendly environment for developing reports. Jasper Reports are created manually using jrxml file and compiling it. On the other hand iReport gives one the more user-friendly environment for developing reports. |
|
| 2. |
What Is The Difference Between Ireport And Jasperreport? |
|
Answer» BASICALLY iReport is the REPORT DESIGNER and JasperReport is the REPORTING engine. Basically iReport is the report designer and JasperReport is the reporting engine. |
|
| 3. |
What Are The Restrictions For Using Command Line For Changing The Version Of Java Used By Ireport? |
|
Answer» User must ensure that the COMMAND LINE does not have any hash at the BEGINNING of the line after it is updated. Because in such CASE it would no more be command line but would become comment only. User must ensure that the command line does not have any hash at the beginning of the line after it is updated. Because in such case it would no more be command line but would become comment only. |
|
| 4. |
What Is The Command Line For Changing The Version Of Java Used By The Ireport? |
|
Answer» The command line for CHANGING the VERSION of Java used by the IREPORT is jdkhome=”C:PROGRAM FilesJavajdk1.7″ The command line for changing the version of Java used by the iReport is jdkhome=”C:Program FilesJavajdk1.7″ |
|
| 5. |
How To Change The Version Of Java Used By The Ireport? |
|
Answer» To change the version of Java USED by iReport, the following setting has to be added or UPDATED. <irepor-install-directory>/fonf/ireportpro.conf or <ireport-install-directory>/ireport/etc/ireportpro.conf. The use of the command line WOULD DEPEND on the installation MADE. To change the version of Java used by iReport, the following setting has to be added or updated. <irepor-install-directory>/fonf/ireportpro.conf or <ireport-install-directory>/ireport/etc/ireportpro.conf. The use of the command line would depend on the installation made. |
|
| 6. |
What Is The Command Line For Setting Jdkhome Specifically For Ireport? |
|
Answer» When the jdkhome is SET specifically for the IREPORT, opening a command line and going to the bin DIRECTORY within the listed directories in the setting for executing the command JAVA-VERSION would help identifying the java version. When the jdkhome is set specifically for the iReport, opening a command line and going to the bin directory within the listed directories in the setting for executing the command java-version would help identifying the java version. |
|
| 7. |
What Are The Steps For Identifying The Default Java Version Used For Generating Ireport? |
|
Answer» When iReport designer is using the default Java installation for the environment, opening a COMMAND LINE and executing the FOLLOWING command WOULD help – java-version. When iReport designer is using the default Java installation for the environment, opening a command line and executing the following command would help – java-version. |
|
| 8. |
How To Determine The Version Of Java Used By Ireport Designers In An Environment? |
|
Answer» In order to DETERMINE the SPECIFIC version of Java used by the INSTALLATION of IREPORT designer, the SETTING in thecon/ireporpro.con or in the ireport/etc/ireportpro.con should be used. In order to determine the specific version of Java used by the installation of iReport designer, the setting in thecon/ireporpro.con or in the ireport/etc/ireportpro.con should be used. |
|
| 9. |
What Files Are Required By Ireport For Configuration? |
|
Answer» XML FILES are REQUIRED for CONFIGURATION of IREPORT. XML files are required for configuration of iReport. |
|
| 10. |
What Are The System Requirements For Ireport? |
|
Answer» Some of the system requirements for the IREPORT are Sun JDK 1.4 or greater, ANT, JasperReports 0.4.6, Sax 2.0 XML Parser, a host of Jakarta COMMONS components and Acrobat READER Some of the system requirements for the iReport are Sun JDK 1.4 or greater, Ant, JasperReports 0.4.6, Sax 2.0 XML Parser, a host of Jakarta commons components and Acrobat Reader |
|
| 11. |
What Is The Link Where Information About Ireport Would Be Available? |
|
Answer» It is the IREPORT home PAGE where user can GET all INFORMATION about the APPLICATION and its uses. It is the iReport home page where user can get all information about the application and its uses. |
|
| 12. |
Are There Any Facilities For Having Backup In Ireport? |
|
Answer» YES. The user can backup data and INFORMATION with IREPORT. Yes. The user can backup data and information with iReport. |
|
| 13. |
What Are The Databases And Data Source That Is Supported By Ireport? |
|
Answer» iReport SUPPORTS all JDBC compliant DATABASES and also all KINDS of JRData Source. It also supports sub reports as WELL as templates. iReport supports all JDBC compliant databases and also all kinds of JRData Source. It also supports sub reports as well as templates. |
|
| 14. |
Has The Ireport Any Integrated Features? |
|
Answer» Integrated COMPILER and exporter are the integrated FEATURES in iReport. The other ONE is the document STRUCTURE browser. Integrated compiler and exporter are the integrated features in iReport. The other one is the document structure browser. |
|
| 15. |
What Languages And Codes Are Supported By Ireport? |
|
Answer» IREPORT SUPPORTS UNICODE and MUCH non Latin language (Russian, Chinese, Korean). It also supports different fonts. iReport supports Unicode and much non Latin language (Russian, Chinese, Korean). It also supports different fonts. |
|
| 16. |
What Are Two Main Features Of Ireport? |
|
Answer» Two MAIN features of IREPORT are it supports 98% of JASPERREPORT tags and it has an built in editor with syntax highlighting for WRITE expression. Two main features of iReport are it supports 98% of JasperReport tags and it has an built in editor with syntax highlighting for write expression. |
|
| 17. |
What Are The Main Features Of Jasperreport? |
|
Answer» JasperReports is the BEST OPEN source reporting ENGINE that is available for Java COMMUNITY. JasperReports is the best open source reporting engine that is available for Java community. |
|
| 18. |
What Is Basically Ireport? |
|
Answer» BASICALLY is a VISUAL DESIGNER for the JASPERREPORTS. Basically is a visual designer for the JasperReports. |
|
| 19. |
What If The User Cannot Find Java.exe Or (null)jrebinjava.exe Nor (null) Binjava.exe While Trying To Generate Ireport? |
|
Answer» It is not NECESSARY installing JasperReport in the SYSTEM. INSTEAD searching the system and setting the java.exe and SET it to JAVA_HOMW would take care of the problem. It is not necessary installing JasperReport in the system. Instead searching the system and setting the java.exe and set it to JAVA_HOMW would take care of the problem. |
|
| 20. |
Is It Good Using Packages For Ireport Documentation? |
|
Answer» If at all; only quality documentation PACKAGE should be USED and the iReport should not have any CIRCULAR references that would create unnecessary problems. If at all; only quality documentation package should be used and the iReport should not have any circular references that would create unnecessary problems. |
|
| 21. |
What Is The Process Of Documentation Of Ireport In Java? |
|
Answer» The documentation of IREPORT should be CARRIED out by the USER and not with some readymade packages that are MOSTLY not fruitful for the PURPOSE. The documentation of iReport should be carried out by the user and not with some readymade packages that are mostly not fruitful for the purpose. |
|
| 22. |
Is It Necessary Installing Additional Files After Installing The Standard Version Of Ireport? |
|
Answer» SETTING up the JAVA_HOME ENVIRONMENTAL VARIABLE with PATH as C:\Program Files\jasperserver-pro-3.7\java\jre can address the PROBLEM. Setting up the JAVA_HOME environmental variable with path as C:\Program Files\jasperserver-pro-3.7\java\jre can address the problem. |
|
| 23. |
Is It Possible Using Multiple Parameters For The Query In Ireport? |
|
Answer» YES it is possible using a set of controls in Java. The USER has full CONTROL on what he or she passes and what he or she RECEIVED in Java. Yes it is possible using a set of controls in Java. The user has full control on what he or she passes and what he or she received in Java. |
|
| 24. |
Is There Any Way To Know How The Report Looks? |
|
Answer» There is a PDF EXPORT that WOULD show exactly how the report LOOKS. There is a PDF export that would show exactly how the report looks. |
|
| 25. |
What Are Other User Defined Functions Used In Ireport? |
|
Answer» Other user DEFINED functions in iReport are $P{REPORT SCRIPTLET}.userDefinedfun($F{FIELD}). These functions give FLUIDITY to Java from the Jasper to Java code. Other user defined functions in iReport are $P{REPORT SCRIPTLET}.userDefinedfun($F{field}). These functions give fluidity to Java from the Jasper to Java code. |
|
| 26. |
What Is The Process Of Using User Defined Function In Ireport? |
|
Answer» <P>The user DEFINED function is used with the $ P{REPORT SCRIPTLET}.userDefinedFun(). This function RETURNS values from the scriptlet. The user defined function is used with the $ P{REPORT SCRIPTLET}.userDefinedFun(). This function returns values from the scriptlet. |
|
| 27. |
What Is The Parameter For Using User Defined Function In Ireport? |
|
Answer» <P>The parameter in iReport for using the user defined function is $P{REPORT SCRIPTLET} which is a predefined parameter for the user. The parameter in iReport for using the user defined function is $P{REPORT SCRIPTLET} which is a predefined parameter for the user. |
|
| 28. |
What Is The Specific Necessity Of The Class Containing User Defined Function? |
|
Answer» The CLASS containing the USER defined functions NEEDS to be extended by the JRDefaultScriptlet. The class containing the user defined functions needs to be extended by the JRDefaultScriptlet. |
|
| 29. |
What Is Jar? |
|
Answer» In IREPORT JAR is MADE on BUILDING the project containing the SCRIPTLET. In iReport JAR is made on building the project containing the Scriptlet. |
|
| 30. |
How To Run User Defined Functions In Ireport? |
|
Answer» A few simple steps help to run the user defined FUNCTIONS. The first STEP is to go to Tools-options- claspath tab –ADD JAR- choose Jar file. In iReport the Scriptlet node in Report Inspector chooses the property named ‘Scriplet CLASS’. Keying in the location of the user defined function would help. A few simple steps help to run the user defined functions. The first step is to go to Tools-options- claspath tab –ADD Jar- choose Jar file. In iReport the Scriptlet node in Report Inspector chooses the property named ‘Scriplet Class’. Keying in the location of the user defined function would help. |
|
| 31. |
What Is Achieved By Scriptlets? |
|
Answer» Scriptlets are the bridges that get the Java Code in IREPORT. iReport.scriptlet is a Java class that extends JRDefaultScriptlet where ONE can write user DEFINED functions that can LATER be accessed easily in the report. Scriptlets are the bridges that get the Java Code in iReport. iReport.scriptlet is a Java class that extends JRDefaultScriptlet where one can write user defined functions that can later be accessed easily in the report. |
|
| 32. |
How To Add User Defined Functions In Ireport? |
|
Answer» USER can USE JAVA CODE in iReport using the scriptlets. User can use Java code in iReport using the scriptlets. |
|
| 33. |
How To Resolve The Windows Installer Problem In Java? |
|
Answer» USER has to first check WHETHER he or she is running the program in a CONTAINER or as standalone. Checking this would ENABLE the person to get the RIGHT JAVA_HOME version for running the iReport. User has to first check whether he or she is running the program in a container or as standalone. Checking this would enable the person to get the right JAVA_HOME version for running the iReport. |
|
| 34. |
How To Solve The Problem Of Running Ireport When It Generates Java Error? |
|
Answer» The CONFIG file is available in the etc folder where the jdkhome has been set. The path that is to be GIVEN there is the JDK path and not JRE path. Installation of jdk is essential for the purpose. The config file is available in the etc folder where the jdkhome has been set. The path that is to be given there is the jdk path and not jre path. Installation of jdk is essential for the purpose. |
|
| 35. |
Can Jre Be Selected To Generate Ireport? |
|
Answer» JRE was created USING the JSmooth and one can modify the FILE ireport/etc/ireport.jsmooth using the jsmooth to FORCE use of particular JVM. JRE was created using the JSmooth and one can modify the file ireport/etc/ireport.jsmooth using the jsmooth to force use of particular JVM. |
|