Sharing Functions Across Applications(containers)

Can anyone help with a final word on sharing functions between
applications?
I have read many conflicting accounts on the ability in 6i to share
objects across application systems through the use of common functions,
global process steps, referencing, or shortcuts. Best case scenario, I
would like to share functions across containers, include these functions
in multiple process models, and be able to create process flows between
functions. Is this possible? Is the bug 1787721 which doesn't allow
common functions across applications a true bug, or is this the new
functionality in 6i?
Thanks for the help.

Hi Cynthia,
If I understood, you want to know what the steps you need to
follow to share a object, but before it, you need to know a
basic new characteristc at the Designer6i.
The basic characteristc that you must know is that you don't
share objects to application from other one anymore, you create
a reference to other objects in another Application from other
one that already exists. Althoug you must pay attention that you
can create references to objects between applications when they
are in the same Workarea.
It's too simple.
Put the cursor on the Application that want to create reference
from a previous existing object. Choose the option "Create
Reference". Choose the object that you want to reference (Use
the filter if you want) and than it will be work.
I hope that I had to help you.
Regards,
Marcos Vinmcius B. Xavier
E-mail : [email protected]

Similar Messages

  • Sharing view objects across application modules

    Our application uses multiple application modules because of the complex functional requirements. We have come across sharing view objects among application modules. I want to understand the best practice, sharing view object instances across application modules. These view objects can be based on Entity Objects also.
    Please let me know if there any suggestions.
    Thanks,
    Satya

    Hi Satya,
    You won't be able to share view objects between application modules, but what you can do is to share the bind variables between application modules, if each of your module contains the 'common' view object.
    A solution for sharing data between application modules is provided on this blog: http://andrejusb.blogspot.co.uk/2012/05/solution-for-sharing-global-user-data.html
    You can use this approach to share bind variables between AM's and re-query the same data.
    Hope this helps,
    Florin Marcus
    www.redsamuraiconsulting.com

  • Sharing of Objects across applications

    Hi,
    Is it possible to reference an object initialized by another application?
    For example, I have a Logger object that I instantiated from App1. Then I decided to come up with App2. I want to use in App2, the same logger innstance I am using in App1. Of course, assuming that App1 is running. If not, App2 shall create the Logger object and when App1 is run, App1 now shall reference the Logger object App2 created.
    I guess what I am pointing out here is how sharing of objects across application can happen in Java.

    There is no direct support for this in JVM - you cannot reference object created by JVM#1 from JVM#2 playing fair game =)
    If you need 100% pure JAVA solution the only way to do it is to use
    networking, either RMI (as it was already suggested) or coding your own TCP protocol. Main drawback - it'll be slow.
    For faster access you'll need to use JNI and some sort of interprocess communication method - shared memory/messages/etc. This might be faster (there will be no TCP/IP marshaling) but it'll be more combersome to support it for different OS.

  • SSO - session time out while navigating across applications

    Hi,
    Problem statement
    Handling session time out while navigating across applications involving SSO
    Current approach
    Application 1
    1. Create session1.
    2. URL rewrite the sesssion ID1 into the link refering to App2.
    Application 2
    1. Create session2
    2. Get the session Id of App1.
    3. send the session ID of App1 in the header
    4. Invalidate the session2
    Application 1
    Get the ID from request and invoke getSession.
    I'm having a very large session timeout at App1.
    Is there a better approach. Ex: Having global session which is shared across multiple
    webapplications.

    "madhav" <[email protected]> wrote:
    >
    Hi,
    Problem statement
    Handling session time out while navigating across applications involving
    SSO
    Current approach
    Application 1
    1. Create session1.
    2. URL rewrite the sesssion ID1 into the link refering to App2.
    Application 2
    1. Create session2
    2. Get the session Id of App1.
    3. send the session ID of App1 in the header
    4. Invalidate the session2
    Application 1
    Get the ID from request and invoke getSession.
    I'm having a very large session timeout at App1.
    Is there a better approach. Ex: Having global session which is shared
    across multiple
    webapplications.
    I have similiar problems in my system. What do you do if the session 1 times out
    during ongoing operations in App 2 ?
    Thanks
    Kejuan

  • Cross-application sharing problem in Application Server(OC4J)

    I use OC4J 9.0.3 version.
    Cross-application sharing.
    The "parent" declaration is made in the <application> tag within server.xml.
    these appear as follows:
    <application name="A" path="a.ear" />
    <application name="B" path="b.ear" parent="A" />
    The structure of an a.ear file is:
    a.ear
    - META-INF
    - a.war ---- a.jsp
    ---------- WEB-INF --- web.xml
    ------------------------- classes
    ------------------------- lib ---- util1.jar, util2.jar
    The structure of an b.ear file is:
    b.ear
    - META-INF
    - b.war ---- b.jsp
    ------------ WEB-INF --- web.xml
    ----------------------------classes
    ----------------------------lib --- util3.jar, util4.jar
    when b.jsp call b class in util3.jar and b class call a class(PosFinexMonitoringMgr) in util1.jar
    I have following error :
    "java.lang.NoClassDefFoundError: com/.../.../.../.../app/tasks/PosFinexMonitoringMgr"
    Has anyone else have solution to solve this problem?
    maybe, must I declare Class-Path attribute of manifest.mf in util3.jar?
    then, how to declare Class-Path attribute?
    like this ?
    Class-Path : ../../../../a/a/WEB-INF/lib/util1.jar
    Thanks,
    Taihoon Lee

    Hello,
    I was just wondering if the approach mentioned above is the correct one for sharing libraries across different applications.
    Very similarly, we have more than one ear modules in our project. (up to 10 or more) These ear's contain web and ejb modules. Since libraries used for any web application (i.e. jsf implementation libs) are included in every ear, our goal was to put them in a common ear and point web application's class loader to this directory.
    However, I couldn't make this happen, with adding them to manifest file of war, or assigning the common ear as the parent of other ears.
    Although it's for oas9i, I read the whitepaper, it's ok with adding the common libraries to one ear and share libraries across different war files under this ear, across the applications, I couldn't make it possible.
    The application server version we use is 10.1.3.3. I can give you more details on our implementation, if you would approve that such an approach like this is acceptable.
    Many thanks & regards,
    Ece

  • Sharing accounts across 2 plan types  - Planning 9.3.1

    This is my first attempt to share accounts across 2 plan types and I am not getting expected results. In the setup, account 1234 was assigned to both Plan A and plan B with the "source plan type" as Plan B. When I create a form for Plan B, everything looks good and I can input data into account 1234. Then I created a similar form for Plan A using the same account. With all other dimensions being the same, I expect that I would see the data input for Plan B, account 1234 in the Plan A form as a read only field.
    Are my expectations incorrect? If so, then I don't understand the benefit of sharing accounts across multiple plan types.
    Any insight is greatly appreciated.

    One benefit would be how you use the same data in one plan type against the other. A simple example:
    Let's say in your example Plan B represents Revenue and Plan A represents Expense - one way some people design Planning applications. Let's also say that your company calculates expense as a percent of revenue.
    The revenue group enters revenue figures into acct 1234 into the Plan B form.
    When the expense group pulls up the Plan A form, which also shows acct 1234 (but as read-only), they can now calculate against it. So an expense user can enter % values into some other acct in Plan A, "Exp % Rev", and have it calculate against the read-only acct 1234 being x-ref'ed from Plan B.
    Plan B Form:
    ___________Jan__Feb
    "acct 1234"_100__100 (input)
    Plan A Form:
    ____________Jan___Feb
    "acct 1234"___100__100 (read-only)
    "Exp % Rev"__5%___5% (input)
    "Rev Exp"_____5____5 (calculated)
    The benefit here is that no data movement or copy is necessary between plan types for this to work, assuming the x-ref is dynamically calculated. Users can see data in both places.
    This is just a simple example, however, and may not make sense in all situations.
    Hope that helps!
    -O

  • Can home sharing function work in the same school wifi environment?

    Hi, there:
       I'm wondering can I use home sharing function on campus (same building, same school wifi) between two mac (mac mini & macbook pro)? I truned on both home sharing funciton using the same Apple ID, but it didn't work. Does it mean I cannot use this function in school? If it's workable, how should I do?

    That is really crappy. Oh well thank you

  • Please, Help me.. !!  ((Can not support NAS or shared folder ? (Application Directory)))

    I need to set up application directory in NAS or Network
    Shared Folder.
    How can I do that ?
    In the fms.ini file.
    VHOST.APPSDIR = z:\myapps => z:\ is shared folder
    then,
    Application directory does not exist : z:\myapps
    please, I want to fix the problem..
    bye.

    I have the same issue. My NAS is CIFS mounted and I can only
    access it using a specific user. The thread below suggests that I
    may have to change FMS to run under that user, but this doesn't
    look easy. I'll let you know how I get on.
    http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?catid=578&threadid=1220842&me ssid=4394726
    This isn't a rare setup - can anyone provide better
    pointers?

  • Shared components between applications

    There are ways to create shared components between applications?
    Example:
    menu list shared between multiple applications.
    Version Apex: 4.0.1

    I would seriously question why you want to export pages from dev to qa or qa to prod. Why you are NOT looking at using a version control system and exporting from that to the different environments would be a good question to tackle...
    Anyone who use the approach of copying pages between environments is just asking for trouble, since there WOULD and Could be the chance of NOT migrating all changes between environments that have occurred between versions..
    I for one would be VERY leery of such process, and have dealt with a shop like this.. Glad I am NOT There anymore..
    Thank you,
    Tony Miller
    Ruckersville, VA

  • Can shared components be shared among different applications within APEX

    Can shared components be shared among different applications within APEX ?
    -Louis Rosa
    Florida Center for Library Automation (FCLA)
    Gainesville,FL

    Not entirely true.
    Some like LOVs, Authorizations, Authentications can be shared amongst applications in the same workspace.
    Varad

  • Deployment order across applications

    I have a web app that implements ServletContextListener. This app on deployment
    looks for an ejb on another app. How do I tell weblogic to deploy the web app
    before the ejb app. These two have to be different applications. I cannot combine
    them into the same ear. I am not able to find ways to identify deployment order
    across applications. Any thoughts.
    Any ideas on other approaches if this is not possible will be greatly appreciated.
    Thanks in advance.

    We don't want the dependency between the EAR application and this web app. We also
    plan to deploy this web app on multiple boxes that will require only a servlet
    container and will not require an app server. Also the EAR app will be deployed
    on multiple boxes and we do not want the extra overhead of this web app. Hope
    this answers your question.
    Do you know of any alternative approach to this problem since I do not see having
    deployment ordering across apps in weblogic.
    Thanks.
    Gajendra Sanil
    "Dimitri I. Rakitine" <[email protected]> wrote:
    I'm curious, why you cannot deploy your EJBs and WAR in the same EAR?
    Deploying them separately will result in a very serious performance
    penalty because local RMI optimization will not be used.
    Gajendra Sanil <[email protected]> wrote:
    I have a web app that implements ServletContextListener. This app ondeployment
    looks for an ejb on another app. How do I tell weblogic to deploy theweb app
    before the ejb app. These two have to be different applications. Icannot combine
    them into the same ear. I am not able to find ways to identify deploymentorder
    across applications. Any thoughts.
    Any ideas on other approaches if this is not possible will be greatlyappreciated.
    Thanks in advance.--
    Dimitri

  • Functions of Application servers

    Hi all,
    How the Application Servers are different from Database server
    What are functions of Application Servers

    Names should be self-explanatory :
    Database server contains Databases, which contains data. Application server contains applications (programs), which are executed by Clients, normally through a browser, and connect to DB servers to process data.
    Paul

  • What can I use to get shared media across OSes on my local network?

    Hey guys,
    My family is getting a new home entertainment center and I've thrown together a PC from spare parts around the house to put behind it and I'd like to know if there's a program out there that would allow me to gather shared media across the local network (everyone else in my family uses Windows...mainly Vista   :-/ ).  If not, is there any other way I can access the shared media (short of putting Windows on the PC of course)?  I tried searching, but I couldn't seem to come up with anything.
    Thanks in advance!

    Alright, so I've been working with Samba today, and I believe I have it working properly.  However, I can't seem to access any shared files/folders on machines that have Vista on them.
    When I run smbtree, I get this output:
    \\HOMEMEDIA
    \\WINXPCOMP
    \\VISTACOMP1
    timeout connecting to 192.168.1.107:445
    timeout connecting to 192.168.1.107:139
    cli_start_connection: failed to connect to VISTACOMP1<20> (0.0.0.0). Error NT_STATUS_ACCESS_DENIED
    \\VISTACOMP2
    timeout connecting to 192.168.1.105:445
    timeout connecting to 192.168.1.105:139
    cli_start_connection: failed to connect to VISTACOMP2<20> (0.0.0.0). Error NT_STATUS_ACCESS_DENIED
    \\WIN7PC
    I'm not really sure what to do here.  I've tried changing around settings in the smb.conf file, but I'm not really sure what exactly it is that I'm doing for every option.  Also, smbtree sometimes won't output a tree at all and it will just hang.  I'm quite confused, any suggestions on what I should try?
    Also, one of my Windows 7 PCs won't show up on smbtree.  I can ping it though...maybe it's not on the right workgroup?
    EDIT:  I was able to fix the problem with my second Windows 7 computer, apparently I had to change from 128-bit encryption to 40/56 bit encryption, then smbtree was able to pick up on it.
    Last edited by celestialorb (2009-09-02 04:54:27)

  • Calling Function across Classes

    How do I call a function across classes?
    I have a primary class ("ChordLib.as") that contains a function that manages options for TileList component, that includes prescribing a custom Cell Rendering class, "MyRenderer".  I want to be able to call a function in the primary "ChordLib.as" class from the "MyRenderer.as" class.  Here is the function in "ChordLib" that refers to the "MyRenderer" class. Perhaps there is a way here to pass reference of the primary class into "MyRenderer"?
    // SET CHORD LIST  //////////////////////////////////////////
    public function setChordList(song:int):void {
    var dpChords:DataProvider = new DataProvider();
    var i:uint;
    // determine chord set
    if (song == -1) {
         activeChords = allChords;
    } else {
         activeChords = songChordSets[song];
    // fill dataProvider
    for(i=0; i<activeChords.length; i++) {
         var tt = activeChords[i];
         dpChords.addItem({ label:tt, source:ChordBar, data:i, scaleContent:true }); 
    chordList.dataProvider = dpChords;
    chordList.columnWidth     = 70;
    chordList.rowHeight     = 30;
    chordList.direction = ScrollBarDirection.VERTICAL;
    chordList.setStyle("contentPadding", 5);
    chordList.setRendererStyle("imagePadding", 0);
    chordList.scrollPolicy  = ScrollPolicy.ON;
    // set style for labels
    chordList.setRendererStyle("textFormat", textFormat1);
    // set the background skin
    chordList.setStyle("skin", lightBackground);
    //set the cell renderer
    chordList.setStyle("cellRenderer", MyRenderer);
    This last line ("chordList.setStyle("cellRenderer", MyRenderer);") refers to this custom class, that includes some event listeners:
    package {
       import fl.controls.listClasses.ICellRenderer;
       import fl.controls.listClasses.ImageCell;
       import flash.events.*;
       public class MyRenderer extends ImageCell implements ICellRenderer {
          public function MyRenderer() {
                this.buttonMode    = true;
              // set state skins to same skin so background is static
              setStyle("upSkin", lightBackground);
              setStyle("downSkin", lightBackground);
              setStyle("overSkin", lightBackground);
              setStyle("selectedUpSkin", lightBackground);
              setStyle("selectedDownSkin", lightBackground);
              setStyle("selectedOverSkin", lightBackground);
              // turn off text background by setting to 0
              setStyle("textOverlayAlpha", 0);
              setStyle("textPadding", 7);
                // event listeners
                this.addEventListener(MouseEvent.CLICK, clickHandler);
                this.addEventListener(MouseEvent.MOUSE_OVER, mouseOverHandler);
                this.addEventListener(MouseEvent.MOUSE_OUT, mouseOutHandler);
           // EVENTS
           private function clickHandler(event:MouseEvent):void {
           private function mouseOverHandler(event:MouseEvent):void {
           private function mouseOutHandler(event:MouseEvent):void {
    I want to insert calls to functions that are in the primary class (that contains the first function listed here), "ChordLib.as".
    How do I do this?

    In order for ClassA to call a function of another ClassB (or instance of it) it needs to be aware of two facts: 1) That ClassB does exist and 2) that ClassB has a particular function.
    Another approach could be establishing communication between classes via events.
    From you explanation it is not clear what you want to accomplish. Do you need to call a function on Class itself or an instance of this Class?
    If former - you need to create a static function and just call it:
    inside ClassB:
    public static function classBFunction()
    ClassA can call it:
    ClassB.classBFunction()
    If you need to call the function on an instance - you, naturally, need to instantiate the class and only then call the function.
    Say you have function inside ClassB
    public function classBAnotherFunction() - note that there is no word static
    There is another fork here: either you instantiate the ClassB inside ClassA or you pass a reference of the instance of ClassB into ClassA

  • HT1349 Cannot enable my sharing function.  Error 5506

    Cannot enable home sharing function. Used to work fine, now it does not. No changes have been made recently that might have caused this that I'm aware of. I have rebooted the computer, rebooted the network router, reset my Apple ID and password and turned Itunes off and on multiple times. I am trying to connect to my Apple TV. I am now getting an Error 5506 message. Any ideas?

    You mean services.msc, and I cannot start this service, I have tried per above and failed.  SSPD and UPNP start with out a hitch, however I get the error from event log with windows media sharing service:
    Service 'WMPNetworkSvc' did not start correctly because QueryService encountered error '0x80070002'. In Windows Media Player, turn off media sharing, and then turn it back on.
    Scouring the internet did not find much nor Technet... I used to be able to see network devices for sharing at one time... this has disappeared during one of the windows updates... I dont know when as I just hooked back up the 360.  Any help on this would be appreciated.  More info below:
    Frendly view: 
    System
    Provider
    [ Name]
    Microsoft-Windows-WMPNSS-Service
    [ Guid]
    {6A2DC7C1-930A-4FB5-BB44-80B30AEBED6C}
    [ EventSourceName]
    WMPNetworkSvc
    EventID
    14325
    [ Qualifiers]
    49165
    Version
    0
    Level
    2
    Task
    0
    Opcode
    0
    Keywords
    0x80000000000000
    TimeCreated
    [ SystemTime]
    2008-12-21T00:15:47.000Z
    EventRecordID
    75284
    Correlation
    Execution
    [ ProcessID]
    0
    [ ThreadID]
    0
    Channel
    System
    Computer
    stormrunner-V
    Security
    EventData
    ServiceName
    WMPNetworkSvc
    ErrorCode
    0x80070002

Maybe you are looking for