Managed bean/Data exchange between two ADF Rich Faces based applications

Hi,
I have been trying to research what seems to be a small issue. My requirements are as follows.
1. I need to be able to pass managed bean information from one ADF Rich Faces based application to another (in two separate ears) at runtime (e.g. from Ear1: SenderApp/Sender.jspx -> Ear2: ReceiverApp/Receiver.jspx).
2. I do not want to use the database as my applications need to be performant.
3. Serialization/de-serialization would fall pretty much under the database category. In other words, I like to avoid Serialization/de-serialization of the managed bean.
4. I cannot use query string due to security issues.
My question is as follows:
1. Is there any standard/architecture/best practices for data exchange of backing beans or other forms between two ADF Rich Faces based apps (in two separate ears)?
2. Has someone found anything similar to an applicationScope that works across applications?
I would appreciate any ideas.
Thanks very much,
Edited by: user11219846 on Jul 23, 2009 2:38 PM
Edited by: user11219846 on Jul 23, 2009 2:42 PM

Hi,
its not an ADF Faces problem, but not possible in Java EE. You can however fallback to vendor specific implementations like in WLS. From the WebLogic documentation : http://e-docs.bea.com/wls/docs103/webapp/sessions.html
Enabling Web applications to share the same session*
By default, Web applications do not share the same session. If you would like Web applications to share the same session, you can configure the session descriptor at the application level in the weblogic-application.xml deployment descriptor. To enable Web applications to share the same session, set the sharing-enabled attribute in the session descriptor to true in the weblogic-application.xml deployment descriptor. See “sharing-enabled” in session-descriptor.
The session descriptor configuration that you specify at the application level overrides any session descriptor configuration that you specify at the Web application level for all of the Web applications in the application. If you set the sharing-enabled attribute to true at the Web application level, it will be ignored.
All Web applications in an application are automatically started using the same session instance if you specify the session descriptor in the weblogic-application.xml deployment descriptor and set the sharing-enabled attribute to true as in the following example:
+<?xml version="1.0" encoding="ISO-8859-1"?>+
+<weblogic-application xmlns="http://www.bea.com/ns/weblogic/90";;>+
+...+
<session-descriptor>     
+<persistent-store-type>memory</persistent-store-type>+
+<sharing-enabled>true</sharing-enabled>+
+...+
+</session-descriptor>+
+...+
+</weblogic-application>+
Frank

Similar Messages

  • Error 33172 occurred at Read & Write data transfer between two or more PF2010 controller

    Hi,i need to do data transfer between two or more FP2010 controller.e.g. FP2010(A) & FP2010(B).
    FP2010(A) need to transfer the measurement (from its I/O module) to FP2010(B) to do the data analysis.These data transfer should be synchronous btw two controller to prevent data lost.
    From the vi used in the attachment,i encountered some problems at:
    (1) Error 33172 occurred while publishing the data.Can i create and publish data under different item name?
    (2) How to synchronies the read & write btw contorller?
    All controller are communicating with each other directly without the need of a host computer to link them together
    Is there any other method to do fast data transfer betwe
    en controller?

    Hi YongNei,
    You were succesful in omiting enough information to make it very difficult to answer!
    Please post your example.
    Please tell us what version of LV-RT you are using.
    Please define what you concider "fast data transfer".
    Have you concidered mapping the FP tags of FP2010(A) to FP2010(B) and vise versa?
    WHat exactly has to be syncronized?
    If you have something that is close to working, share that.
    Well, that as far as I can go with the info you have provided. Depending on the details, what you are asking could be anything from trivial to impossible with the currently available technology. I just can't say.
    It would probably be a good idea to start over with a fresh question (sorry) because not many people are going to know what a a "
    PF2010" is and I can not guarentee that I will be able to get back to you personally until next week-end.
    Trying to help you get an answer,
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • Data mismatch between two clients

    Hi,
    I have a query on data mismatch between two clients.
    For eg assume a functional consultant would have configured intially some 5 custom document types and captured that in a transport request (TR1234) and promoted from one system/client (in my case QG1/821) to another system/client (say QG4/821). Again he would have configured another 3 custom document types and put in a transport request (TR4567) and promoted it. The transport request TR4567 some how did not reach QG4/821. Hence it shows only 5 records in T003 table (document types table) in QG4/821 and 8 records in QG1/821. How do we identify which is the correct transport (in this case TR4567), so that this transport can be promoted to QG4/821, so that both QG1/821 and QG4/821 are in sync.
    Similary such a discrepancy exists for custom tables also. I am not able to catch hold of any basis people for inputs on this. Hence pls advise.
    Regards
    Vimal Kumar

    development objects can be compared using, Compare the active versions in both the system. (Use remote comparision)
    But this you have to maually check.

  • Wireless application for files exchange between two computers,pls Help

    Hi everyone,
    I need your help,pls.I have to make a wireless application for files exchange between two computers,but I don't know where to start from.I guess that this should be a client/server and after establishing a connection I have to be able to exchange files between each others.Please help me

    the wireless connection does not matter.
    This is a socket (client server as you said) same way.
    look out:
    http://java.sun.com/docs/books/tutorial/networking/index.html
    cya

  • Managed bean in both adfc-config.xml and faces-config.xml file

    hi,
    i can see that it's possible to declare managed bean in both adfc-config.xml and faces-config.xml file.
    is there any difference? which one is recommended?
    read here - http://www.jaypillai.com/tag/adf/
    but still not clear.
    thanks.

    Hi.
    As you know ADF is a framework based on JSF.
    In faces-config.xml you define general application manage beans. It offers you define manage beans for all application using JSF default scopes (application, session, request).
    In adfc-config.xml you define general application manage beans using ADF Scopes. It means that you can use JSF default ones including "view, pageFlow and backing".
    My recommendation is use only one point entry for your general manage beans. Use adfc-config.xml because allow you to use more scopes.
    Regards.

  • ADF Rich Faces Templates

    Using oepe 12.1.2.3 kepler 4.3.
    Tied to create a jsp page as in the tutorial
    Problem is cannot find ADF Rich Faces Page in JSP Templates Page of Preferences Dialog.
    When I click on the templates link, all the ADF rich faces are missing.
    How can i import these templates and why are they missing in the first place.
    Thank you

    Thanks for the update. I am using 12.1.2.3
    It seems that the tutorial manual needs to be updated since it says: "Right-click the WebContent node in the Project Explorer and select New > JSP file"
    and not ADF Page as you suggested.
    when I followed your suggestion, I did get the right templates but now I have run into another problem when trying to add the ADF faces form to the page.
    After selecting the login bean created earlier, pressing The form action button does not allow the creation of a navigation case as suggested in the  tutorial but gives
    a blank popup with the title "select an action outcome". There are no fields to fill the navigation case.
    thanks

  • Trinidad and ADF Rich Faces components::

    Hi!
    Does someone know about any problem while using Trinidad and ADF Rich Faces, or just the Trinidad components in JDev11g ?
    Thanx.
    Endy

    Endy,
    ADF Faces RC isn't supported in IE6, so that certainly wasn't the issue. I have inadvertently mixed Trinidad and ADF Faces RC components on a page and didn't run into issues, but I did correct that issue based upon comments from Frank/Shay on the forum. Bottom line is that while they may work (or appear to work) together, it's not a supported combination.
    Best,
    John

  • Create relation between two blocks which are based on different procedure

    Hiii
    How to create relation between two blocks which are based on different stored procedures in Oracle form??
    Pradhyumn Sharma

    hiii,
    I selected the common key deptno in both procedure.
    I created a relation between both procedure. but when i compile the form it give an error in ON-CHECK-DELETE-MASTER. My procedure are
    ==================================
    PACKAGE emp_pkg AS
    TYPE emprec IS RECORD(
    empno asg_emp.empno%type,
    ename asg_emp.ename%type,
    job asg_emp.job%type,
    sal asg_emp.sal%type,
    deptno asg_emp.deptno%type);
    TYPE emptab IS TABLE OF emprec INDEX BY BINARY_INTEGER;
    PROCEDURE empquery(block_data IN OUT emptab, p_deptno IN NUMBER);
    end;
    ====================================
    PACKAGE dept_rec IS
    type rec is record(dname asg_dept.dname%type,
         loc     asg_dept.loc%type,
         deptno asg_dept.deptno%type);
    type deptrec is table of rec index by binary_integer;
    PROCEDURE dept_rec1(block1 in out deptrec);
    END;
    ===================================
    In ON-CHECK-DELETE-MASTER
    CURSOR BLOCK9_cur IS
    SELECT 1 FROM dept_rec.dept_rec1 d
    WHERE d.DEPTNO = :BLOCK6.DEPTNO;
    identifier dept_rec.dept_rec1 must be declared.
    Regards
    Pradhyumn

  • ADF Rich Faces 11g vs Adobe Flex

    Hi,
    Can anyone list out the ADF Rich Faces components available and compare ADF Rich Faces 11g and Adobe Flex?

    I can't comment on Adobe Flex, but to answer the first part of your question:
    a) Complete list of ADF Faces RC components: http://jdevadf.oracle.com/adf-richclient-demo/docs/enhanced-tagdoc.html
    b) A demo of ADF Faces RC components: http://jdevadf.oracle.com/adf-richclient-demo/faces/components/index.jspx
    One thing to remember about "ADF" (as separate to just ADF Faces RC) and it's support through the JDeveloper IDE is it is completely end-to-end, meaning you can develop right from the database, to the mid tier business code through to the JSF front end.
    CM.

  • ADF Rich Faces in WebSphere 6.1

    I am having trouble in getting adf rich faces demo app up and running in WAS 6.1
    does adf rich faces work in WAS 6.1?
    below is the error I am getting when i deploy rcf-dvt-demo
    [4/28/10 23:08:26:609 CDT] 0000002f WebApp E Extension processor failed to initialize in factory: com.ibm.ws.jsf.extprocessor.JSFExtensionFactory@20f620f6
    java.lang.LinkageError: LinkageError while defining class: oracle.adfinternal.view.faces.bi.renderkit.graph.GraphRenderer
    Could not be defined due to: (oracle/adfinternal/view/faces/bi/renderkit/graph/GraphRenderer) bad major version at offset=6
    This is often caused by having a class defined at multiple
    locations within the classloader hierarchy. Other potential causes
    include compiling against an older or newer version of the class
    that has an incompatible method signature.
    any help is greatly appreciated
    Thanks
    Sagar
    Edited by: user502984 on Apr 28, 2010 8:40 PM
    Edited by: user502984 on Apr 28, 2010 9:22 PM

    Sagar,
    As you may know, ADF 11g apps are currently only certified/supported against Oracle WebLogic Server, so when you say "does it work in WAS 6.1," the answer is "maybe it might, but it's not documented nor supported."
    Have you looked at Re: How to run ADF application on Websphere 7.0
    John

  • IPad 2 and application based on adf rich faces components

    Hi,
    Seems that the web application based on ADF Rich Faces components (jDeveloper 11.1.1.5.0) don’t operate properly under the latest iPad 2( iOs 4.3.2, wb Safari).
    To reproduce, we can try to open oracle demo site - http://jdevadf.oracle.com/adf-richclient-demo/faces/index.jspx. A lot of javaScript errors will appear and the page not open.
    The first script error is "Result of expression [[objectDOMWindowConstructor]] is not a constructor", we faced with it in relation to mac os..No matter which web browser and iDeveloper version is used. On the previous iPad (iOs 4.2) there was not this problem.
    what does it mean? and how can it be fixed?

    See Framework Javascript failing on Safari in iOS 4.3.3
    There is no 'official' fix for this since this is a webkit bug on the safari included in iOS 4.3. There is a workaround but it requires a backport patch. You can do it yourself though as I detailed in the link I gave you above.

  • Master Data synchronisation between two Solution Manager systems

    Hi all,
    does anyone know if it is possible to synchronise master data (smsy, ibase and such) between two Solution Manager systems with standard jobs?
    Thanks!
    Regards

    I asked a likewise question on the OSS earlier and I was told
    "Use MDM" (which is a separate product and must be licensed separately).
    Markus

  • Data exchange between R/3 and CRM system.

    hello,
    how to list the data sources, function modules, user and cust exits through  which the data exchenge happens between R/3 system and CRM system?
    do we have any transaction to see the list of the master and transaction data that is exchenged across these systems?
    thanks in advance,
    swamy

    thanks markus,
    but from CRM system we are able to find out only the data exchange that is happening at that point of time.(only the list of tables /function modules that are exchanging the data is listed.)
    is there any way to get the information of the datasources mapped between these two systems?
    swamy

  • How to share objects between two ADF Faces servlet sessions

    I gather the application scope is one way to go for sharing data between sessions in an ADF application. Are there other more generic methods of sharing data between servlet sessions?
    For example, let's say we have a JDev 101.3 ADFBC/JSF app. (or JDev 11g for that matter). In this app we also register a servlet in web.xml. So two people log into this application and access this defined servlet, creating two instances of that servlet...I guess. Is there a way for those two instances/sessions to talk to each other? Pass data back and forth? Should I read about JMS? Or does application scope sound better? I guess a direct communication would be more tidy, than putting data on an application bulletin board, lilke application scope.
    Any thoughts?

    Hi,
    Only one instance of each servlet defined in web.xml gets created, not one per user. You're right about the sessions though, one per user is created. You're right on the other parts as well I think you could use application scope to do something like that, or the data base for that matter, depending on the use case.
    Regards,
    ~ Simon

  • Date difference between two dates

    hi All,
    i have to right a stored proc to find the difference between two dates. 
    for example of i give
    startdate as 4/1/2015 and enddate 14/1/2015
    i should get 1 year , 10 days and 0 months .
    i have tried the DateDiff function but it does not calculate the leap year.
    please help.

    DECLARE @from datetime
    DECLARE @to   datetime
    SET @from = '20150104  8:00'
    SET @to   = '20150114  10:30'
    SELECT DATEDIFF(minute,@from, @to) % 60 as Minutes
    SELECT (DATEDIFF(minute,@from, @to) / 60) % 24 as Hours
    SELECT DATEDIFF(minute,@from, @to) / (60 * 24) as Days
    SELECT DATEDIFF(month,@from, @to) as Months
    SELECT DATEDIFF(year,@from, @to) as Year
    Best Regards,Uri Dimant SQL Server MVP,
    http://sqlblog.com/blogs/uri_dimant/
    MS SQL optimization: MS SQL Development and Optimization
    MS SQL Consulting:
    Large scale of database and data cleansing
    Remote DBA Services:
    Improves MS SQL Database Performance
    SQL Server Integration Services:
    Business Intelligence

Maybe you are looking for

  • Read Only Harddrive problem

    I have a WD Elements Drive and just bought my first mac product! Mac Book Pro Retina. I transfered files from my friends mac onto the drive and now I want to work on it on my laptop but it says I can not write any files onto the disk. I tried to chan

  • Set a tabular field value using getElementById().value

    Hi I have tried everything and now I hope some of you can help me.!!! I have made a tabular report based on a query: and I want to copy the value of one field into another field on the same record when clicking on a edit-link field I have made. SELEC

  • How to I keep a Lightbox centered when scrolling?

    So I've built my portfolio page, and all is well, except for strange behavior with the lightbox that shows my videos. For some reason when I scroll the entire lightbox scrolls as well – it doesn't stay centered like one would hope. Well, the entire l

  • Quicktime plugin crashes in all browsers in XP

    I'm unable to play any Quicktime videos in the browser (using trailers.apple.com as a test). In both Chrome and IE, it doesn't even get to start playing the video, the browser just says that the plugin crashed. I also notice that if I go to Control P

  • Password for exchange refused

    I have carried a clean install of Lion - Have tired to set up my MS exchange account in Lion mail all goes well email address and accepted and server found. However the password box keeps appearing saying incorrect password. I have changed the passwo