Sever vs Code database, Server Options

I'm looking for a well advanced introduction
Non-Oracle or Oracle texts/tutorials on

1. decide how to divide the code
-code strored data base
- and the application code (Apex).
Advantages, disadvantages etc.
In particular, a description of the stored database code execution.

2. installation of the Apex methods.
What are the options for servers
and what are the criteria of choice.

Thank you very much
Marios

Marcos,

Hmmm... You ask great questions.

How many levels can have an APEX application?

Well, it all depends on how you define levels and whether or not you're talking about physically or logically.

Physically, APEX has three basic levels; Browser, Application Server and database, where the 'Application Server' can be a number of alternatives (Apache/Oracle HTTP server and mod_plsql or gateway PL/SQL to embeded in Oracle 11 g or Oracle XE). The reality of our physical application server level, is that it really just sends requests from a browser into the engine of the APEX. So go to application servers, it is really, really light.

Logically the things are a little different.

Logically, it would be wise to say that the engine of the APEX is the "Application Server", even if he lives inside the database since its really the engine that runs our application logic.

Say that the browser is a floor (view/client) and the database is another level (data model). These levels is quite simple.

Then comes the "application logic" or the level controller. If we logically separate our data storage in the database (and that's a pretty good idea to physically do too with different schemas and/or commissions) of the logic of the application we can realize easily a same good architecture model/view/controller the controller and model levels is both physically in the database.

So if a data entry form rendering is handled by the browser and the database contains the table that stores the data that agrees to the shape, where should we put us business rules that will manipulate the data?

As suggested by Tyler it's almost always a good idea to put inside the database business rules. Let's say that some of the fields on the form are mandatory. APEX can do quite easily, required data entry fields but if it was not being applied inside the database (with a column NOT NULL for example) then another application (or same SQL/Plus for example) might be able to put the rows in the table with NULL values and break our business rule. There are many applications out there today that everyone was quite positive that no other application would never be built against which are completely planted and/or have incorrect data because someone got around the application logic by building a bad application.

But also remember that as a development environment there is no reason why you couldn't yell at or consume web services, XML, etc. of the APEX stream. How it is to you, but really, the sky is the limit.

Is it some sort of clearly separated "application-level"?

There may be if you want there to be. Certainly, you can use a workspace APEX of keeping your information "application level". Yet once as Tyler mentioned it's not a bad idea to put as much of this application-level logic in libraries of reusable code potentially using PL/SQL packages.

Is the database stored PL/SQL code part of this "application-level"?

It certainly can be. Sometimes it can be a little confusing, but there are really two "sections" of the PL/SQL with APEX code. The first is the real engine of the APEX itself. The second is any PL/SQL code using wizards, and/or code PL/SQL you write directly. You really should keep the two separate. By default this is what APEX with workspaces.

I hope this helps. If not, ask to...

Rich

Tags: Database

Similar Questions

  • Instantis Database Server operating system options

    Hello.

    Ref: Test Configs on 15.1

    http://docs.Oracle.com/CD/E61225_01/index.htm

    @p @@

    The configurations tested for Oracle Primavera Enterprise Instantis track for the database server Oracle 12 depending on the tested configurations is limited to 6.5 Linux Oracle and Red Hat EL 6 (AMT3).

    Anyone who has used Windows? What version? No trouble?

    Kind regards

    Charles Wright

    Charles,

    Windows is not an option that I know of.

  • Download file from the database server, through application server.

    Nice day

    I use Jdeveloper 11.1.2.3.0.

    I have a requirement to download a file that already exists on the database server Directory. Now my current scenario is that user is connected to the application server, and the user has no direct access to the database server.  I drew a diagram of my requirement as:


    DownloadFile.png


    I get a way to do this. Please suggest.


    Best regards,

    Julien

    The session does not expire if you are streaming data from the application to the client. However, you will need to manage the data sent over the network, because it can make the very slow network if you send this amount of data at high speeds on the network and then to the customer. This connection between client and server is the biggest problem, because bandwidth is usually small. Think about downloading software by one side oracle (for example 1 GB), this takes time and is prone to errors.

    We did something similar by transferring the data from the database (in our case, it has been stored in a BLOB) on a dedicated server with a server web apache on it. Then, we send a link to the client, which then uses the link to get the special file server data.

    The advantage is that you don't have to code the transfer of huge files in the application of the adf but can already use ready to use of software (balancing bandwidth and the recovery of a broken download).

    Timo

  • Follow incoming JDBC connections to the database server

    Hello

    We have a database of 10gr 2 on RHEL4. This database is mainly used by Oracle E-Business suite.
    External applications connect to the database using JDBC. Most of the time this configuration works very well. Sometimes, however, we get an error "no data to read from socket" at the end of the external applications. It seems to be a problem with the JDBC connections, but we could not even identify him. But I feel that the problem is NOT the end of the database. I just want to confirm that.

    To cut a long story short - is it possible to follow incoming JDBC connections on the database server? Of course, I can follow the actual sessions created for external applications. But is it possible that I can say that if the JDBC request reached the server database or not?


    Kind regards
    Ousseni

    Ousseni wrote:
    Thanks for the reply.

    Oracle RDBMS cannot differentiate between connection OPTION of any other flavor of the customer.

    Knew that :)

    listener registers EACH connection request, you get

    As the JDBC connection string is correct at the client end, I'll be able to find details of all applications for connection in the newspaper of the listener, even if some of them do not end up like connections to the database.

    PS: I do not belong to the sanctified tribu tribe of DBAs, so please excuse the obvious ignorance!

    Kind regards
    Ousseni

    Each connection request that gets the listener is registered; regardless of the success or failure.
    listener registers status = 0 for successful queries.
    listener registered status = (as 12514) for failed requests
    If/when the connection request goes wrong & can't seem to the listener, then the listener does nothing;
    Since he never received such a request

  • Remote database server and repository of OME

    Do we need a local repository when using OpenManage Essentials?  When I go to the Source of the catalog and choose ftp://ftp.dell.com/catalog/catalog.cab does this mean that I download the latest firmware and drivers directly from Dell?  If so why do need me a local repository?

    Also how can I see what the remote database server?  I know we have an OME DB server but I do not see where to OME he made reference to what database server, it is connected to.

    Hi Mike,.

    It is not necessary to have a local repository when using OpenManage Essentials. Once you select the FTP option, you get the latest firmwares and drivers directly from dell. Local repository is an alternative solution in case you do not want to download the firmwares of FTP every time, or if you do not want to connect to the internet.

    You can find your server of remote database from the details of the registry:

    You start Regedit > HKLM > Wow6432node > Dell Computer Corporation > Dell OpenManage Essentilals > Database

    "In"database ", the value under" "server" is the name of your remote database

  • How to integrate a database server Oracle Coherence

    Hi all

    How to integrate a database server Oracle Coherence and how to work on it?

    Thank you
    Sarvesh M

    You can also do this with manual coding to JDBC code or have a stored procedure that performs the actual mapping data to tables (this is probably the smallest amount of data transported between the node storage and DB, but with the overhead of processing of stored procedures).

    Best regards

    Robert

  • I lost the code for the option menu 'limitations' of the iPhone 4, how can you do then? so I can come and factory reset, it is a 4 digit code, so I can be able toexample factory reset the phone, don't know if this is the right forum for my question but

    I lost the code for the option menu 'limitations' of the iPhone 4, how can you do then? so I can come and factory reset, it is a 4 digit code, so I can be able toexample factory reset the phone, don't know if this is the right forum for my question but

    Sorry, but the restriction password cannot be reset, it is part of the backup and restore a backup that was taken after the restrictions were activated, restore this code again.

    You will have to start without the help of the data backup, configure the phone to factory settings and start over. Follow the steps mentioned in this article:

    Use iTunes to restore your device to factory settings - Support Apple iOS

    If you lose or forget your password restriction, you must erase your device and then put it up as a new device to remove the restriction password. Restore the device by using a backup does not delete the access code.

    copied from: Sur les Restrictions (parental control) on iPhone, iPad and iPod touch - Apple Support

  • Move database server/keep CPO patterns

    Hello

    We moved our database, patterns of CPO to a different data center of accommodation. However, the application server has not moved.

    I have a new server on this same data center to be used for the POC.

    CPO installation on the new server by using the same oracle patterns affect the table and the data that already exist?

    Do you have a document on how to approach?

    Thank you

    JB

    There is a key on the server that hosts TEO which is used to encrypt the data such as users of runtime.  Without this move, you will lose all data encrypted in the DB.  You will need to go through the procedures of resettlement TEO Server processed in the resilience strategy paper to ensure that the key is present on the server PO that you are moving.

    You can take this in 2 steps.  First go through the changing database server using the tool for this purpose.  Once it works, go through the process of server move.

    Work with TAC through this process would probably be a good idea.

    In addition, this can be a good way to discover the mechanics of the hot stanby strategy if you want to use for HA so much PO 3.0 arrives.

  • Disorders CW VMS with IDS MC installation: database server does not

    We install a new management station for our ids devices to replace our previous one that is a bit underpowered, but we cannot get it running to the point of being able to add our sensors. In the journal of the files IDS_Analyser, IDS_EvsServer, IDS_Notifier, IDS_ReportScheduler, we get errors that the database server is not running. In addition, we now have an extra record in the files smdb_upgrade001.log and smdb_upgrade002.log, indicating that the upgrade from version 1.0 to 1.1 database failed due to another error:

    -193--primary key for table 'sys_strings' is not unique

    However, we thought that we should follow the proper procedure in the installation of all packages:

    -CW CDOne fifth edition (we installed CiscoView, utility of NMS and CMF integration)

    -Services common (from the CD CW VMS management & monitoring V2.2)

    -Installation of machines virtual CW for IDS V2.2 by selecting management IDS sensors, catalyst ID SM and monitoring security on the same CD

    So that should be enough to have a work environment and in fact we have not all errors in the installation of all components. Even all CW services are running according to the CW process management.

    We are wasting a lot of time trying to get it right for once.

    Johan, it s a while since I made the installation, but I think CiscoWorks-VMS-2.2-Update-1-w2k-k9.exe installing, check SecMon you install and update only if it is less than 1.2, after installation SecMon 1.2.3 If you haven t already done and then add the patches. I hope that the advice I gave you here is correct.

  • How to replace ENTERPRISE Server Option the Option of Service Internet BB BlackBerry Smartphones?

    There is the ENTERPRISE Server option installed on my 8700.

    I want to vsend and receive emails from email account different without making use of the BB Enterprise stars I would like to get rid of the company-installed program and replace it with the option of Internet Service.

    I wonder if it would be possible.

    Can I replace Enterprice feature by the normal Internet Service? and how?

    Thank you for any information

    Hello!

    The options you are presented with when you start the e-mail Setup Wizard are controlled because of the type of account you have with your carrier. Given what you describe, it seems if you maybe on a generic data plan (or maybe no data don't plan at all)-it's usually not enough to grant you access to the Blackberry Internet Service that is hosted in your operator. To enable the configuration of the personal e-mail, you should contact your operator and ask what is often (do not universally thought) called the Blackberry data Plan. Whatever we call it, we need a plan of your provider that gives you access to Blackberry services increased that they host - and you have to pay for access to enhanced services. Once you have these accounts, you will have a personal messaging as a configuration option (note, however, this company will not "replaced"... rather personal will be added to the screen).

    Good luck and let us know!

  • DMZ web server-> inside the database server

    Suppose that a network topology looks like this:

    A PIX with 3 interfaces:

    interface (private public static IP 10.10.10.1)

    interface (public static IP of 69.110.38.35)

    interface (static IP private address of the 30.30.30.1)

    --------------------------------------------

    The internal network has a {server} with the IP address of 10.10.10.2.

    The DMZ has a {web server} with the IP address of 30.30.30.2.

    I will welcome external guests (outside) access to the web server (30.30.30.2) via port 80.

    This web server access turn the database server (10.10.10.2).

    Assume that all other commands are issued. Then, I'll create an access list that allows server WWW DMZ to communicate with inside the database server.

    access-list dmz-to-inside permit tcp host 30.30.30.2 host 10.10.10.2 eq 1521

    Should I publish the following, too:

    (1) access-list dmz permit tcp host 30.30.30.2 no matter what 80 eq

    (2) access-group in interface dmz dmz

    (3) static (inside the dmz) 10.10.10.0 10.10.10.0 netmask 255.255.255.0

    xlate clear 4)

    If so, what each of them do?

    Thank you for helping.

    Scott

    1. Yes, the static statement "10.10.10.0 static (inside, dmz) 10.10.10.0 netmask 255.255.255.0" will disable NAT. Although it is not necessary to disable nat, however, it saves money and simple to manage. the reason for this is the traffic between the dmz and inside is private, there is therefore not necessary to apply the public ip address.

    2 pix receives the package intended to 30.30.30.2 10.10.10.2. PIX examines the static statement and based on the static above statement, pix will not nat package (i.e. pix will leave the soruce address be) and send it to 30.30.30.2 via the interface of the demilitarized zone.

    for example

    original package - source 10.10.10.2, destination 30.30.30.2

    After pix - source 10.10.10.2, destination 30.30.30.2

    3. the "Clear xlate" command must be issued whenever the nat/global or static has been added/deleted/modified. This command is to force the pix to clear the existing ip translation.

    for example, before you add the command "static 1.1.1.1 (indoor, outdoor) 192.168.1.100 netmask 255.255.255.255", the pix may already have an ip 192.168.1.100 translation (it might come from the nat/global). now, after you apply the static command, the pix will keep the existing translation for a certain period time. 'clear xlate' is needed to erase the old translation and so to activate the new static statement.

  • Highway - travelled server option

    Hey,.

    A configuration Expressway for Jabber and found that it lacked the crossing under zones server option. Why is this? the doc 8.1 clearly shows the traversal server option. license related?

    Thank you

    VR

    Server option traveled solely highway E. You have the right license for e. Highway the banner at the top says highway E?

  • recommended location for the installation of Enterprise Manager 13 c, my client pc or the database server?

    Hi all

    I want to install Oracle enterprise manager 13 c on oracle 12 c Enterprise edition.

    What is the recommended way to install EM? install on my client or install on the database server itself?

    Please guide me.

    Thank you.

    Really, neither.   If you talk about the broad company EM Cloud Control (12 or 13), it requires adequate resources and must be installed on a server, no cell phones.  Unless you are looking just to play - you can then consult the virtual images available Oracle VM Templates.   It has also not recommended to run it on the same servers that you are monitoring.

    How many targets you track / manage with the system?  If it is a unique environment, the Express EM version may be bettter, where you boot agent on the database server and manage most of the functions of the server.   If you have more than one or two databases, Cloud Control is the best, but it requires little equipment. Sizing of information can be found in the docs - https://docs.oracle.com/cd/E63000_01/EMBSC/preinstall_req_hw.htm#EMBSC121

  • How to create a local directory on the client and not on the database server?

    Hello

    First of all, thank you for taking the time to solve the problem.

    I apologize if there are errors in the format used for the display of this issue.

    I have a procedure that generates data in the csv file and is loaded into a directory.

    I have a requirement to plan this procedure should be performed every week.

    I did the above two steps successfully.

    but the problem am facing is that files are downloaded in the directory location for the oracle server. but I need the files to load to my own record of operating systems.

    IE my PC is not the database server, but I thought to create a directory on the operating system of my own PC C:\ drive.

    It is a frequently executed procedure then uses dbms_scheduler.

    Can we create a directory on our own PC operating system file. I use Windows 7 OS?

    Please find details of version below.

    Oracle Database 11 g Enterprise Edition Release 11.2.0.3.0 - 64 bit Production

    PL/SQL Release 11.2.0.3.0 - Production

    CORE Production 11.2.0.3.0

    AMT for Linux: Version 11.2.0.3.0 - Production

    NLSRTL Version 11.2.0.3.0 - Production

    Your time and your help is very appreciated.

    Thank you

    SQL and PL/SQL FAQ

  • Deploy the adf on glassfish with oracle database server.

    I am trying to create a connection from the pool on glassfish 4 oracle database server.

    but I could not. I was trting to ping and show this error ping Connection Pool failed for audio. Class name is incorrect or classpath is not set to: oracle.jdbc.pool.OracleDataSource

    GlassFish 3.1 is supported, 4.x is not.

    Oracle JDeveloper and ADF 12 c (12.1.3) supported systems

Maybe you are looking for

  • G6-2295nr: I can update my graphics card?

    Hello! I wanted to know if its possible to update my graphics card because I have a lot of game and the current map, I ain't too good. I have really low FPS even have all my settings in my game on LOW. Here is the link to my computer info/specs: lapt

  • Update firmware BDP-S380

    I have the BDP-S380 and it is not connected to the internet. I upgraded to the latest firmware, which I believe was version 208, by using the Update CD method without any problem. However, when I try to upgrade to the latest version (released a few d

  • SP2 of Vista or XP 3?

    I have Vista 64 sp2, I don't want to go to 7 again.  Should or should I switch to XP pack3?

  • Shadow on my monitor

    I have a HP f1905 19 inch LCD monitor connected to a m7330n desktop computer...My operating system is Windows XP Home Edition. I use a graphics Geforce 7600 GS PCI. I have a problem with my cursor disappears on the right side of my screen. It stops a

  • "JVM 517 error corrupted file system". (On Storm 9530 Simulator)-Please HELP

    I receive the error described in the header for the Verizon Storm 9530 Simulator. Normally, this error set a Blackberry OS error that need to reinstall, but I'm just on the Simulator, not my phone. I tried to add all kinds of files to the path system