APEX application design question

Hi,
I've been working with APEX for a few years now but so far all of the applications that I have built have been hierarchical in their design. The format I generally stick to seems to work, which is to use a combination of tab pages containing lists of actions, and underneath that multiple instances of forms on tables with reports. This means that if it is a simple application you're fine, you go to your tab, filter the report, click into the record and update the data.
The problem I have is that I have a request to turn one of my applications from this format into a more process oriented application. This meant that some of the forms need to be accessed from more than one place and entities that were once separate now need to have links between them. Where some of the validations on the forms are already quite complex, I don't want to duplicate the form. I'm not keen on having the forms work as pop-ups either in the traditional sense.
Has anyone got any ideas on how I might get around this? I thought of trying to integrate something like ext-js and making a template that is more of a graphical environment but I fear that I may be over complicating the problem.
A specific example of the problem I encounter can be found in the Sample Application in APEX 4.0.
1. On the home screen, from the "Customers" report, click one of the customer names.
2. You are now diverted to the "Customers" tab. If you click "Cancel" from here you're taken back to the "Customer" report, not to the home screen.
I've tried to keep tabs of "Previous Page" in another application and this just makes maintenance a nightmare.
Really I'm trying to find out if anyone has developed any non-hierarchical templates/ applications and whether they were successful.
Thanks,
Matt

If I'm understanding the problem statement correctly, you just need to control your branching so you know where you came from so that you can go back to that same spot post-process/cancel since that can vary. I'll sometimes create a branch_from hidden item on those types of pages and then use that item as the branch-to-page substitution. It's really simple to implement and I can't think of any maintenance unless you are consistently jumbling pages around.
Thanks,
Ron

Similar Messages

  • Application design questions

    Hi guys,
    I want an architecture opinion from you for an application that I want to build and currently I am focused on XE DB with APEX.
    I will try presenting the type of users and data that the application will have and see if the design I have in mind will meet the requirements.
    We will have 3 types of users inside each unit:
    Unit groups logically all these users and their data.
    1. Small_np —this type will be able to see(no write ) only data associated to him. This may be 5000- 10 000 rows. There can be 50-100 users of this type in a unit.
    2. Medium_alter - this type will be able to see and alter the data for each type of user small_np. There can be up to 5 users of this type in a unit.
    3. admin_alter - this type of user will be able to do what medium_alter does plus some reports that includes all data. 2-3 users maximum
    *np stand for no_privilege
    I will try to minimize the queries in this unit:
    - by not allowing the small_np to query all rows at once (5000-10000). They will be able only to search and see one row at a time. so an index will work great.
    - by not allowing the medium_alter to query all rows at once (50-100users)*(5000-10000rows ). They will be able to see one row at a time and insert one row at a time. So an index will work great
    - the reports(analisys) needed by admin_alter , will need to query all data, but I will do some materialized views, schedule jobs at midnight..etc so this type of user will access only what medium_alter does(row level) and uses reports generated during the night.
    In this configuration I intend to create one oracle user for each end user (~110). Set role at login time; implement security with views and FGAC.
    On top, I will have one schema with all data, one schema with procedures, packages. The data schema will have a table with all rows (10k*50users)=500K, and the users will access only the data they are supposed to access.
    Is there a downside for this? Should I create just one oracle user for all small_np? This way I will have only ~10 users?! Is there a limit for oracle users so at some point my application will not scale? What are the disadvantages for this? Any other idea?
    How APEX is working regarding connection polling? I will be able to use connection pooling if I have a lot of users?
    On top of this, I need to be able to create in my application as many units I want. So at some point in time I can have 5 units and each unit will have their users and data, and they need to access only data from that unit. If I will reach to the point when I have multiple units, and this means that my data table can have 500k*5, I can use partitioning with oracle EE, and create partitions for each unit, so each unit will continue to work only on their data. Other solution will be to create separate tables for each unit, but at some point the user(admins) will need to move rows from one table to another instead of one partition to another. This may be cheaper (no EE with partitioning) but harder to implement.
    At the end I will have a new type of user that will be able to see the reports of all admins and so it will be able to see the situation of all units.
    For one unit, do you think that it is enough XE(this means one GB RAM and one proc)?
    The small_np users will rarely connect to the application, lets say 500 connection per day and the admins will be like 1 connection per minute.(for one unit)
    If I will need to scale to multiple units I will need to buy enterprise or standard with multiple cores.(4GB with two cores).
    Any advice is highly appreciated
    Thanks for your time

    Thanks for the reply. But I tried to outline which data the end-user logically needs to have by describing what the users can access.
    some users can only insert data, other users can only see the data inserted from them and others can see any data and do reports on that..not sure that the kind of data metter. there are a lot of users involved and the data will some somehow logically grouped. I am a new comer on this kind of questions so any help is welcomed.
    please detail 'Nobody is going to like it.'
    Thanks

  • Web Application Designer questions

    Hello,
    1. I want to write a Java script function to display system date in WAD. I don't know the exact format for writing Javascript code in WAD. I tried with some code. It did not work. Could someone point me to any links for writing the code in WAD (in Script web item)?
    2. I inserted company logo in a report web item (In report designer, I inserted the logo in page header section. There is only header in the report). in the web template, apart from the report item, there are some ext and analysis web items. When i execute the web template, only the logo comes on first page and the text and analysis web items come on the next page. How to fix it? How to see that the text and analysis web items continue below logo.
    3. Also, one of the query title (text element) comes at the end of 2nd page and the data comes in next page. Is there a way of binding the title and data to come in one page?
    Please suggest.
    Regards.

    Hi,
    Hope this helps. You are using WAD 7.0 or WAD 3.5 ?
    WAD 3.5
    1. Use of Text Item: In the Standard Tab, select the  TEXT Web Item and drop it in the template. Bind the Query or Analysis item or Data Provider.
    Then do not tick any of the options under Specific. Instead, go to List of Text Elements. In the first column, select General Text Symbol. In the next column type SYUZEIT.
    This will give the technical name of the query in the output.
    Common text elements:
    u2212 technical name of the query (REPTNAME)
    u2212 description of the query (REPTXTLG)
    u2212 InfoProvider (INFOCUBE)
    u2212 key date for the query (SRDATE)
    u2212 accuracy of the data (date and time) (ROLLUPTIME)
    u2212 the person who wrote the query (AUTHOR)
    u2212 the last time the query was changed (date and time)
    (MODTIME)
    u2212 the last person to make changes to the query (MODUSER)
    u2212 current user (SYUSER)
    u2212 the last time the query was refreshed (date and time)
    (SYUZEIT)
    WAD 7.0
    Go to Misc Tab on the left hand pane and select the Text item. Drag n drop. Bind the Query or Analysis Item. Then select General Characteristics and select "Last Refreshed".
    2.Bind the corresponding Text Element to the Query for the name . Or you can use the option of "Display with Tray".
    Can you give some clarifications here,
    What format do u want to export them to ? Depending on that make the settings.

  • Integrated Planning & Web Application designer question

    We have a planning application that has an associated web template along with it.
    We have a button on the template and it executes a planning function. The issue i see is the planning function has a filter within it at a higher level (say it returns 1000 rows).
    On the web template we set the filter at a much lower level (say the filtered records are only 50). When we execute the planning function I see that it says 1000 rows read and x changed etc. How do i ensure that the planning function executes for the records that are only in the filter in the front end.
    Here is the setting on the button -
    Command - Execute Planning Function
    Binding type - Web Item Selection
    Web Item - Filter1
    Any suggestions?

    Hello Expert,
    Now if i use '0calyear' as info object, and 'year' as my variable for 0calyear info object in the query. This Info object is under column.
    And i use Navigation block to publish this Info object in the web template. The coding are as below:
    </object></TD>
        <TD vAlign=top><object>
             <param name="OWNER" value="SAP_BW"/>
             <param name="CMD" value="GET_ITEM"/>
             <param name="NAME" value="NAVIGATIONBLOCK_2"/>
             <param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_NAV_BLOCK"/>
             <param name="DATA_PROVIDER" value="DATAPROVIDER_QUERY"/>
             <param name="GENERATE_CAPTION" value=""/>
             <param name="CAPTION" value="Period"/>
             <param name="HORIZONTAL_NUMBER" value="1"/>
             <param name="SHOW_ROWS" value=""/>
             <param name="SHOW_FREE_CHARACTERISTICS" value=""/>
             <param name="SHOW_NAVIGATION_ICONS" value=""/>
             <param name="ITEM_NAV_BLOCK_IOBJNM_1" value="0CALYEAR"/>
             <param name="BOOKED_VALUES_1" value="Q"/>
             <param name="ITEM_NAV_BLOCK_IOBJNM_2" value="4458DUVKT8KDWAW4TFD0SGPCW"/>
             <param name="BOOKED_VALUES_2" value="Q"/>
             ITEM:            NAVIGATIONBLOCK_2
    </object></TD>
    So, When i run the web template, the first screen prompts to key in variable year. So, right now, the variable year is 2006.
    So, how should i take/enable this variable '2006' to publish in my navigation block?
    If you say javascript, where should i add in between the coding above?

  • Simple Bex Web Application Designer question

    Hi,
    i have a web template with a Hierarchical Context Menu web item. I'd like to use one of its hierarchy with all node but without only one.
    How can i exclude a hierarchy node from hierarchical context menu? How can i use only a part of a hierarchy?
    Thanks a lot
    Richard

    Hi,
      You need to restrict the hierarchy values in the query design. Select all those hierarchy values without that only one hierarchy for that particular characteristics in query design.
    Hope it helps
    arun

  • Unit testing PL/SQL used in APEX application

    question from my customer :
    I am developing an application in Oracle Application Express and am working on unit tests for the PL/SQL stored procedures and packages that are stored in the underlying database and that are used by the APEX application. These unit tests should run within the SQL Developer Unit Test framework.
    The problem is that some of the PL/SQL code stored in the database uses functions like NV('APPLICATION_ITEM') to access items in the apex application. These do not return any values when I try to execute the PL/SQL within the unit test framework, ie through the backend. While it is good that the NV function does not error, NULL do not really work well in my scenario either (for example when the result of this functions is inserted into a NOT NULL column of a table). I can think of a few workarounds, such as creating my own NV function inside the test schema to return desirable values, but nothing seems a really satisfactory solution. I just wonder if there is any best practice recommendation from Oracle for this scenario - how can I run code that uses APEX-specific functions through the back end. I could not find anything in the APEX documentation for this but I'd be interesting to know if there is any recommendation how to best deal with this case.
    I am using SQL Developer version 4.0.0.13.80

    User[[:digit:]*
    Your PL/SQL Package APIs are poorly designed.
    You need to take Tom Kyte's quote to heart:
    "Application come and application go, but data remains forever"
    In short, you need to separate your database processing code (the stuff you need to unit test) from front-end/middle tier code.
    (repetitiveness is for effect.. not rudeness.)
    As such, The PL/SQL code that you need to 'UNIT TEST' must work without needing to run in APEX.
    The PL/SQL code that you need to 'UNIT TEST' must work without needing to run in .NET.
    The PL/SQL code that you need to 'UNIT TEST' must work without needing to run in JSP.
    The PL/SQL code that you need to 'UNIT TEST' must work without needing to run in Jive.
    The PL/SQL code that you need to 'UNIT TEST' must work without needing to run in Ruby.
    The PL/SQL code that you need to 'UNIT TEST' must work without needing to run in Perl::CGI.
    The PL/SQL code that you need to 'UNIT TEST' must work without needing to run in P9.
    The PL/SQL code that you need to 'UNIT TEST' must work without needing to run in <place latest and greatest thing here>.
    Again, I don't mean to sound rude.  I'm just trying to reinforce the idea that you need to separate database code from middle-tier/front-end stuff.
    Basically, you will need to separate all of your packages into multiple parts.
    a _CORE package (that will be unit tested) that does all the hard work
    an _APEX package for APEX infrastructure (this works with NV()/V(), etc.)
    a _NET package for .NET infrastructure when you need it
    a _JSP package for the JSP infrastructure when you need it
    a _JIVE package for the JIVE infrastructure when you need it
    a _<place latest and greatest thing here> for the <place latest and greatest thing here> when you need it.
    MK

  • One apex application, multiple different users

    Hi all,
    I'm developing an application that will be used by multiple different companies, all with their own data. As far as I can see, there are three different approaches for this:
    - make different applications with different schemas in apex, for each company one
    - 1 application, 1 schema, and distinct the data by using a key for each company in the tables
    - 1 application, multiple schemas, for each company its own schema
    I'm not that experienced in apex, so I don't know what the best approach is for this. Personally, the third option seems the best one for me. But is it difficult to make, and what about security? How can I make sure one company don't get to see data from another company?
    I hope my question is clear and I'm looking forward for your comments!
    Tom

    Nope I wouldn't necessarily agree with that; 1 Application and 1 Schema will give you a much lower maintenance overhead. If you have a database licence then you can use Oracle Virtual Private Database (VPD) to secure the DATA for each organisation:
    http://www.oracle.com/technology/obe/obe10gdb/security/vpd/vpd.htm
    There is an excellent example of VPD and Apex in the 'PRO ORACLE APPLICATION EXPRESS' book.
    This approach to application design will also help:
    http://www.oracle.com/technology/pub/articles/bobrowski-saas.html
    Good luck
    Shunt

  • APEX Application behaviour in a RAC setup

    Hi
    Caveat first: I'm pretty new to Oracle RAC and just looking into it as an option. We have an APEX application currently running in Oracle 11gR2 single node currently and are considering HA for this.
    My question is: What would be the expected behaviour seen by a User of an APEX application, in the event of a node failure, when running with an OHS / RAC configuration? Will they get "transparent fail-over" and see nothing or will they see an error?
    I appreciate I could post in the APEX forum, but feel that is probably more of a development forum and possibly someone here has had to look at things at this level.
    I have read what I think may be the definitive reference for this:
    http://www.oracle.com/technetwork/developer-tools/apex/learnmore/apex-rac-wp-133532.pdf
    but while it covers most of what I want I don't believe I have found an answer to my question
    This states:
    "The Transparent Application Failover (TAF) feature of Oracle Net Services is a runtime failover for high-availability environments. It enables client applications to automatically reconnect to the database if the connection fails and, optionally, resume a SELECT statement that was in progress. The reconnection happens automatically from within the Oracle Call Interface (OCI) library. For applications that do insert, update or delete transactions, the application must trap the error when the failure occurs, rollback the transaction, and then resubmit. If the application is not written to be TAF aware, the session will get disconnected."
    However (as I understand it) APEX runs in the database and would fail with the database, it isn't a typical "client application" connecting to Oracle via a TAF aware connection pool - it is essentially a large pl/sql package and TAF only covers SELECT statements not packages.
    May be I'm over-reading this and it's simpler than that: APEX/Mod_plsql might just handle it?
    - APEX User/HTTP session state is stored in database APEX: Understanding session state which is available on other nodes
    - Mod_plsql in OHS can detect the error returning and reissues the request to good server and APEX on that instance can retrieve Users/HTTP state and process the request (APEX/RAC doc states mod_plsql can see an error from database and cleanup connection up and form a new connection, but not that it will retry the request for the client into other APEX/DB node).
    I'm really just after a (transparent/non-transparent) statement based on experience, but an outline of how the components behave would be useful.
    Thanks in advance
    Dave

    Hi
    Any chance of getting that link outside of Metalink? - I'm trying to get our customer support id, but no luck at present.
    I'm aware that APEX can run with RAC (as per the link I posted) - I'm really after next level info around behaviour in that environment.
    Thanks
    Dave

  • APEX Application accessing data from two different databases

    Hi All,
    Currently as we all know that APEX Application resides in database and is connected to the schema of that database.
    I want APEX Application to be running and accessing data from two different databases. Elaborating my question,
    Currently, my APEX Production Application is connected with XXXX Schema of DB1 Database(Where APEX Resides). Now I want to add some pages into this APEX Application for REPORT Purpose, But I want to connect this REPORT APEX Pages to get data from Different Schema YYYY for Database DB2.
    Is it possible to configure this scenario?
    The reason for doing this is to avoid the REPORT related (adhoc queries) resource utilization effect on Production DB1 Database.
    Thanks
    Nil

    1. If you do the joining of two or more tables in DB1 then all data is pulled over to DB1 and then the join is executed: so more data over the databaselink and more work for DB1. Better keep the joining stuff where the data resides and just pull exactly that data over that you need.
    2. Don't know about your different block sizes. Seems a nice question for one of the other forums (DBA or SQL).
    3. I mean create synonyms on DB1 for reports VIEWS in DB2.
    Hope all is clear!

  • To use Web Application Designer release 2004s do we need to have portals???

    Hi
    I would like some clarity regarding whther we need a portal or not.
    If you use Web Application Designer (SAP BW 3.x) it works fine, you can create reports and then it shows in SAP Easy Access under favourites. Executes fine, no portal is used.
    Now when I want to use the new Web Application Designer I can not execute the reports. Gives me error
    "Java communication error: RFC destination NOT_CONFIGURED does not exist", the window it appears in has a text saying it can't conect to the portal. Then notes that I look at regarding this seems that the connection between SAP BW and Portal must be set up.
    So can please someone tell me whether you need the portal to use the new Web Application Designer release 2004s
    Thanks in advance

    YOu neeed BI Java configured
    If you do not use any new BEx Web functions, do you have to install the usage types BI Java and EP?
    answer -SAP EP 6.0 Portals could be integrated into a federated portal system landscape using URL iViews.
    For more insights - FAQ
    Pls read carefuly should answer all your current and future questions.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/webcontent/uuid/43008b6a-0901-0010-90af-c848d878bac3?rid=/library/uuid/a5067965-0901-0010-6f8a-bbf0b7424283
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/webcontent/uuid/43008b6a-0901-0010-90af-c848d878bac3?rid=/library/uuid/cea68c65-0901-0010-f5a4-fd34189d8078
    Hope it Helps
    Chetan
    @CP..

  • Web Application Designer: Column width on analysis_item with BW 7.0

    Hi,
    I'm new to SAP world and I have found a problem I'm not able to solve. I'm working with the Web Application Designer and I want to modify the cell properties (such as cell width) for aligning different queries. In fact, my question are:
    <b>
    1. Is it possible to hard-code/specify column widths of the analysis_item?
    2. The property width of the analysis_item doesn't work, does it?
    </b>
    Thanks for your time and efforts.
    Message was edited by:
            Daniel Rubio

    Hi,
    I have just discovered the capability of modifying columns widths with css properties.
    So if I add to the head section of the html:
    div.prueba2 .urSTTDBdr1
    div.prueba2 .urSTTDBdr
    div.prueba2 .urSTTDBdr2
    And later I put the AnalysisItem between a div class="prueba2" and /div, the columns widths are changed.
    Do you know where can I find all the style properties (such as urSTTDBdr1) and its functions?
    Thanks

  • Oracle dbms.set_role does not work in APEX application

    Hi, in our j2ee applications, we use secure application role. Basically, the data source use the app user schema to connect to the database. the app user only has create session privileges. the database logon trigger will copy a set of attribute to the local secure context. (ip address, session user, client id, application name). The applications explicitly invoke the stored procedure sec_mgr.set_role before any DMLs are executed.
    the sec_mgr.set_role will check the local context attribute , authorize the ip, application name, and set an appreciated role to this session based on session user.
    we want to apply the same framework to the APEX application. First, we change the paring schema to the app schema which only has create session privilege. then we put the plsql code in which sec_mgr.set_role is called in the application builder --> shared components ---> edit security attribute ---> Virtual Private Database (VPD).
    however, we got the error ORA-06565: cannot execute SET ROLE from within stored procedure
    the sec_mgr.set_role is defined as invoker's right(AUTHID CURRENT_USER)
    do i missing something in APEX to get it work?
    Thanks

    Please explain it does not work in APEX? Is the application updating tables that have a trigger? APEX does NOT override trigger actions. Is it possible the values your trigger is looking for are NOT available in your APEX application? Can you post the trigger code here for review?
    Thank you,
    Tony Miller
    Webster, TX
    What if you really were stalking a paranoid schizophrenic... Would they know?
    If this question is answered, please mark the thread as closed and assign points where earned..

  • Multiple instances of the same APEX application under SSO

    Currently we have several applications that are authenticated through Oracle SSO. The apps are authenticating correctly, but I can't be in multiple instances of the same application without having to re-validate through SSO when I move between instances.
    Scenario: I'm successfully signed into my "parent" application, app_id 1 through SSO. I click a custom link that opens the "child" application (app_id 2) to view widget "A". When the page is launched I see the usual "Redirecting to the Login Server for authentication" message (verifying that I'm signed in through SSO) and then it succeeds and takes me into app 2, displaying widget A. I click the next link to launch another instance of app 2 with a different APEX session id for viewing widget "B". This also passes through SSO and redirects me into app 2, displaying widget B as expected. But now if I go back to navigate anywhere on widget A in my first instance, it has to go back through the "Redirecting to Login Server." This now means the widget A window is valid, but the widget B window will have to redirect next time I use it (back & forth & so on...)
    So my question I suppose is: Is it possible/good practice to allow a single user to open multiple separate instances of the same APEX application using different APEX session_ids viewing different data under Oracle Enterprise SSO?
    Guesstimation: It seems like there must be a switch somewhere in SSO that says "allow multiple application instances yes/no"...but my problem may be APEX itself, or how SSO is tied into APEX... Sorry for the super-generic example, I'm not exactly sure where I should be looking to resolve this, and the closest similar problem I found on the forums was here: login to application twice in two seperate IE  windows clears other login

    reset your dock preferences. delete the file homedirectory/library/preferences/com.apple.dock.plist and log out/in. your dock, spaces and exposé will be reset to the defaults. see if the problem goes away.

  • Design question: Scheduling a Variable-timeslot Resource

    I originally posted this in general java programming, because this seemed like a more high-level design descussion. But now I see some class design questions. Please excuse me if this thread does not belong here (this is my first time using the forum, save answering a couple questions).
    Forum,
    I am having trouble determining a data structure and applicable algorithm (actually, even more general than the data structure -- the general design to use) for holding a modifiable (but more heavily read/queried than updated), variable-timeslot schedule for a given resource. Here's the situation:
    Let's, for explanation purposes, say we're scheduling a school. The school has many resources. A resource is anything that can be reserved for a given event: classroom, gym, basketball, teacher, janitor, etc.
    Ok, so maybe the school deal isn't the best example. Let's assume, for the sake of explanation, that classes can be any amount of time in length: 50 minutes, 127 minutes, 4 hours, 3 seconds, etc.
    Now, the school has a base operation schedule, e.g. they're open from 8am to 5pm MTWRF and 10am to 2pm on saturday and sunday. Events in the school can only occur during these times, obviously.
    Then, each resource has its own base operation schedule, e.g. the gym is open from noon to 5pm MTWRF and noon to 2pm on sat. and sun. The default base operation schedule for any resource is the school which "owns" the resource.
    But then there are exceptions to the base operation schedule. The school (and therefore all its resources) are closed on holidays. The gym is closed on the third friday of every month for maintenance, or something like that. There are also exceptions to the available schedule due to reservations. I've implemented reservations as exceptions with a different status code to simplify things a little bit: because the basic idea is that an exception is either an addition to or removal from the scheduleable times of that resource. Each exception (reservation, closed for maintenance, etc) can be an (effectively) unrestricted amount of time.
    Ok, enough set up. Somehow I need to be able to "flatten" all this information into a schedule that I can display to the user, query against, and update.
    The issue is complicated more by recurring events, but I think I have that handled already and can make a recurring event be transparent from the application point of view. I just need to figure out how to represent this.
    This is my current idea, and I don't like it at all:
    A TimeSlot object, holding a beginning date and ending date. A data structure that holds list of TimeSlot objects in order by date. I'd probably also hold an index of some sort that maps some constant span of time to a general area in the data structure where times around there can be found, so I avoid O(n) time searching for a given time to find whether or not it is open.
    I don't like this idea, because it requires me to call getBeginningDate() and getEndDate() for every single time slot I search.
    Anyone have any ideas?

    If I am correct, your requirement is to display a schedule, showing the occupancy of a resource (open/closed/used/free and other kind of information) on a time line.
    I do not say that your design is incorrect. What I state below is strictly my views and should be treated that way.
    I would not go by time-slot, instead, I would go by resource, for instance the gym, the class rooms (identified accordingly), the swimming pool etc. are all resources. Therefore (for the requirements you have specified), I would create a class, lets say "Resource" to represent all the resources. I would recommend two attributes at this stage ("name" & "identifier").
    The primary attribute of interest in this case would be a date (starting at 00:00hrs and ending at 24:00hrs.), a span of 24hrs broken to the smallest unit of a minute (seconds really are not very practical here).
    I would next encapsulate the availability factor, which represents the concept of availability in a class, for instance "AvailabilityStatus". The recommended attributes would be "date" and "status".
    You have mentioned different status, for instance, available, booked, closed, under-maintainance etc. Each of these is a category. Let us say, numbered from 0 to n (where n<128).
    The "date" attribute could be a java.util.Date object, representing a date. The "status", is byte array of 1440 elements (one element for each minute of the day). Each element of the byte array is populated by the number designation of the status (i.e, 0,1,2...n etc.), where the numbers represent the status of the minute.
    The "Resource" class would carry an attribute of "resourceStatus", an ordered vector of "ResourceStatus" objects.
    The object (all the objects) could be populated manually at any time, or the entire process could be automated (that is a separate area).
    The problem of representation is over. You could add any number of resources as well as any number of status categories.
    This is a simple solution, I do not address the issues of querying this information and rendering the actual schedule, which I believe is straight forward enough.
    It is recognized that there are scope for optimizations/design rationalization here, however, this is a simple and effective enough solution.
    regards
    [email protected]

  • Best Practice for implementing dual APEX applications environment

    Question:
    We are in the early stages of building an APEX application for Oracle SaaS consumption. The question I wanted to ask you is what would be the best way to deploy this app for production? Would it be easier just to create a new workspace in apex.oraclecorp.com and export the app definition or create a new instance of APEX container? Also, if we were to create a new container then what are all the hardware/middleware required?
    Follow up questions:
    1. What are you building and for what purpose?
    We are building an application for oracle employees (development, operations, and support) to assist in interacting with the CRM Saas environments. Entering bugs, tracking patch level, obtaining relevant environment contacts & urls.
    2. Who will be installing this application? Oracle customers? In their own on-premise APEX instances? Oracle Cloud?
    For the foreseeable future, there will only be the one internal install for internal use (CRM SaaS Enablement Team, DevOps).
    3. What are the database and APEX version requirements you'll have for this application?
    We do not have a particular requirement. The latest GA version would be the best candidates.
    4. Is it safe to say that there is minimal understanding & experience of APEX on your team?
    All we know is self-taught and from forum responses. Part of the problem we face is that we don’t know how to frame the questions in a way they can be understood.
    APEX container - By this I mean a fully functional APEX environment where applications can be deployed to.
    Use Case - We want to be able to make our Apex app available to the consumer (see above) and also continue to develop new features into that app for use at a later date. We are asking for information about a development model that works well for Apex apps.
    Thanks!!

    Moved the question to the internal Oracle forum:
    http://myforums.oracle.com/jive3/thread.jspa?threadID=1058413

Maybe you are looking for