Re: (forte-users) Service Object

 

what about subclassing it and putting the agent stuff in there
Matthew Middleton Ph: +61 2 9239 4972
Oryx Software Consultant Fax: +61 2 9239 4900
Lawpoint Pty. Ltd. E-mail matthewmwriteme.com
----- Original Message -----
From: Ramarao Pabbaraju <RPabbarajulmimsno.com>
To: <kamranaminyahoo.com>
Sent: Tuesday, February 29, 2000 9:02 AM
Subject: (forte-users) Service Object
Hi,
We have a class X which we would like to use it for service object andalso
to instantiate it locally to call some methods. We would like to have
system agents for the service object, but not for objects instantiated
locally. In other words, if the object is used for service object, only
then we want the agents (customized) to be initialized. How do we find out
whether it is service object in Init method self? Service objectproperties
(like isAnchored) or attributes (given from ServiceObject
properties/initial values window) are set only at the end of init method.
One workaround we could think of is start a task at the end of init method
and also delay the execution of method. Is there any clean way of doing
this?
Thanks in advance,
Ramarao
IonIdea
For the archives, go to: http://lists.xpedior.com/forte-users and use
the login: forte and the password: archive. To unsubscribe, send in a new
email the word: 'Unsubscribe' to: forte-users-requestlists.xpedior.com

Similar Messages

  • Re: (forte-users) HTTP request through proxy server

    Daniel -
    No, it does not. ;)
    How do you say to HTTPRequest to go through proxy?
    Thanks,
    Taras
    Daniel Nguyen wrote:
    >
    Hi,
    It works very well. I have experienced this model for a distant Forte client
    calling a Forte Server service Object for instance without any environment
    and without TCP access (passing through firewall for instance).
    It has also worked very well to make an injectot to improve Web Enterprise
    and IIS using the SendRequest from HTTPAccess.
    Hope this helps,
    Daniel Nguyen
    Freelance Forte Consultant
    http://perso.club-internet.fr/dnguyen/
    Taras Katkov a &eacute;crit:
    HTTP request through proxy server using forte HTTP library?
    Any experience?
    Thanks,
    Taras
    For the archives, go to: http://lists.xpedior.com/forte-users and use
    the login: forte and the password: archive. To unsubscribe, send in a new
    email the word: 'Unsubscribe' to: forte-users-requestlists.xpedior.com--
    For the archives, go to: http://lists.xpedior.com/forte-users and use
    the login: forte and the password: archive. To unsubscribe, send in a new
    email the word: 'Unsubscribe' to: forte-users-requestlists.xpedior.com

    You can also use the HTTP-DC project.... You don't
    need Web Enterprise for this. From what I can tell,
    this is available in L.x on....
    There is api documentation in M.2 (with scant
    examples.)
    There's a special process to put the project in your
    repository (it isn't installed in the repository in
    the standard install,) the documentation in M.2
    (probably in M.0 too, AFAIK) that tells you how to do
    this (look for HTTP-DC in the online help.)
    I haven't done much with it yet, I've just installed
    it. If anybody out there has examples, that'd be
    great. I'll try to contribute more the moment I get a
    chance to explore it....
    Christopher Fury
    BellSouth Communications Systems
    --- Daniel Nguyen <dnguyenclub-internet.fr> wrote:
    Hi,
    If you have Web Enterprise, you can user
    HttpAccess.SendRequest().
    Hope this helps,
    Daniel Nguyen
    Freelance Forte Consultant
    Amin, Kamran a &eacute;crit:
    Is there any way to make a HTTP request from TOOLto another HTTP Service?
    thanks in advance.
    For the archives, go to:
    http://lists.xpedior.com/forte-users and use
    the login: forte and the password: archive. Tounsubscribe, send in a new
    email the word: 'Unsubscribe' to:forte-users-requestlists.xpedior.com
    For the archives, go to:
    http://lists.xpedior.com/forte-users and use
    the login: forte and the password: archive. To
    unsubscribe, send in a new
    email the word: 'Unsubscribe' to:
    forte-users-requestlists.xpedior.com
    Kick off your party with Yahoo! Invites.
    http://invites.yahoo.com/

  • RE: (forte-users) R: (forte-users) ASP andForté

    I think you should also be able to publish the Forte Service Objects as DCOM
    services. Then you can access them from within VB-scripts.
    Pascal Rottier
    Atos Origin Nederland (BAS/West End User Computing)
    Tel. +31 (0)10-2661223
    Fax. +31 (0)10-2661199
    E-mail: Pascal.Rottiernl.origin-it.com
    ++++++++++++++++++++++++++++
    Philip Morris (Afd. MIS)
    Tel. +31 (0)164-295149
    Fax. +31 (0)164-294444
    E-mail: Rottier.Pascalpmintl.ch
    -----Original Message-----
    From: Massimiliano Delsante [mailto:delsanteotconsulting.com]
    Sent: Friday, February 23, 2001 9:54 AM
    To: BOLIVARD Kenny; forte-userslists.xpedior.com
    Subject: (forte-users) R: (forte-users) ASP and Fort&eacute;
    Hi Kenny,
    I suggest you to use XML in order to publish your Fort&eacute; services.
    There is a Fort&eacute; Library called HTTPDC that let you start up a listener that
    answer to HTTP Request.
    So you will have a ASP/Fort&eacute; integration via HTTP/XML
    Hope this helps.
    ----- Original Message -----
    From: BOLIVARD Kenny <BOLIVARDPREVIADE.FR>
    To: <forte-userslists.xpedior.com>
    Sent: Friday, February 23, 2001 8:43 AM
    Subject: (forte-users) ASP and Fort&eacute;
    Hi everybody!
    I'm a new Fort&eacute; developer, so i have some question about it, speciallyone:
    I want to access Fort&eacute; service objects through an ASP script. To be more
    precise, I want to get back some informations (like, for exemple, the
    information of a customer's account) from the Fort&eacute; world and to make-upthe
    web page in my ASP script.
    Is it possible writing an ASP script (in VisualBasic for example) witch
    calls Fort&eacute; service objects?
    How can I do that? Maybe by using Web Enterprise's libraries, but itseems
    to me that Web access service objet returns only HTLM pages.
    Any suggestions and explanations would be appreciated.
    Thank's in advance for your replies,
    Kenny,
    PREVIADE.
    France.
    Ps: Sorry for my bad english. ;))
    For the archives, go to: http://lists.xpedior.com/forte-users and use
    the login: forte and the password: archive. To unsubscribe, send in a new
    email the word: 'Unsubscribe' to: forte-users-requestlists.xpedior.com
    For the archives, go to: http://lists.xpedior.com/forte-users and use
    the login: forte and the password: archive. To unsubscribe, send in a new
    email the word: 'Unsubscribe' to: forte-users-requestlists.xpedior.com

    Il suffit de mettre les BTD/BTX sur un drive r&eacute;seau (net use X:
    \\server\share_point),
    puis d'installer des ic&ocirc;nes pour les clients: ftexec -fi bt:x:\MyApp.
    Pour que les noeuds ne s'auto-enregistrent pas, peut-&ecirc;tre mettre un password
    Ou bien d&eacute;finir les noeuds comme un 'groupe' et donc seul le groupe est
    connu.
    Si mettre le mot de passe suffit pas, et si vraiment le model node g&ecirc;ne,
    alors il
    faut un autre environment manager.
    I think that to avoid install, the software could be located on a shared
    drive,
    and users linking to it through running 'ftexec' or directly the compiled
    binaries.
    For nodes not to appear in the environment as nodes, they could be defined
    as members
    of a model node '(which then would be in the environmnet)'
    Putting a password in the environment could prevent nodes to be registered
    there, but
    might prevent the apps from being executed.
    Cheers,
    j-paul gabrielli
    Sema DTS
    -----Message d'origine-----
    De: Thomas Felix [mailto:tfelixaxialog.fr]
    Date: mardi 2 mai 2000 14:14
    &Agrave;: forte-userslists.xpedior.com
    Objet: (forte-users)
    bonjour a tous
    je souhaites installer une application distribu&eacute;e sur des postes clients.
    Y'a t'il moyen de ne pas installer les noeuds de ces postes clients sur l'
    active environnement li&eacute; au d&eacute;veloppement et si oui comment?
    hi
    I would like to install an application on clients workstation
    Can i install this nodes in a different Active environnement than this one
    that we use for the developpement ?
    For the archives, go to: http://lists.xpedior.com/forte-users and use
    the login: forte and the password: archive. To unsubscribe, send in a new
    email the word: 'Unsubscribe' to: forte-users-requestlists.xpedior.com

  • RE: (forte-users) URL-based Config Info

    You can use xml over http to pass information between Forte and Java. You
    can use httpdc/httpsupport(Forte3.5) library to send and receive using http
    in Forte and use servlets in java.
    ka
    -----Original Message-----
    From: Lapeyre, Michael [mailto:Mike.LapeyreONSTAR.com]
    Sent: Tuesday, November 21, 2000 7:04 PM
    To: 'forte-userslists.xpedior.com'
    Subject: (forte-users) URL-based Config Info
    I am looking for a way to share run-time configuration information between
    Fort&eacute; and Java processes, possibly running on different boxes (Solaris).
    Someone suggested we use an URL-based retrieval mechanism, or perhaps LDAP.
    Does anyone have any pointers on how to access such info from a Fort&eacute;
    service object?
    Thanks,
    Mike Lapeyre
    EDS / OnStar
    mailto: mike.lapeyreOnStar.com
    For the archives, go to: http://lists.xpedior.com/forte-users and use
    the login: forte and the password: archive. To unsubscribe, send in a new
    email the word: 'Unsubscribe' to: forte-users-requestlists.xpedior.com

    You can use xml over http to pass information between Forte and Java. You
    can use httpdc/httpsupport(Forte3.5) library to send and receive using http
    in Forte and use servlets in java.
    ka
    -----Original Message-----
    From: Lapeyre, Michael [mailto:Mike.LapeyreONSTAR.com]
    Sent: Tuesday, November 21, 2000 7:04 PM
    To: 'forte-userslists.xpedior.com'
    Subject: (forte-users) URL-based Config Info
    I am looking for a way to share run-time configuration information between
    Fort&eacute; and Java processes, possibly running on different boxes (Solaris).
    Someone suggested we use an URL-based retrieval mechanism, or perhaps LDAP.
    Does anyone have any pointers on how to access such info from a Fort&eacute;
    service object?
    Thanks,
    Mike Lapeyre
    EDS / OnStar
    mailto: mike.lapeyreOnStar.com
    For the archives, go to: http://lists.xpedior.com/forte-users and use
    the login: forte and the password: archive. To unsubscribe, send in a new
    email the word: 'Unsubscribe' to: forte-users-requestlists.xpedior.com

  • Service object start-up

    Hello. We'd like to be able to determine when a TOOL service object
    starts up from within another TOOL service object. I understand the
    problems with service object start up ordering, but I'll summarize
    them here:
    1. You can't reference a service object until it's up
    2. You can't guarantee a service object to be up unless
    a) it's a non-TOOL SO (DB Resource Manager or DB Session)
    b) it's a TOOL SO in another partition which is numerically lower
    than yours
    According to Forte support, we should put our dependant service objects in
    different partitions and use the numerical startup to get them going. For
    example, if SO A depends on SO B, we need SO B in partition 1 and SO A in
    partition 2. Also, if we have A depends on B and nobody else uses B, we
    should probably use A as an umbrella for B.
    But what if we don't want to do this? What if we don't want to take the
    performance hit from the partitioning? What if we've got multiple
    client-visible SOs that interact? We tried this scheme:
    in A.Init():
    super.Init()
    start task Startup()
    in A.Startup():
    while B_SO = NIL do
    task.part.operatingsystem.sleep(SPIN_TIME);
    end while;
    // now do stuff with B_SO
    self.Ready = TRUE; // users can test this to see if A_SO is ready
    The above works sporadically. According to support, that's because
    testing the NIL reference isn't like testing for NIL on a normal object,
    the name service is involved and that can screw things up.
    Anybody have something that works? This seems to be a really stupid
    feature of the system.
    ========================================================================
    Neil Gendzwill, Senior Software Engineer, SED Systems, Saskatoon, Canada
    E-MAIL: [email protected] PHONE: (306) 933-1571 FAX: (306) 933-1486
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

    Neil-
    The reason your scheme fails occasionally (I'm pretty sure) is the
    "start task" in the init method.. The only thing you are guaranteed by
    partition order, etc, is that the "init" methods are executed (i.e. the
    objects are instantiated) in the order you want. If you start
    asynchronous tasks from within the init method, all bets are off as to
    whether the spun-off asynchronous task will get done before the next
    service object init() is called or even before the first client is
    allowed to come on line.. All depends on the thread switching, which of
    course cannot be predicted or counted on (hence the term "thread-safe
    code").
    I use something similar to the subsequent writer on the thread (Mark
    Sundsten) except that service objects which need other objects (like
    services requiring DB session brokers) go through a multi-step process
    waiting for the broker to be up and truly ready for business:
    Keep testing for a legal reference to the broker until it is non-NIL
    and no exception
    Post an "areyoualive" event on the broker with suitable
    retry/error-handling until positive response
    The broker, of course, does the start task startup() sort of thing in
    its init method, the final step of which is to begin responding to
    "areyoualive" events with the proper response.
    The final trick is that no services on the service object work (they
    block/wait) until the object has successfully started (including the
    wait for the broker). This is to avoid client requests from being
    processed before the service is ready.
    With this technique, you can put service objects and their brokers
    wherever you want to. I wish it was simpler, but when you enter the
    world of multiple threads you need to carefully plan your startup
    behavior and bullet-proof all code to be thread safe.
    I've also seen techniques where the first actual service request
    performs a startup if it hasn't been done already. Sort of the "lazy
    instantiation" of service-object startups.. Problem is, of course, that
    for the reason outlined above the first client can come alive and begin
    asking for things from the services before asynchronous tasks started in
    the init methods are done. If you go this direction, make sure you
    understand this nuance and have no ansych startups occurring in init
    methods.
    Hope this helps.
    -Greg
    -----Original Message-----
    From: Neil Gendzwill [SMTP:[email protected]]
    Sent: Friday, June 19, 1998 12:48 PM
    To: Users, Forte
    Subject: Service object start-up
    Hello. We'd like to be able to determine when a TOOL service
    object
    starts up from within another TOOL service object. I understand
    the
    problems with service object start up ordering, but I'll
    summarize
    them here:
    1. You can't reference a service object until it's up
    2. You can't guarantee a service object to be up unless
    a) it's a non-TOOL SO (DB Resource Manager or DB Session)
    b) it's a TOOL SO in another partition which is numerically
    lower
    than yours
    According to Forte support, we should put our dependant service
    objects in
    different partitions and use the numerical startup to get them
    going. For
    example, if SO A depends on SO B, we need SO B in partition 1
    and SO A in
    partition 2. Also, if we have A depends on B and nobody else
    uses B, we
    should probably use A as an umbrella for B.
    But what if we don't want to do this? What if we don't want to
    take the
    performance hit from the partitioning? What if we've got
    multiple
    client-visible SOs that interact? We tried this scheme:
    in A.Init():
    super.Init()
    start task Startup()
    in A.Startup():
    while B_SO = NIL do
    task.part.operatingsystem.sleep(SPIN_TIME);
    end while;
    // now do stuff with B_SO
    self.Ready = TRUE; // users can test this to see if A_SO is
    ready
    The above works sporadically. According to support, that's
    because
    testing the NIL reference isn't like testing for NIL on a normal
    object,
    the name service is involved and that can screw things up.
    Anybody have something that works? This seems to be a really
    stupid
    feature of the system.
    ========================================================================
    Neil Gendzwill, Senior Software Engineer, SED Systems,
    Saskatoon, Canada
    E-MAIL: [email protected] PHONE: (306) 933-1571 FAX: (306)
    933-1486
    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/>

  • R: (forte-users) ASP and Forté

    Hi Kenny,
    I suggest you to use XML in order to publish your Fort&eacute; services.
    There is a Fort&eacute; Library called HTTPDC that let you start up a listener that
    answer to HTTP Request.
    So you will have a ASP/Fort&eacute; integration via HTTP/XML
    Hope this helps.
    ----- Original Message -----
    From: BOLIVARD Kenny <BOLIVARDPREVIADE.FR>
    To: <forte-userslists.xpedior.com>
    Sent: Friday, February 23, 2001 8:43 AM
    Subject: (forte-users) ASP and Fort&eacute;
    Hi everybody!
    I'm a new Fort&eacute; developer, so i have some question about it, speciallyone:
    I want to access Fort&eacute; service objects through an ASP script. To be more
    precise, I want to get back some informations (like, for exemple, the
    information of a customer's account) from the Fort&eacute; world and to make-upthe
    web page in my ASP script.
    Is it possible writing an ASP script (in VisualBasic for example) witch
    calls Fort&eacute; service objects?
    How can I do that? Maybe by using Web Enterprise's libraries, but itseems
    to me that Web access service objet returns only HTLM pages.
    Any suggestions and explanations would be appreciated.
    Thank's in advance for your replies,
    Kenny,
    PREVIADE.
    France.
    Ps: Sorry for my bad english. ;))
    For the archives, go to: http://lists.xpedior.com/forte-users and use
    the login: forte and the password: archive. To unsubscribe, send in a new
    email the word: 'Unsubscribe' to: forte-users-requestlists.xpedior.com

    Sorry for the mistake... I talked about the notification patner.
    Daniel Nguyen a &eacute;crit:
    Hi,
    Use the Notication patner. You can find a sample and some explanation on
    http://perso.club-internet.fr/dnguyen/
    Hope this helps,
    Daniel Nguyen
    DARTIGUENAVE Antoine a &eacute;crit:
    Bonjour,
    la gestion d'un cache de donn&eacute;es de r&eacute;f&eacute;rence dans une application TP
    serveur permet le raffraichissement
    du cache quand l'appli a signifi&eacute; un update .
    Or un batch ( appli distincte ) mettra aussi &agrave; jour ces donn&eacute;es.
    Comment signifier &agrave; l'IHM qu'une donn&eacute;e a &eacute;t&eacute; updat&eacute;e ce qui lui permettra
    de rafraichir le cache &agrave; la lecture ?
    merci d'avance pour toute id&eacute;e sur ce sujet !
    Antoine Dartiguenave
    For the archives, go to: http://lists.xpedior.com/forte-users and use
    the login: forte and the password: archive. To unsubscribe, send in a new
    email the word: 'Unsubscribe' to: forte-users-requestlists.xpedior.com--
    For the archives, go to: http://lists.xpedior.com/forte-users and use
    the login: forte and the password: archive. To unsubscribe, send in a new
    email the word: 'Unsubscribe' to: forte-users-requestlists.xpedior.com

  • RE: (forte-users) User-visible service object

    This solution will cause network traffic for all method calls on the
    environment visible SO. This overhead is not incurred when calling methods
    on a user visible SO in the same partition. Depending on the frequency of
    calls and the volume of data being passed in and out, this could be
    significant overhead.
    We have successfully implemented the following.
    Create a second User Visible SO based on the same class. Then you will be
    able to partition the one SO into the client partition and the second into
    the server partition.
    For example, assume the underlying class is named MessageService then define
    your SO's as
    ClientMessageService -> MessageService
    ServerMessageService -> MessageService
    Andy
    -----Original Message-----
    From: Amin, Kamran [mailto:kamran.aminlendware.com]
    Sent: Wednesday, August 23, 2000 10:17 PM
    To: 'Duncan Kinnear'; kamranaminyahoo.com
    Subject: RE: (forte-users) User-visible service
    object
    Duncan,
    Make the user visible service object to an
    environment visible
    service object. This way the client and any service object
    on the server
    can access it.
    ka
    -----Original Message-----
    From: Duncan Kinnear [mailto:duncanmccarthy.co.nz]
    Sent: Wednesday, August 23, 2000 7:47 PM
    To: kamranaminyahoo.com
    Subject: (forte-users) User-visible service object
    Hi folks!
    We've got a user-visible service object that handles
    initialisation of and
    access to the message catalog.
    This works well on the client, but we would like to use the
    same
    mechanism (and even the same service object) on the server
    so that
    service objects on the server have access to their message
    catalog on
    the
    server.
    I was hoping that if we referenced this user-visible service
    object in
    both the client and the server code, that it would partition
    a copy in
    each of the client and server partitions. However, we
    cannot get this
    user-visible service object duplicated on the server. If we
    drag and drop
    it onto the server partition in the partition workshop, it
    disappears from
    the client partition!
    Anybody got any idea how we could do this?
    Cheers,
    Duncan Kinnear,
    McCarthy and Associates, Email:
    duncanMcCarthy.co.nz
    PO Box 764, McLean Towers, Phone: +64
    6 834 3360
    Shakespeare Road, Napier, New Zealand. Fax: +64
    6 834 3369
    Providing Integrated Software to the Meat Processing
    Industry for over 10
    years
    For the archives, go to:
    http://lists.xpedior.com/forte-users and use
    the login: forte and the password: archive. To unsubscribe,
    send in a new
    email the word: 'Unsubscribe' to:
    forte-users-requestlists.xpedior.com
    For the archives, go to:
    http://lists.xpedior.com/forte-users and use
    the login: forte and the password: archive. To unsubscribe,
    send in a new
    email the word: 'Unsubscribe' to:
    forte-users-requestlists.xpedior.com

    I would try going to the "lowest common denominator" between WindowsNT and
    Windows95 - DOS. Both windowing OS's sort of have their roots in DOS, or at
    least both are capable of opening a DOS session.
    Therefore, from a DOS prompt type "set" to view the environment variables for
    both OS types. Look for a common variable between the two that stores the
    userID. If you can find one of these your application will be that much more
    portable between these two Windows mutations.
    I used "set" on my NT and found my userID assigned to a few variables. I haven't
    done this on a Windows95 machine in quite some time, but if the machine is on
    the network it should have at least one environment variable with the userID.
    I'm just guessing that DOS has a variable to store the userID that will be
    common to both machines.
    Good luck....
    Kelsey PetrychynSaskTel Technical Analyst
    ITM - Technology Solutions - Distributed Computing
    Tel (306) 777 - 4906, Fax (306) 359 - 0857
    Internet:kelsey.petrychynSasktel.sk.ca
    Quality is not job 1. It is the only job!
    "Olivier Andrieux" <oandrieuxaxialog.fr> on 07/19/2000 09:12:41 AM
    To: forte-userslists.xpedior.com
    cc: (bcc: Kelsey Petrychyn/SaskTel/CA)
    Subject: (forte-users) user name
    Hi
    I use this command to catch the username:
    task.part.operatingsystem.getenv('username')
    with NT, there is no problem
    but with windows95 or 98 the command doesn't find the username.
    Thanks in advance.
    Olivier Andrieux
    Axialog
    Lille
    For the archives, go to: http://lists.xpedior.com/forte-users and use
    the login: forte and the password: archive. To unsubscribe, send in a new
    email the word: 'Unsubscribe' to: forte-users-requestlists.xpedior.com

  • Re: (forte-users) loadbalancing a service object

    Hi,
    If you need to share the values between your So, you can find a sample on
    http://perso.club-internet.fr/dnguyen
    It was designed to show how to manage shared states between replicates using
    fail over. It could also be used for load-bancing. A better way should be to
    manage the names of service objects within Forte (with the application,
    project name and compatibility level), but through the NameServer.
    Hope this helps,
    Daniel Nguyen
    Freelance Forte Consultant
    http://perso.club-internet.fr/dnguyen/
    Xiao, Menghua a &eacute;crit:
    Hello,
    I tried to loadbalance a service object that has both methods and
    attributes. The first copy of the service object works fine. However, all
    the attributes of the second copy of the service object are nil when a
    client try to use this copy. How can I make those two copies exactly the
    same?
    I am new to Forte. Any input will be greatly appreciated.
    Menghua Xiao
    Regional Transportation District,
    Denver, Colorado, USA
    For the archives, go to: http://lists.xpedior.com/forte-users and use
    the login: forte and the password: archive. To unsubscribe, send in a new
    email the word: 'Unsubscribe' to: forte-users-requestlists.xpedior.com

    Hi,
    If you need to share the values between your So, you can find a sample on
    http://perso.club-internet.fr/dnguyen
    It was designed to show how to manage shared states between replicates using
    fail over. It could also be used for load-bancing. A better way should be to
    manage the names of service objects within Forte (with the application,
    project name and compatibility level), but through the NameServer.
    Hope this helps,
    Daniel Nguyen
    Freelance Forte Consultant
    http://perso.club-internet.fr/dnguyen/
    Xiao, Menghua a &eacute;crit:
    Hello,
    I tried to loadbalance a service object that has both methods and
    attributes. The first copy of the service object works fine. However, all
    the attributes of the second copy of the service object are nil when a
    client try to use this copy. How can I make those two copies exactly the
    same?
    I am new to Forte. Any input will be greatly appreciated.
    Menghua Xiao
    Regional Transportation District,
    Denver, Colorado, USA
    For the archives, go to: http://lists.xpedior.com/forte-users and use
    the login: forte and the password: archive. To unsubscribe, send in a new
    email the word: 'Unsubscribe' to: forte-users-requestlists.xpedior.com

  • Service objects inside libraries (WAS: Interfaces in Forte -has anyon

    The following message is actually not about interfaces, but libraries:
    > From: Jeanne Hesler <[email protected]>
    > To: [email protected] <[email protected]>
    > Date: Thursday, July 30, 1998 11:12 AM
    > Subject: RE: Interfaces in Forte - has anyone used them?
    >>
    > Just to clarify a few things:
    >>
    1) Just to be 100% correct -- it is actually Libraries that areloaded and
    not Interfaces. The distinction is important because a librarycould
    potentially implement many interfaces (or provide manyimplementations for a
    single interface).
    2) The code in a Library may reference a service object, but itmay not
    define a service object. Of course any SO's referenced by thelibrary
    must already be known to the loading partition. It is OK to havecode like
    this in a library:
    MySO.doSomething();
    The documentation is a little vague on this point, but I haveconfirmed that
    this is true through Tech Support and by experimentation.
    Actually you CAN define and use service objects inside libraries
    (compiled or interpreted) with two restrictions:
    1) You can not define two service objects inside library in different
    projects and call one of them from another. If you need that, both
    service objects must be in the same project.
    2) If service object is defined and used only by library (if it never
    referenced directly by application code), than in order to be able to
    partition application, you will need to create dummy method inside
    application, which will reference this service object (you do not need
    to execute this method - just have in the code).
    WBR,
    Nickolay Sakharov.
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

    The way stateful Web services are currently handled is through the use of cookies ... once your stub invokes a stateful Web service a cookie is created which routes subseqent requests back to the Web service.
    In your scenario, the problem is given one client has creates Web service 1 and now Web service 2 would like to be able to use that state it really isn't possible unless you engineer a solution yourself ... you would need so somehow set the cookie on your Web service 2 client to that of the original client to Web service 1. State tends to be based around an individual client versus multiple clients for that state.
    There are numerous ways around this but you would be engineering around the issue ... the easiest is to write the state out somewhere so that it can be shared.
    This section of the doc gives a brief overview:
    http://download-west.oracle.com/docs/cd/A97688_06/generic.903/b10004/javaservices.htm
    Lastly be aware there is a bug with timeouts in stateful Web services in Oracle9iAS 9.0.3 that has been fixed in 9.0.4. I can't find the thread here that documents it but when I track it down I will post the link so you can see the workaround.
    Mike.

  • Subject: RE :(forte-users) Web enterprise & user visibleservice Objects

    A few months ago we faced a similar problem while migrating from classic
    Forte to Web. We had to protect our investment in various frameworks that we
    wrote for the classic Forte apps, which made use of extensive
    user-level-caching among other things.
    We solved the problem using a custom routing mechanism. In brief, we created
    several( replicated) server partitions that contains all the user-level
    Service objects that existed in the class-Forte apps. Then we wrote a
    'custom-router' which mimics Forte load-balanced router( dialog duration =
    session ) to intelligently route incoming HTTPRequests to one of these
    replicated partitions. The router would look at the some tag on the session
    and then route the request to one of these replicated "client clone" using
    the tag. Successive requests from the same client will go to the same
    replicated partition so that you can use the client-cache or any other
    per-user services.
    The advantages of this approach are
    1) You can continue to make use of caching and other user-level components
    that you may have.
    2) The web and classic Forte clients can work seamlessly if you write them
    to use reference partitions that hosts the other shared( Environment visible
    ) service objects.
    Ofcourse you will have to write ( and maintain )the custom-routing code and
    also pay attention to house-keeping. For example, the burdon of cleaning up
    the cache on logout or session expiration lies on you. If you don't do this,
    then your new user might be looking at an old cache of some other user.
    Hope this helps,
    Ajith
    Forte Systems Consultant.
    Subject: (forte-users) Web enterprise & user visible service objects
    Hi
    We have taken a forte application and converted it to run on the web using
    * forte web enterprise &
    * fortecgi.exe
    In the forte application we have a user visible Local Cache Manager
    Service Object (i.e. each users has their own copy) for storing things
    like
    * the details of the current user id
    * the details of the current client chosen
    * arrays that are needed by other windows
    With web enterprise this service object is no longer user visible, how can
    we make it user visible?
    Thanks in advance.
    Deborah Wallis
    dwallisnbs.co.za
    WARNING:
    Any unauthorised use or interception of this email is illegal. If this email
    is not intended for you, you may not copy, distribute nor disclose the
    contents to anyone. Save for bona fide company matters, the BoE Group does
    not accept any responsibility for the opinions expressed in this email.
    For further details please see: http://www.nbs.co.za/emaildisclaim.htm
    For the archives, go to: http://lists.xpedior.com/forte-users and use
    the login: forte and the password: archive. To unsubscribe, send in a new
    email the word: 'Unsubscribe' to: forte-users-requestlists.xpedior.com

    A few months ago we faced a similar problem while migrating from classic
    Forte to Web. We had to protect our investment in various frameworks that we
    wrote for the classic Forte apps, which made use of extensive
    user-level-caching among other things.
    We solved the problem using a custom routing mechanism. In brief, we created
    several( replicated) server partitions that contains all the user-level
    Service objects that existed in the class-Forte apps. Then we wrote a
    'custom-router' which mimics Forte load-balanced router( dialog duration =
    session ) to intelligently route incoming HTTPRequests to one of these
    replicated partitions. The router would look at the some tag on the session
    and then route the request to one of these replicated "client clone" using
    the tag. Successive requests from the same client will go to the same
    replicated partition so that you can use the client-cache or any other
    per-user services.
    The advantages of this approach are
    1) You can continue to make use of caching and other user-level components
    that you may have.
    2) The web and classic Forte clients can work seamlessly if you write them
    to use reference partitions that hosts the other shared( Environment visible
    ) service objects.
    Ofcourse you will have to write ( and maintain )the custom-routing code and
    also pay attention to house-keeping. For example, the burdon of cleaning up
    the cache on logout or session expiration lies on you. If you don't do this,
    then your new user might be looking at an old cache of some other user.
    Hope this helps,
    Ajith
    Forte Systems Consultant.
    Subject: (forte-users) Web enterprise & user visible service objects
    Hi
    We have taken a forte application and converted it to run on the web using
    * forte web enterprise &
    * fortecgi.exe
    In the forte application we have a user visible Local Cache Manager
    Service Object (i.e. each users has their own copy) for storing things
    like
    * the details of the current user id
    * the details of the current client chosen
    * arrays that are needed by other windows
    With web enterprise this service object is no longer user visible, how can
    we make it user visible?
    Thanks in advance.
    Deborah Wallis
    dwallisnbs.co.za
    WARNING:
    Any unauthorised use or interception of this email is illegal. If this email
    is not intended for you, you may not copy, distribute nor disclose the
    contents to anyone. Save for bona fide company matters, the BoE Group does
    not accept any responsibility for the opinions expressed in this email.
    For further details please see: http://www.nbs.co.za/emaildisclaim.htm
    For the archives, go to: http://lists.xpedior.com/forte-users and use
    the login: forte and the password: archive. To unsubscribe, send in a new
    email the word: 'Unsubscribe' to: forte-users-requestlists.xpedior.com

  • Load Balancing, User Visible Service objects, Runningman

    1. Load Balancing
    Load Balancing a partition has nothing to do with single or multi-threaded
    behaviour of that partition. If you load balance a partition it means that
    you can start 1 or more copies of that partition. How many to start can be
    specified. If the partition is load balanced there will be router partition
    that routes calls to any of the services in that partition.
    Now let us look at a special kind of partition (load balanced partition
    that has an Env visible SO and a user visible DbSession). This is one of
    the design patterns to acccess the database efficiently. Each of these
    partitions are single threaded because DbSession is inherently single
    threaded. This partition is single threaded because Dbsession is single
    threaded and not because the partition is replicated.
    Another case is when you make a partition load balanced and it has only
    SO(s) made out of tool classes and does not have Dbsessions then each of
    these partitions can run multi-threaded beacuse there are no
    single-threaded objects to make the partition single threaded
    2. User Visibility
    Case A - If you have only User visible SO(s) in a partition then each
    behaves like a global named object. Whoever accesses it will get a copy of
    their own.
    Case B - If you have a user visible SO and an Env Visible SO in the same
    partition then the user visible SO will be private to the partition and
    cannot be accessed from outside that partition.
    3. Running Man
    When you run an application by clicking on the running man Forte uses its
    default partitioning scheme and runs the application. The partition scheme
    that you made will be used only when you run the application distributed or
    from the partition workshop. This is the time you might encounter errors if
    your partitioning is not right.
    Hope this helps.
    Nirmal

    Don,
    You are right. I should have said - Forte uses its own partitioning scheme
    not the default scheme you see when you open partition workshop.
    Nirmal
    From: Don Nelson <[email protected]>
    To: Nirmal P Uppalapati <[email protected]>
    Cc: [email protected]
    Subject: Re: Load Balancing, User Visible Service objects, Running man
    Date: Wednesday, October 22, 1997 10:45 PM
    Nirmal,
    One note on the "running man"...
    At 08:12 PM 10/22/97 -0500, Nirmal P Uppalapati wrote:
    3. Running Man
    When you run an application by clicking on the running man Forte uses
    its
    default partitioning scheme and runs the application. The partitionscheme
    that you made will be used only when you run the application distributedor
    from the partition workshop. This is the time you might encounter errorsif
    your partitioning is not right.
    Actually, clicking on the "running man" from the repository or project
    workshop will cause the application to be run VERY differently thanrunning
    it distributed.
    It's not technically correct to say that the default partitioning schemeis
    used with the running man.
    Forte consulting offers a deployment workshop that covers the finerpoints
    of this and other distributed issues.
    Don
    ============================================
    Don Nelson
    Regional Consulting Manager - Rocky Mountain Region
    Forte Software, Inc.
    Denver, CO
    Corporate voice mail: 510-986-3810
    aka: [email protected]
    ============================================
    "If you ask me, though, any game without push-ups, hits, burns or noogies
    is a sissy game." - Calvin

  • RE: (forte-users) Object Request Brokers.....

    Hi Rajeev,
    I just happen to have the following two technotes on hand that helped me
    answers the very same questions..
    <<forte.zip>>
    Hope it helps... if you need more help... fell free to give me a shout!
    Ciao
    Kim
    -----Original Message-----
    From: Rajeev Talwar [SMTP:rtalshotmail.com]
    Sent: Monday, February 21, 2000 6:34 PM
    To: kamranaminyahoo.com
    Subject: (forte-users) Object Request Brokers.....
    Hi All,
    We are writing a cold fusion application which needs to use some
    services from a Forte application. We also have a Cold Fusion Visi
    Broker(ORB)to communicate with Forte. I was wondering what all we need
    in order to get a handle to all the service objects used by Forte
    application in our Cold Fusion application.
    Also do we need to change our deployment scheme for the Forte
    application. I
    believe we have to make a special deployment
    for Forte application to be available to ORB's. By default,
    Forte uses Unix internal communication mechanism like sockets
    etc. for service objects to be available across different
    partitions.
    Also do we need to run both applications and ORB on the same box
    or can we put them in some kind of network.
    I hope I made myself quite clear what we are looking for. I will be
    more than happy to put some more details in case someone needs
    further clarification.
    Are there any technotes out there whcih we can refer to.
    I will appreciate any thoughts.
    -Rajeev Talwar
    For the archives, go to: http://lists.xpedior.com/forte-users and use
    the login: forte and the password: archive. To unsubscribe, send in a
    new
    email the word: 'Unsubscribe' to:
    forte-users-requestlists.xpedior.com

    You can also use the HTTP-DC project.... You don't
    need Web Enterprise for this. From what I can tell,
    this is available in L.x on....
    There is api documentation in M.2 (with scant
    examples.)
    There's a special process to put the project in your
    repository (it isn't installed in the repository in
    the standard install,) the documentation in M.2
    (probably in M.0 too, AFAIK) that tells you how to do
    this (look for HTTP-DC in the online help.)
    I haven't done much with it yet, I've just installed
    it. If anybody out there has examples, that'd be
    great. I'll try to contribute more the moment I get a
    chance to explore it....
    Christopher Fury
    BellSouth Communications Systems
    --- Daniel Nguyen <dnguyenclub-internet.fr> wrote:
    Hi,
    If you have Web Enterprise, you can user
    HttpAccess.SendRequest().
    Hope this helps,
    Daniel Nguyen
    Freelance Forte Consultant
    Amin, Kamran a &eacute;crit:
    Is there any way to make a HTTP request from TOOLto another HTTP Service?
    thanks in advance.
    For the archives, go to:
    http://lists.xpedior.com/forte-users and use
    the login: forte and the password: archive. Tounsubscribe, send in a new
    email the word: 'Unsubscribe' to:forte-users-requestlists.xpedior.com
    For the archives, go to:
    http://lists.xpedior.com/forte-users and use
    the login: forte and the password: archive. To
    unsubscribe, send in a new
    email the word: 'Unsubscribe' to:
    forte-users-requestlists.xpedior.com
    Kick off your party with Yahoo! Invites.
    http://invites.yahoo.com/

  • Making Forte service objects available to VisiBrokerclients

    Hello!
    In the Forte manual, Interfacing with External Systems, there's a section on
    making Forte service objects available to ObjectBroker(DEC). We are using
    VisiBroker as our ORB. Does anyone know if the instructions for
    ObjectBroker can be used? Does anyone have experience making Forte service
    objects visible to VisiBroker clients specifically?
    Thanks in Advance!
    Mark Savory
    GTE Gov. Systems
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

    Hi,
    If you are going to make Forte service objects accessible to the VisiBroker
    CORBA/IIOP clients (C++, or Java clients), read Forte manual called "A Guide to
    WebEnterprise Release 1.0.B (any new release???) of Forte WebEnterprise". You
    may find that all materials beginning from Chapter 14 are useful and helpful.
    I've posted many comments and issues unsolved to Forte forum in this area.
    ObjectBroker is one of ORB products made by BEA, and is the first ORB product on
    the market. It runs on dozens of platforms. In 1997, BEA acquired ObjectBroker
    from Digital (DEC). All ORB products (most established products such as
    VisiBroker for C++ 3.x and VisiBroker for Java 3.x from
    Inprise(Borland/Visigenic), Orbix 3.x for C++ and OrbixWeb for Java 3.x from
    Iona, ObjectBroker and Tuxedo from BEA, JavaIDL from JavaSoft) are made based on
    OMG's CORBA/IIOP specifications. Theoretically, all ORBs products should be
    interoperable.
    Hope this help!
    Shilong Yin
    US West in Denver
    =========================
    Savory, Mark wrote:
    Hello!
    In the Forte manual, Interfacing with External Systems, there's a section on
    making Forte service objects available to ObjectBroker(DEC). We are using
    VisiBroker as our ORB. Does anyone know if the instructions for
    ObjectBroker can be used? Does anyone have experience making Forte service
    objects visible to VisiBroker clients specifically?
    Thanks in Advance!
    Mark Savory
    GTE Gov. Systems
    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/>

  • RE: (forte-users) Terminal Services - Win 2000

    Hi
    l've already installed my application 'appA' at my server 'ServerA'.
    When l try to execute this application in my pc thru Terminal Server, there
    were nothing displayed at my pc but when l check at on 'ServerA' , l can
    see that 'appA' is running over at the 'ServerA' side. Actually, I'm new at
    this Terminal Server thingy...
    thanks..
    -----Original Message-----
    From: Jean-Paul Gabrielli [mailto:Jean-Paul.Gabriellisema.fr]
    Sent: Friday, January 19, 2001 5:08 PM
    To: Zulkifli Mohamad
    Subject: RE: (forte-users) Terminal Services - Win 2000
    hmm when you telent a machine to run a process remotely, don't expect to
    have it locally :-)
    j-p
    -----Message d'origine-----
    De: Zulkifli Mohamad [mailto:zulkifli_mohamadkonnas.com.my]
    Date: vendredi 19 janvier 2001 09:19
    &Agrave;: forte-userslists.xpedior.com
    Objet: (forte-users) Terminal Services - Win 2000
    hi..
    l'm trying to run forte application thru Terminal Services Client
    (Win 2000) but my application only running on the server not at the client
    pc. Some one can help me...
    thanks.
    For the archives, go to: http://lists.xpedior.com/forte-users and use
    the login: forte and the password: archive. To unsubscribe, send in a new
    email the word: 'Unsubscribe' to: forte-users-requestlists.xpedior.com

    Il suffit de mettre les BTD/BTX sur un drive r&eacute;seau (net use X:
    \\server\share_point),
    puis d'installer des ic&ocirc;nes pour les clients: ftexec -fi bt:x:\MyApp.
    Pour que les noeuds ne s'auto-enregistrent pas, peut-&ecirc;tre mettre un password
    Ou bien d&eacute;finir les noeuds comme un 'groupe' et donc seul le groupe est
    connu.
    Si mettre le mot de passe suffit pas, et si vraiment le model node g&ecirc;ne,
    alors il
    faut un autre environment manager.
    I think that to avoid install, the software could be located on a shared
    drive,
    and users linking to it through running 'ftexec' or directly the compiled
    binaries.
    For nodes not to appear in the environment as nodes, they could be defined
    as members
    of a model node '(which then would be in the environmnet)'
    Putting a password in the environment could prevent nodes to be registered
    there, but
    might prevent the apps from being executed.
    Cheers,
    j-paul gabrielli
    Sema DTS
    -----Message d'origine-----
    De: Thomas Felix [mailto:tfelixaxialog.fr]
    Date: mardi 2 mai 2000 14:14
    &Agrave;: forte-userslists.xpedior.com
    Objet: (forte-users)
    bonjour a tous
    je souhaites installer une application distribu&eacute;e sur des postes clients.
    Y'a t'il moyen de ne pas installer les noeuds de ces postes clients sur l'
    active environnement li&eacute; au d&eacute;veloppement et si oui comment?
    hi
    I would like to install an application on clients workstation
    Can i install this nodes in a different Active environnement than this one
    that we use for the developpement ?
    For the archives, go to: http://lists.xpedior.com/forte-users and use
    the login: forte and the password: archive. To unsubscribe, send in a new
    email the word: 'Unsubscribe' to: forte-users-requestlists.xpedior.com

  • RE: (forte-users) Does anyone have experience using OracleLarge Objects

    hi ,
    A few months ago, I tried a oracle stored procedure with a BLOB parameter,
    but Forte(3.l2) could not recognize the blob variable. I used oracle 8.0
    hth
    suma
    -----Original Message-----
    From: Amin, Kamran [mailto:kamran.aminlendware.com]
    Sent: Thursday, March 29, 2001 2:40 PM
    To: 'Forte User Group'
    Cc: Magaliff, Bill
    Subject: (forte-users) Does anyone have experience using Oracle Large
    Objects (LOB's)?
    Does anyone have experience using Oracle Large Objects (LOB's) -
    specifically the CLOB datatype? Forte supports Oracle LONG's but given that
    Oracle is going to phase out that datatype and they're trying to push users
    towards CLOB's instead of LONG's, I want to find out if Forte can handle it
    and, if so, what we should know about mapping Forte datatypes to the Oracle
    CLOB. [Their compatibility matrix for v3.5 indicates suppport under Oracle
    8.1.x, and CLOB's were introduced back in 8.0.x - but the word from Forte is
    that they currently don't support it.]
    thanks in advance.
    ka
    For the archives, go to: http://lists.xpedior.com/forte-users and use
    the login: forte and the password: archive. To unsubscribe, send in a new
    email the word: 'Unsubscribe' to: forte-users-requestlists.xpedior.com

    Hi,
    Did you get any solution to this. If yes, please share.
    Thanks,
    Tints

Maybe you are looking for

  • Printing problems with CP1515n and CM1312

    I can see from the forum that a lot of people are having problems with printing. My HP CP1515n wouldn't print properly with my new iMAC. Through a lot of complaining to PC World and to Apple we got a resolve with PC world. However my HP CM1312 printe

  • F4 help for a column in tableview

    Hi all, I have achieved F4 help using java script for input field, but i want to use it to fill each value of a column, i am using iterator for the column properties. Is the method of displaying help same as used for input field. I want to do it with

  • So sick of trying to get iTunes 8.2 to work on Vista - 7 days of ****

    After downloading £50+ worth of new music/audiobooks and tv shows last week, innocently clicked on 'upgrade to 8.2'; (yes I backed up my Library and hard disk first); result, the last 7 days of **** trying to get iTunes and my iPhone to sync. I'm so

  • How Can I move my Photoshop into a new computer?

    My laptop broke down. I downloaded my Photoshop from web. How can I move my Photoshop into my new laptop? I have an electronic receipt and my serial number.

  • My sons ipod is frozen. We can't even type in his pass code.

    My sons new ipod is frozen. The screen doesnt respond to touch at all and we've tried resetting it and it still doesnt work. Any one have any suggestions?