Downward flow control problems

Hey Guys,
          I'm trying to understand the WL documentatino on controlling flow
          (downwards) in WL7.
          Imagine I have flow max of 700 and flow min of 100 and step of 6 and
          interval of 60.
          For upwards, I understand it to be linear - just divide difference between
          flow max and flow min by the step value. So what will happen is that it
          will check every *6* seconds, and if it's to move up it will add a constant
          (700-100)/ 6 = 100 everytime. ie. if we are at 100 it will go to 200. If
          at 200 it will go to 300 and so on.
          For the downward, geometric move, the documentation says "taking the nth
          root of the difference, where n is the number of steps". Does difference
          here mean the static difference between max and min? I imagine so, in which
          case it will be 600 Then they are saying move down by
          the 6th root of 600 (3!!), then the 5th root of 600(9!!) etc.
          In which case if we are at 700 and after *6* second we see we need to move
          down, we move down to 697 and after another *6* seconds we see we need to
          move down we move down to 686 (9 diff) etc.
          Is this a correct interpretation?
          Thanks
          Q
          

          For what the docs say I think your interpertation is right.
          What is really happens is this
          double flowDecrease = (double)flowMinimum/(double)flowMaximum;
          flowDecrease = Math.pow(flowDecrease, 1.0/(double) flowSteps);
          John
          DRE BEA Technical Support
          

Similar Messages

  • Printer flow control problem

    I have a Time Capsule with a Canon MP780 printer attached. Everything works normally when I print a short document. When I try to print a document longer than about 2 pages, the printer hangs about halfway through the second page. There are no errors indicated on the printer and no error flagged back to the software; it just continues to indicate "printing". The same document prints fine if I connect the printer directly to the laptop.
    Since it's related to the length of the document, I conclude that there is an issue with flow control between the Time Capsule and the printer, but I cannot find any option to tweak, hardware or software.

    Continue from above posting, my actual problem lies with the Hardware flow control,
    in the above snipplet, you might see that I've put
    while(!serialPort.isCTS()) // while it's Clear To Send
    as to ensure i've finished read all the available data (incoming sms) before writing another command
    into the sms gateway. But the problem is serialPort.isCTS() returns true, even though there are still
    more data to be read
    putting thread.sleep(3000) does the trick, but I dont think it's not a so ellegant solution
    if my available data keeps growing (in terms of bytes)
    regards,
    Honggo

  • Problems with parity and flow control using visa serial

    I am trying to create a basic user interface with the options that my
    company uses most often for a force indicator.  You can configure
    the indicator over serial, as well as read the values off the
    indicator.  I am trying to create the user interface so that using
    producer/consumer loops with events, once you change a value, it will
    write that new value to the serial port, ie the device. 
    The problem I am having is transfering the parity and flow control
    values for the serial config to the Basic read write VI.  The
    problem is that once the consumer loop executes, it will write the
    values correctly to the VI, but then the outer loop executes 200 ms
    later and clears the values.  I know that this is normal behavior
    and that in order to keep the values stored, normally you would use a
    shift register.  I tried to use this and had some issues with
    correct data types/array mis-mtaches, ets, so I created an indicator
    and had a local vaible read the indicator, which seems to be working
    for the stop bits, read bits, baud rate, etc, but not the parity anf
    flow control.  I always get "blank" outputs for theses values (if
    you enable the digital display you can see that they are outputing the
    value 0 which correspondes to None in both cases, which is
    correct).  Even though it appears that it is outputting the
    correct value, I get an error that says the VISA property is
    invalid.  I initally did a search and found that my stop bit
    control was wrong (outputting double instead of integer), but I could
    not find anything on the parity/flow control issue.  I even tried
    to copy the serial config controls from the basic serial read/write to
    my dialog box and that did not work either.
    I would be grateful for any suggestions.
    Thanks
    Kenny
    Kenny
    Attachments:
    BGI_main pandc.zip ‏232 KB

    I should add that I am using LV 8.0 and that the serial config
    indicator in the consumer loop will be off the frontpanel in the final
    VI so that it is not visible to the user.
    Kenny

  • ORA-25307: Enqueue rate too high, flow control enabled

    I am stuck. I have my stream setup and they were previously working on two of my dev environments well. Now when I get the streams setup the CAPTURE process has a state of "CAPTURING CHANGES" for like 10 seconds and then changes to state "PAUSED FOR FLOW CONTROL". I believe this is happening because the PROPAGATION process is showing an error of "ORA-25307: Enqueue rate too high, flow control enabled".
    I don't know what to tweak to get rid of this error message. The two environments are dev databases and there is minimal activity on them so i don't think it's a case of the APPLY process is lagging behind the PROPAGATION process. Has anyone run into this issue?? I've verified my db link works, my stream admin user has dba access. Any help or advise would be greatly appreciated.
    thanks, dave

    As rule of thumb, you don't need to set GLOBAL_NAME=TRUE as long as your are 100% GLOBAL_NAME compliant.
    So, setting GLOBAL_NAME=TRUE will not have any effect if your dblink is not global_name compliant
    and if your installation is global_name compliant, you don't need to set GLOBAL_NAME=TRUE.
    The first thing when you diagnose is to get the exact facts.
    Please run this queries both on source and target so that to see what are in the queues and where.
    Run it multiple time to see if figures evolves.
    - If they are fixed, then your Streams is stuck in its last stage. As a cheap and good starting point, just stop/start the capture, propagation and target apply process. Check also the alert.log on both site. when you have a propagation problem, they do contains information's. If you have re-bounced everything and no improvement then the real diagnose work must start here but then we know that the message is wrong and the problems is elsewhere.
    - if they are not fixed then your apply really lag behind for what ever good reason, but this is usually easy to find.
    set termout off
    col version new_value version noprint
    col queue_table format A26 head 'Queue Table'
    col queue_name format A32 head 'Queue Name'
    select substr(version,1,instr(version,'.',1)-1) version from v$instance;
    col mysql new_value mysql noprint
    col primary_instance format 9999 head 'Prim|inst'
    col secondary_instance format 9999 head 'Sec|inst'
    col owner_instance format 99 head 'Own|inst'
    COLUMN MEM_MSG HEADING 'Messages|in Memory' FORMAT 99999999
    COLUMN SPILL_MSGS HEADING 'Messages|Spilled' FORMAT 99999999
    COLUMN NUM_MSGS HEADING 'Total Messages|in Buffered Queue' FORMAT 99999999
    set linesize 150
    select case
      when &version=9 then ' distinct a.QID, a.owner||''.''||a.name nam, a.queue_table,
                  decode(a.queue_type,''NORMAL_QUEUE'',''NORMAL'', ''EXCEPTION_QUEUE'',''EXCEPTION'',a.queue_type) qt,
                  trim(a.enqueue_enabled) enq, trim(a.dequeue_enabled) deq, x.bufqm_nmsg msg, b.recipients
                  from dba_queues a , sys.v_$bufqm x, dba_queue_tables b
            where
                   a.qid = x.bufqm_qid (+) and a.owner not like ''SYS%''
               and a.queue_table = b.queue_table (+)
               and a.name not like ''%_E'' '
       when &version=10 then ' a.owner||''.''|| a.name nam, a.queue_table,
                  decode(a.queue_type,''NORMAL_QUEUE'',''NORMAL'', ''EXCEPTION_QUEUE'',''EXCEPTION'',a.queue_type) qt,
                  trim(a.enqueue_enabled) enq, trim(a.dequeue_enabled) deq, (NUM_MSGS - SPILL_MSGS) MEM_MSG, spill_msgs, x.num_msgs msg,
                  x.INST_ID owner_instance
                  from dba_queues a , sys.gv_$buffered_queues x
            where
                   a.qid = x.queue_id (+) and a.owner not in ( ''SYS'',''SYSTEM'',''WMSYS'')  order by a.owner ,qt desc'
       end mysql
    from dual
    set termout on
    select &mysql
    /B. Polarski

  • Paused for Flow Control but no flow occurring

    10.2.0.2
    Our destination database had problems this AM and it was bounced. The capture process on the source went into "Paused for Flow Control" status and never recovered. Here's the process I went through.
    1. There was nothing being propagated according to v$propagation_sender.
    2. The apply process was running but was not receiving any messages according to v$streams_apply_reader, v$streams_apply_server
    3. I stopped and restarted the apply process - no change.
    4. I stopped and restarted the capture process and after the dictionary initilization it went back into the paused state.
    5. alter logs showed nothing for either database.
    6. dbms_propagation_adm.stop_propagation resulted in an ORA-24082
    I finally had to run dbms_propagation_adm.stop_propagation with force=>true and restart it for data to start flowing again, albeit slowly.
    So the question is - why? Why did I have to forcefully stop the propagation process and restart it when this is all supposed to be seamless? Is this expected behavior that others have run into and the proces you need to perform whenever your destination becomes unavailable for a time period?
    Just curious.
    Thanks - Brian

    I've tried setting up a Streams for schema replication and have run into the "Paused for Flow Control issue". I'm not getting any streams errors so i don't know what's wrong with it.
    I'm not that familiar with Streams so i'm not sure where to start to diagnose the problem. I used the Enterprise Manager to set up the streams and tried stopping and restarting the capture process but i'm still getting the "Paused for Flow Control issue". Where is the best place to start to look for a solution?
    Thanks!

  • Odi error : Flow control not possible if no key is declared in your target

    Hi ...
    I have a requirement where I am trying to populate a view(the view some has some pl/sql package running behind the scenes to populate the appropriate tables) on database (oracle11g) using the odi interface.
    We are expcetd to populate the view only.
    I am encountering this error when i try to run the interface (Flow control not possible if no key is declared in your target datasource).
    The view doesnt have any key & I cannot change the key structure of the view.
    Is their any workaround for this in the ODI.

    If you don't have any keys on your table, Flow Control will not be possible as the step of flag rows for update. You must have a key defined in your table to use both resources of ODI.
    I recommend you to disable the FLOW_CONTROL option in your IKM and if you need to update your table, you'll have a problem. If you don't have, just disable the Update option also and go ahead with the execution.
    TIP: Do not forget of set keys on your temporary tables when uses the IKM of Incremental Update.
    Best regards.
    Luiz Araujo (A.K.A. Buchu)

  • Increase of priority flow control counters in a FCoE environment

    Hi,
    I need some input about what is normal in a FCoE environment in regards to priority flow contol counters.
    I see Increase of RxPPP and TxPPP counters on a FCoE end to end enviroment. however we don't see high traffic rates to/from storage array(<1Gbps). Customer have not reported low transfer from storage.
    Setup:
    CNA hosts - FEX2232 - N5K - EMC-VNX
    FCoE end-to-end, No native FibreChannel.
    CNA adapters = Emulex.
    Is a problem I should look further into or is it normal?
    I have read the troubleshooting guide.
    http://www.cisco.com/en/US/partner/docs/switches/datacenter/nexus5000/sw/troubleshooting/guide/n5K_ts_fcoe.html
    some output:
    N5K-2# sh inter priority-flow-control
    ============================================================
    Port               Mode Oper(VL bmap)  RxPPP      TxPPP    
    ============================================================
    FEX101-2232 1-8
    Ethernet1/1        Auto Off           0          211994    
    Ethernet1/2        Auto Off           0          0         
    Ethernet1/3        Auto Off           2891830    0         
    Ethernet1/4        Auto Off           6269410    0         
    Ethernet1/5        Auto Off           12109662   0         
    Ethernet1/6        Auto Off           79534      0         
    Ethernet1/7        Auto Off           0          0         
    Ethernet1/8        Auto Off           0          0         
    FEX102-2232 9-16
    Ethernet1/9        Auto Off           0          9994780   
    Ethernet1/10       Auto Off           0          0         
    Ethernet1/11       Auto Off           24678      0         
    Ethernet1/12       Auto Off           0          0         
    Ethernet1/13       Auto Off           4316       0         
    Ethernet1/14       Auto Off           136        0         
    Ethernet1/15       Auto Off           0          0         
    Ethernet1/16       Auto Off           0          0         
    !VNX-FCOE-ATTACHED SP_A
    Ethernet1/19       Auto On  (8)       1888566    10100200  
    !VNX-FCOE-ATTACHED SP_A
    Ethernet1/20       Auto On  (8)       10414603   1367098   
    Ethernet1/23       Auto Off           0          0         
    Ethernet1/24       Auto Off           0          0         
    Ethernet1/25       Auto Off           0          0         
    Ethernet1/26       Auto Off           0          0         
    Ethernet1/27       Auto Off           0          0         
    Ethernet1/28       Auto Off           0          0         
    Ethernet1/30       Auto Off           0          0         
    Ethernet1/32       Auto On  (8)       0          0         
    Ethernet1/38       Auto Off           0          0         
    Ethernet1/39       Auto Off           0          0         
    Ethernet1/40       Auto Off           0          0         
    Ethernet1/41       Auto On  (8)       0          0         
    Ethernet1/42       Auto On  (8)       0          0         
    Ethernet1/43       Auto On  (8)       0          0         
    Ethernet1/44       Auto On  (8)       0          0         
    !CNA atttached hosts.
    Ethernet101/1/1    Auto On  (8)       37109      33155     
    Ethernet101/1/2    Auto On  (8)       120        32336     
    Ethernet101/1/3    Auto On  (8)       274        34404     
    Ethernet101/1/4    Auto On  (8)       1924       64754     
    Ethernet101/1/5    Auto On  (8)       144        14684     
    Ethernet101/1/24   Auto On  (8)       4296788    4466      
    Ethernet101/1/25   Auto On  (8)       104520     22        
    Ethernet101/1/26   Auto On  (8)       838        30824     
    Ethernet101/1/27   Auto On  (8)       796        7770      
    Ethernet101/1/28   Auto On  (8)       13749152   1684      
    Ethernet101/1/29   Auto On  (8)       5912918    1276      
    Ethernet101/1/30   Auto On  (8)       3296026    2292      
    Ethernet101/1/31   Auto On  (8)       0          80        
    Ethernet101/1/32   Auto On  (8)       0          0         
    Ethernet102/1/1    Auto On  (8)       75656      323512    
    Ethernet102/1/2    Auto On  (8)       0          5632      
    Ethernet102/1/3    Auto On  (8)       4278       173828    
    Ethernet102/1/4    Auto On  (8)       0          0         
    Ethernet102/1/28   Auto On  (8)       2872       300046    
    Ethernet102/1/29   Auto On  (8)       28216      11808124  
    Ethernet102/1/30   Auto On  (8)       4792       441340    
    Ethernet102/1/31   Auto On  (8)       0          0         
    Ethernet102/1/32   Auto On  (8)       1040       201214    
    Ethernet1/19       Auto On  (8)       1888566    10100200  
    Ethernet1/20       Auto On  (8)       10414603   1367098   
    Just a one of the servers
    GDC-CORE-SW04# sh inter e101/1/29 priority-flow-control
    ============================================================
    Port               Mode Oper(VL bmap)  RxPPP      TxPPP    
    ============================================================
    Ethernet101/1/29   Auto On  (8)       5912932    1276      
    GDC-CORE-SW04# sh inter e101/1/29 | in pause
        0 Rx pause
        0 Tx pause
    GDC-CORE-SW04# sh inter e101/1/29 priority-flow-control
    ============================================================
    Port               Mode Oper(VL bmap)  RxPPP      TxPPP    
    ============================================================
    Ethernet101/1/29   Auto On  (8)       5913378    1276      
    GDC-CORE-SW04#
    GDC-CORE-SW04# sh inter e101/1/29 | in pause
        0 Rx pause
        0 Tx pause
    VNX
    GDC-CORE-SW04# sh inter priority-flow-control | in Ethernet1/19 ne 1
    Ethernet1/19       Auto On  (8)       1889064    10100536  
    Ethernet1/20       Auto On  (8)       10414603   1367164   
    GDC-CORE-SW04# sh inter e1/19 | in "input rate"
      30 seconds input rate 133346744 bits/sec, 16668343 bytes/sec, 10762 packets/sec
        input rate 96.22 Mbps, 8.31 Kpps; output rate 118.68 Mbps, 8.83 Kpps
    GDC-CORE-SW04# sh inter e1/20 | in "input rate"
      30 seconds input rate 36024752 bits/sec, 4503094 bytes/sec, 2342 packets/sec
        input rate 33.96 Mbps, 2.09 Kpps; output rate 24.95 Mbps, 1.50 Kpps

    Hi, thank your for your answer.
    I actually already enabled the system qos manually since we run 5.0(2)N2 release.
    We will implement FCoE over 5500. What I'm worried about is the warning message I posted above on Nexus 7009s connected to my 5500s after I enabled the system qos.
    Could it be originated by the DCBX feature? May I have some problem if 'Priority-flow-control' setting between N5k and N7k don't match?

  • Mvc: process flow control

    Hi
    I am working on a BSP application using MVC.
    My application has three controller ..Main controller has two sub controller .
    During the event handling i am facing some problem
    can any one please tell me the process flow control in multiple controller ....in which flow all the events in all controllers are called .?
    thanx

    Hi Monica,
    you can find an overview about the process flow in the online docu:
    http://help.sap.com/saphelp_erp2004/helpdata/en/22/d59045f4d1174099260b71d5317908/frameset.htm
    Regards,
    Rainer

  • User Account Control Problems with Premier Elements 7 32 bit in 64 Bit Windows 7

    I found User Account Control Problems in other forums but didn't see much in Premiere Elements, so I hope this helps others who may be having problems with 32 bit programs in a 64 bit computor. When I first got my 64 bit I didn't have problems.
    Back in February I bought a Quad Core Desktop with Windows 7 64 bit. Haven't been on the forum for 7 months since I wrote in regarding importing video with the Pyro AV Link (Premiere Elements Tips and Tricks). I was having problems importing video which started after March 28 sometime, as that was the last time I didn't have a problem importing VHS. Took me a few months off and on to find out what worked.
    I started uninstalling Windows updates and any programs I had installed back to that point in time. Checked after uninstalling each item. The capture screen would come up on a delayed basis but clicking on capture did nothing. Although no driver is required for IE1394 (so they say) I read where some people using the Legacy driver had fixed some problems, so I switched to the Legacy. Seemed to work great (for a few minutes).
    I had even uninstalled and reinstalled PE7 but no difference. Finally I noticed a shield in the PE7 Desktop icon. Thats weird. Never had that before. Just decided to show up after I had done all of the stuff I mentioned. Turns out at some point in time since I've had the computor Windows 7 decided to flag my 32 bit program as misusing the 64 bit system. User Account Control. I never bothered too much with UAC and just clicked on the yes box wen it popped up asking if I wanted this or that to take control of my computor. I tried using the minimum setting for safety reasons, and then finally turned User Account Control off. Bingo! PE7 capture works again and still working.
    While I am not recommending that people arbitrarily turn UAC off, this appeared to be my problem. I would recommed that they try turning it off before uninstallin a bunch of stuff. Having a restore point may or may not have been a fix for me. I think one of the Windows Updates caused the problem but I am not going to uninstall any more stuff at this point, I have not been back on the internet or installed any more updates in my desktop. I am going to use my laptop for internet and used the desktop for video.
    I am guessing this could be a problem for any 64 bit systems trying to use 32 bit programs. IE: XP,Vista,Windows 7 64 bit. In Vista there is also Data Execution Prevention (DEP) which you can turn on or off, supposedly to prevent misuse of memory (as I understand it), but Win7 either doesn't have it or I haven't found where it's located.
    Maybe this has been covered in the forum somewhere and I missed reading it. Hope I am not too confusing. Anyway, whatever feedback you guys have would be great.  

    John,
        Thanks for your answer, and I did check out the link you suggested. However, I have Windows 7 Home Premium as most people have I think, and the XP program was not available. I started with Vista and now have Win 7. I never could navigate around in XP anyway so am content to just leave User Account Control off.
        Interesting side note to turning UAC off is that my desktop seemed to be using more of the CPUs, where half of them were "Parked" as I wrote in also about 7 months ago when I 1st got my desktop. I am pleased to say that video processing seems to go quicker with UAC off. Have to observe things some more to confirm.
        I just thought if others were having problems after installing Windows Updates and leaving UAC off worked then they could possibly pinpoint a problem.

  • Console flow control

    With no flow control on the console port, it's common to overrun the port when sending large config files from a terminal emulator. Is there any way to avoid this, other than manually breaking up the file and sending a chunk at a time, maybe by adjusting the console buffer size, if possible?

    Michael
    Most terminal emulator programs (like Hyperterm, or TeraTerm, or SecurCRT, etc) have a setting where you can specify character delay and or line delay. If you use these parameters to specify some delay you can send the config file (even very large configs) without over-running the console.
    HTH
    Rick

  • Want to know what exactly is flow control in odi

    Hi Experts
    I want to know what exactly is flow control in odi.can anybody explain with an example.i have created a simple interface ie using contol append km .in this both the tables are in one data server ie in different schemas.in this interface i have set the flow control as false.in what circumstances we will use this flow control.
    Regards
    sree

    Hi Sree,
    Couple of points u need to aware.
    There are two ways of Constraint checking in ODI (PK, FK, Condition, NOT NULL etc) using CKM.
    FLOW_CONTROL: If u enable this in ur IKM all the constraints checking will be done at I$ table (before target table loading).
    STATIC_CONTROL: If u enable this in ur IKM all the constraints checking will be done at TARGET table (after target table loading). In this case u need to DISABLE the constraint first and once STATIC_CONTROL is done then u need to ENABLE it.
    So all the violated/errored record will be moved to E$ table in both approach.
    Makes sense?
    Thanks,
    Guru

  • Control problem

    I create a swf by Flash locally which point to a flv in a
    remote flash media server, FLVplayback component included, it work
    fine locally. Uploaded to FMS3, played without the control problem,
    such as Play/Pause, seek bar.
    Is it something I need to configure in FMS, or in Flash.
    Please advice.
    Thanks!

    Between version 1.0 and 2.0 the API in the JBCL controls has
    changed. We are actually moving away from JBCL completely (please
    do send feedback if you have a comment on that) to a Swing and
    Infobus standard based library of visual JavaBeans.
    You will still be able to use the JBCL controls in JDeveloper
    2.0. The best thing to do is to take your 1.x based application
    AND the 1.x based JBCL.ZIP file into your new environment. This
    way you will be able to continue to use these apps and
    components. Taking the 1.x JBCL.ZIP file will make sure you have
    the same version of the JBCL library that you were used to in
    version 1.x.
    Hope this help,
    -Roel.
    Hans Duijn (guest) wrote:
    : Hi,
    : I developed an applet in v1 that worked fine. I tried to
    rebuild
    : the applet in v2 but some problems occured. One, The
    : ChoiceControl populated with the method
    : 'ChoiceControl1.setItems' but in v2, this does not work till a
    : explicitly called 'queryDataset.open'. Is the way to do it or
    do
    : I have to use special properties for the
    dataset...and...second,
    : I'm using an listControl that, in response to a selected item
    in
    : the ChoiceControl, changes frequently. No new list appears till
    : I update the applet the hard way (hide it and bring it to
    front)
    : or click the mouse on the hidden items. 'listControl.repaint()'
    : has no result. Am I doing something wrong? It worked in v1...
    : and third...when can we expect the final version 2?
    : Thanx.
    null

  • How to implement autotuning pid in labview in flow control process????

    I tried the same way as Example available in LabVIEW..... that is general auto PID simulator... But that didn't worked out for me.....

    The 'General Auto PID Simulator.vi' example uses the technique "PID Relay" feedback where it tries to calculate the PID values based on the relay feedback, but using the PID also in the loop:
    (http://zone.ni.com/reference/en-XX/help/370401H-01/lvpidmain/pidrelay_alg/)
    This technique works, but it requires initial PID parameters that will make the relay setpoint stable and it is able to obtain the results you are expecting.
    Now, for flow control, you can try the most classic techniques. Please use other shipping examples that start with "autotuning" and in special this:
    C:\Program Files (x86)\National Instruments\LabVIEW 2013\examples\control\PID\Autotuning PID Online.vi
    In this VI, you can choose other techniques like open-loop step response, closed-loop step response and the original 'relay feedback' where it doesn't have a PID inside the estimation loop.
    Anyway, here you have more information about those techniques http://zone.ni.com/reference/en-XX/help/370401H-01/TOC4.htm.
    One more thing: keep in mind that depending on the plant parameters, a PID could not be suited for your application and a more complex controller need to be developed.
    Hope this can help you...
    Barp - Control and Simulation Group - LabVIEW R&D - National Instruments

  • Cover Flow view problems

    Hello Everyone and congratulations for the Support Forum!
    I am experiencing Cover Flow view problems since I installed iTunes 10 on my windows based laptop.
    I here enclose address of a picture to let you better understand which the problem is.
    http://img684.imageshack.us/i/itunescoverflow.jpg/
    I kindly ask you for providing a solution on the issue.
    Thanks and Regards,
    Antonio

    Hi,
    I found the solution here : http://discussions.apple.com/thread.jspa?messageID=12623727&#12623727
    I rebuilt my library...
    Enjoy :-D

  • Standard flow control

    JSTL support for standard flow control.
    what that means ?
    I am aware of that JSTL can help in SQL processing , XML processing through Tag libraries.
    But however, how the JSTL supports standard flow control ? is it the JSTL iterator we are talking about ?

    Although you can apparently access a database on the JSP page using JSTL tags, it doesn't mean its a good idea. I suggest you use the MVC design. You separate the layers and not put database functionality in the presentation layer (JSP).
    Hers is one MVC approach in which a single servlet acts as the control. There are other ways of doing it via Spring, Structs, etc. However, I suggest you master this approach before moving onto those.
    presentation layer:
    JSP, CSS, Javascript, and JSTL.
    The JSP page and its supporting languages is responsible for displaying data and submitting user input back the controller. The Javascript is typically responsible for basic client side validation of user input. JSP gets its data that it is to display from request scope (and perhaps some from session scope). JSTL assists JSP in displaying data by doing such tasks as looping though a Java collection from the request scope and displaying it. The JSP page should not contain any logic from the other layers (below). The page will get complicated enough over time just displaying data without making it even more difficult to read by inserting business logic into it.
    control layer:
    A single servlet. This servlet takes in all url request and page submits coming from JSP pages. Avoid JSP to JSP page naviigation (there are exceptions to this rule). Go through the control layer. This servlet calls business logic to get data that the page requests. It puts it in request and/or session scope, and dispatches to the appropriate JSP page. Because all url request go through this servlet, the servlet can do centralized authentication (log in) and authorization (user assigned to a role). Dont generate presentation data (html) from this layer.
    business layer:
    Java classes that carry out requests from the control layer. It calls the database layer for raw data from the database and performs business logic on the data (if any) before sending it to the control layer.
    database layer:
    Takes in requests from the business layer. Queries the database via SQL. Is the only layer that has sql in it. Reads the resultSet from the database and puts the data in some kind of Java collection before returning it to the business layer. Never return the resultSet (a database concept) to the business layer.

Maybe you are looking for

  • Printing Date in One coumn and Date-1 in another column

    Hi, I have a column BILL_RUN in xml with value 30-Sep-2010,But i need to print in report the value of BILL_RUN Date -1 i.e 29-Sep-2010 , please guide me how to approach for this result. Best Regards, Mahi

  • Number of conflicts while synchronizing: 4 SyncResolver.INSERT_ROW_CONFLICT

    Hi All, I have a problem saving edits and new rows to a data table. I get the following error Number of conflicts while synchronizing: 4 SyncResolver.INSERT_ROW_CONFLICT This is described as : Indicates that a conflict occurred while the RowSet objec

  • Why won't my iphone 4 and mac with mountain lion sync my messages?

    I am trying to continue a conversation from my iphone to my mac. It doesn't work like icloud pushing my e-mails and songs from one to the other. That works just about perfectly. But for imessages I can't get it to work. I even turned my caller ID to

  • Since 7.1.2 mail does NOT retrieve mail in background and notify

    After updating to ios 7.1.2 and having to do a complete reset and restore from backup, mail does NOT retrieve mail and notify me that a new message has arrived. In the past (and with every version of the OS until 7.1.2) mail would vibrate when a new

  • Drill down to detail

    Hi Gurus, I'm relativelly new to OBIEE and I have a basic question. I have detailled financial transactions in my datawarehouse and dimensions and hierarchies on accounts, departments and time that I use in a pivot table. I need the following functio