Re: FindSO?

Hi,
You can, if you use the name server.
You could declare yourself your So on the nameserver and then
bind to the object using its name on the name server.
Beware not to do it systematically : the name server could
become a bottle neck. So you should manage a cache and rebind
only if you have a DistributedAccessException.
Hope this helps,
Daniel Nguyen
Freelance Forte Consultant
At 11:19 17/12/98 -0500, [email protected] wrote:
>
>
Is there a way to get an object reference to a service object by
name/string ?
In a connectorHandler, I'm trying to dynamically connect to the partition
of a Service Object wihtout having to hardcode a huge case statement and
know a compile time all possible SO's. Thanks in advance.
Rick Vaillancourt
Novalis Corporation
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>
[email protected]
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

Rick ,
You might want to use Forte's name services and
ObjectLocationMgr.
You partitions can dynamically register the names of
anchored
objects with Forte's name service. The name service
then manages
information about the object's name and the internal
address in
the environment. Other partitions can subsequently find
and
connect to registered named objects.
Take a look at "Using ObjectLocationMgr" online help
topic and you
will find all you need!
Best wishes,
Ajith Kallambella. M
Forte Systems Engineer,
International Business Corporation.
-----Original Message-----
From: [email protected]
[mailto:[email protected]]
Sent: Thursday, December 17, 1998 11:20 AM
To: [email protected]
Subject: FindSO?
Is there a way to get an object reference to a service
object by
name/string ?
In a connectorHandler, I'm trying to dynamically
connect to the partition
of a Service Object wihtout having to hardcode a huge
case statement and
know a compile time all possible SO's. Thanks in
advance.
Rick Vaillancourt
Novalis Corporation
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive
<URL:http://pinehurst.sageit.com/listarchive/>
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

Similar Messages

  • Re: Re: [Fwd: FindSO?]

    Geoff,
    Sean Brown mentioned that 3J has removed these limitations. To remove the
    limitations manually in any other 3.x prior to 3J, set the CFG:DO:17 flag.
    -Dustin
    From: Geoff Puterbaugh <[email protected]>
    Date: Thu, 17 Dec 1998 15:31:58 -0500
    Subject: Re: [Fwd: FindSO?]
    Sameer,
    You said that we can use the ObjectLocationMgr with
    Service Objects. That has not been my experience.
    In fact, I feel that the whole documentation section
    for the ObjectLocationMgr is missing the following:
    WARNING: This service may NOT be used to publish or
    find objects created by Forte. These all reside in
    the reserved name-space "/forte". This service may
    only be used to publish and find user-defined objects.
    But I am only speaking from one afternoon's experience
    a month or so back.
    All my best,
    Geoff
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

    Geoff,
    Sean Brown mentioned that 3J has removed these limitations. To remove the
    limitations manually in any other 3.x prior to 3J, set the CFG:DO:17 flag.
    -Dustin
    From: Geoff Puterbaugh <[email protected]>
    Date: Thu, 17 Dec 1998 15:31:58 -0500
    Subject: Re: [Fwd: FindSO?]
    Sameer,
    You said that we can use the ObjectLocationMgr with
    Service Objects. That has not been my experience.
    In fact, I feel that the whole documentation section
    for the ObjectLocationMgr is missing the following:
    WARNING: This service may NOT be used to publish or
    find objects created by Forte. These all reside in
    the reserved name-space "/forte". This service may
    only be used to publish and find user-defined objects.
    But I am only speaking from one afternoon's experience
    a month or so back.
    All my best,
    Geoff
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

  • Re: [Fwd: FindSO?]

    Hi Rick,
    You can use the Forte ObjectLocationMgr to dynamically register and bind
    to named, anchored objects (which may be service objects). The SCAFFOLDS
    2.0 RouteManager (Custom Router) uses this mechanism to determine the
    ExecutionManager (typically a service object) to route to, at run time.
    However, there are some issues that you need to consider before going
    with this approach. The primary disadvantage of not directly using a
    ServiceObject reference in Forte is that Forte failover only kicks in
    when you directly call out to a ServiceObject that is absent from the
    current environment. A direct call to the ServiceObject is also required
    at application startup of deployed applications if you do not pre-start
    your server partitions.
    The SCAFFOLDS custom routing mechanism accounts for all these issues
    while still providing you with the dynamic ServiceObject determination
    that you are looking for. You can provide the routing rules by either
    using one of the RouteModules out of the box, or by writing your own
    RouteModule.
    If you give some more details about your scenario, I will be happy to
    make further recommendations.
    Is there a way to get an object reference to a service object by
    name/string ?
    In a connectorHandler, I'm trying to dynamically connect to the partition
    of a Service Object wihtout having to hardcode a huge case statement and
    know a compile time all possible SO's. Thanks in advance.
    Rick Vaillancourt
    Novalis Corporation
    Sameer Vaidya
    SCAFFOLDS Engineer
    Sage IT Partners
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

    As of release 3J there is an easier way to do this that used to be hidden.
    I am hoping that the uncovering of this functionality was on purpose and not
    by accident meaning it may go away later!? But, it is now possible to use
    the name service to look up a service object directly. This used to require
    setting an unsupported configuration flag but appears to no longer require
    this.
    You use bindobject as you would with a named anchored object but supply the
    path to your service object. The path is in the form:
    'site/ServerProjectName_cl#/ApplicationName_cl#-ServiceName'
    Using this method, fail-over and load balancing will worked as advertised!
    This is not the case when you bind to a named anchored object.
    One catch is that the service can only be found under the name above when it
    has actually been deployed. The path is different when you are running from
    the workshops. I am assuming that direct binding will work in that
    circumstance as well as long as you provide the correct path. However, I
    have not tested it.
    Hope this helps!
    Sean
    Cornice Consulting Inc.
    mailto:[email protected]
    -----Original Message-----
    From: [email protected]
    [<a href="mailto:[email protected]">mailto:[email protected]]On</a> Behalf Of Sameer Vaidya
    Sent: Thursday, December 17, 1998 12:02 PM
    To: [email protected]
    Cc: Tim E. Hall; [email protected]; [email protected]
    Subject: Re: [Fwd: FindSO?]
    Hi Rick,
    You can use the Forte ObjectLocationMgr to dynamically register and bind
    to named, anchored objects (which may be service objects). The SCAFFOLDS
    2.0 RouteManager (Custom Router) uses this mechanism to determine the
    ExecutionManager (typically a service object) to route to, at run time.
    However, there are some issues that you need to consider before going
    with this approach. The primary disadvantage of not directly using a
    ServiceObject reference in Forte is that Forte failover only kicks in
    when you directly call out to a ServiceObject that is absent from the
    current environment. A direct call to the ServiceObject is also required
    at application startup of deployed applications if you do not pre-start
    your server partitions.
    The SCAFFOLDS custom routing mechanism accounts for all these issues
    while still providing you with the dynamic ServiceObject determination
    that you are looking for. You can provide the routing rules by either
    using one of the RouteModules out of the box, or by writing your own
    RouteModule.
    If you give some more details about your scenario, I will be happy to
    make further recommendations.
    Is there a way to get an object reference to a service object by
    name/string ?
    In a connectorHandler, I'm trying to dynamically connect to thepartition
    of a Service Object wihtout having to hardcode a huge case statement and
    know a compile time all possible SO's. Thanks in advance.
    Rick Vaillancourt
    Novalis Corporation
    Sameer Vaidya
    SCAFFOLDS Engineer
    Sage IT Partners
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:<a href=
    "http://pinehurst.sageit.com/listarchive/">http://pinehurst.sageit.com/listarchive/</a>>
    >
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:<a href=
    "http://pinehurst.sageit.com/listarchive/">http://pinehurst.sageit.com/listarchive/</a>>

  • I backed up my ipod during a windows backup.  how do i find those ipod files(not itunes) in the windows backup files? i've tried searching and i can't find

    i backed up my ipod during a windows backup.  how do i find those ipod files(not itunes) in the windows backup files? i've tried searching and i can't find

    so i plugged in my ipod and it asked if i wanted to backup the files before restoring it. 
    Do you mean iTunes asked if you wanted to backup files before restoring? If so the it is in the location I posted. You don't need to navigate to the backup. Once your restore your iPod it will ask if you want to restore from a backup and present you with the backups made before hand.
    To restore information from a backup, use one of the following methods after connecting your iOS device to the computer with which you normally sync:
    -Click the File menu and select Devices > Restore from Back up.
    Or
    -Open the iOS device's Summary tab. There are two ways to access this:
    -Click the device button in the upper right corner. (If viewing the iTunes Store, click the Library button in the upper right corner. The device button will then be visible.)
    -From any view in iTunes, click the View menu and select Show Sidebar. Select your iOS device in iTunes under Devices.
    -Click the Restore Backup button.

Maybe you are looking for

  • Non-existant photo links?

    Hi all I have an N96 (firmware version 12.043) and I have a weird problem with it. When I go into the photo gallery, I have loads of boken links to photos that don't actually exist on the phone (they were on the memory card previously, but I have sin

  • Problem in makin forms in jsp

    the problme what i am getting is that. we have fetch data from database which are Questions. now the problme is that when a user click on a question they will get a new page with that particular question with a input ANS field. so for that we are mak

  • Can any one tell me?

    Why do I need Intel Proset wireless SW on my T540p. I have it installed, but I think it is not activated yet, b/c when I open the Control panel and click on the Intel ProSet wireless icon, a window opens up asking me if I want to import wireless sett

  • Mac Book Pro Airport Spotty

    Having a prob with my Mac Book Pro. The airport connection seems intermittent. It will see the wireless router (ATT based). It has the password and should connect but does not. However the Powerbook g4 (work comp) right next to it has NO problems con

  • I down loaded iMessage for mac, but when i try to register it it say the server encountered an error processing registration. please try again later, it has been doing this all night,

    I down loaded the new imessage for mac from the mountain lion, free trial, but when i try to sign in it says the server encountered an error processing registration. Please try again later. I have put it on my other mac, and no problems with it, i ha