Need advice on best practices for deployment

I am a novice with APEX and would like some advice on how to set up a dev and test environment.  What I do now works, but I suspect that there is a better way.

Currently I have 3-4 small applications APEX hosted by www.enciva.com.   They offer two drawings and two Apex workspaces into a single Oracle SE database.

My current understanding is:

Workspace_dev

schema_dev

main application <-application 10 (points to schema_dev)

application for admin <-request 11 (points to schema_dev)

Workspace_prod

schema_prod

main application <-request 20 (points to schema_prod)

application for admin <-application 21 (points to schema_prod)

1st quarter) I'd be better off if the application ID are identical between dev and prod?

When I'm ready to deploy from dev to prod I export the application (usually via the browser) and import it into the scheme of using SQL Developer prod.   For some reason that I can't import using the browser interface.  In the browser interface, I said to use schema_prod and assign the ID of the application to replace the application existing 20.  It shows a confirmation page indicating that I am about to delete the existing application and replace it with the imported application, but when I hit continue he returned immediately to the previous page.  As much as I know it don't even try do the import, but I could be wrong on this matter.

Q2) should I be worried that enforcement is corrupt somehow as browser based import does not work?


Note that I can't import a applications using the browser interface, so it is not specific to a single application.


Q3) I would be able to export an individual page of dev and import it into the corresponding production application, if the application ID are the same?

2765397 wrote:

Please update your forum profile with a recognizable username instead of "2765397".

I am a novice with APEX and would like some advice on how to set up a dev and test environment.  What I do now works, but I suspect that there is a better way.

Currently I have 3-4 small applications APEX hosted by www.enciva.com.   They offer two drawings and two Apex workspaces into a single Oracle SE database.

My current understanding is:

Workspace_dev

schema_dev

main application<-- application="" 10 ="" (points="" to="">

application for admin<-- application="" 11 ="" (points="" to="">

Workspace_prod

schema_prod

main application<-- application="" 20 ="" (points="" to="">

application for admin<-- application="" 21 ="" (points="" to="">

1st quarter) I'd be better off if the application ID are identical between dev and prod?

Use an application ID unique for each version of an application and a simple, permanent and immutable alias application over the life of the application. On deployment, the export of the development application and import it into the workspace of production with a new ID and then trade alias with the previous version. Start working on the next version, import the application into the space of development work with a new ID and start the cycle again.

To work in this way, the application must never be referenced directly by ID. All the external links to the app must refer using the alias of the application. All internal references within the app must also use the alias or the integrated APP_ID substitution string.

When I'm ready to deploy from dev to prod I export the application (usually via the browser) and import it into the scheme of using SQL Developer prod.   For some reason that I can't import using the browser interface.  In the browser interface, I said to use schema_prod and assign the ID of the application to replace the application existing 20.  It shows a confirmation page indicating that I am about to delete the existing application and replace it with the imported application, but when I hit continue he returned immediately to the previous page.  As much as I know it don't even try do the import, but I could be wrong on this matter.

Q2) should I be worried that enforcement is corrupt somehow as browser based import does not work?


Note that I can't import a applications using the browser interface, so it is not specific to a single application.

Import browser based works do not is abnormal. You can import these applications in the instance of apex.oracle.com using the browser?

Q3) I would be able to export an individual page of dev and import it into the corresponding production application, if the application ID are the same?

Page level import/export using the App Builder is possible between separate instances where the request and workspace have the same ID. It is not possible in your hosted environment because it contains only a single instance that requires the unique ID workspace.

It can be done in SQL * Plus, or using SQL Developer apex_application_install API, but generally it is easier to simply import the entire application and copy the page between applications.

Tags: Database

Similar Questions

  • SQL Server 2005 STD. best practice for deploying VCenter 4

    Hi all

    I I know what kind of criteria from database / best practices that I need to create to support VCenter Management Server v4?

    I use Windows Server 2003 standard and SQL Server 2005 SP3 Standard edition.

    Thank you.

    Kind regards

    AWT

    Maybe this can help you.

    MCP, VCP

  • Advice on best practices for managing analysis listener logs and logs of the list

    Hi friends,

    I just started a job as a dba CARS for some big 24 * 7 systems administrator, I've never worked with RAC and clusterware.

    2 space issues

    (1) very large listener_scan2.log in the folder /u01/11.2.0/grid/log/diag/tnslsnr/ < servername >/listener_scan2/trace
    (2) bunch of files log_nnn.xml /u01/11.2.0/grid/log/diag/tnslsnr/ < servername >/listener_scan2/alert folder (4 GB out of stock)

    Welcome advice on how best to manage these short-term (i.e. remove manually) and recommended practice and the safest way (adri maybe not sure how it works with listeners to scan)

    Welcome advice and commands that could be used in these cleaning and a robust mechanism in place for the management of the log file in RAC and CLusterware systems safely.


    Finally should I check the log files in /u01/11.2.0/grid/log/diag/tnslsnr/ < servername >/listener_scan2/alert regulalrly?
    My experience with newspapers in the listener, is that they are only considered when there are major problems of connectivity and overall are ignored.

    Thanks for your help,
    Cheers, Rob

    Have you had problems in need for the purpose of investigation? If this is not the case, just remove them. Are the logs required for some sort of verification process? If so, gzip to a place where you can use your operating system from tape backup strategies to preserve their n-days. Once you delete a file active, he must recreate the file and continue without interruption.

  • Just improved m tips on best practices for sharing files on a Server 2008 std.

    The field contains about 15 machines with two domain controllers, one's data is the app files / print etc...  I just upgraded from 2003 to 2008 and want to get advice on best practices for the establishment of a group of file sharing. Basically I want each user to have their their own records, but also a staff; folder. Since I am usually accustomed to using windows Explorer, I would like to know if these actions can be done in the best conditions. Also I noticed on 2008 there is a feature of contacts. How can it be used? I would like to message or send an email to users their file locations. Also, I want to implement an admin at a lower level to handle the actions without making them far in on the server, not sure.

    I read a certain bbut I don't like test direct more because it can cause problems. So basically a way short and neat to manage shares using the MMC, as well as the way that I approach their mail from the server of their actions. Maybe what kind of access cintrol or permissions are suitable also for documents. Also how can I have them use office templates without changing the format of the model.

    THX

    g

    Hello 996vtwin,

    Thank you for visiting the Microsoft Answers site. The question you have posted is related to Windows Server and would be better suited to the Windows Server TechNet community. Please visit the link below to find a community that will support what ask you:

    http://social.technet.Microsoft.com/forums/en-us/category/WindowsServer

    Hope this helps J

    Adam
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think

  • Best practices for managing strategies of path

    Hello

    I get conflicting advice on best practices for managed paths.

    We are on version 4.0 of ESXi connection to a HP EVA8000. Best practices guide HP recommends setting the strategy of railways handle on Round Robin.

    This seems to give two active paths to the optimized controller. See: http://h20195.www2.hp.com/v2/GetPDF.aspx/4AA1-2185ENW.pdf

    We used certain consultants and they say that the best practices of Vmware for this solution is to use the MRU policy which translates a single path to the optimized controller.

    So, any idea what good practice is best practice? Does make a difference?

    TIA

    Rob.

    Always go with the recommendation of the storage provider.  VMware recommendation is based on the characteristics of the generic array (controller, capable ALUA failover methods, etc.).  The storage provider's recommendation is based on their performance and compatibility testing.  You may want to review their recommendations carefully, however, to ensure that each point is what you want.

    With the 8000, I ran with Round-Robin.  This is the option of creating more robust paths available to you from a failover and performance point of view and can provide performance more even through the ports on the storage controller.

    While I did of the specific tests/validation, the last time that I looked at the docs, the configuration of HP recommends that you configure each IO to the ports in the switch configuration.  This adds the charge to the ESX host, the switch to other ports, but HP claims that their tests showed that it is the optimal configuration.  It was the only parameter I wondered in their recommendation.

    If you haven't done so already, be sure to download the HP doc on configuring ESX and EVA bays.  There are several parameters that you must configure the policy path, as well as a few scripts to help make the changes.

    Virtualization of happy!

    JP

    Please consider awarding points to useful or appropriate responses.

  • BEST PRACTICES FOR PL/SQL

    Hi all
    I'm looking for advice on best practices to create c# applications that have Oracle as backend.
    I noticed this insertion, update, and delete procedures are not so dynamic because they are static:

    Insertion procedure:
     Create or replace procedure insertion (param1 in varchar2 default '', 
    param2 in number default 0, param3 in float default 0,
     table_to_insert in varchar2, Some_error out varchar2) is
    begin
    if (table_to_insert='table1_spec') then
    insert into table1 (val1,val2,val3) values (param1, param2,param3);
    elsif (ect) then
    .
    .
    .
    end;
    /
    Updated and delete procedures also have the same behavior, I wonder if you use a cursor to do more dynamic values return and the use of native dynamic SQL could not help the developers and I have to have something more dynamic.
    Kind regards

    Published by: user650358 on June 9, 2011 08:37

    user650358 wrote:

    I'm looking for advice on best practices to create c# applications that have Oracle as backend.

    What John said. (even if I would have been more blunt and used the expression "+ approach silly +" several times) {noformat} ;-) {noformat}

    The most flexible approach is to abstract the complexities of SQL, the relational database and the physical implementation of it, of the code c# developer.

    No need to know the database design, the joints, the structures table, SQL and others. Instead the abstract layer takes care of that - where this layer is a suite of packages of PL/SQL procedures and functions.

    As the c# developer would use the Win32 API for creating threads, or the use of Sockets of Win, it now uses the layer of abstraction of PL/SQL in a similar way.

    You want to add an invoice? No need to know the name of the table, the structure of the table and SQL - c# code calls simply the CreateInvoice()PL/SQL procedure.

    This code performs the validation. Business rules and logic. The SQL.

    More, the underlying database model can change, the new rules of business introduced and so on - and the call from c# to CreateInvoice() will remain the same and the c# code not affected by these changes in dorsal.

    Oh yes - it does not using PL/SQL code to extract data from line in the PL/SQL variables and then push these data in turn to the c# client code.

    It means that a procedure or a function like GetCustomertInvoices() returns a ref cursor to the appellant to consume. (the SQL to create the slider is abstract - not the actual slider itself because it is correct the only way to access the data in row SQL)

  • Best practices - Production deployment

    What is the best practice to deploy an application built custom production?
    Where to deploy in administration server or managed based on server?

    Thank you
    Shankar

    Hi Shankar,

    It is always better deploy your application on the managed server. You don't need to restart your server admin you have to restart your server managed to change your environment in relation to your application. Server Admin is intended to administer all instances of managed server. You can have several different managed servers for different specific applications. So it's a best practice to deploy your application on the managed server.

    Kind regards
    Roxane

  • [ADF, JDev12.1.3] Best practices for maintaining a form validation

    Hallo,

    in my application, I need to create a registration form which contains fields that must be validated (for example they should follow a format like e-mail, phone number, tax code,...).

    If the data inserted by the user are ok, a new record in my custom db table Users will be created.

    I would like to know which are the best practices for maintaining the validation, which means the place where the controls must be made and a message to the user who fills out the form when something goes wrong.

    The best vo or EO or managed bean? Or some controls should be put in the OS, others in the VO and other in the managed bean?

    I would be happy if you could give me some examples.

    Thank you

    Federico

    Assuming you want the validation on the value of the field to any screen data can be entered in (and possibly web services that rely on the same BC ADF) then put the validation on the definition of the attribute in the EO.

    If you want to add a little more friendliness and eliminate some of the network traffic to the server, you can also implement the validation client in your page - for example by using the regular expression validator.

    https://blogs.Oracle.com/Shay/entry/regular_expression_validation

  • Best practices for managing exceptions and success messages.

    Hey people,

    These days I've been shooting packages to clean my application. And question came to my mind, ' should I treat my exceptions the right way?


    So I want to ask you met guys, what is the best practice for this? (I want to learn it until it's too late )

    Currently I have a function that returns "OK" if all goes well.


    return('OK');  

    Can I manage my exceptions like this

      EXCEPTION
        WHEN OTHERS THEN
          ROLLBACK;
          RETURN (SQLERRM);
    
    

    At THE SUMMIT, I have a process that calls the function and then checks if the function returned "OK".

         IF cRet not LIKE 'OK%' THEN
          RAISE_APPLICATION_ERROR(-20000,cRet);
         END IF;
    
    

    And in 'process Error Message' I put "#SQLERRM_TEXT #" so that I can see what error occurred.

    Question aside, how do you manage your messages of success?

    Currently in 'process success Message' put something along the lines "Action completed successfully". What to do about all the processes.

    Do you want to do differently?

    I really want to hear what you have to say since I'm tired of feeling like this is a terrible way to manage these things.

    Hi Para,

    Para wrote:

    I don't know of situations where my service throw exceptions like no_data_found.

    and I need to know that the process is not so I can get to see my # #SQLERRM_TEXT.

    I got this by increasing the error in the application (which I think is a bad way to go) if the return is anything other than 'OK '. I get my application error in the process of the apex, and not in my service.
    And I want to show the inline error in the notification. (Which I am currently with my approach).

    You can use APEX_ERROR. ADD_ERROR in your PL/SQL process to throw exceptions in Oracle APEX.

    Reference: Re: Re: error in the processing of the page management

    Kind regards

    Kiran

  • What are the best practices for creating only time data types, and not the Date

    Hi gurus,

    We use 12 c DB and we have a requirement to create the column with datatype of time only, if someone please describe what are the best practices for the creation of this.

    I would strongly appreciate ideas and suggestions.

    Kind regards
    Ranjan

    Hello

    How do you intend to use the time?

    If you are going to combine with DATEs or timestamps from a other source, then an INTERVAL DAY TO SECOND or NUMBER may be better.

    Will you need to perform arithmetic operations on time, for example, increase the time to 20%, or take an average?   If so, the NUMBER would be preferable.

    You are just going to display it?  In this case, DAY INTERVAL in SECONDS, DATE or VARCHAR2 would work.

    As Blushadow said, it depends.

  • Best-practice for hardware virtualization?

    Hardware virtualization is disabled by default when I create new virtual machines in my VMware clusters. But what are the best practices for this what settings are recommended? Are there reasons NOT to activate the hardware virtualization?

    IMO there is no advantage in allowing virtualization of hardware if you have no need for the virtual machine (for example, a virtual host of the ESXi).

    André

  • Best practices for network configuration of vSphere with two subnets?

    Well, then I'll set up 3 ESXi hosts connected to storage shared with two different subnets. I configured the iSCSI initiator and the iSCSI with his own default gateway - 192.168.1.1 - targets through a Cisco router and did the same with the hosts configured with its own default gateway - 192.168.2.2. I don't know if I should have a router in the middle to route traffic between two subnets since I use iSCSI ports linking and grouping of NETWORK cards. If I shouldn't use a physical router, how do I route the traffic between different subnets and use iSCSI ports binding at the same time. What are the best practices for the implementation of a network with two subnets vSphere (ESX host network: iSCSI network)? Thank you in advance.

    Install the most common iSCSI would be traffic between hosts and

    the storage is not being routed, because a router it could reduce performance.

    If you have VLAN 10(192.168.1.0/24) iSCSI, VLAN 20 (192.168.2.0/24) ESX

    MGMT and VLAN 30 (192.168.3.0/24) comments VMs and VLAN 40 (192.168.4.0/24)

    vMotion a deployment scenario might be something like:

    NIC1 - vSwitch 0 - active VMK (192.168.1.10) MGMT, vMotion VMK (192.168.4.10)

    standby

    NIC2 - vSwitch 1 - current (VLAN30) guest virtual machine port group

    NIC3 - vSwitch 2 - active VMK1 (192.168.1.10) iSCSI

    NIC4 - vSwitch 2 - active VMK2 (192.168.1.11) iSCSI

    NIC5 - vSwitch 1 - current (VLAN30) guest virtual machine port group

    NIC6 - vSwitch 0 - MGMT VMK (192.168.2.10) standby, vMotion

    VMK (192.168.4.10) active

    You would place you on VLAN 10 storage with an IP address of something like target

    192.168.1.8 and iSCSI traffic would remain on this VLAN. The default value

    gateway configured in ESXi would be the router the VLAN 20 with an ip address of

    something like 192.168.2.1. I hope that scenario help set some options.

    Tuesday, June 24, 2014 19:16, vctl [email protected]>

  • Best practices for storing the Logs of the system for all newly improved ESXi hosts?

    Hi people,

    What are the options and best practices for the Logs of the system for all newly improved 5.1u1 ESXi hosts?

    Do I need to have the Syslog server or it can be safely ignored?

    Thank you

    Evening,

    Syslog is preferred, but VMware has provided a collector of syslog on the vcenter installation disc can be installed on any windows host or your vcenter. I can't count the number of times where I had guests CMTF or newspapers lost... Fortunately for the syslog which collects up to the accident.  It is not necessary, but it's really a good idea without any real cost since you can use your vcenter host.

    Here is an article on how to install it:

    Set up Syslog ESXi collector | VMware vSphere Blog - VMware Blogs

    Thank you

  • vSpere 5 Networking of best practices for the use of 4 to 1 GB NIC?

    Hello

    I'm looking for a networking of best practices for the use of 4-1 GB NIC with vSphere 5. I know there are a lot of good practice using 10 GB, but our current config does support only 1 GB. I need to include the management, vMotion, Virtual Machine (VM) and iSCSi. If there are others you would recommend, please let me know.

    I found a diagram that resembles what I need, but it's for 10 GB. I think it works...

    vSphere 5 - 10GbE SegmentedNetworks Ent Design v0_4.jpg(I had this pattern HERE - rights go to Paul Kelly)

    My next question is how much of a traffic load is each object take through the network, percentage wise?

    For example, 'Management' is very small and the only time where it is in use is during the installation of the agent. Then it uses 70%.

    I need the percentage of bandwidth, if possible.

    If anyone out there can help me, that would be so awesome.

    Thank you!

    -Erich

    Without knowing your environment, it would be impossible to give you an idea of the uses of bandwidth.

    That said if you had about 10-15 virtual machines per host with this configuration, you should be fine.

    Sent from my iPhone

  • Best practices for tags

    Hello

    In the bundled applications Tags are used in most applications. For example. in App Customer Tracker, we can add tags to a customer where these tags are stored in a varchr2 column in the Customers Table.
    In my case, I've pre-defined tags real estate (Real Estate) in a table of research called TAGS. For example, Full floor, furnished, equipped, duplexes, attached... What is the best practice for tag properties:
    1 - to store these tags in a varchar column in the table of PROPERTIES using the Shuttle box.
    OR
    2. to store in a third table Eg, PROPERTIES_TAGS (ID PK, FK property-ID, TAG_ID FK), then use the LISTAGG function to show tags in one line in the report properties.
    OR
    You have a better option?

    Kind regards
    Fateh

    Fateh says:
    Hello

    In the bundled applications Tags are used in most applications. For example. in App Customer Tracker, we can add tags to a customer where these tags are stored in a varchr2 column in the Customers Table.
    In my case, I've pre-defined tags real estate (Real Estate) in a table of research called TAGS. For example, Full floor, furnished, equipped, duplexes, attached...

    These seem to be two different use cases. In the bundled applications tags allow end users to join free-form metadata to the data for their own needs (they are sometimes called "folk taxonomies"). Users can use tags for different purposes or different tags for the same purpose. For example, I could add 'Wednesday', 'Thursday' or 'Friday' tags customers because these are the days that they receive their deliveries. For the same purpose, you could mark the same customers '1', '8' and '15' by the numbers of road trucks making deliveries. You can use 'Monday' to indicate that the client is closed on Mondays...

    In your application you assign to the known properties of predefined attributes. It is a model of standard attribute 1:M. their view using the metaphor of the label is not equivalent to the user of free-form tags.

    What is the best practice for tag properties:
    1 - to store these tags in a varchar column in the table of PROPERTIES using the Shuttle box.

    If you do this, how can you:

  • Search for furnished duplex properties effectively?
  • Change in the world "mounted" to "integrated"?
  • Ratio of the number of properties, broken down by full floor, double-sided, equipped...

    OR
    2. to store in a third table Eg, PROPERTIES_TAGS (ID PK, FK property-ID, TAG_ID FK), then use the LISTAGG function to show tags in one line in the report properties.

    As Why use Look up Table, shows the correct way to proceed. It allows the data to be indexed for efficient extraction, and issues such as those above should be dealt with simply by using joins and grouping.

    You might want to examine the possibility of eliminating the PK ID and use an index table organized for this.

    OR
    You have a better option?

    I'd also look carefully your data model. Make sure that you're not flirting with the anti-pattern VAE. Some/all of these values are not simply the attributes on the property?

Maybe you are looking for