Using generics and J2SE together with JSF

Hi
Has anybody experience with using JSF together with J2SE 1.5? Especially generics? I would like to use generics and other improvements from J2SE in the model objects.
Thnaks in advance ... Rick

JSF 1.1 is specified for J2SE 5, and the new specification (JSF 1.2 and JSP 2.1) does not include generics.
If you are talking in terms of ValueBindings or MethodBindings, there really isn't any point since the implementation could only make the cast for you; and it would still not be able to garuantee type safety (the only reason to use generics).
That's not to say you couldn't use generics in your own development, but I don't think you will see generics incorporated into the specification any time soon.
Jacob Hookom (JSR-252 EG)

Similar Messages

  • Can we use keyboard and mouse together with Ipad3

    Actually i have ipad3. i want use it like a laptop. can u guide me that can we use the keyboard and mouse both together with Ipad..... kindly reply at the earliest....

    An iPad doesn't support the use of a mouse. Is your keyboard Bluetooth - if it is then you should be able to pair to it via Settings > Bluetooth

  • Use bottom and protect together

    Hi all,
    May I know the that possible to use BOTTOM and PROTECT together with few lines of text inbetween?
    Eg:
    BOTTOM
    PROTECT
    texttexttext
    texttexttext
    texttexttext
    ENDPROTECT
    ENDBOTTOM
    or
    PROTECT
    BOTTOM
    texttexttext
    texttexttext
    texttexttext
    ENDBOTTOM
    ENDPROTECT
    Above code dont work for me. Please advice thank!!!

    Hi Kek,
    Refer this link,
    [Bottom..Endbottom|http://help.sap.com/saphelp_nw70/helpdata/en/d6/0db4a9494511d182b70000e829fbfe/content.htm]
    Regards,
    Sravanthi

  • Using transaction activation policy together with TOPLINK Java object/relational mapping "commit and resume" transaction?

    Has any one has experience using WLE transaction context together with TOPLINK Java
    version of "commit and resume" context?

    Has any one has experience using WLE transaction context together with TOPLINK Java
    version of "commit and resume" context?

  • How can I create a client console and work together with the Cache Server?

    How can I edit the following Cache-Server.cmd file to create a client console and work together with the Cache Server?
    The following is the cache server file: contacts-cache-server.cmd
    @echo off
    setlocal
    if (%COHERENCE_HOME%)==() (
    set COHERENCE_HOME=c:\coherence
    set CONFIG=C:\home\oracle\coherence\Contacts
    set COH_OPTS=%COH_OPTS% -server -cp %COHERENCE_HOME%\lib\coherence.jar;C:\home\oracle\
    coherence\Contacts;C:\home\oracle\coherence\Contacts\classes;
    set COH_OPTS=%COH_OPTS% -Dtangosol.coherence.cacheconfig=%CONFIG%\contacts-cache-config.xml
    java %COH_OPTS% -Xms1g -Xmx1g -Xloggc: com.tangosol.net.DefaultCacheServer %2 %3 %4 %5 %6 %7
    :exitEdited by: junez on 23-Oct-2009 09:20

    Hi
    To run the console, change DefaultCacheServer to CacheFactory
    Paul

  • HT4901 By synching our computer and tablet together with our new iphone, we lost all our critical calendar data. How do we get it back?

    By synching our computer and tablet together with our new iphone, we lost all our critical calendar data. How do we get it back? The help info, HT4901, was the closest info from the Help pages but it assumed we were already on icloud and had simply disconnected our calendar from icloud. Actually, we were simply trying to synch our devices by signing up with icloud for the first time, so it seems our calendar never had a chance to get uploaded. In any case, how do you reconnect / re-access a calendar on icloud?

    If your calendar does not appear on icloud.com it never uploaded to iCloud.  If it is no longer on your computer you would have to restore it from a backup source such as Time Machine to restore it.

  • Hibernate problem..... using projection and conjunction together..

    hi all ,
    can we use projection and conjunction together??
    i want to execute a query like this..
    select column_1 , column_2 from table_name where column_1 like '%a' ;

    hi ian
    you could also try verifying if the jar libraries containing your Document and Paragraph classes are defined in your class path OR if you are using an IDE, did you include that under your LIbraries?
    The previous suggestion below also is a stop-gap to the library inclusion problem.
    Hope that helps

  • Using Concat and Distinct together

    hi
    I am using the query below and I am getting 'missing expression' error. How do use Distinct and concat together?
    SELECT 'SELECT ' || DISTINCT COLUMN || ' FROM DUAL UNION ALL '
    FROM TABLE;

    Hi,
    SeshuGiri wrote:
    hi
    I am using the query below and I am getting 'missing expression' error. How do use Distinct and concat together?
    SELECT 'SELECT ' || DISTINCT COLUMN || ' FROM DUAL UNION ALL '
    FROM TABLE;Whenever you have a problem, please post CREATE TABLE and INSERT statments for a little sample data, and the results you want from that data.
    The example you posted has so many mistakes, it's hard to know what you're trying to do.
    COLUMN, DISTINCT and TABLE are all Oracle keywords, and shouldn't be used for actual columnor table names, and using them for aliases is just asking for trouble.
    When using SELECT DISTINCT, the keyword DISTINCT must come immediately after SELECT.
    If you want to assign an alias to a column, it must be at the very end of the expression that defines the column. You can't assign an alias to part of an expression. If you want to do that, use a sub-query.
    Here's a query that uses both SELECT DISTINCT and ||:
    SELECT DISTINCT
            job || deptno    AS jd
    FROM    scott.emp;Edited by: Frank Kulash on May 13, 2011 2:52 PM

  • Using Airport And Ethernet Together

    Having read Christopher Breen's solution to using Airport and Ethernet together,
    http://www.macworld.com/weblogs/mac911/2006/10/airportswitch/index.php
    I am still wondering if this can apply to my situation. I have an Airport Exteme BS distributing the wireless signal on it's own node. Nothing is physically connected to the BS except an ethernet cable running to a hub which is connected to the cable modem. While my ISP service isn't supplying service faster than Airport will manage, no problem...but, I would like to have the advantage ethernet networking between my machines for all the advantages that ethernet speed can bring to that situation.
    My connection to the internet is from WAN from the cable modem. I have an ethernet connection from the BS that I can run a cable back to say, an iBook. Will this work? I want wireless internet, but ethernet for machine to machine networking.
    JAL
    iBook G3/500 G4/Dual 450 Mac OS X (10.4)
    iBook G3/500 G4/Dual 450 Mac OS X (10.4)

    Helpful response, but I am uncertain this is what I am after. First, the hub is at the other end of the house, inconvenient to run a cable to it in this way. Presently, "Distribute IP Addresses" is turned off. This is way it had to be set since the AEBS is on a separate node. I just wonder why I can't run a cable from the AEBS LAN port back to the iBook. Looking for best possible speed when networking from my studio G4 while keeping the wireless internet setting.
    Any reason making the config the way I am imagining will not work?

  • I want to use ps and illustrator together, but I just bought the photoshop membership, could I upgrade my membership?

    I want to use ps and illustrator together, but I just bought the photoshop membership, could I upgrade my membership?

    You may upgrade to the entire plan, or just add an individual program subscription
    Upgrade single to all Cloud http://forums.adobe.com/thread/1235382
    Cloud Plans https://creative.adobe.com/plans
    -and subscription terms http://www.adobe.com/misc/subscription_terms.html
    -what is in the entire Cloud http://www.adobe.com/creativecloud/catalog/desktop.html
    -http://www.adobe.com/products/catalog/mobile._sl_id-contentfilter_sl_catalog_sl_mobiledevi ces.html

  • MacBook will not start. I have restarted with original CD. I have used Utilities and "no problem" with hard drive. I have reset PRAM. I have tried safe boot. Nothing is work. Gray screen with Apple logo and rotating wheel. Thanks for any suggestions!

    MacBook will not start. I have restarted with original CD. I have used Utilities and "no problem" with hard drive. I have reset PRAM. I have tried safe boot. Nothing is work. Gray screen with Apple logo and rotating wheel. Thanks for any suggestions!

    Snow Leopard is a Mac OS X version. You say that it's the version you have in your Mac (10.6.8). Do a back up of your files, format the hard drive (using Disk Utility) and reinstall again

  • Can we use WDJ and WDA page with one process together ?

    Hi All,
    Thank you for your answer.
    Thanks and Regards

    Hi Zhiqiang,
    You can run a WDA and WDJ together on a single page using the portal. Communication between them is possible using portal eventing. Nonetheless, both will be different applications running on different platforms. Hence, it is not possible to i.e. define a component use to a WDA component from within a WDJ one and vice versa. That's similiar to not being able to integrate ABAP/Java coding directly within Java/ABAP.
    Best regards,
    Thomas

  • Is it possible to use fullscreen and exclusive mode with a jfilechooser?

    is there a way to use them together? while in fullscreen exclusive mode the jfilechooser doesn't attach to fullscreen window and it halts the program.. I've tried setting the parent frame as the fullscreen frame but it's all glitched.. am I missing something?
    thank you,
    best regards,
    Jacopo

    For reference, the cross-post can be found here:
    Is it possible to use network devices (cDAQ-9188) with a PXI Real Time system?
    Jayme W.
    Applications Engineer
    National Instruments

  • Using Struts and JSTL together

    I have
    <html:form action="xy.do">
    <c:set var="name" value="shalik"/>
    <html:text property="name" value="<c:out value="${name}"/>"/>
    </html:form>
    How could I put data stored in ${name} to show in the text
    Also, is there a shorter way to access java variables using jstl core
    I would not want to do
    <input type="text" name="name" value="<c:out value="${name}"/>"/>
    which works, because I have to use struts

    No you can't include tags as attributes to other tags.
    Yes, you can definitely use the Struts and JSTL together.
    If you want to use EL expressions with the struts tags, it depends on your server.
    If you have a JSP2.0 container (eg Tomcat 5) its no problem at all. You can use the EL expressions directly with the standard struts tags.
    For a JSP1.2 container, there are specifically written struts-el tags. They let you use EL expressions instead of <%= %> expressions
    <c:set var="name" value="shalik"/>
    <html:text property="name" value="${name}"/>The struts-el tags only have a subset of the struts tags. It is intended for use with the JSTL. For instance the c:if tag easily replaces a lot of the logic conditional ones (equal, lessThan, etc etc)
    The tags are available as part of the standard struts download in the contrib directory.
    However for what you seem to be wanting to do, wouldn't it be more struts-like to have an action that specifically populates the action form, and just have
    <html:text property="name"/>
    The value would then be automagically populated from the form bean.
    Hope this helps,
    evnafets

  • Using forall and bulkcollect together

    Hey group,
    I am trying to use bulk collect and forall together.
    i have bulk collect on 3 columns and insert is on more than 3 columns.can anybody tell me how to reference those collection objects in bulk collect statement.
    you can see the procedure,i highlighted things am trying.
    Please let me know,if am clear enough.
    PROCEDURE do_insert
    IS
    PROCEDURE process_insert_record
    IS
    CURSOR c_es_div_split
    IS
    SELECT div_id
    FROM zrep_mpg_div
    WHERE div_id IN ('PC', 'BP', 'BI', 'CI', 'CR');
    PROCEDURE write_record
    IS
    CURSOR c_plan_fields
    IS
    SELECT x.comp_plan_id, x.comp_plan_cd, cp.comp_plan_nm
    FROM cp_div_xref@dm x, comp_plan@dm cp
    WHERE x.comp_plan_id = cp.comp_plan_id
    AND x.div = v_div
    AND x.sorg_cd = v_sorg_cd
    AND x.comp_plan_yr = TO_NUMBER (TO_CHAR (v_to_dt, 'yyyy'));
    TYPE test1 IS TABLE OF c_plan_fields%ROWTYPE
    INDEX BY BINARY_INTEGER;
    test2 test1;
    BEGIN -- write_record
    OPEN c_plan_fields;
    FETCH c_plan_fields bulk collect INTO test2;
    CLOSE c_plan_fields;
    ForAll X In 1..test2.last
    INSERT INTO cust_hier
    (sorg_cd, cust_cd, bunt, --DP
    div,
    from_dt,
    to_dt,
    cust_ter_cd, cust_rgn_cd, cust_grp_cd,
    cust_area_cd, sorg_desc, cust_nm, cust_ter_desc,
    cust_rgn_desc, cust_grp_desc, cust_area_desc,
    cust_mkt_cd, cust_mkt_desc, curr_flag,
    last_mth_flag, comp_plan_id, comp_plan_cd,
    comp_plan_nm, asgn_typ, lddt
    VALUES (v_sorg_cd, v_cust_cd, v_bunt, --DP
    v_div,
    TRUNC (v_from_dt),
    TO_DATE (TO_CHAR (v_to_dt, 'mmddyyyy') || '235959',
    'mmddyyyyhh24miss'
    v_ter, v_rgn, v_grp,
    v_area, v_sorg_desc, v_cust_nm, v_cust_ter_desc,
    v_rgn_desc, v_grp_desc, v_area_desc,
    v_mkt, v_mkt_desc, v_curr_flag,
    v_last_mth_flag, test2(x).comp_plan_id,test2(x).comp_plan_cd,
    test2(x).comp_plan_nm, v_asgn_typ, v_begin_dt
    v_plan_id := 0;
    v_plan_cd := 0;
    v_plan_nm := NULL;
    v_out_cnt := v_out_cnt + 1;
    IF doing_both
    THEN
    COMMIT;
    ELSE
    -- commiting v_commit_rows rows at a time.
    IF v_out_cnt >= v_commit_cnt
    THEN
    COMMIT;
    p.l ( 'Commit point reached: '
    || v_out_cnt
    || 'at: '
    || TO_CHAR (SYSDATE, 'mm/dd hh24:mi:ss')
    v_commit_cnt := v_commit_cnt + v_commit_rows;
    END IF;
    END IF;
    END write_record;

    Ugly code.
    Bulk processing does what in PL? One and one thing only. It reduces context switching between the PL and SQL engines. That is it. Nothing more. It is not magic that increases performance. And there is a penalty to pay for the reduction in context switching - memory. Very expensive PGA memory.
    To reduce the context switches, bigger chunks of data are passed between the PL and SQL engines. You have coded a single fetch for all the rows from the cursor. All that data collected from the SQL engine has to be stored in the PL engine. This requires memory. The more rows, the more memory. And the memory used is dedicated non-shared server memory. The worse kind to use on a server where resources need to be shared in order for the server to scale.
    Use the LIMIT clause. That controls how many rows are fetched. And thus you manage just how much memory is consumed.
    And why the incremental commit? What do you think you are achieving with that? Except consuming more resources by doing more commits.. not to mention risking data integrity as this process can now fail and result in only partial changes. And only changing some of the rows when you need to change all the rows is corrupting the data in the database in my book.
    Also, why use PL at all? Surely you can do a INSERT into <table1> SELECT .. FROM <table2>,<table3> WHERE ...
    And with this, you can also use parallel processing (DML). You can use direct path inserts. You do not need a single byte of PL engine code or memory. You do not have to ship data between the PL and SQL engines. What you now have is fast performing code that can scale.

Maybe you are looking for

  • Address Book Sync is gunking up my MacBook Pro!

    Everytime I first start up my MacBook from either sleep or first turning it on, it's ridiculously slow - everything I type takes about 30 seconds to show up on the screen while the little rainbow pinwheel does its thing. I took a look at the Activity

  • EXEC SQL Error: ORA-01401: Inserted value too large for column

    Getting this SQL Error: ORA-01401: Inserted value too large for column..on an EXEC SQL Insert statement when writing to an external Oracle DB from SAP. On further analysis..it appears that this happens to the fields..when the string length matches th

  • Urgent- Update was terminated - TCode MIGO_GR

    Dear all, We doing use Tcode MIGO_GR for purpose receipt Rawmaterial in to warehouse but we have got problem follow: Update was terminated System ID....   PTS Client.......   000 User.....   DUC Transaction..   MIGO_GR Update key...   DBC53811899848D

  • New Mac User - What do I need

    Hi all,  we are switching to Mac after being hardcore PC users for YEARS!!  At this point, all of our documents are in MS Office programs.  What software do I need to be able to transfer all the docs to our new Mac and then read docs from other PC us

  • I am not able to print anything from the internet through Firefox. I can print from Safari, documents, etc. Pleaes help!Please help

    Starting this am I cannot print anything form the internet when using Firefox as my browser. I can print Word documents and when using Safari as my browser...just not with Firefox. I have contacted Epson and it is not a printer problem. I have contac