Packages and the big picture

Hitting the chapter on subprograms and packages in the 2-day developer guide brought up material that is completely new to me, so I'm trying to think my way through it and hoped you guys might help me put some of the pieces together into at least a rough overall picture of how this works.
Here's one statement that particularly caught my eye: "Many Oracle customers allow client programs to access the databases only by calling subprograms."
To help explicate this, I'll take as an example a company with a sizeable plant near where I live: Baldor, which makes electric motors. That seems at least roughly like the kind of company that would fit the model of the hr database that Oracle provides as example--big enough to have multiple office locations, decent sized IT department but also lots of users who have no clue with regard to the inner workings of the database but who all still need to acces data of various kinds.
Now suppose I (picturing myself with a good deal more knowledge than I currently have) am supposed to be developer for an Oracle database that is going to handle Baldor's data of various kinds. Aside from the obvious intricacies of setting up all the tables and their interrelationships, what I'm wondering (particularly since I'm coming from Access, where issues of this kind are outside the scope of the program) is how to picture the various interfaces for various user-types.
They're going to have their administrators, who will know how the program works and how to tweak it to improve performance and all that. And they are skilled enough to use several possible interfaces, maybe develop their own, maybe just use one of the various access options that Oracle has in the drawer.
But now, back to the packages and subprograms issue, which is the point of departure for my question: Am I supposed to set the database up so that everything that the non-IT guys in accounting, HR, sales, etc. need is set up in subprograms (that need to be designed accordingly) and will then be presented in various kinds of front ends (generated in whatever programming languages) that non-IT people can comfortably use and which provides additional protection for keeping consistent and accurate data in a context where lots of people are dealing with (and editing) it--i.e, the subprograms provide additional control over how the data is manipulated by the various non-IT people who need it and work with it.
Is that the basic idea of how the subprograms and procedures fit into the overall scheme of things in Oracle?

SQL and PL/SQL (or SQL Server, or MySQL, or ?? implementations of procedural SQL, for that matter) is a specialized skill set. My experience is that Java, .NET, VB, Python, Ruby on Rails, (or whatever comes next) programmers tend to not be very strong in SLQ or PL/SQL. Packages or procedures and functions provide a way to protect the database from these programmers. It also serves to allow more freedom in the front end development because the business rules and logic reside with the data and does not have to be recreated and tested whenever the front end language or platform changes. Used to be Mainframe with CICS, IDMS, IMS. Then client server. Now browser based applications. Next Smart phone applications. After that, who knows. But the data and business logic remains, the only thing that changes is how you get to it.
HTH

Similar Messages

  • Small picture inset in the big picture

    Why would the printer print a picture that has part of the picture set in the big picture?  On the page preview it doesn't show up but.  It has happened when printing a PDF and also when printing a bmp. file.  Any ideas?
    Thanks.
    Bert

    What printer model?  What program are you printing from?  
    Bob Headrick,  HP Expert
    I am not an employee of HP, I am a volunteer posting here on my own time.
    If your problem is solved please click the "Accept as Solution" button ------------V
    If my answer was helpful please click the "Thumbs Up" to say "Thank You"--V

  • KCLP - can someone give me the big picture?

    In a project I have to review I stumbled into some log files displayed with Tx KCLP. It's some "external data transfer" logs.
    Unfortunately I miss the big picture and I did not find much on KCLP. Can someone give me a hint what's the big picture, e.g. what kind of applications use the KCLP logs.
    Thanks Frank

    I know KCLP is used by CO-PA to import external data via KEFC.
    THe bigger picture is
    - provide an import structure
    - define some transfer rules
    - post the data
    Christian

  • The April 22 Earth Day in 2000 combined the big-picture feis

    The April 22 Earth Day in 2000 combined the big-picture feistiness of the first Earth Day with the international grassroots activism of Earth Day 1990.....
    [url=http://cyberload.net/mc/index.php?topic=140263.0]Watch Captain America 2 Online[/url]
    [url=http://cyberload.net/mc/index.php?topic=140276.0]Watch Captain America The Winter Soldier Online[/url]
    [url=http://cyberload.net/mc/index.php?topic=140283.0]Watch Noah Online[/url]
    [url=http://cyberload.net/mc/index.php?topic=140299.0]Watch Rio 2 Online[/url]
    [url=http://cyberload.net/mc/index.php?topic=140314.0]Watch Divergent Online[/url]
    [url=http://cyberload.net/mc/index.php?topic=140323.0]Watch Oculus Online[/url]
    [url=http://cyberload.net/mc/index.php?topic=140331.0]Watch 300 Rise of An Empire Online[/url]
    [url=http://cyberload.net/mc/index.php?topic=140334.0]Watch Need for Speed Online[/url]
    [url=http://cyberload.net/mc/index.php?topic=140343.0]Watch God's Not Dead Online[/url]
    [url=http://cyberload.net/mc/index.php?topic=140348.0]Watch The Raid 2 Online[/url]
    [url=http://cyberload.net/mc/index.php?topic=140369.0]Watch The Grand Budapest Hotel Online[/url]
    [url=http://cyberload.net/mc/index.php?topic=140378.0]Watch Frozen Online[/url]
    [url=http://cyberload.net/mc/index.php?topic=140406.0]Watch That Awkward Moment Online[/url]
    [url=http://cyberload.net/mc/index.php?topic=140423.0]Watch The Lego Movie Online[/url]
    [url=http://cyberload.net/mc/index.php?topic=140440.0]Watch Draft Day Online[/url]
    [url=http://cyberload.net/mc/index.php?topic=140454.0]Watch Vampire Academy Online[/url]
    [url=http://cyberload.net/mc/index.php?topic=140467.0]Watch Non Stop Movie Online[/url]
    [url=http://thesewingsourceinc.com/forum/index.php?topic=47065.0]Watch Captain America 2 Movie Online[/url]
    [url=http://thesewingsourceinc.com/forum/index.php?topic=47115.0]Watch Captain America The Winter Soldier Movie Online[/url]
    [url=http://thesewingsourceinc.com/forum/index.php?topic=47147.0]Watch Noah Movie Online[/url]
    [url=http://thesewingsourceinc.com/forum/index.php?topic=47175.0]Watch Rio 2 Movie Online[/url]
    [url=http://thesewingsourceinc.com/forum/index.php?topic=47198.0]Watch Divergent Movie Online[/url]
    [url=http://thesewingsourceinc.com/forum/index.php?topic=47232.0]Watch Oculus Movie Online[/url]
    [url=http://thesewingsourceinc.com/forum/index.php?topic=47272.0]Watch 300 Rise of An Empire Movie Online[/url]
    [url=http://thesewingsourceinc.com/forum/index.php?topic=47306.0]Watch Need for Speed Movie Online[/url]
    [url=http://thesewingsourceinc.com/forum/index.php?topic=47346.0]Watch God's Not Dead Movie Online[/url]
    [url=http://thesewingsourceinc.com/forum/index.php?topic=47367.0]Watch The Raid 2 Movie Online[/url]
    [url=http://thesewingsourceinc.com/forum/index.php?topic=47397.0]Watch The Grand Budapest Hotel Movie Online[/url]
    [url=http://thesewingsourceinc.com/forum/index.php?topic=47422.0]Watch Frozen Movie Online[/url]
    [url=http://thesewingsourceinc.com/forum/index.php?topic=47467.0]Watch That Awkward Moment Movie Online[/url]
    [url=http://thesewingsourceinc.com/forum/index.php?topic=47536.0]Watch The Lego Movie Online[/url]
    [url=http://thesewingsourceinc.com/forum/index.php?topic=47585.0]Watch Draft Day Movie Online[/url]
    [url=http://thesewingsourceinc.com/forum/index.php?topic=47618.0]Watch Vampire Academy Movie Online[/url]
    [url=http://thesewingsourceinc.com/forum/index.php?topic=47652.0]Watch Non Stop Movie Online[/url]
    Earth Day is an annual event, celebrated on April 22, on which events are held worldwide to demonstrate support for environmental protection.

    What Intel video card do you have? The only Intel HD graphics cards officially supported by Photoshop CC are:
    Intel HD Graphics P3000
    Intel HD Graphics P4000
    Intel(R) HD Graphics P4600/P4700
    Intel HD Graphics 5000
    Go here to read more about the requirements: Photoshop CC and CC 2014 GPU FAQ

  • I thought my pictures was safe in the iCloud, but I was not aware of the 30 days and the 1000 pictures, so I lost quite a lot of pictures... is there any possibilities to find them again? I have only used iphone and ipad.

    I thought my pictures was safe in the iCloud, but I was not aware of the 30 days and the 1000 pictures, so I lost quite a lot of pictures... is there any possibilities to find them again? I have only used iphone and ipad.

    Not through iCloud, but are they still on your iPad or iPhone?  Open Photos, then go to the Albums and see if they are still in the main Camera Roll rather than My Photo Stream.  If they are in there, it would be a good idea to sync the devices to a computer so you can store the photos.

  • I purchased the photography package and the photoshop shows as a trial version.

    I purchased the photography package and the Photoshop shows up as a trial version. Just wondering what to do to fix this issue. Thank You!!

    Does your Cloud subscription properly show on your account page?
    If you have more than one email, are you sure you are using the correct Adobe ID?
    https://www.adobe.com/account.html for subscriptions on your Adobe page
    If yes
    Some general information for a Cloud subscription
    Cloud programs do not use serial numbers... you log in to your paid Cloud account to download & install & activate... you MAY need to log out of the Cloud and restart your computer and log back in to the Cloud for things to work
    Log out of your Cloud account... Restart your computer... Log in to your paid Cloud account
    -Sign in help http://helpx.adobe.com/x-productkb/policy-pricing/account-password-sign-faq.html
    -http://helpx.adobe.com/creative-cloud/kb/sign-in-out-creative-cloud-desktop-app.html
    -http://helpx.adobe.com/x-productkb/policy-pricing/activation-network-issues.html
    -http://helpx.adobe.com/creative-suite/kb/trial--1-launch.html
    -ID help https://helpx.adobe.com/contact.html?step=ZNA_id-signing_stillNeedHelp
    -http://helpx.adobe.com/creative-cloud/kb/license-this-software.html
    If no
    This is an open forum, not Adobe support... you need Adobe staff to help
    Adobe contact information - http://helpx.adobe.com/contact.html
    -Select your product and what you need help with
    -Click on the blue box "Still need help? Contact us"

  • I synced my iphone 4 with my computed and the erase pictures after sync box was checked and i did not realize it, is there a way to get the photos back into camera roll?

    i got a new computer and synced my iphone with it for the first time, i didnt realize the box for erase photos after synce was checked and my photos got erased off my iphone. i got the photos onto my iphone again by going into itunes clicked on the button to go into sync settings for the iphone on the top bar from there i clicked photos and picked the folder with the photos i just synced. i was hoping there was a way to move my photos back into caemra roll. right now i have 4 albums. camera roll, photo library, an album i titled, the album of photos synced with onto my phone that had the pictures that got deleted. the photo library and the photos synced albulm have the same thing in them

    Hello there,I hope you will be abale to recover your photos using these applications from the following site
    http://www.wondershare.com/disk-utility/recover-deleted-photos-from-iphone.html

  • Full screen mode, packages and the like

    I am trying to keep my code neat byt putting various related functions into clases with their associated methods. All is working sort of okay until I want to carry out a drawimage to the graphics device g . g is in one class and the drawimage method is in another. How do I pass the graphics device to the image class and assocaited method?? Help
    I am using netbeans and each class is in the same package. Any help on this is appreciated.
    * Main.java
    * Created on 10 August 2005, 09:19
    * To change this template, choose Tools | Options and locate the template under
    * the Source Creation and Management node. Right-click the template and choose
    * Open. You can then make changes to the template in the Source Editor.
    package dna;
    import java.awt.*;
    import javax.swing.*;
    * @author damian creedon
    public class PerfectDNA extends JFrame {
    /** Creates a new instance of Main */
    public PerfectDNA() {
    * @param args the command line arguments
    public static void main(String[] args) {
    DisplayMode displayMode;
    displayMode = new DisplayMode(1024, 768, 32, DisplayMode.REFRESH_RATE_UNKNOWN);
    PerfectDNA eden = new PerfectDNA();
    eden.run(displayMode);
    private static final long DEMO_TIME = 10000;
    public void run(DisplayMode displayMode){
    setBackground(Color.blue);
    setForeground(Color.white);
    setFont(new Font("Dialog", 0, 24));
    ScreenManager screen = new ScreenManager();
    try {
    screen.setFullScreen(displayMode, this);
    try {
    Thread.sleep(DEMO_TIME);
    catch (InterruptedException ex) { }
    finally {
    screen.restoreScreen();
    ImageManager images = new ImageManager();
    images.loadImages();
    images.drawImages();
    public void init(){
    public void paint(Graphics g) {
    public void repaint(Graphics g){
    * ScreenManager.java
    * Created on 10 August 2005, 10:52
    * To change this template, choose Tools | Options and locate the template under
    * the Source Creation and Management node. Right-click the template and choose
    * Open. You can then make changes to the template in the Source Editor.
    package dna;
    import java.awt.*;
    import javax.swing.*;
    * @author damian creedon
    public class ScreenManager {
    public GraphicsDevice device;
    /** Creates a new instance of ScreenManager */
    public ScreenManager() {
    GraphicsEnvironment environment = GraphicsEnvironment.getLocalGraphicsEnvironment();
    device = environment.getDefaultScreenDevice();
    public void setFullScreen(DisplayMode displayMode,JFrame window){
    window.setUndecorated(true);
    window.setResizable(false);
    device.setFullScreenWindow(window);
    if (displayMode != null &&
    device.isDisplayChangeSupported())
    try {
    device.setDisplayMode(displayMode);
    catch (IllegalArgumentException ex) {
    // ignore - illegal mode for this device
    public Window getFullScreenWindow() {
    return device.getFullScreenWindow();
    public void restoreScreen() {
    Window window = device.getFullScreenWindow();
    if (window != null) {
    window.dispose();
    device.setFullScreenWindow(null);
    * ImageManager.java
    * Created on 10 August 2005, 13:49
    * To change this template, choose Tools | Options and locate the template under
    * the Source Creation and Management node. Right-click the template and choose
    * Open. You can then make changes to the template in the Source Editor.
    package dna;
    import java.awt.*;
    import javax.swing.*;
    * @author damian creedon
    public class ImageManager {
    private Image bgImage;
    private Image opaqueImage;
    private boolean imagesLoaded;
    /** Creates a new instance of ImageManager */
    public ImageManager() {
    public void loadImages() {
    bgImage = loadImage("images/background.jpg");
    opaqueImage = loadImage("images/opaque.png");
    imagesLoaded = true;
    private Image loadImage(String fileName) {
    return new ImageIcon(fileName).getImage();
    public void drawImages() {
    g.drawImage(bgImage, 0, 0);
    }

    Hiya,
    I tried this
    public void paint(Graphics g) {
    drawImages(g);
    and get this error
    Compiling 2 source files to C:\My Projects\java\My Projects\dna\build\classes
    C:\My Projects\java\My Projects\dna\src\dna\PerfectDNA.java:66: drawImages(java.awt.Graphics) in dna.ImageManager cannot be applied to ()
    images.drawImages();
    C:\My Projects\java\My Projects\dna\src\dna\PerfectDNA.java:77: cannot find symbol
    symbol : method drawImages(java.awt.Graphics)
    location: class dna.PerfectDNA
    drawImages(g);
    2 errors
    BUILD FAILED (total time: 2 seconds)
    The method called is
    public void drawImages(Graphics g) {
    g.drawImage(bgImage, 0, 0,null);
    Further help would be appreciated.

  • Package and the transport number for Parameter id

    Hi ,
    Based on a posting earlier to create a Parameter id ,
    wanted to know what is is the best practice to fill in the PACKAGE NAME while creating a Parameter id in SM30 table TPARA?

    Create parameter IDs via SE80, this should take care of package and transport assignment.
    Edit: I just tried via SM30 for TPARA, asks for package as well, so what is your problem?
    Thomas

  • The "nvidia-beta-ck" aur package and the "linux-ck" package issue?

    I use the linux-ck unofficail repo to install the BFQ scheduler enabled kernel.  Today it upgraded to the 3.8.8 and it updated fine but the 319 nvidia beta drivers weren't installed after the update.  So I reinstalled the nvidia-beta aur package and everything was fine.  Is there a way for it to automatically hook the nvidia drivers into the kernel -- say with dkms or will I need to re-install the drivers everytime the kernel updates.

    I think there's an nvidia-all package in the AUR no?  You can probably modify that to work with the beta package.

  • Need to understand the big picture

    I am using Oracle 10g on Windows and the ORacle CEP Event Server 10g on WIndows
    Oracle CEP connects to Oracle DB by using an adapter like the following
      <data-source>
        <name>oraxads2</name>
        <driver-params>
          <url>jdbc:oracle:thin:@buckhorn.bea.com:1521:ce102a</url>
          <driver-name>oracle.jdbc.xa.client.OracleXADataSource</driver-name>
          <properties>
            <element>
              <name>user</name>
              <value>cedeployqa</value>
            </element>
            <element>
              <name>password</name>
              <value>cedeployqa123</value>
            </element>
          </properties>
          <use-xa-data-source-interface>true</use-xa-data-source-interface>
        </driver-params>
        <connection-pool-params>
          <initial-capacity>15</initial-capacity>
          <max-capacity>50</max-capacity>
          <test-table-name>SQL SELECT 1 FROM DUAL</test-table-name>
        </connection-pool-params>
        <data-source-params>
          <jndi-names>
            <element>oraxads2</element>
          </jndi-names>
          <global-transactions-protocol>TwoPhaseCommit</global-transactions-protocol>
        </data-source-params>
      </data-source>My question is: Can you write JDBC to perform an execute statement when using an adapter. I notice that the test-table-name does a select on DUAL. Could I select on a table using a WHERE clause that specifies a dynamic variable. I dont think you can do that in an adapter.
    What would JDBC look like when you use an adapter (instead of using the OracleDataSource ods statement).
    Could someone please post an example ?
    Thanks

    When you use an adapter for JDBC, do you write execute statements programatically within your code ?

  • I downloaded the web developer tool bar and after using it my images are gone. I use google and a home page and the big google is gone. I uninstalled firefox and reinstalled it but I still don't have any images. How can I get them back?

    Two days ago I downloaded the web developer tool bar (aus2.mozilla.com). I tried to use it but gave up. I deleted the tool bar.
    I don't have any images anymore. I use Google.com as my home page (default) and the large GOOGLE isn't there anymore. I've also noticed some of the sites I use don't have the continue or next or enter keys anymore. It seems the only thing I have now is the text.

    Are you sure you are looking at the Google page?? In Firefox 4.0 the default homepage / Start Page in Firefox was changed to '''about:home''' which looks a lot like the former www.google.com/firefox homepage.

  • The big picture for UCM and WebCenter

    Can someone explain how our UCM product fits with Oracle's WebCenter? Can it replace Site Studio? Is anyone experimenting with this or can point me in the direction of connecting the Web Center product to the UCM product (10g or 11g)?
    In the Oracle WebCenter - Statement of Direction
    http://www.oracle.com/technology/products/webcenter/pdf/owcs_r11_sod.pdf
    I read the following that implies WebCenter can connect to UCM.
    Embed Web 2.0 into applications – WebCenter Services
    WebCenter Services include a complete set of Web 2.0 content, search, collaboration, and communication services that can be embedded directly into applications built with the WebCenter Framework. The level of integration is unique and compelling and allows the services to be accessible in the context of the task or business flow. These services include:
    A content management solution for storing and managing files and documents (Oracle Content Database or, as an additional license option, Oracle Universal Content Management – that is, Stellent)
    But I don't really know what that means to me or how to get started.
    Thanks.

    Wll, it's quiet easy. Webcenter is designed to handle services. UCM is also complettly service oriented so you could create a webapplication with webcenter where you define services from UCM and create your own user interface.
    It's nothing more than the fact that webcenter can handle services (WSDL, SOAP).
    You could create a site without siteStudio, using webcenter. Nothing wrong with that but don't forget that siteStudio has lots of tools that are great for UCM like the contributor mode. Also, the fragments that are allready build in in siteStudio give a big advantage. If you want to create these things in zebcenter, you'll have to start from scratch.
    I do believe Oracle is working on an portal like interface to create portlets and stuff, perhaps they will create some tools special for the use of UCM and webcenter. This offcourse would be very nice

  • CRIO-9068 time synchronization and data timestamping - the Big Picture

    I'm working with a number of cRIO-9068 chassis that are distributed over a large physical area. I wish to timestamp data acquired be these chassis with microsecond resolution and relative accuracy. The various documents that I've run across hint at how this might be accomplished but none of them really describe the overall architecture for synchronization of chassis clocks over a network and acquisition of the local clocks for the purpose of data timestamping. Is there a document that addresses this topic?

    http://www.ni.com/pdf/manuals/376007a.pdf:
    Using the Internal Real-Time Clock
    The system clock of the cRIO-9068 is synchronized with the internal high-precision real-time clock at startup. This synchronization provides timestamp data to the controller. You can also use the internal real-time clock to correct drift of the system clock. Refer to the Internal Real-Time Clock specification in the Specifications section for the accuracy specifications of the real-time clock.
    What are the "system clock" and "real-time clock"? How are they related? How does the synchronization provide timestamp data to the cRIO-9068 controller? How does the internal real-time clock correct drift of the system clock?
    http://www.ni.com/pdf/manuals/373185a.pdf:
    No theory of operation whatsoever.
    Note: https://forums.ni.com/t5/LabVIEW/cRIO-9068-amp-NI-TimeSync/td-p/2838178 suggests that NI-TimeSync may not be available for the cRIO-9068:
    Currently NI-TimeSync 1.3 is not supported on Linux RT. This is something that's in the works but there is no ETA.

  • When I click on a photo and the full picture comes up it is a different picture

    I click on an image and when the full size picture comes up it is a different picture from a different time. Anyone know of this issue or how to fix it.

    Search the forum - it seems like some action will resolve this - like an edit in iPhoto or something - I just vaguly remember someone saying they have a wrok arround - I also think that it mayh have to do with Nikon cameras although I'm fuzzy on that too
    Check this thread (from the more like this link near the top of this page) and see if it applies or helps -  https://discussions.apple.com/message/21042960#21042960
    Do report to Apple - iPhoto menu ==> provide iPhoto feedback
    LN

Maybe you are looking for

  • List of configuration files copied to non-global zone

    I understand that when a non-global zone is installed, the zone installation process uses "pristine" copies of quite a few configurable files (/etc/profile, /etc/syslog.conf, etc..) instead of the files which are configured in the global zone. Does a

  • Diffrence between Oracle BI Publisher and OBIEE

    Now iam using SQL Server Reporting Services (SSRS). I want to migrate SSRS to Oracle Reports. I want to know the diffrence between Oracle BI Publisher and Oracle Business Intellingence Enterprise Edition (OBIEE). Which one is the best tool to generat

  • Java.lang.reflect.InvocationTargetException on the server log

    Hi friends , I have deployed a war on the tomcat server .the site was working properly.but from last week we are getting the following exception in the log .this exception is thrown not at a particular time but randomly what must be the problem . jav

  • CS2 and Windows 7 64bit

    Okay, I have gotten all except for the bridge and acrobat to work on my new computer, by installing to a desktop folder instead of the program files. Now, Neither the Acrobat nor Bridge will open as the program is not recognizing my serial number. Do

  • Error extracting data from essbase cube using MDX method

    Hi, We have some problems extracting data from essbase cube using MDX method, we believe that the problem is the MDX query, this is the problem and query: ERROR: [DwgCmdExecutionThread]: Cannot perform cube view operation. Analytic Server Error(12600