Urgent: How to have a page CONTINUE to check Database Record?

Hello,
How to have a page CONTINUE to check Database Record? For example, there's a page which itself will periodically check the database, if there's any new data the page will Popup a new page with those data. My question is how can the page keep checking the database?
One of the solution(not good) is that there's a hidden frame with a hidden Servlet, it will refresh every x secs and connect database for every refresh, it seems not a good solution. Please suggest some idea. Another way is using applet.
Someone suggest me to use JMS, I know nothing about it, so is it possible and how,thanks very much
Thank you.
Ken

I don't think JMS is suitable for your solution but I know very little anyway.

Similar Messages

  • Urgent: How to have a page CONTINUE to check Database

    Hello,
    How to have a page CONTINUE to check Database Record? For example, there's a page which itself will periodically check the database, if there's any new data the page will Popup a new page with those data. My question is how can the page keep checking the database?
    One of the solution(not good) is that there's a hidden frame with a hidden Servlet, it will refresh every x secs and connect database for every refresh, it seems not a good solution. Please suggest some idea.
    Thank you.

    You can check the database in a thread as much as you want but your problem will be sending the data to your client when it changes. Normally you can't send anything to the client until it sends a request; that's why the HTML meta-tag for refreshing works. The other way to have the client make repeated requests that was suggested was an applet. This could indeed work, except that you mentioned "mobile agent" as a requirement. Not quite sure what that is, but it's probably not a platform that supports applets. That would be a problem.
    On the other hand, if your platform is one that can receive unscheduled messages (in pager style), you could try that approach.

  • How to have a page in landscape and the next in portrait

    i am unable to figure out how to have in a single document a page in landscape and the next one in portrait.
    can someone advise on how to do it? or maybe this option is not available in pages08.
    at least i have to be able to insert a chart in lanscape even if the document is in portrait and i am unable to do it as well

    hadial,
    To fill in the blanks: start your document in portrait mode; on page 2 select all the elements, then click on the Metrics inspector. Use the rotation wheel to rotate this elements 90 degrees.
    -Dennis

  • How to Refresh a Page once saved to database in ADF.

    Hi,
    I created a JSF page using project template as "JSF,ADF,business components".
    There is a List of values displayed in a dropdown list,
    User can create new value and once it is saved to the database it should reflect in the list of values.But it is not displaying in the LOV and it is happening only when i close that page and open a new one.
    Can u please tell me how to refresh a page without closing the current page once save button is clicked.
    Thank you,
    Harika.

    Mini wrote:
    Hi Hari,
    Yes i have a apex page redirects from the ebs menu like you said. But for the refresh issue instead of modifying in the jsp i thought of bringing the automatic refresh for that apex page once it is loaded within apex.
    However these type of issues are sometimes get fixed by clearing browser cache or just by restarting your browser. Have you tried it?Yes i have tried, by clearing the browser cache and also by restarting the browser then too it still persist.
    Any DA action will be helpful for refreshing that page for 1sec once it is loaded. Since i dont want it to be loaded multiple times often once it is loaded.
    The refresh has to be only once if the page is loaded.
    or is it possible to Refresh the page based on the application page item through DA
    Thanks
    Brgds,
    MiniTechnically Yes, you can create a D.A. that will fire only once based on some apex page item or application item value. However this is NOT the correct solution.
    <li> When you see apex page (after clicking menu in EBS), do you see apex url in browser address bar? Can you post the URL here?
    <li> If you directly log-in to APEX (not via EBS), do you still face this issue?
    Regards,
    Hari

  • Urgent ! open the same page in query and create record mode...

    We have to page in our project
    First page include a list show employees(page1) and second page(page2) showsdetail information on employees.
    We have two button on page1 ("CREATE NEW EMPLOYEES" and "EDIT EMPLOYEES")
    When we press create button we need to create a record on second page.
    Second page is needed to open create insert mode.
    When we press edit button we need to edit emloyees details.
    Second page shows queried record.
    can we implement this using faces config xml without writing code . Or do we need to write code.
    How can we implement create insert and query event on the same page call (page2)...
    Thanks a lot...

    Hi,
    using ADF, drag the edit button from the component palette and point its navigation case to the next page that contains the edit form.
    Drag and drop the create button from the data control palette by dragging the "create" operation of the VO to the page. Also set the navigation case to the edit form and change the pagedef file (the binding) for this "Create" operation to use CreateInsert as an operation
    Frank

  • [Urgent] How to print Line items Twice in Check Printing ??

    Hi <b>Experts</b>,
    We have got a requirement of printing the vendor invoice info(Line Items) above and below the actual check.
    Eg.
    Page 1
    1-8 Line Items
    Voided Check
    <b>1-8 Line Items</b>
    Page 2
    9-16 Line Items
    Voided Check
    <b>9-16 Line Items</b>
    Page 3 ..... (last Page)
    17-20 Line Items
    Actual Check
    <b>17-20 Line Items</b>
    Now, All the things are printing fine except dual printing of the Line items at the below of Check.
    Please help me..... i am using Check print program <b>RFFOUS_C</b>.
    If anyone can has done something like this before than please send me the code for it.
    If someone requires more clarification, please ask me.
    Regards,
    <b>Abhishek</b>

    Hi Abhishek,
    we have done check printing here. but can u pl tell me why is the line item required to be printed below the check also??
    u must have observed that in the check sapscript ( F110_PRENUM_CHCK), the main window is situated above the check window.. n the line items are coming within the main window...since the line items are dynamic data( not fixed), u have to create a window below the check n that has to be a MAIN window again for it to display multiple data.. so wen ur last page is getting called ( u need to find that out that wen is the last page getting called ), u can insert a write_form for this new main window along with the other write_form( for the earlier main window).
    it can get very complex though as i dont know if this will certainly work...
    is the requirement reaaly to print the line items below the check or anything else will do?? as it wud greatly reduce ur headache...

  • How to have some pages listed in iTunes (in addition of posts)?

    I use WordPress 3.5.1 and Blubbry PowerPress.
    My blog/podcast is now listed in iTunes.
    But, in addition of posts, I would also like some pages (with audio files) to be listed.
    How to do so?

    If your episodes (posts) within a podcast contain suitable playable media files they will show in iTunes, but the URLs must be within 'enclosure' tags' and be of the acceptable formats. As you've evidently got a podcast in the Store (I assume) you must have episodes with media, so you need to do whatever you did with those if you have episodes which aren't showing: there have been a number of cases of people not having followed the correct procedure in Wordpress and so having episodes not showing, but I'm afraid I can't advise on the specifics.
    The acceptable media are.mp3. .m4a, .m4v, .mp4 and .mov - not Flash (.swf), YouTube or any sort of embedded media player.

  • How do I stop Pages continually duplicating my documents

    When I go into Pages particularly, my documents have been duplicated many times.  I have tried to delete them, just keeping the originals, but the next time I go in there are duplicated again. I assume that it is a setting change, but can someone guide me as to where I do this or why it is happening please?

    You can't turn it off entirely, but you can change the period of time before documents lock in the Options tab of Time Machine Preferences.

  • How to have web page open in same browser window after redirect in Flash video placed in Dreamweaver?

    Hello,
    Would be grateful if anyone can help me.
    website: www.Paris-Pet.com
    Currently, a flash video plays on the index page. The following action is placed in the last frame of the video in Flash:
    navigateToURL(new URLRequest("http://www.paris-pet.com/home.html"));
    This is working as intended with one exception: Instead of directing to the home page from the index page when the video is completed, it opens up the home page in a second browser window, leaving the empty browser window of the flash movie. This is not the seamless design I was hoping for, and I've also been told on some computers, blocking pop up windows is preventing them from smoothly transitioning to the rest of the web site.
    I would like the redirect to open the home page in the same browser window as the movie in the index page played.
    Please help. Print designer in over her head.
    JM

    Brilliant, Jon. Thank you so much. For those of you who stumble on this, I did have a tiny bit of trouble when I edited the actionscript; the video didn't play as expected. After trial and error, this is the code that worked both in playing the video and opening up in the same browser window:
    navigateToURL(new URLRequest("http://www.paris-pet.com/home.html"),"_self");
    The difference seems to be this:  ")     before the comma prior to "_self");
    Again, Jon -- thanks!
    Jack

  • Urgent: how to add dynamic page created by portal to your as a portlet in page

    i want to add a component i made by portal like dynamic page as a portlet into page in my application. please the answer is so important
    thanks

    HI,
    its easy to do.
    1.Create an application.
    2.Publish it as Application Provider.
    3.In that Application,create objects like dynamic pages,forms or report.
    4.Publish Dynamic page as a portlet.
    5.Create New Page or edit existing one.
    6.Click on add portlet tab and you will see ur dynamic page name in the portlet repository List.
    Thats it.
    null

  • How can i use page break for every 5 records in sap scripts

    on every 5 lines of records i have go for a new page so what is procedure to do this .if possible send me with coding .

    Hi John..
    this is the way..
    IN THE PRINT PROGRAM...
    DATA : V_MOD TYPE I.
    loop at Itab.
       V_MOD  = SY-TABIX / 5.
       IF V_MOD  = 0.
           CALL FUNCTION 'CONTROL_FORM'
           EXPORTING'
              COMMAND = 'NEW-PAGE' .
      ENDIF.
             CALL FUNCTION 'WRITE_FORM'
    ENDLOOP.
    <b>reward if Helpful.</b>

  • How to print partial pages of Quicken checks to my Canon MX860?

    My iMac and Quicken 2007 will only print checks from the bottom tray.  This works fine for 3-check pages, but when I have one or two checks to print, the option which other printers use of printing these checks using the rear tray is not available.  I have to Scotch Tape the single or double checks to a piece of blank paper.

    Hi.
    I did try using the printParams feature and it worked, but since I need to be able to print sets of non-consecutive pages,  I end up having to bring up the print dialogue multiple times and have the user set watermarks each time. 
    I decided to just create a new pdf in a temp directory containing the selected pages and open this document in a new window.  This works well and allows them to use the print button on the window to print, bringing up the print dialogue just once.  However, since I need to open the document in a way that shows the print button, I am using OpenInWindowEx, with AV_DOC_VIEW, and the option PDUseBookmarks or PDUseThumbs, rather than PDUseNone.  This displays a toolbar which also includes icons for creating a new pdf, deleting pages, etc.  I do not really want to include these icons on the toolbar.  Is there a way to remove unwanted icons from the toolbar, or make them invisible?
    Hope this makes sense.  Thanks for your help.
    Mary

  • How to delete a database record by using EJB entity beans

    Hi, All,
    Does anyone know how to use entity bean to delete a database record? I have all the EJB entity beans created, including access beans to each. I can successfully create records, find and update records, however, I haven't find a way to delete records yet.
    Your response is appreciated.
    Cathy

    Please see EJB Forums for continue discussion on this subject.
    Reference titile: "how to delete database record by using CMP entity beans "

  • How to have Safari remember PDF display preference (two pages continuous)?

    I am using the built-in PDF viewer in safari and every single time I am a opening a link or document I have to right-click and choose "two pages continuous" (or at least zoom out) to obtain suitable display preferences.
    Is there a way to have Safari remember the last-used or preferred display settings for PDF? All recent versions of Safari (including Yosemite) have this problem.
    Thank you so much,
    Christophe

    Thank you most kindly Aandi,
    Exactly!! It boggles my mind sometimes ... I'm reading manuals all day long, running a dozen complicated applications (making movies, music for movies, and now 'books'), and my brain did not register the most obvious ... a dozen times I scanned that menu item. Tick, tock.
    You help is most appreciated...
    Ben

  • How can I have a Pages document that is shared with me under my Pages section and not open it with the link?

    How can I have a Pages document that is shared with me under my Pages section and not open it with the link?

    Try this.
    Open the document and select and copy a few pages, say ten pages.
    Open a new blank document and paste the pages you copied into that.
    Save it with a new name.
    Work on those new pages to see if the problem has disappeared.
    If this helps, continue breaking up the large file in to smaller chunks and working on them
    You can of course later reverse the process and merge the files into one new one.
    This suggestion is based on my experiences with large Word files. Breaking it up in to smaller chunks does two things. First, if there is any corruption in the old file, the new copies might escape that. Second, the Mac is faster handling the smaller chunks.

Maybe you are looking for