Need the most performance and scalable way to "trigger" JavaEE application

Hi,
Need the most performance and scalable way to "trigger" JavaEE application code running on WLS from PLSQL code.
There are some thirdparty JavaEE application running on WLS that we need to invoke from PLSQL code. I have looked at couple of options:
Option 1)
Use oracle db callouts(http call etc.) but it seems the connection to WLS will not be maintained across database-sessions and so every call from different plsql database-session will make fresh TCP/IP connection. Usually fresh socket connection setup is expensive and can become a bottleneck.
Option 2)
Use AQ in the database from PLSQL and have a MDB in WLS to invoke the java code. The problem here is how do I simulate the Request/Reply pattern using the AQ API from PLSQL. The PLSQL code needs to wait until the JavaEE code completes as it needs some result back from JavaEE app. AQ also does not have true temporary queues so I am not sure how it will work with concurrent user/sessions.
Option 3)
Use Java in the database, we have tried this but for our usecase it is too expensive resource wise and is not meeting our performance needs.
Performance is the triggering mechanism is of highest interest to us.
Any suggestions/pointers is greatly appreciated.
Thanks,
Prantor
Edited by: Prantor on Nov 8, 2010 10:37 PM

Perhaps you would benefit from viewing the problem differently.
In some/many/most cases the application server (WLS) invokes procedure residing in the DB server.
Place the control for the desired results in the application code running on the WLS.

Similar Messages

  • The most performance friendly way to do this ?

    I have a program thats in PROD and I want to make modifications to it.
    The program loads an internal table with a high volume of data and does a bunch of processing on each record. 
    I need to modify the code so that when I do the first Loop and I am processing a rectype 1 record,  I now want to consolidate it with other records eg:  
    ctry rectype    pid  date  time etc ...
    CA    1          2
    CA    1          2
    For every rectype 1 with the same pid, perform checks and consolidate the records into 1. 
    We are processing high volume data.  So I would like to implement the most performance freindly modification.
    What is the best way to do the consolidation?
    So when I get the first rectype 1 within my first loop, I need to go get all the records with the same pid.  Consolidate them and then delete them so I dont pick them up again.
    thx for your input .. J

    If I understand this properly... Big if!
    1) create a duplicate table
    2) sort both tables by PID
    3) delete duplicate PIDs from the main table. This will become your consolidated table
    4) loop through the new "summary" table and loop through the original "details" table and do your consolidation logic. Use the initial binary read to identify the starting point in the table of the PID to be consolidated. This will avoid a full table scan for each summary record. Modify the summary table with the updated data.
    This will be performance "friendly"
    li_summary[] = original_table[].
    li_details[] = li_summary[].
    SORT: li_details BY pid,
          li_summary BY pid.
    DELETE ADJACENT DUPLICATES FROM li_summary COMPARING pid.
    LOOP AT li_summary ASSIGNING <summary>.
      READ TABLE li_details TRANSPORTING NO FIELDS
          WITH KEY pid = <summary>-pid
          BINARY SEARCH.
      IF sy-subrc = 0.
        LOOP AT li_details assinging <same_pid> FROM sy-tabix.
          IF <same_pid>-pid <> <summary>-pid.
            EXIT.
          ENDIF.
    consolidate or whatever you need to do
         <summary>-??? = ?? + ??? etc.
        ENDLOOP.
      ENDIF.
    ENDLOOP.
    original_table[] = li_summary[].

  • I bought a iphone 4 on online . But the guy forgot the his apple id pasword and i cant restore the iphone cuz i need the password is their any way i can restore the iphone . ?

    I bought a iphone 4 on online . But the guy forgot the his apple id pasword and i cant restore the iphone cuz i need the password is their any way i can restore the iphone . ??

    iOS 7 has an antitheft feature. A stolen phone can NEVER be used again, except by the original owner or with the authorization of the original owner. If you bought a stolen phone that was your mistake; get your money back. While it's possible that the seller "forgot" their password, that is an easily corrected problem. In most countries knowingly possessing stolen property is a crime. Even if you don't know it is stolen, it can be taken from you and returned to the rightful owner.
    If it really wasn't stolen, and it was an honest mistake on the part of the seller, the seller can easily correct the mistake and authorize your activation of the phone.

  • Which Apple MacBook Pro has the most RAM and HDD memory?

    I would like to know this because I plan on buying a MacBook Pro and I just want to make sure I'm buying the one with the most RAM and HDD memory and not some other one. Why do I need specifically this? Because I'm a gamer; I like playing games. I'm a watcher too; I like watching movies. Last but not least, I would like to sync my iPhone to a device that's from the same company. I don't know why, but I guess it's because I don't like uncoordination, or something like that. In short, I don't believe in "clashing". Even electronics.

    The Hardware In Any Mac is Exactly the same as used in Any PC of like model year and included hardware. i7 being faster then an i5 CPU.
    Apple uses the same exact Intel CPUs and Chipsets that all other computer use manfacturer today. There is No difference.
    Ogelthorpe is comppletely correct that Windows, by nature of the OS, is better for running games and the hardware it comes on, by nature of the way they are manufactured even though it is the same hardware as in a Mac, is better for gaming because of the way they are cooled and the overall case design. More air vents and better air movement across the parts that get hot while gaming.
    Mac notebooks on the other hand don't cool as well by nature of the air intake and exhaust systems. Both air intake and exhaust are at the screen hinge and the fans are designed to be quieter then on most Windows PC notebooks. Even if Windows is installed on Mac that Mac will run hotter then a PC with the same exact hardware configurations. This is a fact and experienced by many Mac users. Including myself.
    Mac fans run all the time. From the second you start them up to the second they shut down completely. I personally don't know of any Windows PC notebook that do that. My Dell E6420 with the exact same CPU and more RAM, 16GBs in the Dell and 8 in my Mac, with the Dell having 2 drives, one a SSD the other a Spinner in the media bay, and the Mac having only one Seagate XT series in the main bay the Dell fans rarely come on unless I am taxing the system in some way. They are not on continuously and certainly not when I turn the system on. So Apple has designed the Mac to run the fans continuously to try and keep the system cool from the first power on.
    So your statement is completely false. But it is what most people think even though it is unfounded.
    ShaneBunting wrote:
    This is not true. The hardware is simply better on a Mac. Even when running Windows on a Mac, you'll have a far better experience than on a PC..

  • I need the IP values and Subnet Mask which is given by the ISP for my jetpack so i can configure my smart tv

    i need the IP values and Subnet Mask which is given by the ISP for my jetpack so i can configure my smart tv

    Your public IP Address is provided by the ISP.  Your smart TV does not need to know this information unless you plan to host some kind of an application or service for folks on the internet through your TV.  It wouldn't work anyways since all Jetpacks sit behind a VZW NAT firewall and blocks hosting capabilities by default.
    What you more than likely are referring to is the Default Gateway and Subnet mask of the Local Area Network being hosted by your Jetpack.  By default these values should be something like 192.168.1.1 and 255.255.255.0.  You can confirm the DG and SM by connecting a computer to the Jetpack.  Every computer has a way to look up the networking information.  On a Windows OS you would open up a CMD window and type in "IPCONFIG".
    If you shoot us the model number of your Smart TV we may be able to look up a User Guide to confirm what kind of info is needed to connect to a wireless network.  Most of the time exchanging the IP information is done automatically during the connection process.  It would also be nice to know which Jetpack model you have so we can compare the User Guide for that device with your TV.

  • IPhoto error, won't open, says it needs the most recent version

    I have an early 2009 mac pro desktop with 6 megs of ram. iPhoto error, won't open, says it needs the most recent version to work but the most recent version won't work either because I have Mountain Lion. I downloaded iPhoto from the App store and the store said "you can't download the most recent version because you don't have Mavericks - would you like to download an older version?" So I said yes and downloaded it. It is actually the Mavericks version that downloads anyway. So I used an older version from my other computer and updated it to version 9.4.3. When I try to open it it says you need the most recent version. My library is on an external drive which was downgraded from Mavericks back to Mountain Lion because Mavericks wouldn't work properly on my computer. Now no version will open.
    What can I do? Thank you for your help in advance.

    The exact error message is:
    THe library "iPhoto Library" cannot be opened. To open it, you must upgrade to the latest version of iPhoto. Then the Quit button is at the bottom of the dialog box.
    I did install iPhoto 9.5 when I installed Mavericks, Keep in mind that all of my photos are not on the boot drive but they are on an external drive. I then got rid of Mavericks and did a fresh install of Mountain Lion then I copied the contents of a previous drive that only had Mountain Lion on it. 9.5 wouldn't open in Mountain Lion so I copied an older version from another computer and updated it to 9.4.3. 9.4.3 says you must upgrade to the latest version and 9.5 says you need an older version. So I am stuck now.

  • Remove the duplicate rows but keep the most recent and oldest records

    I have a Product table, some products have duplicate rows(same productID). I want to keep the most recent and the oldest records based on ETL load date (or min and max productKey), delete others. How to do this in a simple way?
    ProductKey | ProductID |ETL_Load_Date
    1001 | 501 | 2014-01-01
    1002 | 501 | 2014-01-02
    1003 | 501 | 2014-01-03
    1011 | 502 | 2014-01-01
    1012 | 502 | 2014-01-02
    1013 | 502 | 2014-01-03

    declare @table table (ProductKey int, ProductID int, ETL_Load_Date date)
    insert @table (ProductKey, ProductID, ETL_Load_Date)
    values
    ( 1001 , 501 , '2014-01-01' ), ( 1002 , 501 , '2014-01-02' ),
    ( 1003 , 501 , '2014-01-03' ), ( 1011 , 502 , '2014-01-01' ),
    ( 1012 , 502 , '2014-01-02' ), ( 1013 , 502 , '2014-01-03' )
    SELECT *
    FROM @table t
    INNER JOIN (
    SELECT MIN(etl_load_date) min_load_date, MAX(etl_load_date) max_load_date, ProductID
    FROM @table
    GROUP BY ProductID
    ) m
    ON t.ProductID = m.ProductID
    AND t.ETL_Load_Date IN (min_load_date,max_load_date)
    This will show both the min and max load dates, for each ProductID
    Thanks to Saeid for posting some test objects.

  • How can we find the most usage and lowest usage of table in Sql Server by T-SQL

    how can we find the most usage and lowest usage of table in Sql Server by T-SQL
    The table has time stamp column
    StartedOn datetime
    EndedOn datetime

    The Below query has been used , but the textdata column doesnot include the name of the table ServiceLog.
    SELECT
    FROM
    databasename,
    duration
    fn_trace_gettable('F:\Program
    Files\Microsoft SQL Server\MSSQL10_50.MSSQLSERVER\MSSQL\Log\log_148.trc',
    default)
    WHERE
    DATABASENAME='ZTCFUTURE'
    AND TEXTDATA
    IS
    NOT
    NULL
    --AND TEXTDATA LIKE 'SERVICE%'
    order
    by cpu
    desc; 

  • Nice to see 13" retina but it has only Intel HD Graphics 4000 and does not have NVIDIA GeForce GT 650M with 1GB of GDDR5 memory card. How it will affect the speed, performance and other things compared to 15" retina where NVIDIA GeForce card is available.

    Nice to see 13" retina but it has only Intel HD Graphics 4000 and does not have NVIDIA GeForce GT 650M with 1GB of GDDR5 memory card. How it will affect the speed, performance and other things compared to 15" retina where NVIDIA GeForce card is available.

    The 15" Retina's will have better performance than any 13" Retina. Not only do the 15" machines have dedicated GPU's, but they also have quad-core processors, whereas the 13" Retina's only have dual-core processors.

  • I lost my ipad and i need the serial number and IMEI , please help me how?

    i lost my ipad and i need the serial number and IMEI , please help me how?

    If you have registered your device, you can go to https://supportprofile.apple.com/ and log into your apple id.  Your devices appear there with serial numbers.
    Additionally, your serial number is included on the original receipt when purchased at any Apple Online or Apple Retail store, or any Authorized Apple Reseller.

  • II am looking for information on iPad and iPhone apps and Mac software that are "top of the line" for academic research. The most current and comprehensive information I have found is dated July 2010.

    I am looking for information on iPad and iPhone apps and Mac software that are "top of the line" for academic research. The most current and comprehensive information I have found is dated July 2010.

    PogoPossum,
    My area of interest is in business and economic history. There is a considerable amount of reading and charting. Until the iPad hit the streets, I only considered stacks of books, journals, and downloaded documents, all marked up with highlighters, underlines, and marginal notes.
    Most of my PC based work involved MS Office, Endnote, and MS OneNote.
    What I would like to do with the iPad and MacBook are the same things (Office, Endnote, OneNote) and add the ability to read and markup all forms of printed materials from books to pdf to webpages.
    I cut my teeth on an iPod Touch and have tried a lot of the note taking and reading apps. Without a camera the standard iPod Notes works for short quick notes and long think pieces. I just emailed the content and downloaded the stuff to my PC. Obviously, I do not want to continue at this "non-integrated" level of work.
    Does this help?
    Dick

  • I want to run the most secure and most stable version, not the latest

    ''locking - duplicate - https://support.mozilla.com/en-US/questions/859982''
    Apologies if this is a duplicate but I got no confirmation when I clicked on the link sent to my e-mail Inbox.
    I have several PCs and support many local business owners.
    Neither I nor they need the latest gadgets and gizmos - what we all need is stability and security. I always keep all users on versions of code that have passed from bleeding-edge development into their support and maintenance phase.
    I am wanting to download the latest release of version 4 (of Firefox) but missed it due to your rapid switch to v5.
    I did several searches and could not find it on your site - can I suggest that it should be there to satisfy your supporters who moved from MS IE due to the dreadful security issues - esp. Active-X over your early-years.

    Thanks for the rapid response - if I had found the information you have provided (v4 discontinued) I would have modified what I had asked for as below.
    Where is the link to the latest releases of Firefox version 3 as that is obviously what I should be using. I always download software (inc. add-ons / extensions) rather than allow automatic update because I can then restore to a known secure and stable release when needed.
    Last minor point - I just did a Google search for LTS (and software) as I had never come across the acronym in 35 years of software development - what does LTS expand into?
    Again thanks for the help so far... BR.

  • I need the Nortn Toolbar and they say I need to go back to version 5.0. Where can I download verison 5.0

    I need the Nortn Toolbar and they say I need to go back to version 5.0. Where can I download verison 5.0

    if an extension worked in Firefox 4.0, it should be working in Firefox 5.0 as well.
    * [http://blog.mozilla.com/addons/2011/05/21/firefox-5-compatibility-bump/ Firefox 5 Compatibility Bump]
    You can force 5.0 "compatibility" with the "[https://addons.mozilla.org/firefox/addon/add-on-compatibility-reporter/ Compatibility Reporter]" extension, or with [http://kb.mozillazine.org/Extensions.checkCompatibility extensions.checkCompatibility] using about:addons.
    For those that really need an earlier version of Firefox [ftp://ftp.mozilla.org/pub/firefox/releases/ releases] or for [http://www.mozilla.com/firefox/all-older.html Firefox 3].
    * ftp://ftp.mozilla.org/pub/firefox/releases/ releases
    When reinstalling Firefox from a download, Firefox must be down once the installation starts. When the installation finishes, don't let the install start firefox for you. Instead end the install and start Firefox in your normal manner, thus preventing creating a new profile which does not have your bookmarks cookies, etc (but your old profile would still be around and would).

  • Ok I got my iPod from my brothers friend and my IPod says "iPod is disabled connect to iTunes" then my computer says cannot get onto iPod because I need the iPod passcode and of course I cannot put it in so I need some help please

    Ok i got my iPod from my brothers friend and my IPod says "iPod is disabled connect to iTunes" then my computer says cannot get onto iPod because I need the iPod passcode and of course I cannot put it in so I need some help please

    Try placing in DFU mode and then restoreing.
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings

  • What is the least expensive and simplest way to print from the iPad 2?

    What is the least expensive and simplest way to print from the iPad 2?

    Setup AirPrint Printer
    1. Buy an AirPrint enabled printer; see list below
    http://support.apple.com/kb/ht4356
    2. Run the CD provided and set printer and iPad on the same network
    3. Start printing from your iPad using AirPrint

Maybe you are looking for

  • Can't sync my phone after updating. Only getting message that I need to restore (which I have done several times now)

    I, sadly like so many others, updated to the bug filled 5.0.1 and my phone had an error. I got the little link to iTunes and nothing else on my phone after it shut down. Once I did that I have an option to set up as a new phone or restore to my last

  • How to upload a file on HTTP server

    Hi All, I am porting a flex project to HTML5 where I need to upload a file on HTTP server. I do google and tried to find out a solutions. I could see following article on HTTP upload https://developer.tizen.org/dev-guide/2.2.1/org.tizen.web.appprogra

  • One record in the master Query, many in the child. Data Template Woes

    Hi Folks. Can't get my head around this and I wonder if anyone could shed some light. I have the following simple data template set up. <dataTemplate name="Invoice" description="Default Invoice" version="1.0"> <parameters> <parameter name="P_INVOICE_

  • Connecting iPad 2 to Digital Projector

    My son will be giving a presentation in his third grade class showing how to use ToonTastic. I need to know what cable I need to hook up our iPad 2 to the classroom ELMO digital projector. Any advice would be appreciated!

  • Drag and Drop with web deployed Forms.

    If you are interested in drag and drop features of web deployed Forms you may want to check out this: http://groundside.com/blog/GrantRonald?title=oracle_forms_drag_and_drop_on_the_web&more=1&c=1&tb=1&pb=1 Regards Grant