How to achieve this scenario

Hi I have a stored procedure in oracle... implementing some if else logic
what i want is ... if
if <condition=true> then
send some indicator file(0bytes) from the database on to another application server
else
dont do anything ;
Now.... that app server is a weblogic server on which some java programs exist.... there should be some way for java program to wait for this file.... once the file arrives.. delete it and execute a java class ...
Is this possible? if yes how.....
I have actually implemented this in a didfferent way.... currently
i have loaded the java class into oracle and wrote call specifications for it (java stored proc) and calling this java stored proc if the condition is satisfied. But i dont want to load all the java jars/classes into the oracle database creating havoc.
Please suggest
Regards
Edited by: learning_man on Mar 2, 2010 12:37 PM

learning_man wrote:
I just want to send some file.... to the appserver to know that .. it can now start executing its class
its just like a make file..... to trigger the java programA make file has absolutely nothing to do with communication between programs.
You and Scott want to communicate. You can use e-mail. You can use telephones. You can use cellphones. You can use satellite phones. You can use two-way radios. You can use snail mail. You can use signal flags. Etc.
The very first thing you and Scott has to do, is agree on what means of communication to use.
It is no different between PL/SQL code and Java app server code. You need to identify what means of communication will be used to enable the PL/SQL code to communicate and notify the Java app server code.
This is driven by technical requirements. What is communicated? At what rate? How must communication failures be dealt with? Etc.
It could be done by PL/SQL using http to call the Java app server. It could be done by using ftp to place a trigger file on the app server for the Java code to detect. It could be done using numerous methods.
After you decided which one, we can tell you how easy/difficult/robust/do-able it is in PL/SQL.

Similar Messages

  • How to achieve following scenario through Payment term

    Hello All,
    Our Client wants the Following scenario to be achieved through payment terms in the system:
    30 Days Due Net 20th of the subsequent month
    If an invoice gets posted on 01.04.2011- The Invoice should get overdue on 20.05.2011
    If an Invoice gets posted on 25.04.2011t the invoice should get posted on 20.06.2011 (20th June)
    Can anybody suggest how to achieve this.
    Thanks
    Nitin

    Hi,
    in OBB8, you Create a Payment Term Varian eg. G001.
    1. to achieve your 1 requirment do create as following.
    Give Day Limit as 24 and in (Default for Baseline date -you can select document date or posting date as per your requirment)
    you can Select either Vendor or customer as Per your Requirment.
    Under Payment Terms give 20 under Fixed date and 1 under Addtional Months.you can give Own explanation as Due  on the 20th of  Next month. Save it.
    2. to achieve your 2 requirment create as below
    copy the Variant G001 and change the DAY Limit as 31
    Under Payment Terms give 25 under Fixed date and 2 under Addtional Months.you can give Own explanation as  Due on the 25th of  the Following month
    by the above way you can achieve your requirments.
    Wht Happens once you create a payment term as above is for  the invoices posted on or before 24th , the due date will be 20th of next month and for the invoices posted inbetween 25 to 31 ,the due date will be 25 of the following Month. save it
    Please Let me know if you still have any doupts.
    Thanks
    Goutam

  • How to achieve this process in SAP SD module??

    Hi,
    I want to know whether this kind of scenario could be achieved in SAP system SD module??
    We have only one material which the value or price is 10000USD, and this material could be only used 5 times. Everytime it is used, it will be goods issued in the system,  and its value will be decreased 2000USD, this means this material will be drawn back into system and its value will be showed as 8000USD.  And next time it will be 6000...4000...2000...0
    After 5 times this kind of process, then this material is no-used any more.
    I just want to know could 'Draw back' and 'decrease 2000USD everytime'  'show 'previous value - 2000' as new value every drawn back time' ....
    how to achieve this in SAP SD system??
    Thank you very much.

    Hi,
    This can be mapped in Foreign trade.You need to use Licensing functionality.Each  time you use it,  it  depreciate by document value.
    Thanks,
    Vrajesh

  • How to achieve this OIC Calculation?

    Scenario likes this:
    Two dimensions:
    Dimension#1 Year Target Fulfillment Percentage
    Dimension#2 Discount (Selling Price/ List Price) for each transaction
    Ratetable is based on the two dimensions.
    So the formula is like this:
    Individually, no accumulative
    Input1: Year Target Fulfillment Percentage ( How to achieve this?)
    Input2: Discount (Easy to do)
    Is there anyone has any thought about it? The headache is when calculating the rate for each transactions (different discount), you need to know the whole year Target Fulfillment Percentage.
    帖子经 967311编辑过

    Hi,
    Sorry, I think I understand you now. You cannot do what you want because you cannot use Discoverer percentages to create a percentage based on a grand total from a different column. You can only create the percentages for Category A column based on the grand total for category A.
    To create the percentages that you want you can put the category A and Category B figures on a different row so that you only have one total column and use subtotals to calculate the totals for the categories. You can then create a Discoverer percentage for the total column to give you your category A and B percentages. You may need a row generator to create extra rows for the categories.
    The alternative is to use an analytic function in a calculation to calculate the grand total in the main query. For example:
    gtotal = SUM(Total) OVER ()
    Once you have the grand total you can then create percentage calculations, using:
    Cat A perc = Category A * 100/ gtotal
    Rod West

  • How to Achieve this in SQL Query?

    How to Achieve this ?
    I have a table with numeric value populated like this
    create table random_numeral (numerals Number(10));
    insert into random_numeral values (1);
    insert into random_numeral values (2);
    insert into random_numeral values (3);
    insert into random_numeral values (4);
    insert into random_numeral values (5);
    insert into random_numeral values (6);
    insert into random_numeral values (56);
    insert into random_numeral values (85);
    insert into random_numeral values (24);
    insert into random_numeral values (11);
    insert into random_numeral values (120);
    insert into random_numeral values (114);
    Numerals
    1
    2
    3
    4
    5
    6
    56
    85
    24
    11
    120
    114
    I want to display the data as follows
    col1 / col2 / col3
    1 / 2 / 3
    4 / 5 / 6
    11 / 24 / 56
    85 / 114 / 120
    Can anyone Help me?

    I hope there might be some simple way to do this and waiting for experts to reply.
    Try the below query.
    SQL> select * from random_numeral;
      NUMERALS
             1
             2
             3
             4
             5
             6
            56
            85
            24
            11
           120
      NUMERALS
           114
           100
           140
    14 rows selected.
    SQL> select a.numerals ||' / '||b.numerals||' / '||c.numerals from
      2          (select numerals,rownum rn1 from
      3          (
      4              select numerals,mod(row_number() over(partition by 1 order by numerals),3)
      5              from random_numeral
      6          )
      7          where rn=1) a,
      8          (select numerals,rownum rn1 from
      9          (
    10              select numerals,mod(row_number() over(partition by 1 order by numerals),3)
    11              from random_numeral
    12          )
    13          where rn=2) b,
    14          (select numerals,rownum rn1 from
    15          (
    16              select numerals,mod(row_number() over(partition by 1 order by numerals),3)
    17              from random_numeral
    18          )
    19          where rn=0) c
    20  where   a.rn1=b.rn1(+)
    21  and b.rn1=c.rn1(+)
    22  /
    A.NUMERALS||'/'||B.NUMERALS||'/'||C.NUMERALS
    1 / 2 / 3
    4 / 5 / 6
    11 / 24 / 56
    85 / 100 / 114
    120 / 140 /
    SQL>Cheers,
    Mohana

  • How to achieve this tree table (displaying/modifying non leaf level details) ?? Image inside

    Region
    location
    Dept
    Budget Available
    Allot Budget
    Unused Budget
    Decision for unused budget
    US
    200$
    User Input
    NY
    100$
    User Input
    CA
    100$
    User Input
    HR
    50$
    User Input
    IT
    50$
    User Input
    ---------30$--------
    20$
    LOV
    Add to Location
    Use for Future Project
    Add to Region
    Spend as Bonus
    How to achieve this tree table ?
    My client wants that they should also be able to manage budge at Location or region level not only at the leaf(Dept) level.
    I did a lot of research and finally found out that the details can only printed at the leaf(Dept) level.......
    We can not hard code Region, locations and departments in table rows. When table tree is displayed we will only show all the regions... (US, UK, SA, IND, AUS, CAN,RUS, JPN.... etc..)
    For Example:
    Locations for US (NY, CA, OKH, WC...... etc.)
    Locaitons for UK (SC, ENG, WL..... etc)  and so on......
    Departments for CA (HR, IT, ADMIN, FIN, TRVL, OPRN........ etc. ..)
    Thanks in advance... It will be really great help if I get some breakthrough...
    -Rahul

    Hi,
    what if you add a transient attribute to those view objects? This way you don't need to change the table structure.
    Frank

  • I don't want my Time Capsule to link ti Internet, does anyone know how to achieve this ? Thanks Don

    I don't want my Time Capsule to link to Internet, does anyone know how to achieve this ? Thanks Don

    Don,
    We have no idea how you have your network set up, or what devices other than a Time Capsule that you might have, so it it impossible to provide an answer for you based on what we know at this time.
    Can you provide some details so that we can understand how you have things setup, what devices that you have, etc?
    The Time Capsule does need to connect to the Internet to receive firmware updates from Apple, so you would be missing out on some significant things......like a recent important security update....if you try to configure the Time Capsule to connect in the way that you ask about.
    Backups will not be "automatic" if you configure the Time Capsule without an Internet connection. You will have to manually switch networks whenever you want to back up, and then switch back again to your "other" network for normal use. Quite a hassle for most users, even if it can be done.

  • How to achieve this using UWL

    Hi Friends,
    I have the following requirement for Travel request workflow and Invoice approval workflow. Please let me know how to achieve this.
    While sending a work item to sap inbox we will put the base BO in the task container right so that the approver can open the particular transaction.I need the same functionality in UWL but instead of the BO i need to place some link so that the user can open an iview or webdynpro application. Basically the user dont want to login to SAP GUI he needs everything to be done in Portal itself.
    Do we need to do some settings in tcode SWFVISU for this or do we need to change the associated xml file in UWL to provide the link to iview. Please advice.

    Hi,
    If i understand your requirement correctly, you want to place a link of BO in UWL but don't want that to get to SAP GUI. Right ?
    I think it's possible. We had ECC 6.0 and EP 6.0 with SP 11. And, we had the requirement of showing up the TRIP BO in UWL thru' an iVIEW. We tried the SWFVISU and it didn't work. But, i think this facility has been taken care in later service packs. Pl approach SAP and they should be able to help you out. I'm not sure about the details of the solution SAP provided us, but it worked for us..like there will be a button "Display XXXXXX" which infact opens up your BO in UWL without logging into GUI.
    Hope this helps.
    venu

  • How to achieve this photographic slide display/navigation

    Hi,
    I would like to know how to achieve the following:
    1. Go to
    http://www.corneliaadams.com/
    & then click on 'michael mundy' link. this opens up a page with
    a slideshow of photographs that i really love. I have very basic
    knowledge of scripting ,a nd i usually achieve my goals by
    modifying flas that i have seen or by following tutorials (as
    opposed to writing it myself). the great thng about the above
    version is taht the images slide to an exact position when you
    click on the forward or back arrows, and they slow down ever so
    slightly just before stopping. Can anyone point me in the right
    directoin with how to achieve this, or offer a tutorial. I am
    really starting from scratch, and would lik eto end up with the
    same clean and professional outcome.
    2. regarding the same above link, when you are at the main
    site, and then you click the michael mundy' link, what is it that
    happens, is it a new html popup page that opens of specified
    dimensions and the embedded swf is set to stretch to maximum
    width/height? or is it a lone swf that pops up (with no html page)?
    or is that impossible?
    Many Many Many thanks in advance,
    Cheska

    I hope there might be some simple way to do this and waiting for experts to reply.
    Try the below query.
    SQL> select * from random_numeral;
      NUMERALS
             1
             2
             3
             4
             5
             6
            56
            85
            24
            11
           120
      NUMERALS
           114
           100
           140
    14 rows selected.
    SQL> select a.numerals ||' / '||b.numerals||' / '||c.numerals from
      2          (select numerals,rownum rn1 from
      3          (
      4              select numerals,mod(row_number() over(partition by 1 order by numerals),3)
      5              from random_numeral
      6          )
      7          where rn=1) a,
      8          (select numerals,rownum rn1 from
      9          (
    10              select numerals,mod(row_number() over(partition by 1 order by numerals),3)
    11              from random_numeral
    12          )
    13          where rn=2) b,
    14          (select numerals,rownum rn1 from
    15          (
    16              select numerals,mod(row_number() over(partition by 1 order by numerals),3)
    17              from random_numeral
    18          )
    19          where rn=0) c
    20  where   a.rn1=b.rn1(+)
    21  and b.rn1=c.rn1(+)
    22  /
    A.NUMERALS||'/'||B.NUMERALS||'/'||C.NUMERALS
    1 / 2 / 3
    4 / 5 / 6
    11 / 24 / 56
    85 / 100 / 114
    120 / 140 /
    SQL>Cheers,
    Mohana

  • How to achieve this specific drop shadow effect?

    Dear all,
    Does anybody know how to achieve this specific drop shadow effect in InDesign: a step by step instruction, a plugin, etc?
    Regards,
    Kasyan

    Kasyan,
    I generally just use the basic feather. I draw the object with a few clicks of the pen, fill with whatever color, set the tint if desired, then use settings more or less as below.
    Mike

  • How to achieve this Effect?

    Hey everyone i was wondering if you guys had any idea how to achieve this effect in flash.....http://www.youtube.com/watch?v=QftcJtvLr8g

    While you could probably do this in Flash, it is much more simply done using AfterEffects. There's a splendid text tool that can be tortured into effects like this. Have a look at the podcasts from Creative Cow on AfterEffects for some interesting examples.

  • Does anyone know how to achieve this in Photoshop? Any help is appreciated, thanks.

    Hello,
    I'm relatively new to Photoshop so if you know how to do this, please explain by telling me where I click. E.g. File>Open
    Does anyone know how I would achieve this exact effect in Photoshop in the image above (without the circular logo)? The 2 light blue type of effects, one at the top of the image, the one at the bottom of the image. I don't know how to achieve this effect, please show me if you know how. I'm using Photoshop CS5.
    I have looked through hundreds of tutorials, none provide me any clue as to how this is achieved.
    Or does anyone know a tutorial on how this effect is achieved?
    Thank you for your help.

    Yes, it would have been faster and more constructive to point out exactly where to find information rather than scold you.
    Check out the Option bar that one gets under the Menu bar. If it is not showing, go to windows>Options.
    More info: http://helpx.adobe.com/photoshop/using/tools.html#using_the_options_bar
    If you select the brush tool, you will notice a flow value, that you can lower; and a Mode drop down list.
    paint tool options: http://helpx.adobe.com/photoshop/using/painting-tools.html#paint_tool_options
    Set the mode to Linear Dodge, then for the next stroke set it to lighten.
    Blending modes explanations with links about their effects http://help.adobe.com/en_US/photoshop/cs/using/WSfd1234e1c4b69f30ea53e41001031ab64-77eba.h tml
    Have fun learning Photoshop!

  • In graph at the a particular value (threshold value) in Y-axis horizontal line have to display like a alert for the user. How to achieve this? (In WebI)

    How to achieve this in WebI?

    Just create a measure for it. Here's an example in E-Fashion:
    This is Sales Revenue for 2006; all I've done is added a new measure called "Target", which is just:
    =900000
    The chart is a combined chart. The Z Axis scale wasn't the same as the Y so I manually changed it to hard coded minimum and maximum values - you get the idea.
    HTH
    NMG

  • Particle effect -how to achieve this kind of effect exactly

    Hello   please help me to achieve this type of flickering particle effect.  how to achieve this in After effect  which is shown at 0.8 sec to 0.11  in the attached link video. http://www.istockphoto.com/stock-video-2682258-hearts.php

    I can't give you the exact settings but you could use Trapcode Particular with a custom particle or CC Particle world. Just turn gravity to 0 and set up a custom particle.
    Your particle layer will be behind the spinning hearts layer. This should get you going in the right direction.

  • How to achieve this type of Writing

    I finally my Intuos tablet and I been trying to make this type of lettering, but I haven't had no luck. I been messing with the settings of the "Calligraphic" brushes and nothing. If someone out there knows how to achieve this and is willing to share the knowledge I'd be very helpful and I'd appreciate it it very much!
    http://img209.imageshack.us/img209/1186/typevl0.jpg
    Thanks!

    I'm afraid your expectations may be a bit unrealistic. That's not going to automatically happen by merely stroking away with a stylus using a Calligraphic Brush.
    Whether you're using a stylus or a mouse for your input device, that kind of text design is drawn deliberately and carefully with the Pen tool, creating paths along the edges of the glyphs.
    You
    might achieve a rough sketch as a starting point, but even then it would be better (and most probably easier) done by drawing centerline paths with the Pen and applying the Calligraphic Brush to those paths. Better still, start with a pencil sketch, scan it, and just start tracing that with the Pen. Tracing text is excellent practice for learning to use the Pen.
    JET

Maybe you are looking for

  • SAP BW report through CRM portal

    Hi, I have a requirement where we need to open SAP BW query/web template through CRM7.0 portal. Could you please tell me all the necessary configuration steps that we need to do in CRM system for carrying out this task? Thanks, Rahul

  • Multiple purchase orders in a file - Multiple IDOC'S based on lineitem

    Hello All, I have a typical requirement where as there needs to be "separate IDOCs for different material with distribution channel X and Y". The input is a file with multiple purchase oders inorder to generate multiple IDOCs.. As a prerequisite I ma

  • JMS Messages - (Common Message id)

    Hi,      We have a legacy application which puts messages in queues. Unfortunately all the messages sent by this application have the same message ID (same ID for 1 batch of messages). When XI tries to read these messages from the queue it picks the

  • Displaying Image in JFrame

    I was able to display an image in a JApplet by creating another class extended from JPanel. When I try to display the same image in my JFrame based application, it fails, although the code compiles alright. Can anyone give me a snippet of code to inc

  • Formula node to 2d array

    Hey there I have a problem with my formula Node. I want to recieve a pictue from my camera and generate a 2d-array of the greyscalevalues. That works so far. Now i recieve an array with values between 0 and 4096 (because I have a 12-Bit picture). Now