What is best approach to report building in my case?

Hi all,
I'm just getting started with Crystal Reports for our Swing-based desktop application.  We need the ability to generate PDF and XLS reports, perhaps later adding web-based dashboarding and interactive reports.  I'm trying to determine the best approach to take with Crystal Reports to fit our application's data.
Our app stores results in a separate database (either Oracle, SQLServer, or Apache Derby).  The result records contain lots of ID lookups to tables in another database.  This makes using straight SQL for reporting difficult as I would like to avoid cross-database queries.  So I'm thinking of using the POJO reporting approach where our app gathers the results, generates POJOs, and then passes them to the report.
My concern with this POJO approach is that it seems to require loading all results into memory and generating the report in one big step.  I've read other posts referring to heap issues.  Is there a way to avoid this?  Some-how to page through report data?
I've also read that Crystal Reports can work with any data provider that implements ResultSet.  Is this true?  If so, could I create my own custom ResultSet implementation that would let me page through my results without loading everything into memory at-once?  If possible, please point me to the documentation for this approach.  I haven't been able to find any examples.
If there is a better approach that I haven't mentioned, please let me know. 
Thanks in advance,
Guy

The first option is the best one for performance.  The only time you should use result sets is when you need to do runtime manipulation of the data through your application and is not acheivable in a stored procedure.

Similar Messages

  • What is best performing approach to report building in my case?

    Hi all,
    I want to know what is the best performing approach in the case of an overload of the system,
    understood as large number of concurrent operations.
    Each operation is a query that, in most cases, returns a large amount of data.
    I am interested in the approach that not create bottlenecks and slow down, blocks for a long time the system.
    The alternatives that I would like more information about are:
    1) reports built with the JDBC (JNDI) specifying "java:jdbc/xxxxdatasource"
    (taken from the oracle-ds.xml's jndi-name tag) as "Connection name (optional)"
    with the query written into the rpt file and runned by Crystal Reports that I think makes a direct connection to DB
    and integrated into Java with Java Reporting Component.
    This approach has also threads limits, depending on the version of the report engine.
    2) reports built with "Field definition only" with the query written and runned into the my application that call the report only through the resultSet to be displayed
    (reportClientDoc.getDatabaseController().setDataSource(resultSet, tableName , tableName);)
    My concern with this approach is that it seems to require loading all results into memory
    and generating the report in one big step.
    Is there a way to avoid this? Some-how to page through report data?
    I've also read that Crystal Reports can work with any data provider that implements ResultSet.
    Is this true? If so, could I create my own custom ResultSet implementation that would let me
    page through my results without loading everything into memory at-once?
    If possible, please point me to the documentation for this approach.
    I haven't been able to find any examples.
    If there is a better approach that I haven't mentioned, please let me know.
    Thanks in advance

    The first option is the best one for performance.  The only time you should use result sets is when you need to do runtime manipulation of the data through your application and is not acheivable in a stored procedure.

  • Best Approach for Reporting on SAP HANA Views

    Hi,
    Kindly provide information w.r.t the best approach for the reporting on HANA views for the architecture displayed below:
    We are on a lookout for information mainly around the following points:
    There are two reporting options which are known to us and listed below namely:
    Reporting on HANA views through SAP BW  (View > VirtualProvider > BEx > BI 4.1)
    Reporting on HANA views in ECC using BI 4.1 tools
            Which is the best option for reporting (please provide supportive reasons : as in advantages and limitations)?
             In case a better approach exists, please let us know of the same.
    Best approach for reporting option on a mixed scenario wherein data of BW and HANA views is to be utilized together.

    Hi Alston,
    To be honest I did not understand the architecture that you have figured out in your message.
    Do you have HANA instance as far as I understood and one ERP and BW is running on HANA. Or there might be 2 HANA instance and ERP and BW are running independently.
    Anyway If you have HANA you have many options to present data by using analytic views. Also you have BW on HANA as EDW. So for both you can use BO and Lumira as well for presenting data.
    Check this document as well: http://scn.sap.com/docs/DOC-34403

  • What's best approach for a person with dual office?

    Hi,
    I have an UC560 system to deploy. There are 3 users in company who work from home too. For home I have ordered SPA525G2 that has SSL VPN capabilities but when they go in office, they would be using 7945 phone in their dedicated cube. The office phone would not be shared.
    What's best way to configure this setup? I know extension mobility works for hoteling setup but this is different. Would it be possible to assign same primary extension to 2 different phones without an overlay configuration?
    What's best approach here?
    Thanks in advance,
    Sam

    Al the Drifter wrote:
    If you follow Steve's advice, and after doing the edits you discover
    that one instrument should come up 1db, you are screwed.
    I could be wrong about this in the classical music environment,
    where things are not close-mic'ed but if I am, I am confident Steve
    will correct me.  Ha.
    You always run the risk of small changes between takes - and that's where Audition 3 and the new improved crossfades score rather heavily. You won't notice 1dB on a single instrument across a fade though - it's hard to spot this as a jump, even, unless it's on pure tone. No, I very rarely close-mic stuff at all, although I did with a clavichord recently - it's seriously too quiet to mic any other way.
    jaypea500 wrote:
     when recording classical music, any engineer worth anything has the mix down pat as it's being recorded. 
    That's the way they used to work, certainly - but not nowadays, especially if it's done on location, which most classical recording is. What's more likely to happen is that you'd use decent mic preamps feeding straight into a multitrack, or even some software on a laptop. I generally record like that - but I also feed the multitrack outputs to a Yamaha mixer via ADAT, do a mix on that and record it back to a spare multitrack pair. I don't actually need to do that - but having a mix available from the multitrack that's pretty much there is good as far as being able to play back takes to conductors is concerned.
    Of course, one of the other reasons that classical sessions recorded on location aren't mixed on the spot is that the monitoring conditions are invariably far from ideal, and I'd have it that no engineer worth anything would ever risk a final mix done on location.
    But I only get paid to do all of this on a regular basis, so what would I know? Must be something though - my customers come back for more...

  • What is the name of Report Builder Resource File

    Can Anybody knows what is the name of Report Builder Resource file and can it open in Oracle Terminal or not.
    Regard's
    Fahed

    How to create a new one.http://download-uk.oracle.com/docs/cd/B14099_19/bi.1012/b14048/pbr_arch.htm#i1005582
    http://download-uk.oracle.com/docs/cd/B14099_19/bi.1012/b14048/pbr_strt.htm#i1007097

  • I want to erase my macbook files and reinstall the startup disk. I have backed up old files. whats the best approach?

    i want to erase all my macbook files and OS and reinstall the startup disk. I have backed up old files on separate HD. Whats the best approach for a smooth reinstall.? I haven't done this in years.

    I found a great short article by Aaron Sumner posted 02/02 which clearly explains the process. Thanks.

  • What's Best Approach for Multitrack Classical Music?

    Can someone suggest the best approach for recording classical musicians onto
    four tracks? In this scenario, they play until they make a mistake on, say,
    measure 24, stop, then (take 2) go back to measure 20 and play until the next
    rough spot, and so on. Ultimately there may be 15 takes that all need to be
    trimmed and stitched together.
    In the old (tape) days, this was pretty basic editing. I would use a blade and block
    to cut out all the bad stuff on the multitrack tape, then I could mix. But how do I
    do this in Audition? (I use version 1.5.)
    I can't do the cuts it in edit view because the tracks would get out of sync
    Assuming all the takes are in one session, in multitrack view, this most basic of
    functions seems to elude me. What am I missing?

    Al the Drifter wrote:
    If you follow Steve's advice, and after doing the edits you discover
    that one instrument should come up 1db, you are screwed.
    I could be wrong about this in the classical music environment,
    where things are not close-mic'ed but if I am, I am confident Steve
    will correct me.  Ha.
    You always run the risk of small changes between takes - and that's where Audition 3 and the new improved crossfades score rather heavily. You won't notice 1dB on a single instrument across a fade though - it's hard to spot this as a jump, even, unless it's on pure tone. No, I very rarely close-mic stuff at all, although I did with a clavichord recently - it's seriously too quiet to mic any other way.
    jaypea500 wrote:
     when recording classical music, any engineer worth anything has the mix down pat as it's being recorded. 
    That's the way they used to work, certainly - but not nowadays, especially if it's done on location, which most classical recording is. What's more likely to happen is that you'd use decent mic preamps feeding straight into a multitrack, or even some software on a laptop. I generally record like that - but I also feed the multitrack outputs to a Yamaha mixer via ADAT, do a mix on that and record it back to a spare multitrack pair. I don't actually need to do that - but having a mix available from the multitrack that's pretty much there is good as far as being able to play back takes to conductors is concerned.
    Of course, one of the other reasons that classical sessions recorded on location aren't mixed on the spot is that the monitoring conditions are invariably far from ideal, and I'd have it that no engineer worth anything would ever risk a final mix done on location.
    But I only get paid to do all of this on a regular basis, so what would I know? Must be something though - my customers come back for more...

  • What is best way to report problems, get questions answered?

    If we have questions, or think we've found a problem, what is the best way to communicate with Oracle?
    - This forum?
    - TARs using our beta CSI number?
    - emails to [email protected]?
    - smoke signals?
    Regards,
    Steve Locke

    Hi Steve,
    For questions of a general nature (how do I...) this forum is best.
    If you have encountered a specific problem with a reproducible testcase (functionality not working, problems installing) then please work with support to log a TAR. This way a bug can be logged and tracked by the dev team.
    -Alvin

  • Best approach to report on ports in use during the month

    I have been asked to come up with a report once a month outlining the network devices ports that are in use per cust
    omer location.
    I see the report device manager but it doesnt appear to give the simple number of ports in use by the device during the past 24 hours.
    Any thoughts or ideas would be great. It appears our customer doesnt want to pay for installed ports, just ports that are used during the month.
    Thanks,

    Hi Peter,
    You don't say what type of reporting that you want to do? I'm assuming that it is probably something like displaying the last 1000 most recently approved forms or similar?
    If that's the case then you may be able to achieve what you need using the Search Core Results Web Part with some clever querying and is likely to be the most performant method.
    Once you have a result set back, you can then look at styling this using XSLT in the SCRWP or alternatively look at using the Search Query Model from code in a farm solution/webpart.
    Alternatively you could look at using SSIS to extract the data using the SharePoint List into a SQL table on a nightly basis. (This article covers how to get data out of SharePoint and into SSIS..
    http://msdn.microsoft.com/en-us/library/hh368261.aspx)
    Regards
    Paul.
    Please ensure that you mark a question as Answered once you receive a satisfactory response. This helps people in future when searching and helps prevent the same questions being asked multiple times.

  • Whats the best approach?

    Hi All,
    If you had to put up a screen that would look like the following:-
    Country : _ ------------_
    Language : _ ------------_
    Chassis Series:_ ------------_
    Cancel OKButtn
    The understand the input entries would be JLABELs and JTEXTFILEDS.
    If every thing had to line up and look professional.
    1) How many panels would you have?
    2) What Layout manager would you use on each panel?
    3) Would you employ a look and feel or would you use Java default look and feel?
    4) Is there a methodical approach to designing this screen?
    I understand these are open ended questions and maybe they will narrow once we have a few replys.
    cheers
    Gurmej

    I would use panels to help layout and group together similar components in a complicated UI. You can also start to add borders and change the background colour to emphasise the groupings.
    To demonstrate, open up Internet Explorer and choose tools -> Internet Options and make sure the General tab is showing. There are many components on this dialog but they are grouped by 'Home Page', 'Temporary Internet Files' and 'History'. This is an example of where panels can be useful for your layout.
    In your case the frame is very simple, with a few components and just two buttons so I wouldn't use extra panels. You would just complicate the code and add no benefit.

  • Having a chart change based on what group is displaying in Report Builder.

    Hello, I'm trying to create a report that is grouped by department that shows data for the last 12 months in the detailed section. I also want to have a chart that will graph that data in the group header. I have tried to 'link' the query in the chart using #query.dept_id# to limit the data to just that department, but the #query.dept_id# does NOT seem to change when the dept_id changes. There seems to be a way to link a sub-report, but no way to link a chart.
    Any help would be greatly appreciated.
    Thanks

    Found a better solution to solve this, subreport is not needed:
    define a calculated field for the value that changes with the group.
    it is not necessary to place this anywhere in the report, just define it.
    use this calculated field in the chart query instead of the report query field.
    Best regards

  • P965 Platinum 4 Disk Raid Array, whats my best approach?

    Hi everyone, I hope some kind knowledgable person can help me sort through my dilemma.
    I have read so many other post that have similar topics my head is in a spin.
    I've had similar problems to most other people when installing windows with raid I get the BLUE SCREEN OF DEATH.
    At the minute my 4 hard disks are only set up as individual IDE drives, even though they are SATA2.
    Correct me if I'm wrong, the motherboard has 6 purple SATA connectors (Intel) and 1 Blue connector (Jmicron). I have put my 4 drives all on the first 4 of the 6 purple inlet connectors (1-4) Or should the go on the last 4 or does it matter. The reason why I ask this is because in windows device manager under the IDE ATA/ATAPI CONTROLLERS the following appears
    Intel(R) ICH8 2 Port Serial ATA Storage Controller - 2825
    Intel(R) ICH8 4 Port Serial ATA Storage Controller - 2820
    Why a 2 port and a 4 port? Am I putting 2 drives on the 2 port and 2 on the 4 port? And which connectors relate to which storage controller. Or does it really matter?
    I am not using the BLUE (Jmicron) SATA connector but I am using the Yellow ATA 133 connector for DVD writers (I know I can only put 2 on here and not all three that I have)
    Now is this next bit right. In the BIOS in integrated peripherals (I think) the on board SATA should be set to IDE for me to put my DVD writers on?
    The next bit confuses me, In the BIOS section for ON CHIP SATA there is a sub-menu, set SATA#1 AS, and Set SATA#2 as.
    Why the 2 options. Is this to do with above mentioned 2 controllers in device manager and what are the best settings I should use for a 4 disk RAID 0.
    Now this might all look like I know what I'm talking about, but if you are kind enough to reply, please don't make it too technical for me, keep it simple please.
    Any advice would be really appreciated.
    Rebuts

    Thanks for the reply Maesus,
    I managed to get the 4 disk RAID set up OK.
    The other problem I seem to have now is that when I insert a disc into my DVD drive it causes the system to go a bit slow, the mouse would stutter on the screen when I try moving it and would sometimes not move until the disc had stopped spinning. I have two DVD writes attached to the 40 pin IDE connector on the motherboard. This connector is controlled by the JMICRON chip. In the BIOS I have it set up to act as IDE and not RAID. I had initially just let windows pick up on this device and it installed it's own drivers, but I remember someone on another post saying that if you install the JMICRON RAID drivers from the motherboard driver disc it might make thing better. but it hasn't.
    Any suggestions?

  • What' the best approach for synching a drum machine to AA3

    Hi
    I have recently purchased both AA3 and an Alesis SR-18. I'm wondering how to go about synching the drum machine to AA3. Do I do it via SMPTE or Midi? And exactly how do I do that? Later on I will also need to link my synth via midi to the AA3 sequencer.
    I haven't recorded for many years (reel to reel). Back in those days I would record a code from the drum machine onto the tape. I don't know what to expect now:
    Do I use AA3 to generate a Midi time code, would this be seen recorded onto a track. I'm not having any luck with everything I have tried so far.
    Thanks for any help you can give.

    I am about to attempt this with my Alesis HR-16 and MMT-8 combo.  I used to do the same as you, record a code to tape then play it back to trigger the drum machine and sequencer.  I assume it will work the same but I will have to try it hands on to see if it works.
    Try recording the code to AA, then play it back and see if it runs the Alesis.  Then try recording the Alesis back into AA.  Good luck!

  • What is best approach to replace a renderer?

    Hello,
    I want to use custom renderer for just one standard component. AFAIK, it is possible to use setRendererType method inside java code but that means lots of manual work.
    What I want is something that should be applied to configuration only, i.e. kind of entry that will tell jsf engine to use my renderer for given component and use standard kit for all others.
    Is it possible?

    you have to register the custom renderer in your faces-config.xml
    e.g. a renderer which renders the Output text component
    the renderer-class tag contains the location of your customrenderer
      <component>
        <component-type>javax.faces.HtmlOutputText</component-type>
        <component-class>javax.faces.component.html.HtmlOutputText</component-class>
      </component>
      <render-kit>
        <renderer>
         <component-family>javax.faces.Output</component-family>
          <renderer-type>javax.faces.Text</renderer-type>
          <renderer-class>renderkit.MyRenderer</renderer-class>
        </renderer>
      </render-kit>

  • What's best approach to handle - Sales and Delivery on account without INV

    Hello Experts,
    How to handle this situation in SAP B1 8.8 or 8.81 pleasse.
    1. Customer walks in to the counter for sale on account.
    2. He/She receives the item from inventory and is given a Delivery or sometiype of confirmation printout without price on it. It is not the Invoice - Idea being, delivery pickers need not know the price paid for the item etc.
    3. Eventually Customer company will pay the accumulated sales.
    Thank you.

    Hi,
    For this process, you still need all sales documents. You can create delivery directly for printing without price showed. Then you can copy the delivery to A/R invoice later.
    A better way is to create sales order and then delivery to keep all records in consistent manner.
    Thanks,
    Gordon

Maybe you are looking for

  • Ipad backup use too much space

    Hi All. I have an iPad mini 3 128gb and I´m using near 35 gb of the device. I recentlyy create a backup up with itunes as always, but I realized that the copy is using 240gb of my hard drive. how this is posible? can I decrease the size of the copy?

  • Billing document Cancel related.

    Hi Gurus, While cancelling Billing document I am getting error, i.e,Data inconsistency during processing of document 0000######, So can anyone help me out regarding same? regards, DhirendrA.

  • Regarding order by clause

    the values of a column are: 1 - 5 hours 20 mins - 1hr greater than 5 hours less than20 mins I want the output in the order as: less than20 mins 20 mins - 1hr 1 - 5 hours greater than 5 hours This is neither ascending nor descending order. Is there an

  • How to recover trash emptied docx file using terminal!! please help, many recovery software doesnt work!

    i accidentally deleted a .docx file today and emptied it in the trash!! i tried to use softwares like iskysoft,stellar,wondershare, but none can find the required file! I also tried to use terminal to recover my file by typing --> Tserings-MacBook-Pr

  • Missing "Digital Cinema Desktop Preview" options

    I am missing this option from View/Video Out on my MacBook Pro with a working second monitor, even after a 'refresh devices'. However, I know it was present before. In fact, when I run FCE on my G4 Mac Mini, I see the option and am able to use it. I'