How to Improve Perfomance of JavaApp with several tabs in JDeveloper

Hi,
One of my screens in my java application has several tabs. The master detail relationship is defined in a MDPanel using bindNestedContainer/findNestedPanelBinding constructs. If there are several wiews being linked to the master record, performance is not good.
In Forms builder, we encounter the same problem. The solution there is to remove the relations and dynamically set the where clause using the block property. Can I do the same in JDeveloper? If yes, where is this best implemented? AppModule or in the UI?
I appreciate if you can give sample code or a reference where I can understand fully the Entity/View/AppModule framework. Currently, I am dependent on the wizard to create these objects. How can I optimize the wizard generated code?
Thanks.

Hi,
Removing viewlinks and using query bind variables have improve the performance significantly. Thank you for your suggestion.
However, my next concern is on data creation. What is the equivalent of WHEN-CREATE-RECORD in Forms? The ffg. set of codes does not seem to work.
panelBinding.addRowSetListener(new PanelRowSetHandler());
private class PanelRowSetHandler extends JUPanelRowSetAdapter {
public void rowInserted(JUIteratorBinding iter, InsertEvent event) {
if (iter.equals("EndorsementMembers")) {
String branch = (String)panelBinding.findCtrlValueBinding("branch").getAttributeValue();
Integer endorsTransNo = (Integer)panelBinding.findCtrlValueBinding("endorsTransNo").getAttributeValue();
panelBinding.findCtrlValueBinding("EndmembBranch").setAttributeValue(branch);
panelBinding.findCtrlValueBinding("EndmembEndorsTransNo").setAttributeValue(endorsTransNo);
Also, I am wondering whether I can access the create method of the Entity Object in the View Object so that I can just pass the parameter values defined here.
Thanks and regards,
Angela

Similar Messages

  • How can i create  excel sheet with multiple tabs using utl file?

    how can i create excel sheet with multiple tabs using utl file?
    any one help me?

    Jaggy,
    I gave you the most suitable answer on your own thread yesterday
    Re: How to Generating Excel workbook with multiple worksheets

  • Create home page with several tabs upon opening Safari

    I would like to create a home page with several tabs upon opening Safari is this possible?

    Yes, it's possible.
    First create a folder of bookmarks containing the pages you want to have appear as tabs when you start Safari.
    Once you've got that bookmarks folder set up, go into your General Safari preferences. At "New windows open with:" select "Choose tabs folder ..." as per the following screenshot:
    .... and select the bookmarks folder you set up before.
    Quit and restart Safari. Do the contents of the bookmarks folder open in tabs in a new window?
    (To change what tabs you have opening in a new window, just change the content of the bookmarks folder you've selected in your preferences.)

  • When I minimize ff with several tabs I can maxamize the one I was on straight away but any other one I have to click twice, why?

    when I minimize my ff with several tabs it goes to my task bar with a number of shadows equal to the tabs I have opened if I mouse over it I get small previews of the tabs open and I can open the one I was on last straight away but if I click on any other I get a beep and then nothing so I have to do the same thing again before it will open to a different tab, why?

    Odd thing when ff is maximized and I go to the preview in the windows task bar I can click on any tab and it will open right away it's only when ff is minimized that I have to click twice. fyi I have tab previews checked and I have tried to unset it the reset it to see if that would help but no go.

  • How to authorise single Ereader device with several Adobe IDs?

    Is it technically possible in Adobe's DRM system to connect a single epub ebook reader with several Adobe Digital Editions IDs?
    The background of my question is following: I got an ADE account and a laptop computer and Ereader authorised with that account. My wife got an ADE account of her own and her computer and her own Ereader authorised with her account. So both of us got 4 more devices to be authorised with if I understand the system right.
    What I have in mind is to authorise my wife's Ereader with my ADE account, too, in order to be able to transfer DRM protected epub ebooks that I purchased under my account to her Ereader. But I'm afraid to overwright the original authorisation on her Ereader by authorising it with my Adobe ID and therefore restrain from fiddling with the device authorisation.
    Any advise by Adobe or someone else in the community? I was not able to find any useful advise in various forums.
    Many thanks for help!
    Best regards,
    Martin D.

    No.
    =========

  • How to make a panoramic view with several photos

    With Iphoto 09 is there a way to create a panorama with several pictures and pull them altogether?? thank you

    No, you need to use a third party app for this kind of work. Some cameras come with an app that will do this. Otherwise search on MacUpdate
    Regards
    TD

  • When one window containing 1 tab is closed, the other window with several tabs closes also

    I have a set of web pages that reproducibly causes Firefox to act incorrectly. When Firefox is first started I click the "Restore previous desktop" button. Then I have 2 Firefox windows. The first to open has 6 tabs; the second has 1 tab. When I close the 2nd window (with 1 tab), it also closes Firefox completely with no error message. When I run Firefox again, "Restore" creates both windows exactly as they were before.
    I don't know yet if the actual URLs make a difference, but here they are anyway:
    '''''Window 1:'''''
    https://www.google.com/accounts/ServiceLogin?service=mail&passive=true&rm=false&continue=https%3A%2F%2Fmail.google.com%2Fmail%2Fu%2F0%2F%3Fshva%3D1%26ui%3Dhtml%26zy%3Dl&bsv=llya694le36z&ss=1&scc=1&authuser=0&ltmpl=default&ltmplcache=2&from=login#inbox
    http://branamsmile.com/gum/?gclid=CLepiIaAhqkCFVJ25QodSyk1nw
    http://www.google.com/search?hl=&q=root+viewsonic+g+tablet&sourceid=navclient-ff&rlz=1B3GGLL_enUS412US412&ie=UTF-8&aq=0&oq=root+viewsoni
    ***** NOTE THIS TAB IS PROBLEMATIC *****
    When I press Alt+D, Ctrl+C, and Ctrl+V it into this comment box, I get
    '''woot'''
    When I look at the actual contents of the web page being displayed, it is the verizon wireless rebate page:
    '''www.verizonwireless.com/rebates'''
    The page has definitely finished being rendered (the refresh icon is displayed after the url "woot"), but the URL does not match the page. The URL displayed is not even in its proper form (i.e., www.woot.com).
    Remember that this page was RESTORED by Firefox from a previous session. It is as if I was on that tab at verizon, tried to go to woot.com by typing "woot" (which would of course bring up a search rather than the web page), DIDN'T PRESS ENTER, and Firefox is duplicating that entire sequence.
    ********* END PROBLEMATIC *************
    chrome://foxtab/content/newTabMessage.html
    https://www.bankofamerica.com/Control.do?page_msg=signoff&body=signoff
    '''''Window 2:'''''
    http://www.freewaregenius.com/2011/06/01/the-best-freeware-file-manager-a-comparative-analysis/
    With this exact set of windows and tabs, as restored by Firefox in a brand new instance of it, double-clicking the red Firefox in the top left corner of the 2nd window causes both windows to close.
    I wish I could save this configuration so I could always reproduce the error, but I need my computer :)

    You can check for problems with the sessionstore.js and sessionstore.bak files in the Firefox Profile Folder that store session data.
    Delete the sessionstore.js file and possible sessionstore-##.js files with a number and sessionstore.bak in the Firefox Profile Folder.
    *Help > Troubleshooting Information > Profile Directory: Open Containing Folder
    *http://kb.mozillazine.org/Profile_folder_-_Firefox
    Deleting sessionstore.js will cause App Tabs and Tab Groups and open and closed (undo) tabs to get lost, so you will have to create them again (make a note or bookmark them).
    *http://kb.mozillazine.org/Multiple_profile_files_created

  • How to  create a selection screen with two tab strips

    Hi Experts,
    I need to craete a selection screen '100' with two tab strips, in the 1st tab strip i need create some select options as subscreen and in other tabstrip i need to call the subscren '4000' of the program 'SAPLCTMS' . i need to call this screen as selection screen from the zprogram. please help me out.
    Thanks in advance...
    Sarath...J

    Hi,
    I have developed some code.
    It just displays a table control and after entering the values init, upon hitting the return button, the values will be put into table itab. Have a look and make necessary changes as you see fit.
    *& Report  ZMADHU_TBCNTL
    REPORT  zmadhu_tbcntl.
    DATA: BEGIN OF itab OCCURS 0,
         sel TYPE s_flag,
         matnr TYPE matnr,
         ersda TYPE ersda,
         ernam TYPE ernam,
      END OF itab.
    CONTROLS: tab_cntl TYPE TABLEVIEW USING SCREEN 100.
    *START-OF-SELECTION.
    CALL SCREEN 100.
    *END-OF-SELECTION.
    *&      Module  STATUS_0100  OUTPUT
          text
    MODULE status_0100 OUTPUT.
      SET PF-STATUS 'TABCNTL'.   "pf status
    SET TITLEBAR 'xxx'.
      CASE sy-ucomm.
        WHEN 'BACK' OR
             'CANCEL' OR
             'EXIT'.
          LEAVE TO SCREEN 0.
      ENDCASE.
    ENDMODULE.                 " STATUS_0100  OUTPUT
    *&      Module  ITAB_MODIFY  INPUT
          text
    MODULE itab_modify INPUT.
      CASE sy-ucomm .
        WHEN ' '.        " When pressed enter
    if itab-sel = 'X'.
          MODIFY itab INDEX tab_cntl-current_line.
          APPEND itab.    " append lines to internal table
          CLEAR itab.
    *endif.
      ENDCASE.
    ENDMODULE.                 " ITAB_MODIFY  INPUT
    *Screen 100 flow logic.
    PROCESS BEFORE OUTPUT.
      MODULE status_0100.
      LOOP AT itab WITH CONTROL tab_cntl CURSOR
      tab_cntl-current_line..
      ENDLOOP.
    PROCESS AFTER INPUT.
      MODULE select_data.
      LOOP .
        CHAIN.
          FIELD itab-matnr.
          FIELD itab-ersda.
          FIELD itab-ernam.
          MODULE itab_modify ON CHAIN-REQUEST.
        ENDCHAIN.
      ENDLOOP.
    MODULE USER_COMMAND_0100.
    Hope it will helps to u.
    Thanks,
    Shankar

  • How do I merge multiple windows into 1 window with several tabs?

    In Safari it is possible to merge several open windows into 1 single window, with each window becoming a new tab within the new window, so you can easily switch from tab to tab. I cannot find how to do this in Firefox - does anyone know if it is possible? Thanks.

    Try Tab Mix Plus.
    *Tab Mix Plus: https://addons.mozilla.org/firefox/addon/1122

  • How to Print one PDF document (with several documents inside) at once?

    When I select several emails and convert them into one single PDF file, I would like to know how can I print (hardcopy print) all emails at once, instead of having to select each one at a time to prit it.
    I have ADOBE Acrobat X Pro V10.
    Can anyone help me with this? It would save a lot of time.
    Thank you

    I am using XI and it has a better print dialog for portfolios, but I think this Adobe blog link explains what you need for X:
    http://blogs.adobe.com/acrolaw/2011/11/batch-printing-an-email-portfolio/
    Not sure why the link I posted above looks like is has spaces, but there are no spaces in the link.
    Message was edited by: Anna Nmty

  • How to Improve perfomance of this query

    Hi,
    Please help me to improve this query performance. Objective of this query is to find out individual count who order the product in last two year and create a matrix with time period
    Challenge is Both the table having more than 600 million record so it is taking to much time to execute
    SELECT count(unique b.individual_id),
    sum((CASE WHEN NVL(ORDER_DT,TO_DATE('05-MAY-1955'))>= SYSDATE - 45 THEN 1 ELSE 0 END )) AS one_month ,
    sum((CASE WHEN NVL(ORDER_DT,TO_DATE('05-MAY-1955'))>= SYSDATE - 105 and NVL(ORDER_DT,TO_DATE('05-MAY-1955')) <= SYSDATE - 45 THEN 1 ELSE 0 END )) AS Three_month,
    sum((CASE WHEN NVL(ORDER_DT,TO_DATE('05-MAY-1955')) >= SYSDATE - 195 and NVL(ORDER_DT,TO_DATE('05-MAY-1955')) <= SYSDATE - 105 THEN 1 ELSE 0 END )) AS six_month,
    sum((CASE WHEN NVL(ORDER_DT,TO_DATE('05-MAY-1955')) >= SYSDATE - 380 and NVL(ORDER_DT,TO_DATE('05-MAY-1955')) <= SYSDATE - 195 THEN 1 ELSE 0 END )) AS one_year,
    sum((CASE WHEN NVL(ORDER_DT,TO_DATE('05-MAY-1955')) >= SYSDATE - 745 and NVL(ORDER_DT,TO_DATE('05-MAY-1955'))<= SYSDATE - 380 THEN 1 ELSE 0 END )) AS two_year
    from ORDER b, address a
    where b.individual_id = a.individual_id
    and a.COUNTRY_CD ='US'
    group by a.COUNTRY_CD ;
    Thanks
    Neeraj
    Edited by: user4522368 on Aug 17, 2010 12:10 AM

    user4522368 wrote:
    Hi,
    Please help me to improve this query performance. Objective of this query is to find out individual count who order the product in last two year and create a matrix with time period
    Challenge is Both the table having more than 600 million record so it is taking to much time to execute Dombrooks has provided you with an excellent response.
    In addition, you should mention how much time the query is currently taking and how much do you expect it to take, what is your database version etc.
    One of the most important thing is to post your SQLs and EXPLAIN PLAN outcomes in readable format. You can do this by wrapping it within \ and \ tags.
    Now, based on the limited details that you have provided, following are my questions/observations:
    a) You claim that both tables have more than 600 million rows but your plan shows that optimizer is expecting to find only 46 million rows in ORDER table. You may want to confirm if statistics on both the tables are correct.
    b) Your plan appears to suggest that the UNIQUE is not affecting the query results. Based on your knowledge of your data, do you need the COUNT(UNIQUE individual_id) or can it be just COUNT(individual_id)?
    c) Finally, if you are interested in only last two years of data, you should probably have a WHERE predicate on your ORDER table which filters data based on ORDER_DT. Something like following:
    SELECT count(unique b.individual_id),
    sum((CASE WHEN NVL(ORDER_DT,TO_DATE('05-MAY-1955'))>= SYSDATE - 45 THEN 1 ELSE 0 END )) AS one_month ,
    sum((CASE WHEN NVL(ORDER_DT,TO_DATE('05-MAY-1955'))>= SYSDATE - 105 and NVL(ORDER_DT,TO_DATE('05-MAY-1955')) <= SYSDATE - 45 THEN 1 ELSE 0 END )) AS Three_month,
    sum((CASE WHEN NVL(ORDER_DT,TO_DATE('05-MAY-1955')) >= SYSDATE - 195 and NVL(ORDER_DT,TO_DATE('05-MAY-1955')) <= SYSDATE - 105 THEN 1 ELSE 0 END )) AS six_month,
    sum((CASE WHEN NVL(ORDER_DT,TO_DATE('05-MAY-1955')) >= SYSDATE - 380 and NVL(ORDER_DT,TO_DATE('05-MAY-1955')) <= SYSDATE - 195 THEN 1 ELSE 0 END )) AS one_year,
    sum((CASE WHEN NVL(ORDER_DT,TO_DATE('05-MAY-1955')) >= SYSDATE - 745 and NVL(ORDER_DT,TO_DATE('05-MAY-1955'))<= SYSDATE - 380 THEN 1 ELSE 0 END )) AS two_year
    from ORDER b, address a
    where b.individual_id = a.individual_id
    and a.COUNTRY_CD ='US'
    and b.ORDER_DT <= (SYSDATE - 380)
    group by a.COUNTRY_CD ;

  • How to improve perfomance in database operations

    In my programme i do some select, insert operations many time. so when i run my program with atlease 80000 customer data it takes 1 hrs to complete the task.
    So i switched to use threads. So i use n number of threads and gave a new connection to each thread and splited my customer data for each threads. so each thread contain 80000/n data.
    when i check the perfomance both (with and without thread) are equal
    so help me to improve the perfomance :)

    s friend. most of the time it invokes the database operations. i use addbatchs to execute the code. wait i will give the timelines,
    :AbstractRuleBasedScenario:run:test2---- is the time to execute the query
    :pool-1-thread-1:KYCScenarioTask:call:pool-1-thread-1---- is the time to run a thread
    with 1 thread
    01/04/07 10-33:pool-1-thread-1:AbstractRuleBasedScenario:run:test2 Time:::: 62
    01/04/07 10-33:pool-1-thread-1:AbstractRuleBasedScenario:run:test2 Time:::: 0
    01/04/07 10-33:pool-1-thread-1:KYCScenarioTask:call:pool-1-thread-1 ::: 94
    01/04/07 10-33:pool-1-thread-1:AbstractRuleBasedScenario:run:test2 Time:::: 63
    01/04/07 10-33:pool-1-thread-1:AbstractRuleBasedScenario:run:test2 Time:::: 31
    01/04/07 10-33:pool-1-thread-1:KYCScenarioTask:call:pool-1-thread-1 ::: 125
    01/04/07 10-33:pool-1-thread-1:AbstractRuleBasedScenario:run:test2 Time:::: 63
    01/04/07 10-33:pool-1-thread-1:AbstractRuleBasedScenario:run:test2 Time:::: 0
    01/04/07 10-33:pool-1-thread-1:KYCScenarioTask:call:pool-1-thread-1 ::: 109
    with 5 threads[
    01/04/07 10-29:pool-1-thread-3:AbstractRuleBasedScenario:run:test2 Time:::: 125
    01/04/07 10-29:pool-1-thread-1:AbstractRuleBasedScenario:run:test2 Time:::: 125
    01/04/07 10-29:pool-1-thread-2:AbstractRuleBasedScenario:run:test2 Time:::: 62
    01/04/07 10-29:pool-1-thread-2:KYCScenarioTask:call:pool-1-thread-2 ::: 266
    01/04/07 10-29:pool-1-thread-4:AbstractRuleBasedScenario:run:test2 Time:::: 32
    01/04/07 10-29:pool-1-thread-3:AbstractRuleBasedScenario:run:test2 Time:::: 63
    01/04/07 10-29:pool-1-thread-1:AbstractRuleBasedScenario:run:test2 Time:::: 47
    01/04/07 10-29:pool-1-thread-4:KYCScenarioTask:call:pool-1-thread-4 ::: 281
    01/04/07 10-29:pool-1-thread-3:KYCScenarioTask:call:pool-1-thread-3 ::: 312
    01/04/07 10-29:pool-1-thread-1:KYCScenarioTask:call:pool-1-thread-1 ::: 250

  • How to print a Vbox container with several pages

    I need to print a Vbox container that contains severval pages
    of content with .5 inch margins and a footer with the page number.
    The content is created from htmlText coming from several reccords
    in a MySQL table. I have been able to print the content using
    FlexPrintJob across multiple pages, but the print fills the entire
    page with no margins and the footer only on the last page. How can
    I best do this?

    I had a similar issue, here are some tips:
    Check Flex's example for printing a PrintDataGrid in mulitple
    pages (
    http://livedocs.macromedia.com/flex/2/langref/mx/printing/PrintDataGrid.html
    or in the Printing chapter of the Flex Developer's Guide), that
    will give you an idea of how to handle the footer and the header.
    Now about the margins you will have to do it manually, i
    can't think of any other solution for that.
    If you still have doubts, let me know about it, trying to be
    as specific as possible

  • How Do I Share picture library with several users on my imac

    I would like to share the picture library between all users on my IMac. How is this possible?

    iPhoto: Sharing libraries among multiple users
    Stefan

  • How to display a long text with several in multiple lines in template cell

    Hi,
       here i have one string such as 'Power MOS_TestTestTest'. But it will display in the template cell as
       'Power
       MOS_TestTestTest'.
       And what i want is 'Power MOS_TestTes
                                   tTest'.
      How to achieve this ? ths

    Hi,
    If the Width of the Templete in not sufficient to display whole text then from the next word it is dislpayed in the next line. As in your case ..
    'Power
    MOS_TestTestTest'.
    If you want to have this like
    'Power MOS_TestTes
    tTest'.
    You need to write the logic to split the string as per your rquirement and print them.

Maybe you are looking for

  • SetRowSelectionInterval() not working on single-click in JTable

    I have code that tries to move the highlighted row in a JTable back to the line you just edited instead of moving to the next line when you press enter after editing a cell (like you would normally see in a JTable or any spreadsheet program). If you

  • How to print the Jtable into paper

    im facing a problem which is after i get the data to be dispaly in the jtable but im facing problem of printing the table in paper as a report.. the report must be info about the data in table..thanks

  • Increase the resultset count in SSXA application

    Hi, I'm using UCM 11g + Site Studio, I'm coding in JSTL for my web application. I am calling many services like GET_SEARCH_RESULT etc. All these services are returning a resultset of 20 values. I have changed the setting by clicking the weblogic user

  • Cannot embed Adobe form in Firefox

    Hello, I generated a form in FORMSCENTRAL, selected the embed option, and pasted the script into an HTML document. The form works great in Safari, but for some reason, the bottom of the form is cutt off in Firefox. You can still display the fields be

  • ME29N - Release Strategy tab

    Hi people! I need help. When I have an Purchase Order released with 1 message green status and add 1 new message copyng from other and save, the release strategy tab dissapear...somebody can help me? thanks a lot!