How can I send a message from database to a J2EE application?

How can I send a message from database to a J2EE application?
If I have a codetable in database that has new or modified values I have to refresh the codetable in my J2EE application.
Most effective way would be send a message to initiate a table reload from J2EE app, but I don't know how to do this.
Now I have a background thread that regular reads the table and looks for changes.

http://www.oracle.com/technology/products/integration/bam/10.1.3/TechNotes/TechNote_BAM_AQ_Configuration.pdf
This document details how to create triggers on a table that send out JMS messages.
In this example, the messages are going to Oracle BAM.. your message could go to your J2EE application listening to its own topic/queue.
an alternative idea.
you could also just cache your lookup table with something like Oracle Coherence and than try to ensure that all changes to the lookup go through Coherence, so that you won't need to do notification from the db up to the application. the application and the lookup data management tool would be using the data grid for management of the lookup table data, and the data grid (coherence) would persist the lookup data changes back to the db.

Similar Messages

  • How can i send simple message from PC-to-another device

    How can i send simple message from PC-to-another device
    just simple message (like command String) not SMS or Data File.
    I have a computer with bluetooth and the oter side is Embeded Blue
    Thanks.

    http://www.oracle.com/technology/products/integration/bam/10.1.3/TechNotes/TechNote_BAM_AQ_Configuration.pdf
    This document details how to create triggers on a table that send out JMS messages.
    In this example, the messages are going to Oracle BAM.. your message could go to your J2EE application listening to its own topic/queue.
    an alternative idea.
    you could also just cache your lookup table with something like Oracle Coherence and than try to ensure that all changes to the lookup go through Coherence, so that you won't need to do notification from the db up to the application. the application and the lookup data management tool would be using the data grid for management of the lookup table data, and the data grid (coherence) would persist the lookup data changes back to the db.

  • How can i send a MESSAGE from an object to another object?

    i've following code:
    class Receiver {
         private String str = "Your message is recieved to me.";
         String sendBack() {
              return str;
    class Sender {
         public static void main(String[] args) {
              Receiver r = new Receiver();
              System.out.println(r.sendBack());
    }I'm confused with the concept of MESSAGE in java. All i gather about it is that when two objects want to communicate with each other they send messages to each other. One object is sender of message and other is its receiver.
    Here reciever object 'r' itself performs its method and does not communicate with any other object. How do i change this code into where two objects communicate with each other?

    Well the OO theory says that objects comunicate via messages, now that information must be taken as knowledge only, not for programming issues really. What you need to know is that when you need to pass any data from onw object to another you can send them via parameters of defined methods.
    For example you have an Object called R of a receiver class and that object needs to pass a String (text message) to another object. you can do it via a method.

  • On my iPad I can only send email and messages to apple products.how can I send and receive from other devices other than Apple?

    On my iPad I can only send email and messages to apple products.how can I send and receive from other devices other than Apple?

    Vallakat wrote:
    On my iPad I can only send email and messages to apple products.
    There is a huge difference between sending email and sending messages.
    Yes, I believe you when you say you can only send messages to other Apple products.  The iPad is not a telephone, and therefore, it cannot text message.  It can only iMessage, which means it can send and receive messages to/from other Apple products if they are on WiFi or an iMessage capable cellular network.
    Email, however, is a whole different category.  I don't really think you can only exchange email with other Apple products only.  Make sure you have correctly identified the symptoms.

  • How can i send multiple sms from my iphone 4

    how can i send multiple sms from my i phone 4

    Turn Group Messaging (instructions in lin that follows) off and send the message to multiple recipients. The result may be dependent on your carrier. If manually keying in numbers rather than using contacts, use the return key after each number. http://support.apple.com/kb/HT5760

  • How can I send an email from Sharepoint Online using sandbox solution?

    How can I send an email from Sharepoint Online using sandbox solution?
    If possible I do not want to use workflow.
    Is It possible to do it without using workflow?

    hello Steven Andrews,
    when any user sends a message using contact us page in SharePoint online.
    1. We are inserting item in Contact Us List . - This is working fine
    for anonymous users also. We have used Office365 anonymous codeplex wsp and it is working fine. Anonymous user is able to insert new record in the Contact Us List.
    2. Once, new record is inserted in Contact Us list, we want to fire email notifying thanks to the user on his email id as well as to our company x person for notification of new inquiry. 
    We tried using Workflow having impersonation step for  anonymous user but it is not working for Anonymous users. Workflow is able to sent the email if someone logged into system but not working for Anonymous user although workflow is getting started
    but not able to send email although used Imperonsation step.
    We are stuck into implementing second step.

  • How can I send a message in the iPod touch 5g

    I can not send a message from iMessage how can I send messages

    Yepezlitzy123 wrote:
    I can not send a message from iMessage how can I send messages
    You do not state what happens when you try...
    See here...About Messages
    And...
    Using Messages  >  http://support.apple.com/kb/HT3529
    Troubleshooting Messages
    http://support.apple.com/kb/TS2755

  • How do I send text messages from my Ipod touch?  The "send" button does not light up after typing in the message.

    How do I send text messages from my Ipod touch?  The "send" button does not light up.

    First of all, you need you have at least iOS 5 installed. Second, the person you are texting must have an iDevice with iOS 5 or higher installed. You can´t send messages to an non-iDevice. You´ll also need an Wi-Fi network to send iMessages. Hope it helped!
    Message was edited by: AppleTechTalk1100

  • How do I send text messages from my iPad 2 wifi?

    How do I send text messages from my iPad 2 wifi?

    you must add that person to contacts and you can only text them if they have an appleid associate with their device.

  • How can i print text messages from my htc amaze to my deskjet 3050A

    how can i print text messages from my htc amaze to my hp deskjet 3050A

    Hi,
    I believe the phone uses Android OS, v2.3.4 (Gingerbread) therefore you can use one of these applications:
       http://www.printeron.com/apps/androidprinting.html
       https://market.android.com/details?id=com.pauloslf​.cloudprint&hl=en
    Regards.
    BH
    **Click the KUDOS thumb up on the left to say 'Thanks'**
    Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.

  • HT2736 How can I send a playlist from my library to my friend?

    How can I send a playlist from my Library to my friends phone.  She uses itunes on her phone. I thought that itunes used to do that, I remember it being somewhere on the program. Now when I would like to do it I can't find it.

    First get iTunes on your PC. Then plug your iPod in and go to the music, yo. You Cannot sync playlist if you select to sync your entire library. But you can sync playlists of you choose to sync selected songs.
    You can also create a playlist on your iPod just by holding the center button on a song and select add to "on the go". This " on the go" is a playlist and will be transfers to your PC if you plug your iPod in again.

  • How can I send a message to multiple contacts using "groups".

    How can I send a message to multiple contacts using "groups".
    It was easy on my sony ericssonn....do i need to download an app?

    There is no group send option like you are looking for.
    To send to a group you have to pick each person you want to send to and send as a group that way. Then don't delete that SMS thread and you can reuse it again later.
    As for an app, well SMS works via your carrier and the OS, not something an App can do unless the app send the data to them (a third party) and then they relay it to the carrier. Do you really want to be sending your SMS to some 3rd party first?

  • How can I delete text messages from my iphone?

    Hello everyone,
    How can I delete text messages from my iphone?  I do not want to reset my iphone setting. If it is nesscary to reset my iphone setting, will I lose everything?
    Please let me know,
    Thanks,

    Just delete them. Or, do you mean beyond just deleting them? Then, you'd need to wipe the phone - select Settings > General > Reset > Erase All Content and Settings. That's a secure wipe of the iPhone contents, takes several hours (connect to AC power). You'll need to set your phone up from scratch (and erase the old backup(s) from your computer, since your SMS history is part of the backup).

  • How can I send whatsapp messages using Siri ?

    Hi,
    How can I send whatsapp messages using Siri ? or how can I ask Siri to read my whatsapp messages ?
    thanks for help!

    kladrian wrote:
    this is not the case in particular
    Yes it is.  If it wasn't the case, then why are you asking the question to begin with?
    why everytime I have a question about a simple activity present in Android system I get in response ... "you can't sorry" !?
    1.  Because iOS is not Android
    2.  Because it's the truth, whether you like it or not

  • How can i syncronize flagged messages from outlook in icloud

    How can i syncronize flagged messages from outlook in icloud?

    I figured out what I think is the easiest method: I open the file in Preview, select File, then Print, then, at the bottom of the Print dialog box, use the little down arrow on the PDF button to select "Add PDF to iBooks".

Maybe you are looking for