Alternatives for Continuous Query Notifications in Oracle 12c CDB/PDB setup - oracle

Long time trawler and massive fan of the site (you guys effectively taught me to code so big props to you all :D).
So as for my first question:
My company is currently developing an application that is back ended by an Oracle database, now in production this is going to be deployed in a 12c multi-tenant architecture. However the issue is our offshore development house had been developing and testing on 11g and incorrect infrastructure, something I have pushed to and mostly fixed since joining the compnay some months ago.
We have now hit a stumbling block, it has become apparent that our development house have no actual Oracle expertise and are SQL Server developers playing at Oracle, as such they are stuck on how to implement the functionality of Continuous Query Notification (CQN) in Oracle 12c given that this is deprecated in multi-tenant architecture.
I want to ask if anyone here has any suggestions for way to achieve the same functionality of a CQN in Oracle 12c?
The use of external scripts or solutions is doable, basically no limit on suggestions as we are at a stage where could potentially factor in any possible resolution.
Any help greatly appreciated.

how to implement the functionality of Continuous Query Notification (CQN) in Oracle 12c given that this is deprecated in multi-tenant architecture.
From the Readme Information for Oracle Database 12c Release 1 (12.1.0.2), Section 2.2, "Features Not Available or Restricted in This Release of Oracle Database 12.1.0.2":
Continuous Query Notification (CQN) is not available or is restricted for a multitenant container database (CDB)
It is not the only feature unavailable/restricted, but one of the many features mentioned in that list.
I want to ask if anyone here has any suggestions for way to achieve the same functionality of a CQN in Oracle 12c?
I don't think you could create an alternative at database level, you might just need to wait for further announcement from Oracle. If something could be done external to the database, you could do it at your own stake.
our development house have no actual Oracle expertise and are SQL Server developers playing at Oracle
That seems to be a bigger problem.

You have not provided much in way of details with how you are using CQN. If, as an example, the front end app wants a notification if inserts or updates are made in a table then there a few things you could do.
set up auditing on the table with "audit insert on your_table;"
create a custom view showing the actions on the table
run a job which picks up on the new actions and notifies the app by whatever method

Related

Best way to open an internal project to world as a Saas

We have developed an internal crm and used it for the last months. Now we have decided to open it to the public as a Saas project and I'm wondering which is the best solution to upgrade the database structure that actually is made for only one company and expand it to be able to manage multiple paying customers.
At the moment the scheduled solution is to add a "customer" field to every column in the database and upgrade the backend logic to use this field.
Are there more elegant solutions to this problem?
The database is mySql and the backend is made with laravel.
CRM Data can be very sensitive and you need to be extremely careful not to "leak" data to wrong customers.
For an existing app, I would argue for a system to create fresh DB for each customer.
You would have 1 codebase that connects to customer specific DB.
This way you dont need to change too much in your current DB structure, but "just" implement the mechanism to use the correct DB according to customer account.
This is how I would do it :
In any wah this is a massive paradigm change from an internal app to a SAAS platform app, and you should identify the necessary steps to go through to achieve the desired result.

Accessing Oracle from Mainframe [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 2 years ago.
Improve this question
I am looking for information about accessing data present in ORACLE from IBM Mainframe applications (Z/OS). The data is lying on Oracle which is on a separate server and the IBM Mainframe system, by using COBOL programs need to access the data from Oracle.
I heard that by using 'Oracle Access Manager for CICS' we can access Oracle data directly from IBM mainframe applications (using COBOL program). If yes, then are there any limitations/considerations on the Oracle version we are using ? I heard that the gateway 'Oracle Access Manager for CICS/IMS' is only supported in older versions of Oracle(i.e. 10g) but not in 11g or 12c ? Is Oracle still supporting 'Oracle Access Manager for CICS/IMS' ? Has anyone done this or do you have suggestions?
Thanks in advance for your help.
Sai
There are a lot of ways this can be done, depending on how much data you're talking about and how real-time your needs are. If you're a commercial customer of Oracle's, you're probably paying them a bundle - don't hesitate to call and put the burden on Oracle to figure out the best way to do what you're trying to do.
Otherwise, IBM and other vendors have a variety of integration products that can help, if you don't mind using a vendor solution. One example is the IBM Integration Bus - it's pretty much an ESB that can connect to nearly any type of database (as well as REST services, etc) with client-side support on z/OS. There are plenty of similar services out there from other vendors such as Tibco.
If you want more of an open solution, we've had good luck with JDBC on z/OS, but this isn't particularly easy to connect to COBOL...it is possible to call Java from COBOL, but it's not the easiest thing for someone with limited mainframe experience, and you'll need to worry about things like ASCII vs. EBCDIC and so on. Still, it's basically free and fast, and the Oracle JDBC drivers run fine on z/OS.
If you just need to do read-only queries against Oracle, some people use an ETL approach to keep a reasonably up to date copy of your Oracle data on z/OS in (say) DB2. This can help prevent overloading your Oracle server and your network since your mainframe apps process locally on the mainframe instead of sending every transaction to your Oracle database in realtime. Informatica and SyncSort are two leading vendors in this space.
Finally, it does look like Oracle continues to support things like the Oracle Database Gateway for APPC, at least as of Oracle 12c. This would let you access Oracle over an APPC network without any sort of client library on z/OS. If your COBOL is running in CICS or another mainframe environment with good APPC support, it's not even very difficult to program. Of course, APPC is an old technology, and configuring SNA networking is definitely a dying skill in many sites...something to watch for.

What is the business benefit for Oracle Weblogic Server over OC4J?

Apart from Technology support , what are all the business benefits for oracle web logic server. For example in area of security,support etc.
What are all the new features supported by weblogic ?
TL;DR:
Support is great when you open ticket with Oracle Support (Weblogic strictly).
Great admin/read-only user implementation. We authenticate to Windows Active Directory. Developers get read-only accounts, reduces churn for them to wait for ops to transfer logs and validate settings.
Dashboard useful out-of-box to do real-time monitoring without additional tools or installs. Easily accessed by any one who is authenticated to login. We could give it to our CIO if he wanted in about 3 minutes by adding him to the right authorized group in AD.
Easier to clone environments.
I haven't worked with OC4J but I believe Oracle's roadmap is picking Weblogic as their preferred Java application server. You can see it is the base technology for some of their other products, such as Oracle Service Bus, Oracle Enterprise Manager (OEM), and Oracle Line Planning.
I have opened 3 Oracle tickets in the past month. I was surprised at how fast they answered. For a Severity 3 ticket (medium), they usually have responded in 2-3 days. I can't say the same for their other services (over 2 weeks for a ticket on OEM).
Security is a pretty broad scope... so you'd have to be a little more specific on some of the topics of security.
One thing that is pretty awesome is the Dashboard. http://docs.oracle.com/cd/E14571_01/web.1111/e13714/dashboard.htm You can obviously add read-only monitor accounts so other users can get insight to the performance. We add developers to this so that they can validate any settings, or see performance whenever there is a production issue.
We used Microsoft Active Directory authentication in our Weblogic domains. People are not using the default weblogic administrator user so configuration changes are audited. When someone's account gets disabled when leaving the company, it disables their access to Weblogic similarly. You don't have to change the password.
Other useful settings I like in it is the ability to automatically archive config changes. Each time someone makes a config change, a backup is automatically created. This allows me to go fix something when developers break their environment without having to majorly reverse-engineer what they did.
I also like the fact that you can pack and unpack the domains. I've used it to move entire domains from staging to production with some minor changes... i.e. change all stg to prod variables. This should likewise make it easier to 'clone' environments when you want to build out a new one.
Although not related, I should mention Oracle Enterprise Manager. We are an Oracle shop because they seem to have given us a good deal on licencing. So we get to run Oracle Enterprise Manager, which is a tool slowly becoming more and more useful. The agent also reports how our RedHat Linux hosts are behaving, network input/output, CPU utilization, memory utilization, java heap stacks. We are going to move to defining groups within that has all the targets related to an application stack. This will give our operations team the insight to see where the bottleneck might be... the Oracle Weblogic web layer, network, Oracle Service Bus, or Oracle Database performance.
Supposedly, you can add jBoss, other JMX monitoring as well to OEM. It's on our to-do list for non-Weblogic instance. We're slowly rolling OEM out.

Workflow Foundation 4 Instance Store for Oracle

We are strongly considering using Workflow Foundation 4 in our products, however must support both SQL Server and Oracle. Does anyone know an Oracle Instance Store provider for Workflow Foundation 4?
I know I could use SQL Server Express for it, but some of our customers use Oracle, and don't want to have an SQL Server, even free, to manage.
Tks
If you do not mind using a commercial product then DevExpress has a very good solution. 16 database systems are supported along with re hosted designer and custom activities. Read more in this post XAF Workflow persistence storage
An updated devart link on the subject. It works well for me, for the persistance and the tracking participant also.
http://www.devart.com/blogs/dotconnect/?p=5566
AFAIK there is no publicly available version of the instance that works with Oracle. I have seen the question a number of times however so I can only encourage someone to publish one of those I suspect have been created privately on CodePlex.
Use this dll. We are using it and works well. Still need to check tracking and load testing.
http://www.devart.com/forums/viewtopic.php?t=21044&start=0&postdays=0&postorder=asc&highlight=&sid=a5e672c431dafecb1e675b6fbecc5183

How do you rate Oracle Portals as a platform?

A client has asked whether or not I can provide some support for his intranet which runs on Oracle Application Server Portal. Not having used this technology before I thought I'd ask if anyone else has and what they thought of developing for it.
I'm a c#/ASP.NET developer so I note with apprehension that there's no mention of .NET in the developers guide. Anyone tried to make the two work together and lived to tell the tale?
Oracle Portal was never meant to be a "platform," but instead to fulfull a specific need. When Portal was not the right solution directly, the pointer was to JDev and BC4J, plus needed other stuff. I have done extensive Oracle Portal development and for what it is, it did just fine (i.e. a "portal" to core data and applications with some exposure of that data via the portal).
The current direction of the portal product is to separate it out and have it under Oracle's "Web Center." The focus here is to make the development of portlets closer and closer to standard java development. You can find the official statement here:
http://www.oracle.com/technology/products/ias/portal/pdf/oracle_portal_sod_r11.pdf
Web Center is much more of a "platform" that has all the buzz words around the 2.0 technologies. Including content mgmt, portal, and a .NET WSRP integration feature/function. I would check that out in addition to portal (which does quick and easy portlets for web center too).
My company (a dedicated Oracle shop) and I have used Oracle Portal for many years and have been very successful with it. But I have to warn you against taking on this task if you do not have experience with PL/SQL (Oracle's proprietary database programming language).
An intranet built on Oracle Portal is likely to make extensive use of custom-built "portlets". You can build these in Java or PL/SQL; in my experience, 95% of all real-life portlets are built using PL/SQL.
Theoretically, if you use the latest version of Oracle Portal (10.1.4), you can consume WSRP 1.0 portlets. So if you can build portlets in .NET that will communicate using WSRP 1.0, you could integrate these. But if your customer asks for "support", they probably expect you to be able to tweak their existing portlets - and that would require PL/SQL programming experience.
There's a fairly good description of Oracle Portal on the Oracle Wiki:
http://wiki.oracle.com/page/Oracle+Portal
Strategically, Oracle has placed Oracle Portal is in the "Continue & Converge" category, which means that it's supported and will receive minor updates. Their strategic portal product these days is Oracle WebCenter, but that's a $125,000 per CPU behemoth; it's likely to be overkill for 99% of all sites built on Oracle Portal.
The only experience I've had with an Oracle Portal was obliquely, when I inherited a system that used one for a relatively simple maintenance web application. A large part of my opinion of Oracle's stuff comes from my background with SQL Server/ASP.NET, but Oracle is just plain harder to set up and administer and keep running, and that applies not just to the database but also to auxiliary stuff like Oracle Portal, their SOA suite, their Mobility Server etc. Even experienced Oracle people tend to agree with this, so hopefully I won't piss anyone off.
I would definitely not provide support for an Oracle Portal application (or any other Oracle product, for that matter) unless I had a lot of experience with the tools.
I have developed a dozen or so Java portlets for Oracle Portal over the past few years. If you are not necessarily tied into using .NET to develop portlets and do not want to use PL/SQL, I would recommend this approach. Oracle's Portlet Developer Kit (PDK) offers good functionality (http://www.oracle.com/technology/products/ias/portal/pdk.html).
I've not tried the WSRP approach but have deployed ASP.NET apps using the Web Clipping Portlet that comes with Oracle Portal with some success.
I have found Portal to be difficult to work with at times and a good knowledge of the other components in the Application Server stack (OID, SSO, Oracle DB, etc) is very helpful.
I recommend that you take a look at Oracle's WebCenter 11g Suite. When Oracle acquired BEA, it took on a few portal products, but from everything I've heard, WebCenter 11g is Oracle's story as far as portals go for the future - all the active development will be concentrated there. You can find a decent amount of material out there. Here's a blog post to get you started on WebCenter 11g.

Resources