Expected date for JSF RI 1.2?

Hi,
I'm wondering when the implementation of the JSF 1.2 specfication will be available. It's the duplicate button press problem I'm concerned about. It has been logged as issue 31 with the JSF spec https://javaserverfaces-spec-public.dev.java.net/issues/show_bug.cgi?id=31
Depending on the date we can wait for the solution in JSF RI 1.2 or we will have to implement ourselves a solution that ideally streams the rendered output from the first request to the last request received.
Obviously I'd rather wait. :-)
Sincerely,
Joost de Vries

I've implemented this in the past in an application although that application was not on top of jsf.
What we did was: before processing a request it is checked wether there is already a request processing for this client.
If not: flag that this request is going to process. After request processing, before streaming the response to the client check wether there is a new response writer for this client and stream the response to this writer.
If there is: set this response writer as the new response writer for this client and abandon further request processing or rendering for this client.
We buffered rendering to make the final streaming to the client 'more atomic'. This has a memory penalty of course.
This does solve single-client concurrency for the non-rendering part of the processing lifecycle. Once streaming to the client of the first thread has started though I see no way of handling this gracefully unless you have buffered the response streamed by the first thread: in that case you can send this buffered response to the client.
I expect the difficulty to be in finding the right hooks in the JSF framework for 1 checking wether there is already a thread processing for this client, 2 in supplying the rendering phase the right response writer and 3 in finishing the later concurrent thread without having it render itself.
Come to think of it: nr 3 might mean that 'the' response must be streamed by the last entering thread. Especially since the previously entering thread probably hits an IOException since the browser closes the reading socket in favour of the later request.
If you decide to implement this: email me at sultan_boabdil x hotmail y com (substitute x and y with the obvious signs to make it and email address) so we can find out wether we can share resources.
Groeten uit Nederland,
Joost de Vries

Similar Messages

  • Expected date for Jdeveloper 11g production version

    i am planning to start development with jdeveloper (Forms 6i background). but with latest version.
    If you can help me out of dates of jdeveloper 11g production release.
    it will save my troubleshooting time.
    Also help me out some starting point to be successful projects using jdeveloper.
    In forms successful,
    It is so simple.
    1. create table.
    2. use forms wizard (block and layout).
    3. make layout change as per your need.
    4. add buttons and validation.
    5. done.
    But in Jdeveloper.
    What is the best practice. ??
    thanks in advance.

    Hi,
    there will be a technology preview 3 out shortly to christmas. There exist no concrete release date of JDeveloper 11 production.
    Start at otn.oracle.com/products/jdev and check some of the tutorials (OBE). Note that for you to learn building JSF web applications, I suggest to use the 10.1.3 tutorials and how-tos.
    Frank

  • Pre Order Date for 300: Rise Of An Empire

    Just wanted to bring this to someones attention, I found it funny.   The expected date for the pre-order of 300: Rise of and empire says November 30 2049.  Thats a long time to wait for a movie!

    Then why post it here then on a public user to user forum where nobody is really going to be interested?
    Who's attention do you think you are bringing this to?

  • Is there an expected delivery date for the 16GB 5s iPhone in Australia?

    Is there an expected delivery date for the 16GB 5s iPhone in Australia?

    Kim Archbold wrote:
    Is there an expected delivery date for the 16GB 5s iPhone in Australia?
    The answer you seek is customarily delivered to your email inbox.

  • Data Visualization and Graphs for JSF

    Are the Data Visualization and Graphs for JSF included in this release. I saw the demo here http://www.oracle.com/technology/products/jdev/11/index.html and want to try it out. But I could not seem to access it in the tool.
    Regards
    Orlando Kelly
    Cayman Islands Government

    <p>
    Hi,
    </p>
    <p>
    It seems you have no suitable libraries in your ViewController project. See on this image whet libraries you need.
    </p>
    <p>
    Kuba 
    </p>

  • What is the expected release date for Adobe Media Server 5.0 and Adobe Access 4.0 ?

    What is the expected release date for Adobe Media Server 5.0 and Adobe Access 4.0 ?

    you should be on the same subnet as the server in order to receive multicast.

  • Any date for jdeveloper 10.1.3 beta with adf features

    Hi Jdeveloper team,
    Is there any date we can expect the next jdeveloper 10.1.3 beta with more complete adf features ? I'm currently evaluating the technology stack+tool to use for our next project ( preferably jsf based ), the lack of an adf faces release with adf databinding and adf bc features means I can't do a complete evaluation of 10.1.3 now.
    Regards,
    Low

    Low,
    we don't have a date for a preview release of Oracle JDeveloper 10.1.3 with ADF. Our intention is to release a preview version on OTN as soon as possible and if possible.
    Frank

  • Historic and Current data for Master data bearing objects

    Hi All,
    We are trying to implement type 2 dimensions for all the master data bearing characteristics, where we require historic and current data available for reporting. the master data can have a number of attributes and all of them can be time dependent. We are not getting any 'datefrom' or 'dateto' from the source system.
    For example:
    For Example: The table below shows data entering BI at different dates.
    Source Data day of entering BI
    MasterID ATTR1 ATTR2
    123506 Y REWAR day1
    123506 N REWAR day4
    123506 Y ADJUST day4
    123506 N ADJUST dayn
    The field 'day of entry into BI' is only for your understanding; we do not get any date fields from the source. SID is the field we are generating for uniqueness. It is a counter. EFF_DATE would be the current date for all the data. EXP_DATE would be 31.12.9999 until the attributes change. SID and MasterID together would be the key.
    On day 1 the following data enters BI,
    day 1
    SID MasterID ATTR1 ATTR2 EFF_DATE EXP_DATE
    1 123506 Y REWAR 2/10/2009 12/31/9999
    On day 4, 2 data records enter with same PID,
    SID MasterID ATTR1 ATTR2 EFF_DATE EXP_DATE
    2 123506 N REWAR 2/13/2009 12/31/9999
    3 123506 Y ADJUST 2/13/2009 12/31/9999
    the EXP_DATE of the record of day 1 needs to be changed to current date.
    Also there are two records entering, so latest record would have EXP_DATE as 31.12.9999. And the EXP_DATE of the first record on day 4 should change to the current date.
    so the following changes should happen,
    CHANGE
    SID MasterIDATTR1 ATTR2 EFF_DATE EXP_DATE
    1 123506 Y REWAR 2/10/2009 2/13/2009
    CHANGE
    SID MasterID ATTR1 ATTR2 EFF_DATE EXP_DATE
    3 123506 Y ADJUST 2/13/2009 2/22/2009
    On day n, one data record enters with same PID,
    SID MasterID ATTR1 ATTR2 EFF_DATE EXP_DATE
    4 123506 N ADJUST 2/22/2009 12/31/9999
    The change is ,
    CHANGE
    SID MasterID ATTR1 ATTR2 EFF_DATE EXP_DATE
    3 123506 Y ADJUST 2/13/2009 2/22/2009
    The data expected in P-table is as below, on Day n or after Day n, untill any other record enters for this MasterID,
    1 123506 Y REWAR 2/10/2009 2/13/2009
    2 123506 N REWAR 2/13/2009 2/13/2009
    3 123506 Y ADJUST 2/13/2009 2/22/2009
    4 123506 N ADJUST 2/22/2009 12/31/9999
    Has anyone worked on type 2 dimensions earlier? Or any ideas to implement this logic would be appreciated.
    Regards,
    Sudeepti

    Compound the Master ID with eff date and other attribute as superior objects
    so you will get P-table as
    ATTR1   ATTR2   MAT ID  
    1 2/10/2009 2/13/2009 123506 Y REWAR
    2 2/13/2009 2/13/2009 123506 N REWAR
    3 2/13/2009 2/22/2009 123506 Y ADJUST
    4 2/22/2009 12/31/9999  123506 N ADJUST

  • Service Desk: Pricing data for partner could not be read

    Hi all,
    I am trying to configure the Service Desk functionality for Service Providers (on EHP1).
    I follow the SAP Documentation (SAP Solution Manager: Service Desk for Service Providers) and SLA's made easy in SAP Solution Manager. Also some discussion threads helped me with some steps (I applied e.g. the recommendation from Pricing data for partner 106 could not be read. , but it didn't help).
    I am facing some errors related to the CRM part of the configuration.
    When I create Service Desk Contract (SLFV) in CRMD_ORDER, the error appears Pricing data for partner xxx could not be read. I checked the setting of BP and I am not able to find the reason, for customer's (sold-to-party) BP the sold-to-party > Sales Area Data the Sales Organization/Distribution Channel/Division are maintained. Which information for pricing is needed and where can it be configured?
    Another error - I am sure it is related to the first one - the service contract cannot be determined in the service message (in Item details view under product). The error messages are about sales area/organization, so I suppose there is something wrong with the link Service Contract -> Business Partner definition.
    Could you please help me what can cause the error?
    Thanks in advance,
    Vaclav

    Hi Balaji.S,
    my problem was solved when I double checked the settings of org structure. That means there must be a consistent setting for sales organization / distribution channel / division in businness partner (tcode BP), organizational model (PPOMA_CRM), product workbench (COMMPR01). The setting must be same for both the sales department of the service provider and the customer's company (I am sorry I am not CRM, so I am following just this simple logic)
    In the long text of the error (in CRMD_ORDER) I could see "expected" combination for sales organization / distribution channel / division (message e.g. The access was carried out with sales organization 'O 50000613', distribution channel '01' and division '') -> when the org model was set up everywhere in this way, the contract was automatically filled by the organization data and in the next step the contract could be determined in the service desk message.
    Anyway it took some time to find out the correct combination. Deeper CRM knowledge would help me much.
    Vaclav

  • Why my apps can't be disable on USE CELLULAR DATA FOR under Cellular settings

    I came across an issue that my apps tend to stay on ( enable ) even when I disabled it manually, it will turn back on soon after, this can cause certain people data overage and extra data cost they did not expect. I always check my settings daily because I play with my phone numerous times a day so I noticed any changes or differences. So after I had done probably most people have tried, reset/restart the phone, check any latest OS updates, double check any settings, reset network settings, turn off and on data, turn on and off airplane mode, the conclusion is nothing. So I thought maybe i should try one app that I know kept turning back on when I disabled it, did the updates on the appstore, went back to the settings and I was able to turn on and off, tried the second app just to make sure my  assumption works, updated the newest version on appstore, it works. So I decided to update all of the apps, then the problem is FIXED ! I hope this solve people's issue. Now I am able to manually disable and enable any app under USE CELLULAR DATA FOR,It was lucky guess for me and it work.

    Did you try to reset the phone by holding the sleep and home button for about 10sec, until the Appel logo comes back again? You will not lose data by resetting.
    If this does not work, did you try to switch off Cellular Data, restart the phone and switch it back on again?

  • I cannot find all my installed apps on the "use cellular data for" tab on the settings menu.

    I have a new iphone 5s and on the first day I've received it, I updated to IOS 8.0.2.
    Today, I've decided to turn my cellular data on and, in order to consume less data, I thought I would disable some of the apps. However, only a few were available/visible on the "use cellular data for" tab. However, when, with the cellular data turned on, I opened a missing app on the phone, it would start to appear on the list (where it wasn't previously). Also, when I go to the app on the settings menu, it would not have shown the option, "use cellular data" before I've opened the app and now it does. Do I need to turn on every single app before I can select my cellular data preferences? I know people with the same phone and their apps appear all, as expected.
    I don't know if this is a problem of my own carrier but I don't think so, because the people I mentioned earlier have the same carrier.
    Any help would be appreciated.
    Thank you.

    Did you try to reset the phone by holding the sleep and home button for about 10sec, until the Appel logo comes back again? You will not lose data by resetting.
    If this does not work, did you try to switch off Cellular Data, restart the phone and switch it back on again?

  • Best practice for JSF 2.0 composite component?

    Following the various tutorials and blog entries I have found, I have managed to implement a few composite components. I want to do a more complex one, but haven't found and example yet to follow and my own proficiency in programming model isn't sufficient for me to determine the best way to do it.
    What I would want to implement is something like the following example.
    .. xmlns:mc="http://java.syn.com/jsf/composite/myComponent" ..
    <mc:addTwo value="#{SomeBean.someProperty}" />The included component has two fields, which when the user inputs those the someProperty is set to some calculation of those two (for example adding them together). What I think I need to do is implement a backing bean for the "addTwo" component and do the calculation there. Then when that is done the composite backing bean needs to access the using page's SomeBean.someProperty setter. How is this done?
    My actual intent is to make a component that looks up an entity in a data base based on a number of user inputs, then set the "someProperty" property to that value. If I could do the above example then I think I can apply the same principle, which is to have the composite component's backing bean access the someProperty property in the using page's bean via a #{cc.attrs.xxx} type reference. Am I on the right track?

    this certainly seems like the place for JSF 2.0 discussions, yes.
    It seems so obvious, was this forum called something else when this was posted perhaps?

  • Error when opening legitimate documents "Insufficient data for an image"

    I work for a company who has sold "downloadable resources" via PDF for years now. We created a large batch of PDF documents in 2003 with
    Adobe Acrobat 6.0 paper capture, and these are all PDF 1.5 type documents. We've provided these resources for years, however just today we were notified by a user that upon downloading the file they get a message "Insufficient data for an image". These ARE NOT HACKED PDF's. and they worked fine until 9.0. I have tried 9.0 and 9.1, on multiple computers and have confirmed this issue.
    Now we are stuck with hundreds of PDF's that won't open in 9.x.
    I did try downloading a free demo of "PDF-TOOLS" Recovery & Analysis tool, and I open the file using that program, scan the file - TELLS ME ALL IS OK, then resave it using that program.
    Only then can I open it in 9.x.
    What are we to do now short of buying a $200 tool and taking perhaps several days of time to open and save hundreds of "previously working" PDF files???

    RollingRocker, did you ever get a solution for this? I am having the same problem. I produce a pdf using a JSF third party api called flying saucer, which actually uses itext to produce the pdf. I can attempt to produce the same exact pdf over and over and about 85% of the time the error occurs and the rest of the time the pdf opens successfully with no error. Obviously 15% of the time the reader is completely happy with this pdf, so it is not a malicious document in any way.

  • How to generate test data for all the tables in oracle

    I am planning to use plsql to generate the test data in all the tables in schema, schema name is given as input parameters, min records in master table, min records in child table. data should be consistent in the columns which are used for constraints i.e. using same column value..
    planning to implement something like
    execute sp_schema_data_gen (schemaname, minrecinmstrtbl, minrecsforchildtable);
    schemaname = owner,
    minrecinmstrtbl= minimum records to insert into each parent table,
    minrecsforchildtable = minimum records to enter into each child table of a each master table;
    all_tables where owner= schemaname;
    all_tab_columns and all_constrains - where owner =schemaname;
    using dbms_random pkg.
    is anyone have better idea to do this.. is this functionality already there in oracle db?

    Ah, damorgan, data, test data, metadata and table-driven processes. Love the stuff!
    There are two approaches you can take with this. I'll mention both and then ask which
    one you think you would find most useful for your requirements.
    One approach I would call the generic bottom-up approach which is the one I think you
    are referring to.
    This system is a generic test data generator. It isn't designed to generate data for any
    particular existing table or application but is the general case solution.
    Building on damorgan's advice define the basic hierarchy: table collection, tables, data; so start at the data level.
    1. Identify/document the data types that you need to support. Start small (NUMBER, VARCHAR2, DATE) and add as you go along
    2. For each data type identify the functionality and attributes that you need. For instance for VARCHAR2
    a. min length - the minimum length to generate
    b. max length - the maximum length
    c. prefix - a prefix for the generated data; e.g. for an address field you might want a 'add1' prefix
    d. suffix - a suffix for the generated data; see prefix
    e. whether to generate NULLs
    3. For NUMBER you will probably want at least precision and scale but might want minimum and maximum values or even min/max precision,
    min/max scale.
    4. store the attribute combinations in Oracle tables
    5. build functionality for each data type that can create the range and type of data that you need. These functions should take parameters that can be used to control the attributes and the amount of data generated.
    6. At the table level you will need business rules that control how the different columns of the table relate to each other. For example, for ADDRESS information your business rule might be that ADDRESS1, CITY, STATE, ZIP are required and ADDRESS2 is optional.
    7. Add table-level processes, driven by the saved metadata, that can generate data at the record level by leveraging the data type functionality you have built previously.
    8. Then add the metadata, business rules and functionality to control the TABLE-TO-TABLE relationships; that is, the data model. You need the same DETPNO values in the SCOTT.EMP table that exist in the SCOTT.DEPT table.
    The second approach I have used more often. I would it call the top-down approach and I use
    it when test data is needed for an existing system. The main use case here is to avoid
    having to copy production data to QA, TEST or DEV environments.
    QA people want to test with data that they are familiar with: names, companies, code values.
    I've found they aren't often fond of random character strings for names of things.
    The second approach I use for mature systems where there is already plenty of data to choose from.
    It involves selecting subsets of data from each of the existing tables and saving that data in a
    set of test tables. This data can then be used for regression testing and for automated unit testing of
    existing functionality and functionality that is being developed.
    QA can use data they are already familiar with and can test the application (GUI?) interface on that
    data to see if they get the expected changes.
    For each table to be tested (e.g. DEPT) I create two test system tables. A BEFORE table and an EXPECTED table.
    1. DEPT_TEST_BEFORE
         This table has all EMP table columns and a TEST_CASE column.
         It holds EMP-image rows for each test case that show the row as it should look BEFORE the
         test for that test case is performed.
         CREATE TABLE DEPT_TEST_BEFORE
         TESTCASE NUMBER,
         DEPTNO NUMBER(2),
         DNAME VARCHAR2(14 BYTE),
         LOC VARCHAR2(13 BYTE)
    2. DEPT_TEST_EXPECTED
         This table also has all EMP table columns and a TEST_CASE column.
         It holds EMP-image rows for each test case that show the row as it should look AFTER the
         test for that test case is performed.
    Each of these tables are a mirror image of the actual application table with one new column
    added that contains a value representing the TESTCASE_NUMBER.
    To create test case #3 identify or create the DEPT records you want to use for test case #3.
    Insert these records into DEPT_TEST_BEFORE:
         INSERT INTO DEPT_TEST_BEFORE
         SELECT 3, D.* FROM DEPT D where DEPNO = 20
    Insert records for test case #3 into DEPT_TEST_EXPECTED that show the rows as they should
    look after test #3 is run. For example, if test #3 creates one new record add all the
    records fro the BEFORE data set and add a new one for the new record.
    When you want to run TESTCASE_ONE the process is basically (ignore for this illustration that
    there is a foreign key betwee DEPT and EMP):
    1. delete the records from SCOTT.DEPT that correspond to test case #3 DEPT records.
              DELETE FROM DEPT
              WHERE DEPTNO IN (SELECT DEPTNO FROM DEPT_TEST_BEFORE WHERE TESTCASE = 3);
    2. insert the test data set records for SCOTT.DEPT for test case #3.
              INSERT INTO DEPT
              SELECT DEPTNO, DNAME, LOC FROM DEPT_TEST_BEFORE WHERE TESTCASE = 3;
    3 perform the test.
    4. compare the actual results with the expected results.
         This is done by a function that compares the records in DEPT with the records
         in DEPT_TEST_EXPECTED for test #3.
         I usually store these results in yet another table or just report them out.
    5. Report out the differences.
    This second approach uses data the users (QA) are already familiar with, is scaleable and
    is easy to add new data that meets business requirements.
    It is also easy to automatically generate the necessary tables and test setup/breakdown
    using a table-driven metadata approach. Adding a new test table is as easy as calling
    a stored procedure; the procedure can generate the DDL or create the actual tables needed
    for the BEFORE and AFTER snapshots.
    The main disadvantage is that existing data will almost never cover the corner cases.
    But you can add data for these. By corner cases I mean data that defines the limits
    for a data type: a VARCHAR2(30) name field should have at least one test record that
    has a name that is 30 characters long.
    Which of these approaches makes the most sense for you?

  • Creating test data for a problem

    Hi,
    I've been using this forum for a few months and it has been extremely useful. The problem is that I actually have no idea how to create test data for a specific problem. I've tried googling but to no avail. I have had other users create test data for some of my problems using a 'WITH' statement but it would be great if someone could explain the logic behind it and how to approach a specific problem where in the query I use multiple tables.
    I know it's probably a stupid question and I'm relatively new to sql but it would help a lot if I understood the process.
    Banner:
    Oracle Database 11g Release 11.2.0.2.0 - 64bit Production
    PL/SQL Release 11.2.0.2.0 - Production
    "CORE 11.2.0.2.0 Production"
    TNS for Linux: Version 11.2.0.2.0 - Production
    NLSRTL Version 11.2.0.2.0 - Production

    Look at the point 3 and 4. You can also follow other points too.
    Please consider the following when you post a question. This would help us help you better
    1. New features keep coming in every oracle version so please provide Your Oracle DB Version to get the best possible answer.
    You can use the following query and do a copy past of the output.
    select * from v$version 2. This forum has a very good Search Feature. Please use that before posting your question. Because for most of the questions
    that are asked the answer is already there.
    3. We dont know your DB structure or How your Data is. So you need to let us know. The best way would be to give some sample data like this.
    I have the following table called sales
    with sales
    as
          select 1 sales_id, 1 prod_id, 1001 inv_num, 120 qty from dual
          union all
          select 2 sales_id, 1 prod_id, 1002 inv_num, 25 qty from dual
    select *
      from sales 4. Rather than telling what you want in words its more easier when you give your expected output.
    For example in the above sales table, I want to know the total quantity and number of invoice for each product.
    The output should look like this
    Prod_id   sum_qty   count_inv
    1         145       2 5. When ever you get an error message post the entire error message. With the Error Number, The message and the Line number.
    6. Next thing is a very important thing to remember. Please post only well formatted code. Unformatted code is very hard to read.
    Your code format gets lost when you post it in the Oracle Forum. So in order to preserve it you need to
    use the {noformat}{noformat} tags.
    The usage of the tag is like this.
    <place your code here>\
    7. If you are posting a *Performance Related Question*. Please read
       {thread:id=501834} and {thread:id=863295}.
       Following those guide will be very helpful.
    8. Please keep in mind that this is a public forum. Here No question is URGENT.
       So use of words like *URGENT* or *ASAP* (As Soon As Possible) are considered to be rude.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

Maybe you are looking for

  • No data in cube

    Hi, I create a mapping for cube, debugging shows that everything works well, and the loading data process also works, but at last there's no data in the cube. Could some one tell me what can be the problem? Thanks very much. And also, does warehouse

  • Itunes 11.3 won't recognize either of my iphones.

    iTunes 11.3 won't recognize either of my iphones.  Need help!

  • How does the KKBC_HOE work?

    I've been having discussions regarding the KKBC_HOE.  In particular how does the varient work.  We have a choice to chose several different variants and order statuses.  My question is if we are to capture the true target detail for the month what Or

  • Auotmate the upload of HTS xml file in GTS?

    Hello Every one We receive weekly update of new HTS code files from Customs Info to upload in GTS system. Currently we go to Customs Info FTP and then download the HTS xml file and then  Manually upload through transaction /SAPSLL/LLNS_UPL102. Can we

  • Where is the iTunes Store Menu for authorization?!?

    I've been looking for this "Menu" for 30 minutes. I cannot find it. What am I missing? I am trying to authorize my new Macbook within iTunes. Thanks in advance!!!! KINDLY!