IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
Expand all | Collapse all

Share common object between caf application

  • 1.  Share common object between caf application

    Posted Tue November 06, 2007 02:58 PM

    Hi,

    i have a situation where different caf application needs to access common object (pojo class), those object needs to be available at a “Portal Level” application scope.

    i was looking at the icontext inteface and saw that the Application_Scope is depracated so i’m wondering how i can achieve this.]

    Stephane Gingras


    #webMethods
    #webMethods-BPMS
    #MWS-CAF-Task-Engine


  • 2.  RE: Share common object between caf application

    Posted Tue November 27, 2007 05:42 PM

    DId you have a chance to look at this KB Article: “Sharing web services across Composite Applications”

    It discusses creating a Utility project (that has java types in it) that can be reused across different CAF applications.

    Now, if you’re trying to share common state across applications, you’ll have to use code like the following to get/set that common object:

    public static BreadcrumbModel getBreadcrumbModel(FacesContext facesContext) {


    #MWS-CAF-Task-Engine
    #webMethods
    #webMethods-BPMS


  • 3.  RE: Share common object between caf application

    Posted Tue December 18, 2007 01:05 PM

    Hi,

    the goal is to share common state across different CAF application,
    we did try the code example mention, but it does not work it seems only to make the common state shareable inside the calling application only.


    #MWS-CAF-Task-Engine
    #webMethods
    #webMethods-BPMS


  • 4.  RE: Share common object between caf application

    Posted Fri February 01, 2008 04:35 AM