How to implement a "plugin system" in JSF?

Hi!
I would like to make a system with can be extended using JAR (or WAR?) plugins...I know how to do using Swing but I'm new in JSF and I have a lot of doubts, I'm trying to find something on the net, I know I can force the navigation to go to a specific page (I can put the entry page of every plugin in a database) but can I mix 2 war and connect one to another (like for example with an entry page from the first one to the second one)?
if not what can I do? Am I have to rethink the thing?
thanks a lot!!
Demetrio Filocamo

Swing is a desktop tecnology.
JSF is a Web tecnology.
If the 2 Wars are deployed as two different web sites, then you can do navigation bettween them, like you do on Html.

Similar Messages

  • How to implement a file system in my app?

    How to implement a file system in my app? So that we can connect to my iPhone via Finder->Go->Connect to Server. And my iPhone will show as a shared disk. Any ideas about it? Thanks.

    Hi Rain--
    From webdav.org:
    DAV-E is a WebDAV client for iPhone, with free and full versions. It provides remote file browsing via WebDAV, and can be used to upload pictures taken with the iPhone.
    http://greenbytes.de/dav-e.html
    http://www.greenbytes.de/tech/webdav/
    Hope this helps.

  • How to Implement Strut Tiles  Framework in JSF

    Hi
    I am new to JSF tried to implent struts tiles in jsf 1.2 but i am facing some problm.
    is any one have ideas about how to implementing struts tiles framework in jsf??....
    Cheers
    Sekar M

    Hope the below URLs should answer your question
    [http://www.jroller.com/HazemBlog/entry/how_to_use_struts_tiles]
    [http://www.ibm.com/developerworks/library/j-integrate/]
    [http://www.laliluna.de/blog/2007/02/28/struts_tiles_jsf_myfaces_migration_or_integration.html]

  • How to implement an audit system to track ADF applications DML activity?

    We have implemented a complete audit system for one of our databases in order to keep history for every table and every value that has been modified.
    The solution that we currently have can be split into two discrete parts:
    1. Keeping a record of all connections to the db account
    This is achieved via a table ‘user_sessions’ into which we record data for every session in the database with the help of on-logon and on-logoff triggers and some PL/SQL procedures:
    Column name        |  Explanation
    -------------------|-------------------------------------------
    US_ID              | PK, based on a sequence
    SESSION_ID         | sys_context('USERENV' ,'SESSIONID')  
    USER_NAME          | sys_context('USERENV' ,'OS_USER')
    LOGON_TIME         | when the on-logon trigger fires
    LOGOFF_TIME        | when the on-logoff trigger fires
    USER_SCHEMA        | sys_context('USERENV' ,'SESSION_USER')
    IP_ADDRESS         | sys_context('USERENV' ,'IP_ADDRESS')
    us_id |session_id |user_name|user_sschema|ip_address|logon_time               |logoff_time     
    560066|8498062       |BOB      |ABD         |1.1.1.2   |14-SEP-06 03.51.52.000000|14-SEP-06 03.52.30.000000
    560065|8498061       |ALICE    |ABC         |1.1.1.1   |14-SEP-06 02.45.31.000000|14-SEP-06 04.22.43.0000002. Keeping the history of every change of data made by a given user
    For every table in the account there is a corresponding history table with all of the columns of the original table plus columns to denote the type of the operation (Insert, Delete, Update), start and end time of validity for this record (createtime, retiretime) and us_id (which points to the user_sessions table).
    The original table has triggers, which fire if there is an insert, update or delete and they insert the data into the corresponding history table. For every record inserted into a history table the us_id taken from the user_sessions table is recorded as well, allowing us to determine who has modified what data via the combination of these two tables.
    Below is an example of a table TASKS, the history related triggers and the history table TASKS_HIST.
    At the moment we are developing new applications by using ADF. Since there is an Application Module Pool and Database Connection Pool implemented for the ADF, one connection to the database could be used by several users at different moments of time. In that case the history records will point to a database session logged into the user_sessions table, but we will not know who actually modified the data.
    Could you, please, give us a suggestion, how we can know at any moment of time who (which of our users currently making use of an ADF application) is using a given database connection?
    By way of an example of the problem we are facing, here is how we solved the same problem posed by the use of Oracle Forms applications.
    When the user starts to work with a given Forms application, user_sessions table would attempt to record the relevant information about he user, but since the db session was created by the application server, would in actual fact record the username and ip address of the application server itself.
    The problem was easy to solve due to the fact that there is no connection pooling and when a user opens their browser to work with Forms applications, a db connection is opened for the duration of their session (until they close their browser window).
    In that case, the moment when the user is authenticated (they log in), there is a PL/SQL procedure called from the login Form, which updates the record in the user_sessions table with the real login name and ip address of the user.
    Example of a table and its ‘shadow’ history table
    CREATE TABLE TASKS (
         TASKNAME     VARCHAR2(40),
         DESCRIPTION  VARCHAR2(80)
    ALTER TABLE TASKS ADD (
         CONSTRAINT TASKS_PK PRIMARY KEY (TASKNAME));
    CREATE OR REPLACE TRIGGER TASKS_HISTSTMP
    BEFORE INSERT OR UPDATE OR DELETE ON TASKS
       BEGIN
         HISTORY.SET_OPERATION_TIME('TASKS');
       EXCEPTION
         WHEN OTHERS THEN
           ERROR.REPORT_AND_GO;
    END TASKS_HISTSTMP;
    CREATE OR REPLACE TRIGGER TASKS_WHIST
      AFTER INSERT OR UPDATE OR DELETE ON TASKS
      FOR EACH ROW
      BEGIN
    CASE
          WHEN INSERTING THEN
            UPDATE TASKS_HIST
               SET retiretime = HISTORY.GET_OPERATION_TIME
             WHERE createtime = (SELECT MAX(createtime)
                                   FROM TASKS_HIST
                                  WHERE retiretime IS NULL AND TASKNAME=:NEW.TASKNAME)
               AND retiretime IS NULL AND TASKNAME=:NEW.TASKNAME;
            INSERT INTO TASKS_HIST (TASKNAME      ,DESCRIPTION      ,optype
                                    ,createtime                    
                                    ,us_id)
                   VALUES          (:NEW.TASKNAME ,:NEW.DESCRIPTION ,'I'
                                    ,HISTORY.GET_OPERATION_TIME    
                                    ,USER_SESSION.GET_USER_SESSIONS_ID);
          WHEN UPDATING THEN
            UPDATE TASKS_HIST
               SET retiretime = HISTORY.GET_OPERATION_TIME
             WHERE createtime = (SELECT MAX(createtime)
                                   FROM TASKS_HIST
                                  WHERE TASKNAME=:OLD.TASKNAME) 
               AND TASKNAME=:OLD.TASKNAME;
            INSERT INTO TASKS_HIST (TASKNAME      ,DESCRIPTION      ,optype
                                    ,createtime
                                    ,us_id)
                   VALUES          (:NEW.TASKNAME ,:NEW.DESCRIPTION ,'U'
                                    ,HISTORY.GET_OPERATION_TIME
                                    ,USER_SESSION.GET_USER_SESSIONS_ID);
          ELSE
            UPDATE TASKS_HIST
               SET retiretime = HISTORY.GET_OPERATION_TIME
             WHERE createtime = (SELECT MAX(createtime)
                                   FROM TASKS_HIST
                                  WHERE TASKNAME=:OLD.TASKNAME) 
               AND TASKNAME=:OLD.TASKNAME;
            INSERT INTO TASKS_HIST (TASKNAME      ,DESCRIPTION      ,optype
                                    ,createtime
                                    ,us_id)
                   VALUES          (:OLD.TASKNAME ,:OLD.DESCRIPTION ,'D'
                                    ,HISTORY.GET_OPERATION_TIME
                                    ,USER_SESSION.GET_USER_SESSIONS_ID);
        END CASE;
      EXCEPTION
        WHEN OTHERS THEN
          ERROR.REPORT_AND_GO;
    END TASKS_WHIST;
    CREATE TABLE TASKS_HIST (
         TASKNAME       VARCHAR2(40),
         DESCRIPTION    VARCHAR2(80),
         OPTYPE         VARCHAR2(1),
         CREATETIME     TIMESTAMP(6),
         RETIRETIME     TIMESTAMP(6),
         US_ID          NUMBER
    ALTER TABLE TASKS_HIST ADD (
         CONSTRAINT TASKS_HIST_PK PRIMARY KEY (TASKNAME, CREATETIME)
           );

    Frank,
    Thanks for your reply.
    I checked the site that you mentioned.
    I try the sample “demo with bundle. The sample worked.
    But it needed to start separately with the application.
    I do not know how to build a help system with the existed web application developed with Jdeveloper (It has two projects: model and user-view-control. It is deployed on Oracle Application server).
    Could you help me step by step to build the help system?

  • How to implement for sap system use HADR

    hi expert ,
           i am a newbie to sap basis, we have a requirement that do HA for our sap using HADR,i want know if there are some good sulotion for my scenario。
       our scenaro is we have two window 2008 sever host,one host  has a sap system and we want the sap db2 database as a primary,and the other host also has a same the system which is restore from the previous sap system which we implement by system copy using database restore not migration。i want know as our secanrio could i achive SAP application HA by HADR,if we donu2018t have  HA  software  like MSCS。whether we must manual monitor the primary sap   when it stop because any issue like hardware failed and then manual start the other sap system in the other host?
      our two sap system have different sap profile beacause the hostname are different.
    our aim is when one of our host can't use we can immediate start the other sap system in the other host, the less the change the better the solution .
    is it possible?
    thanx very much,
    best regards.

    hi paul ,
        thanx for your information,i have already read the inforamtion about sg247363 once-over and SAMP。 but unfortunately we have a different situation,we only have two windows servers and must installed windows server 2008 OS because some reasons。we also don't have have other host to install sap。as this situation,how could we implement HA beacuse we also don't have shared disk。the window server are isolation。
    i  also read some pdf which download from sdn , in the book the HA is  implemneted as the sap application has a separate host and has two host for DB2 database using HADR,the HA is rely the cluster software 。in this situation the sap application also need HA to avoid single point failure。
        as the limited i have said above, is it possible to do HA by MSCS ,can any body tell me if the MSCS is free to install in OS windows 2008? if we can't use it  free,have any other solution?in the worst , we must manual monitor the application and when a sap application or database can't work ,we want to restart the other sap which in the other host,we need the database synchronization between two database which using HADR。is it possible ?if it do, whether there are some additional setup for sap application because the two sap application have different sap profile name(a sap is a system copy from the other by database restore)。
        any reply will be appreciated。

  • How to implement method level authorisation in JSF

    Hi all,
    I am new to JSF 2. I have been able to implement authorization on my web pages, but I also want to implement it at the bean level. Does JSF 2 provide an in-built functionality to implement role-based authorization on bean methods? Or, I need to use some security frameworks (i.e. ACEGI)?
    Thanks in advance,
    Neeraj

    I am curious: can you explain WHY you want method level security? It seems woefully overkill and paranoid to me - server level security should be enough to keep out rogue code.
    Anyway for that level of security, the security measures built into the JVM should be used.
    [Java Security documentation|http://java.sun.com/javase/technologies/security/]
    You can also look into a security API like Spring security - be warned though, it has a steep learning curve.

  • How to implement Automatic Quotation System using JDeveloper?

    Can you point us in the right direction?
    Starting from ER diagrams!
    null

    Hi Marc,
    The best way to add rows automatically are to do 4 things:
    1. Add a row after refreshing the grid's data source if the form is editable to the user. This could be either in OK mode (refreshing an existing record) or for new records (replace key of 123 with -1 or some value you know will never exist and always return zero records).
         form.DataSources.DataTables.Item(0).ExecuteQuery("SELECT * FROM [@TABLE] WHERE Code = 123");
         grid.DataTable.Rows.Add(1);
    2. Add a row if the user has entered a value into the key column(s) on the grid's last row.
    if(itemValue.ItemUID == "GridUID" && itemValue.ColUID == "Col1UID" && itemValue.EventType == SAPbouiCOM.BoEventTypes.et_VALIDATE && itemValue.BeforeAction == false)
         if (this.grid.DataTable.GetValue("Col1UID", itemValue.Row).ToString() != "" && itemValue.Row == this.grid.Rows.Count - 1)
              this.AddRow();
              // Set any default values you want to
              grid.DataTable.SetValue("Col1UID", this.grid.DataTable.Rows.Count - 1, "-1");
    3. Handle the Add Row menu event and add a new row.
    4. Handle the Delete Row menu event and if the row being deleted is the last row, add a new row.
    And you will have to loop through each row upon saving to save the data back to the database using SAP's recordset object and an INSERT, UPDATE or DELETE statement.  Typically I have a global variable to store the keys of any rows deleted if they are not new (unsaved) rows. Upon saving, I loop through that array and delete them from the database.
    I hope this helps.
    David

  • Implement plugins system in midp2.0/cldc1.1 profile

    Hello i am working on a end project studie, and i would like to know if it is possible to implement a plugins system in a Midp2.0 / CLDC1.1configuration,
    concretly a midlet as a core can load plugins whose use the core fonctionnality of the main midlet...
    i am using the wireless toolkit and i can load dynamically class with the "forname" method of the "java.lang.Class" class when i use it to emulate a cell phone, but when i package an (.jar) archive and i put my .class plugin in the same directory it is not working...
    it is very important for me to know if a plugins system is possible on mdip2.0 and cldc1.1 ... or if a .jar archive midletsuite, can't load and execute code from elsewhere...(network, local persistent storage etc ... )
    thanks to you

    hi .i am beginner to j2me.can u tell me i have j2me sdk 3.0,and cldc 1.1 and i want to download MIDP2.0 .is it sufficient tp execute a j2me application .
    can u tell me how setpath and classpaths
    can u send me the link for midp 2.0 to download
    ======================================
    and tell me the complete requirements to execute j2me application

  • How to implement isTokenValid in JSF ?

    Hi guys,
    How to implement a same function in JSF for the org.apache.struts.action.Action.isTokenValid in struts ? Please help, Thanks !
    cheers,
    Mark

    Put your question in a Struts forum.

  • Implementing GrabCut - how to implement graph cut?

    Hi all,
    I'm implementing the GrabCut segmentation technique in java.
    This is a link to the GrabCut paper
    research.microsoft.com/vision/Cambridge/papers/siggraph04.pdf
    I'm working with this paper (explains briefly how to implement the whole system)
    students.cs.byu.edu/~jtalbot/research/Grabcut.pdf
    The last part of the implementation involves finding a minimal cut in a graph
    (I need to build a graph from the image pixels with some constrains).
    Does anybody have an idea how to implement weighted graph class efficiently
    in order the graph cut algorithm to run fast?
    Thanks all
    Edited by: drortrie@ on Aug 17, 2008 5:06 AM

    Hi all,
    I'm implementing the GrabCut segmentation technique in java.
    This is a link to the GrabCut paper
    research.microsoft.com/vision/Cambridge/papers/siggraph04.pdf
    I'm working with this paper (explains briefly how to implement the whole system)
    students.cs.byu.edu/~jtalbot/research/Grabcut.pdf
    The last part of the implementation involves finding a minimal cut in a graph
    (I need to build a graph from the image pixels with some constrains).
    Does anybody have an idea how to implement weighted graph class efficiently
    in order the graph cut algorithm to run fast?
    Thanks all
    Edited by: drortrie@ on Aug 17, 2008 5:06 AM

  • How to make a simple Plugin system?

    hey guys, first let me say I see very much hostility here, and I'm not here to annoy anyone, so if you don't feel like answering then simply don't.
    I want to design a simple Plugin System for my application. I think what I need is a bit of reassurance and redirection if I'm making wrong assumptions.
    here is the stages I see:
    1. the system has a HashMap<String,PluginTypeData> that holds types of plugins, and the folder of the application that hold the libraries files for the plugins among other details.
    (this would be saved in the application configuration file)
    2. once the application starts/on request the system would load the libraries into the memory.
    3. in each library there should be a file that holds the textual fully qualified name of the classes that this plugin would require to operate properly.
    4. the objects in the library would have to be familiar to the application, therefore they must implement or extend a known base object from the application, and once loaded a reference to that known base object is assigned to the new object.
    5. and then if I want to load a GUI component from the plugin I just get it from the reference.
    lets start with how does that sound? I would like to get a feed back, just a serious one please, that may help me understand any mistakes I might be doing, and not just to understand that I'm wrong....
    Thanks in advance,
    Adam Zehavi.
    Edited by: Adam-Z. on Dec 19, 2009 12:34 AM

    well, English is not my native, so I find it hard to describe, sometimes I feel the lack of words to describe what I want, and I have to take a break, and use a dictionary to find the right word to use, and sometimes these are basic words that I miss so I'm sorry if I'm not clear.
    And this will be required for every single plugin in exactly the same way? If not then each plugin should include a factory.Yes, they are all saved the save way, every plugin has a method that create an instance of a basic class J2MeDataChunk.
    The types of the data chunks are defined on the J2Me platform and only there.
    The reason that they are defined on the J2Me platform is because of the first limitation of the J2Me platform.
    1. I cannot import into the build path of the project any external libraries.Therefore in the future when I would like to add more chunk types, I would have to add them into the J2Me project as classes, and not as a jar in the build path, but the plugin would have to refer to the J2Me project and to know which chunk type it is going to edit.
    Each plugin knows how to edit a different type of J2MeDataChunk, the data chunks saves them selfs into a data output stream using a serialize method in each of them, and the serialize method is invoked from the plugin itself when the user (me) press the save button.
    "produce"? You mean a factory?No, I meant that the object I posted earlier (J2MeDataChunkType) is an object that represent the type of the data chunk for each of the data chunk types, and that there can only be one instance of the object that represent the type of the data chunk, and that single instance of the object that represent the type of the data chunk is the one that can create new instances of that data chunk type, it can create an empty data chunk,or to deserialize the data chunk type using a DataInputStream, and it has an abstract method, that returns Swing component only on the J2Se platform (a class that extends the J2MeDataChunkType object on the J2Se platform that overrides the abstract method for the editing Frame/Panel).
    What do you mean "external" libraries? Your code doesn't count right?I mean that a J2Me project cannot import other jar files into its build path, only the classes files that are in the project are known to the complier.
    The other two limitations are not limitations at all as far as I can see.well the third one might not be a limitation but it is a pain in the .. S since I have to implement every object I want to serialize myself
    but the second one, well, if you don't use the full strength of the 1.5 then you might not miss it, but there are so many elements I miss when programming on J2Me platform... like this one, I don't know how it is called:
    class A {
    class B  extends A {
    class C {
          A getA() {
    //  return instance of A
    class D extends C{
          B getA() {    // this is not implementable on J2Me, and I miss this for better implementation of things since I try to integrate my J2Me platform I'm building with J2Se application.
    //  return instance of B
    }moreover I miss enumeration, god I love using the
    for(Object o: objectList)very useful very efficient to use...
    and how could I leave generics out... wow no generics... terrible oh, and enums, no enums... hell if there were enums on J2Me... life would have been less gray.
    so yes I see all this as limitations, it slows me down allot, and it makes my code less readable.
    well since I try to build a bridge between the J2Me and J2Se platforms, and since there are some limitation to the J2Me platform* I needed to
    define a few things in a few objects, it was possible to make all the data to fit into one object, but it would make that object too heavy for the
    J2Me platform (besides I rather having two objects it felt more OOD right way to do), where one is a type definer that can produce only one
    instance of this object although it is inheritable,
    Memory in terms of the class or the instance? If the instance then it doesn't have much to do with this discussion. If the class then that impacts >your design because with a limited memory size and large impact then unloading might come up - and that requires a class loader.well this design actually adds an extra class for each type I decide to add to my platform although at the end I intend to join all the objects that represent the type of the data chunk into one object only on the J2Me platform which would actually add only one class to the memory on the phone, it is just easier for me to see things clearer now as I design this bridge application between the platforms, besides it allows maximum flexibility to create new types of chunks, and that was my main aim, to make as many types to be saved on files that I can transfer via a wireless onto the phone and the platform on the phone would know exactly what to use them the data chunks for with out any user intervention.
    as for instances, this way I reduce the memory each of the chunks would use and in the total calculation it would improve memory usage while creating objects from these chunks.
    Presumably you are managing the data items because the base class is going to provide functionality relevant to them.Right, the base class is the most common ground I could find for all the chunks together.
    Presuming that each "type" really is a type (say you have 4 interfaces any of which might be implemented) then you would need the following in
    a configuration file for each entry.
    1. Type of the implemented class.
    2. Full name of the implemented class
    3. Full name of the GUI dialog object.
    4. Optional Name of this entry. I suggest this as it allows you to report errors using this name rather than plugin class names
    Per your requirements there is no path nor jar is needed nor can be specified.well I hope that by now you did get that I generalized all the data chunk types that I created into one basic object which I posted earlier, this object handles everything, and the plugin main object would be design on the J2Se platform and would extend that J2MeDataChunkType class and it would return the Swing frame/panel when the J2Se application calls the getPanel method and an empty chunk on the getDataChunk() method.
    well, in my case it would extend an abstract class from the J2Me platform, maybe two object I'm still thinking about a better implementation >> so the plugin would be more simple, consist of only one object, that needs to be loaded.It shouldn't matter to you how the class is implemented.But of course it does, I want to make my life as simple as possible when I implement new plugins, having one object with abstract method, that when I extend it Eclipse would automatically add the abstract method for me to implement, and just a short glimpse at another implementation of the plugin would let me design another plugin in seconds.(with out making the GUI for the data chunk editing obviously).
    I think I got my head around this, especially now that it feels like I could explain what I'm making better in words.
    Thank you for taking the time to respond to my posts, I see you currently have 37k post so I guess you are a very quick typer, yet you take the time to try and understand my design. Thank you.
    Adam Zehavi.

  • How to implement SSO to non-SAP systems using SAP logon ticket?

    Hello,
    We would like to implement Single Sign On between our SAP Netweaver system and a Siebel which is a non-SAP system using SAP logon tickets.
    Can anyone please give me some leads on this, in particular:
    1. Is there a JAVA API or an SAP plug-in that can be implemented on the Siebel machine to extract the SAP logon ticket?
    2. As the other machine might seat on a complete different domain, is it possible to implement SAP logon ticket without using cookies (perhaps through the HTTP header?
    3. In case you think using SAP logon tickets is not the best solution here I would be happy to hear any other suggestions you might have.
    Roy

    Hi,
    I'm currently using SAML as well. Unfortunately the SAP J2EE cannot work as authority (identity provider) but what you can do is using an open implementation of SAML such as opensso which is an open version of SUNs Java System access manager.
    There are a couple of other projects such as opensaml, apache's wss4j or shibboleth that might be interesting in this context.
    I just installed opensso and got it working with SAP J2EE 7.0 using SAPs JAAS SAMLLoginModule to authenticate users within SAP J2EE.
    In this scenario opensso serves as identity provider just as you need! There are a couple of Policy agents available on SUNs Download site you can use with Apache, Tomcat, JBOSS, WebSphere, Bea Web Logic etc. in order to authenticate! Otherwise you just directly authenticate against opensso. When installing opensso you can configure the type of user store you want  to use! By default it uses LDAP but you can also use different types of user store using JDBC or other mechanisms. Since you have a Directory Service you could easily connect it to your existing directory.
    There is also a way to map user ids directly in opensso by adding a uid mapping class. I created some documentation with lots of screenshots about using opensso with SAP J2EE. You can easily use opensso with any other system that supports SAML. In the case of SAP the usage is currently limited to SAML versions 1.0 and 1.1. Version 2.0 is not yet supported but should be in one of the following versions.
    Here are some links you might want to check:
    OpenSAML: https://spaces.internet2.edu/display/OpenSAML/Home
    wss4j: http://ws.apache.org/wss4j/
    shibboleth: http://shibboleth.internet2.edu/
    opensso: https://opensso.dev.java.net/
    On SDN you will find a documentation on how to connect SUN Java System Access Manager to SAP J2EE (see https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/906d9fc6-31b9-2910-1385-90edad7d7570). As I said opensso is based on the SUN Access Manager code and looks quite the same. So you can adapt this documentation in order to configure opensso or you can just ask me for the documentation.
    Hope this is helpful...
    Let me know if you need further assistance on this topic
    Cheers

  • How to implement the security notes in Java System.

    Hi All,
    For the ABAP systems we use RSECNOTE to implement the security notes, but how do we do that in Java systems?
    Any reference or guidance will be of great help.
    Thanks,
    Akash.

    RSECNOTE is for ABAP only, and I dont think there is any equivalent for Java.
    For Java , security note will guide you on how to implement.
    It could be manual changes or via SDM or JSPM.
    Regards,
    Pinkle

  • How to implement Post redirect Get Pattern in JSF

    Hi All,
    Will Post-Redirect-Get pattern solves the duplicate form submission in JSF 1.1 ? . Kindly provide valuable suggestion or implementation detail on PRG.
    Regards,
    Dev

    Continuation of this thread:How to prevent dupilcate form submission in JSF 1.x
    No, the PRG pattern will only make it less likely to happen. The user is still free to navigate back in the browser history to where the POST happened and then perform it again.

  • How should implement multi-thread in single-threaded Operating system using

    How should implement multi-thread in single-threaded Operating system using java?
    Java supports "Multi-threading".Is there is any way run the multiple threads (Implementing multi threading) using java in a Single-threaded Operating system (That is the operating system does not support for multi-threading).

    Previous questions from OP suggest they are using J2ME, so the question might be possible.
    806437 wrote:
    How should implement multi-thread in single-threaded Operating system using java?
    What is the actual question/problem?
    A java app doesn't do threads or not do threads. It uses classes. The VM does threads.
    So if you have a platform that does not have threads and you want to support the thread class then the VM, not a java app, must provide some pseudo mechanism, such as green threads, to support that.
    If your question is about java code and not the VM then you must build a task engine and insure that the tasks are of short enough duration that it is an effective use for your system.

Maybe you are looking for

  • Dynamic Sorting on Multiple filed in Crystal report 2008

    Hi   I am using Crystal report 2008 sp3 full build with hotfix 3.3 along with ASP.NET 2.0   I have implimented the multi filed sorting using the record sort export and setting the sort order in the report designer. Now my requirement is such that i w

  • Installed ITunes 8 - entire music library lost - hangs if I try to add fold

    I just installed iTunes 8 after having been prompted to do so. When I first opened it the app started to render my album covers, and then stopped. I was curious about the genius feature, so I enabled that, and it said it was active, but then nothing

  • Photoshop & InDesign CS3 Crashing when Saving to Network

    Hi, Photoshop & InDesign CS3 crashes whenever I try to save a file over the network to a shared computer we are using as a server. SPECIFICS I'm running Leopard 10.5.2 - I have tried reinstalling the entire Creative Suite - I did not reinstall Versio

  • Front Row Scrolling Issue

    Hello. Just looked at the archives for this problem. Doesn't look like any posts on it since Nov. 2009 but it was never solved. So, I'm reopening it in hopes of finding an answer. In Front Row while scrolling through my movies library the selection w

  • Need a reliable power adapter for travel

    I am traveling to Russia in a few weeks and I need a good power adapter for my Mac Book Pro, iphone, and other small devices such as a shaver. I don't want to spend $40-50 on the Apple travel kit. Does anyone know of a good adapter kit or can lead me