<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Notifying ADF applications of database changes &#8211; fast and lean using Database Query Result Change Notification &#8211; Part One</title>
	<atom:link href="http://technology.amis.nl/2012/06/18/notifying-adf-applications-of-database-changes-fast-and-lean-using-database-query-result-change-notification-part-one/feed/" rel="self" type="application/rss+xml" />
	<link>http://technology.amis.nl/2012/06/18/notifying-adf-applications-of-database-changes-fast-and-lean-using-database-query-result-change-notification-part-one/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=notifying-adf-applications-of-database-changes-fast-and-lean-using-database-query-result-change-notification-part-one</link>
	<description></description>
	<lastBuildDate>Tue, 11 Jun 2013 22:09:58 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
	<item>
		<title>By: zinon</title>
		<link>http://technology.amis.nl/2012/06/18/notifying-adf-applications-of-database-changes-fast-and-lean-using-database-query-result-change-notification-part-one/#comment-7303</link>
		<dc:creator>zinon</dc:creator>
		<pubDate>Tue, 20 Nov 2012 08:19:52 +0000</pubDate>
		<guid isPermaLink="false">http://technology.amis.nl/?p=18187#comment-7303</guid>
		<description><![CDATA[Hi Lucas,

I am trying to develop a system which notifies the application according to modification in database like your sample.I m using JDeveloper 11.1.1.4.0 version and Oracle Database 11g Enterprise Edition(remote). I have followed the instructions, downloaded the demo application (step1) edited db configurations, created the DB_NOTIFICATIONS table and the trigger on EMP table
The trigger works and adds rows to DB_NOTIFICATIONS about the modifications. I also added the CHANGE NOTIFICATION privilege to my current user.
When I execute the project with Employees.jspx It registers the listeners to DB. There is 2 logs on the console screen:

- Register for table DB_NOTIFICATIONS select id, event_context from db_notifications where event_type=&#039;EMP_DML&#039;
- HR.DB_NOTIFICATIONS is part of the registration.

and I can see the data of EMP table and data of its on the browser. When I made a modification on EMP table (changing sal value as in the example)
The trigger adds a row to DB_NOTIFICATION table. But it does not reach to onDatabaseChangeNotification() method to handle the modification in the middle tier.


The query registration process is being passed
without any exception. The only problem is DB does not notify the application over jdbc. I am running the application
on my local weblogic server. Only the DB is remote.


I have created a thread in oracle forums about this sample maybe you look at.

https://forums.oracle.com/forums/message.jspa?messageID=10699089

I do not understand why it does not work. Do you have any idea about the problem?

Thanks.]]></description>
		<content:encoded><![CDATA[<p>Hi Lucas,</p>
<p>I am trying to develop a system which notifies the application according to modification in database like your sample.I m using JDeveloper 11.1.1.4.0 version and Oracle Database 11g Enterprise Edition(remote). I have followed the instructions, downloaded the demo application (step1) edited db configurations, created the DB_NOTIFICATIONS table and the trigger on EMP table<br />
The trigger works and adds rows to DB_NOTIFICATIONS about the modifications. I also added the CHANGE NOTIFICATION privilege to my current user.<br />
When I execute the project with Employees.jspx It registers the listeners to DB. There is 2 logs on the console screen:</p>
<p>- Register for table DB_NOTIFICATIONS select id, event_context from db_notifications where event_type=&#8217;EMP_DML&#8217;<br />
- HR.DB_NOTIFICATIONS is part of the registration.</p>
<p>and I can see the data of EMP table and data of its on the browser. When I made a modification on EMP table (changing sal value as in the example)<br />
The trigger adds a row to DB_NOTIFICATION table. But it does not reach to onDatabaseChangeNotification() method to handle the modification in the middle tier.</p>
<p>The query registration process is being passed<br />
without any exception. The only problem is DB does not notify the application over jdbc. I am running the application<br />
on my local weblogic server. Only the DB is remote.</p>
<p>I have created a thread in oracle forums about this sample maybe you look at.</p>
<p><a href="https://forums.oracle.com/forums/message.jspa?messageID=10699089" rel="nofollow">https://forums.oracle.com/forums/message.jspa?messageID=10699089</a></p>
<p>I do not understand why it does not work. Do you have any idea about the problem?</p>
<p>Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lucas Jellema</title>
		<link>http://technology.amis.nl/2012/06/18/notifying-adf-applications-of-database-changes-fast-and-lean-using-database-query-result-change-notification-part-one/#comment-7223</link>
		<dc:creator>Lucas Jellema</dc:creator>
		<pubDate>Thu, 28 Jun 2012 13:11:16 +0000</pubDate>
		<guid isPermaLink="false">http://technology.amis.nl/?p=18187#comment-7223</guid>
		<description><![CDATA[Hi Hal,

Connecting to JMS from the database seems at first like something fairly trivial. Unfortunately, on closer inspection, it is not trivial at all. 

Publishing however from the database to JMS is easy enough: you can expose AQ as a JMS queue on WebLogic and from ADF you can register on that JMS queue. That gives a fairly straightforward route from database to ADF application as well. The question remains what and when to publish on AQ - what is the &#039;notification trigger&#039;. 
This article has some information: &lt;a href=&quot;http://technology.amis.nl/2010/09/18/oracle-advanced-queuing-and-jms-bridging-from-aq-to-jms-and-vice-versa/&quot; rel=&quot;nofollow&quot;&gt;http://technology.amis.nl/2010/09/18/oracle-advanced-queuing-and-jms-bridging-from-aq-to-jms-and-vice-versa/&lt;/a&gt;. The suggestion however of using Java Stored Procedure to call out JMS turned out to be non-trivial, so I suggest you stick with AQ based approach. 

kind regards,

Lucas]]></description>
		<content:encoded><![CDATA[<p>Hi Hal,</p>
<p>Connecting to JMS from the database seems at first like something fairly trivial. Unfortunately, on closer inspection, it is not trivial at all. </p>
<p>Publishing however from the database to JMS is easy enough: you can expose AQ as a JMS queue on WebLogic and from ADF you can register on that JMS queue. That gives a fairly straightforward route from database to ADF application as well. The question remains what and when to publish on AQ &#8211; what is the &#8216;notification trigger&#8217;.<br />
This article has some information: <a href="http://technology.amis.nl/2010/09/18/oracle-advanced-queuing-and-jms-bridging-from-aq-to-jms-and-vice-versa/" rel="nofollow">http://technology.amis.nl/2010/09/18/oracle-advanced-queuing-and-jms-bridging-from-aq-to-jms-and-vice-versa/</a>. The suggestion however of using Java Stored Procedure to call out JMS turned out to be non-trivial, so I suggest you stick with AQ based approach. </p>
<p>kind regards,</p>
<p>Lucas</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: luc</title>
		<link>http://technology.amis.nl/2012/06/18/notifying-adf-applications-of-database-changes-fast-and-lean-using-database-query-result-change-notification-part-one/#comment-7218</link>
		<dc:creator>luc</dc:creator>
		<pubDate>Mon, 18 Jun 2012 19:24:38 +0000</pubDate>
		<guid isPermaLink="false">http://technology.amis.nl/?p=18187#comment-7218</guid>
		<description><![CDATA[Hi Lucas. Great post, especially because you use the db_notifications table to register and push database changes. Much cleaner then registering all queries on by one in the ADF Application as I was doing. Curious about part II]]></description>
		<content:encoded><![CDATA[<p>Hi Lucas. Great post, especially because you use the db_notifications table to register and push database changes. Much cleaner then registering all queries on by one in the ADF Application as I was doing. Curious about part II</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hal</title>
		<link>http://technology.amis.nl/2012/06/18/notifying-adf-applications-of-database-changes-fast-and-lean-using-database-query-result-change-notification-part-one/#comment-7217</link>
		<dc:creator>Hal</dc:creator>
		<pubDate>Mon, 18 Jun 2012 10:29:39 +0000</pubDate>
		<guid isPermaLink="false">http://technology.amis.nl/?p=18187#comment-7217</guid>
		<description><![CDATA[Did you ever tried connecting JMS from Oracle database to ADF? We&#039;ll must to do in a development something similar to this article, and we were thinking on using JMS.]]></description>
		<content:encoded><![CDATA[<p>Did you ever tried connecting JMS from Oracle database to ADF? We&#8217;ll must to do in a development something similar to this article, and we were thinking on using JMS.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
