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.
Similar Messages
-
Re: Interfaces in Forte - has anyone used them?
We are making use of interfaces extensively and have never had the
slightest problem. Interfaces do not cause any overhead, since they are
mainly a means to support type checking by the compiler. At run-time the
interface does not appear any more.
Using Forte 3.0.F.2
General wrote:
>
We are embarking on the analysis phase of a large pay/personnel project. =
We have been advised to use interfaces wherever possible, because they =
promote flexibility and reusability. I am fairly well convinced of the =
benefits of using interfaces - they appear to have a lot of advantages, =
and no drawbacks. However, I do wonder whether Forte's implementation of =
interfaces is stable and usable (..it was only introduced in version 3). =
If not, we may be better advised to use standard techniques.
If you have used Forte interfaces I would be interested to hear how you =
got on.
regards,
Tim Kimber--
Dr. Thomas Kunst mailto:[email protected]
sd&m GmbH & Co. KG http://www.sdm.de
software design & management
Thomas-Dehler-Str. 27, 81737 Muenchen, Germany
Tel +49 89 63812-221 Fax -444
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>Eric,
You are correct, "manipulate anAIFace object" is not really the correct
way of thinking about what is happening. We are really manipulating an
instance of an object through an interface.
In regards to your other statement: "if Project C needs visibility to B,
it must have B as a supplier Plan." Forte does not force this to happen
when you are using interfaces, which is what causes the problem. Let me
expand on my initial example and add enough detail so that you can create
the problem, which surfaces as a deserialization error:
Project A (No Supplier Plans)
Defines Interfaces: UnitIFace with method GetValue() which returns an
integer
Project B (Contains A as a Supplier Plan)
Defines Class: Unit with attribute _Value as an integer and method
GetValue() which returns _Value. Implements interface UnitIFace.
Project C (Contains A as a Supplier Plan)
Defines Class: Square with method Calculate which accepts an
UnitIFace as an input parameter and returns an integer. This class needs
to be setup as a distributed object so that I service object can be
defined using this class.
Defines Service Object: SqaureSO using the Square class.
Project D (Contains B and C as Supplier Plans)
Defines a class or uses a window that creates an instance of Class B
and passes it to the SquareSO service object that sqaures the value and
returns an integer.
Once this is setup, use the running man to run everything locally. This
will run fine because the dependencies for the local partition end up
including Projects A, B, C and D. Next, run distributed and move the SO
to a remote partition. Now when you execute you will receive a
deserialization error. This happens because the dependencies for the
remote partition only included project A and C. The partition did not
have the necessary information to deserialize the underlying instance of
Class Unit that is referenced through the inteface UnitIFace.
The problem can be resolved by either adding Project B as a supplier plan
to Project C or ensuring that the interface and class are declared in the
same project as I suggested in my previous message. In either case, this
must be resolved by the programmer since Forte is not yet smart enough to
correctly resolve the project dependencies, even though all of the
information needed to establish the correct dependency hierarchy is
available.
Bradley K Wells
[email protected]
Strong Capital Management, Inc
http://www.strong-funds.com/
From: Eric Pereira
Sent: Friday, July 31, 1998 5:57 PM
To: [email protected]
Cc: [email protected]
Subject: RE: Interfaces in Forte - has anyone used them?
Bradley,
Thanks for that descriptive note on interfaces.
I do have a observation : in that example you gave us, if Project C
needs visibility to B, it must have B as a supplier Plan. Therefore, I
don't quite understand how partioning classes in C would end up with a
run-time errror in distributed mode, given that B supplies C (something
you've perhaps missed out in your example ?).
Also, is it really possible to "manipulate AIFace objects" ? Interfaces
are'nt really objects, they just help implement a compile-time type
check.
Thanks.
Eric Pereira
Forte Consultant
----<snip>------------------
Example:
Project A - Contains AIFace
Project B - Contains Class B which implements AIFace, depends on Project
A
Project C - Contains Classes manipulating AIFace objects, depends on
Project A
This can run fine locally since the local partition has knowledge of all
the classes in A, B, and C. Now as soon as you throw a service object
on
classes on Project C and push them into a remote partition, your
application starts failing because that partition does not contain the
information form project B since there is no dependency on that project.
The partition needs the information from project B though since it
contains the definitions for the actual implementation objects, however
there was no way for Forte to determine that need when it generated the
partition.
This problem is initially eliminated by keeping the interfaces in the
same project as the underlying business objects. But once you start to
have interfaces implemented by multiple classes from multiple projects,
then this won't cover all the bases either. In any case, it is an issue
that you will need to consider at some level when using interfaces.
Good luck!
Bradley K Wells
[email protected]
Strong Capital Management, Inc
http://www.strong-funds.com/
From: "Ngai, Stuart" <[email protected]>
Date: Thu, 30 Jul 1998 11:10:50 -0400
Subject: RE: Interfaces in Forte - has anyone used them?
With version 3G, you can not create an array of interfaces. I believe
Forte
will have that feature in version 4 (which is scheduled to be in
production
at the end of next year).
-----Original Message-----
From: Thomas Kunst [SMTP:[email protected]]
Sent: Thursday, July 30, 1998 8:52 AM
To: [email protected]
Cc: General
Subject: Re: Interfaces in Forte - has anyone used them?
We are making use of interfaces extensively and have never had the
slightest problem. Interfaces do not cause any overhead, since theyare
mainly a means to support type checking by the compiler. At run-timethe
interface does not appear any more.
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>
Get Your Private, Free Email at http://www.hotmail.com
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/> -
I just installed Adobe InDesign CC 2014 and now I can't scale objects/type using Command+Shift Key. Has anyone else had this problem and if so, any solution?
There is a conflict with third party software or your system keyboard shortcuts. Lately, there have been many postings about conflicts with Chrome extensions so check there first.
It's not a new problem. I wrote about it on InDesignSecrets.com in 2006:
The Missing Keystrokes Mystery | InDesignSecrets -
We have questions relating to the Document Cloud services offered with Acrobat DC. We are considering disabling the cloud feature to stay in compliance with HIPAA. Has anyone else worked through these issues?
Hi mikem82897618,
You can refer the following link to know what can be done with Adobe Document Cloud Services when working in Acrobat DC:
Store Files Online, Share & Access From Anywhere | Adobe Acrobat.com
Also, visit this link to know more on how Adobe Document Cloud services are compliant with HIPAA security standards:
E-signatures vs digital signatures | eSign services from Adobe
Please specify more details on the same as why you would need to disable the Cloud feature.
What and where exactly are you facing the trouble?
Let me know.
Regards,
Anubha -
I can not make a purchase inside candy crush. It keeps directing me to www.apple.com/iTunes/support/ww. Has anyone else experienced this??
Other people have posted about the same message, but you will need to contact iTunes Support to resolve it : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page, then Purchases, Billing & Redemption
-
JJust was wondering if the store assoc. lied to get the sale quoted in
Where and how did you purchase the Galaxy S5? Did you have the unlimited data plan before making the purchase?
-
Hi Andrew...
Service Objects, are, in essence, the central concept of any Forte
application, so I think that every participant in this forum can
probably offer some type of insight on using Forte Service Objects in
their application :).
Any type of shared application functionality is a candidate for
inclusion in a service object. The definition given on page 156 of the
Forte Programming Guide states that "[a] service object is a named
object that represents an existing external resource, a Forte shared
business service that is shared by multiple users, or a service that is
replicated to provide failover or load-balancing. The service object
contains information needed by the service as well as operations that
the service can perform."
Service objects are, imho, the most important concept for building a
successful Forte application, and by far the least well understood. I
suggest spending a good amount of time familiarizing yourself with the
Service Object concept, and then understanding the Service Object
properties (dialog duration, visibility, replication, search paths,
etc.) so that you can build a scalable, robust, and fault-tolerant
system to meet your user requirements. Forte is an incredibly powerful
tool when you understand all of the possibilities you have, especially
those related to Service Objects.
In order to get a better understanding of Forte Service objects and how
they relate to the design and development of your particular system, I
highly suggest participating in the Forte Object-Oriented Analysis and
Design (OOAD) course. You can get more information on the course and
register on-line by visiting the Forte Education website:
http://www.forte.com/Educate/index.htm. Additionally, you can take a
look at the Forte manuals, especially Chapter 8 of the Forte Programming
Guide and throughout the Guide to the Forte Workshops manual.
To answer one of your other questions... You can pass references to
objects from a service object back to a client in Forte (you can also,
for that matter, pass copies of objects - it depends upon your needs).
Again, to get a better understanding of these concepts, I suggest taking
the Forte OOAD class.
I hope this helps! Please let me know if you have any further questions
- I'd be happy to help.
-Katie
Andrew Lowther wrote:
>
We are currently in the process of rearchitecting our software systems
around Forte.
Could anyone tell me what experiences they have had with building a
system using Forte Service objects in a multi-tiered system?
It seems to us that these are intended to be used as high-value
facade-like interfaces which serve as an entry point to the underlying
business object model. Is this correct?
Can we pass a remote object reference back to a client for its
subsequent use? If not, does this mean that we have to build a local,
client-based object model to hold the data returned from the service
object methods?
Any other assistance you can give will be very much appreciated.
Thanks
Andrew Lowther--
Katie Carty
Senior Consultant
Forte Software, Inc.
http://www.forte.com
4801 Woodway Drive, Suite 300E
Houston, Texas 77056
vmail: (510) 986-3802
email: [email protected]
**************************************************Andrew,
We at Per-Se Technologies have developed an approach to alleviate many
"pains" with using service objects. Some things you will soon discover is
that although service objects provide fail-over, load balancing, etc., they
also,
1. Eat up valuable developer time because it takes time to repartition and
start partitions in development mode. In development mode (i.e., running
from the workshops), each developer gets their own copy of all partitions!
2. Limit the use of compiled libraries due to service object references in
TOOL code.
3. Consume valuable server resources because each developer has their own
copy of the partitions.
We have several alternatives to address all of the above problems. I am
currently working on converting a large application so that:
1. All developers share a single set of service objects/partitions. Each
developer doesn't have to wait while their copies of the partitions come
up. Therefore, development time is more fully utilized and server
resources are dramatically freed up.
2. Service objects are completely decoupled from an application.
Therefore, we can compile as much as possible.
You asked some other questions as well: You should always isolate SO
references as much as possible. We do this by using a facade. You can
pass a remote obj. reference to a client for future use.
Take care!
Dustin Breese
Supervising Technical Specialist
Per-Se Technologies
From: Andrew Lowther <[email protected]>
Date: Tue, 24 Feb 1998 16:24:31 -0000
Subject: Service Objects
We are currently in the process of rearchitecting our software systems
around Forte.
Could anyone tell me what experiences they have had with building a
system using Forte Service objects in a multi-tiered system?
It seems to us that these are intended to be used as high-value
facade-like interfaces which serve as an entry point to the underlying
business object model. Is this correct?
Can we pass a remote object reference back to a client for its
subsequent use? If not, does this mean that we have to build a local,
client-based object model to hold the data returned from the service
object methods?
Any other assistance you can give will be very much appreciated.
Thanks
Andrew Lowther -
Service Objects with Dialog duration
m
Hi Forte`ans,
I am trying to listen to an event from a service object which has a
dialog duation of Message.The service object is configured for
failover.
I get an exception ( not an error message ) saying :
SYSTEM ERROR: Invalid attempt to register for an event on an object of
class (CKBaseServiceMgrProxy) which has a dialog duration of
message. The
semantics of message duration do not guarantee that the same object
instance will service each message, which is in conflict with the
semantics of event registration (which requires that the same object
instance to which the event is registered for generates the event;
these are two separate actions). To disable this restriction,
restart this process with cfg:do:4 specified.
If I make the dialog duration of the SO Session, it works without
screaming.
Does this mean I cannot listen to events from such SO( Failover
enabled with Message duration?) Is it because the event loop may still
point to the failed SO and Forte wants to avoid such situations???
Can somebody throw some light on this..?
Thanks
Ajith Kallambella M
International Business Corporation.We ran into this same problem when converting an application from R1 to
R2. In R1, you were allowed to do this. However, Forte won't
guarantee, even in a non-replicated, non-failover partition, that it
won't swap objects under certain situations unless the dialog duration
is session. If this happened, you would lose your registration and not
even know it. The recommended solution is for the client partition to
pass a reference to an object anchored in its partition to the service
object in the remote partition. The service object can then post events
on the anchored object, which is guaranteed to be there during the life
of that client partition. The logger flag was designed for backwards
compatibility. It's not really recommended, but it's not supposed to
have much overhead if you do use it. We already had a client
notification architecture in place, so we re-worked our application to
use it in the cases where we had been using direct registrations. Hope
this helps -- Chris
Chris Kelly, IS Architect
Andersen Windows
From:
[email protected][SMTP:[email protected].
net.in]
Sent: Thursday, September 18, 1997 1:44 PM
To: [email protected]
Subject: Service Objects with Dialog duration
m
Hi Forte`ans,
I am trying to listen to an event from a service object which
has a
dialog duation of Message.The service object is configured for
failover.
I get an exception ( not an error message ) saying :
SYSTEM ERROR: Invalid attempt to register for an event on an
object of
class (CKBaseServiceMgrProxy) which has a dialog duration of
message. The
semantics of message duration do not guarantee that the same
object
instance will service each message, which is in conflict with
the
semantics of event registration (which requires that the same
object
instance to which the event is registered for generates the
event;
these are two separate actions). To disable this restriction,
restart this process with cfg:do:4 specified.
If I make the dialog duration of the SO Session, it works without
screaming.
Does this mean I cannot listen to events from such SO( Failover
enabled with Message duration?) Is it because the event loop may
still
point to the failed SO and Forte wants to avoid such
situations???
Can somebody throw some light on this..?
Thanks
Ajith Kallambella M
International Business Corporation. -
Has anyone heard of an ipod warping and the screen on the inside shattering?
i left my ipod in the car to charge on my car charger and it wasn't very hot last night but when i tried to listen to it this morning my ipod would only give me a white screen and it was warped into a v and the screen on the inside looked shattered but the outside plastic was fine...has anyone heard of the ipod nano doing this?
Yep I have one bought as a Xmas gift and warped as well and had it in a Griffen Survivor case. Brought it in and the would not honor their Warranty. If people make enough noise and there are enought reports on this we might get somewhere but til then your stuck with a broken IPod.
-
Has anyone customized the Consumer Services portlet?
Has anyone customized the Consumer Services portlet?
RequestCenter 2006.0.7 (1961)
Has anyone customized the main Consumer Services page?
We are trying to make the services customer friendly and have been hitting limitations on the categories and descriptions.
I have added html (tables, links and pictures) to the service descriptions but I am hitting the 4000 character limit on the field.
If anyone has come up with a HTML driven catalog, I would like to know how it was done.
Thank you
Daniel
Safeway Inc.Every category, including the MyServices home page (Consumer Services category), has 3 presentation areas - Top, Middle and Bottom. These are displayed when the a user clicks the category name in the catalog.
In RC06 these are still labeled Left, Right and Bottom in Category Manager. You can access these on the Presentation tab of each category: -
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.comI 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 é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.comHi,
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 é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 -
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) 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 -
Re: Service Object events and LockMgr
On the option that you have considered, I have implemented the same model
in my previous project (using Java/RMI), but I felt that it is more than
what is normally needed for concurrency protection.
I can suggest another option that is worth considering which is in place in
our app for concurrency.
Almost every table in our db has created By, created On, modifed By,
modified On columns. The parent class of all business objects has
attributes that correspond to these four columns. In addition to these
four, there is a fifth attribute (introduced when concurrency was built)
called originalModifiedOn. Upon retrieval from the db, it is set to
modifiedOn value (from the db), during UPDATE, the value in this column is
added part of the WHERE clause. So when the second user tried to do save
the same object, the underlying db update will get a 'zero rows updated'
which is translated into an application error 'possible concurrency
error'. The user re-retreives the now 'stale' object before applying their
edits.
A lot of these things are and can be built into the framework imposing very
little work that each Object needs to do to have concurrency protection.
I am not sure if there is a mention in the Patterns paper of this model,
but it is very easy to implement and supports what is needed.
Kishore Puvvada's Mail
[email protected] on 07/28/99 01:47:00 AM
To: [email protected]@INTERNET
cc: (bcc: Kishore Puvvada/HQ-IS/TAL)
Subject: Service Object events and LockMgr
Hi folks,
We're currently looking at strategies for dealing with the simultaneous
updates to the database from multiple clients (concurrency
management). That is when two (or more) clients load the same object to
edit it, then make different changes and save them to the database.
We have a copy of a Forté document (from the "Patterns" course, I
think) which describes three methods of dealing with this:
1) Lock the database table row as soon as a client select it for editing
and hold the lock until it is saved.
2) Immediately before 'saving' check that the database hasn't changed
(either by reading what's there before updating, or by using a huge
'where' clause that contains all unchanged fields)
3) The Forté "LockMgr" pattern, which uses a service object with notifier
proxies to allow locking and updating notification between the clients.
Option 3 is obviously the most robust method, but it requires a fair
amount of coding and could also be a bottleneck for database reads and
writes.
But I have another option for which I was looking for opinions. What if
we had a "Change Event manager" which broadcast an event every time
a change is made to the database. Each business class would have its
own event. If the event had the object's primary key as a parameter, then
clients editing that particular object type could check to see if the object
currently on screen is the one that changed. That way you could disable
the 'save' until they had refreshed their on-screen data.
It's not particularily elegant, but it's reasonably simple to implement. It
also deals with changes sent across our WAN from other database
servers.
But this option is only worthwhile if you can replicate the "Change Event
manager" SO and still register for an event on the client. Can clients
register for SO events and receive an event generated by any of the SO's
replicates? Or when you register for an SO's event do you register for
only one instance of the SO?
Thanks in advance for any answers.
Cheers,
Duncan Kinnear,
McCarthy and Associates, Email:
[email protected]
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
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive <URL:
http://pinehurst.sageit.com/listarchive/forte>
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/forte>On the option that you have considered, I have implemented the same model
in my previous project (using Java/RMI), but I felt that it is more than
what is normally needed for concurrency protection.
I can suggest another option that is worth considering which is in place in
our app for concurrency.
Almost every table in our db has created By, created On, modifed By,
modified On columns. The parent class of all business objects has
attributes that correspond to these four columns. In addition to these
four, there is a fifth attribute (introduced when concurrency was built)
called originalModifiedOn. Upon retrieval from the db, it is set to
modifiedOn value (from the db), during UPDATE, the value in this column is
added part of the WHERE clause. So when the second user tried to do save
the same object, the underlying db update will get a 'zero rows updated'
which is translated into an application error 'possible concurrency
error'. The user re-retreives the now 'stale' object before applying their
edits.
A lot of these things are and can be built into the framework imposing very
little work that each Object needs to do to have concurrency protection.
I am not sure if there is a mention in the Patterns paper of this model,
but it is very easy to implement and supports what is needed.
Kishore Puvvada's Mail
[email protected] on 07/28/99 01:47:00 AM
To: [email protected]@INTERNET
cc: (bcc: Kishore Puvvada/HQ-IS/TAL)
Subject: Service Object events and LockMgr
Hi folks,
We're currently looking at strategies for dealing with the simultaneous
updates to the database from multiple clients (concurrency
management). That is when two (or more) clients load the same object to
edit it, then make different changes and save them to the database.
We have a copy of a Forté document (from the "Patterns" course, I
think) which describes three methods of dealing with this:
1) Lock the database table row as soon as a client select it for editing
and hold the lock until it is saved.
2) Immediately before 'saving' check that the database hasn't changed
(either by reading what's there before updating, or by using a huge
'where' clause that contains all unchanged fields)
3) The Forté "LockMgr" pattern, which uses a service object with notifier
proxies to allow locking and updating notification between the clients.
Option 3 is obviously the most robust method, but it requires a fair
amount of coding and could also be a bottleneck for database reads and
writes.
But I have another option for which I was looking for opinions. What if
we had a "Change Event manager" which broadcast an event every time
a change is made to the database. Each business class would have its
own event. If the event had the object's primary key as a parameter, then
clients editing that particular object type could check to see if the object
currently on screen is the one that changed. That way you could disable
the 'save' until they had refreshed their on-screen data.
It's not particularily elegant, but it's reasonably simple to implement. It
also deals with changes sent across our WAN from other database
servers.
But this option is only worthwhile if you can replicate the "Change Event
manager" SO and still register for an event on the client. Can clients
register for SO events and receive an event generated by any of the SO's
replicates? Or when you register for an SO's event do you register for
only one instance of the SO?
Thanks in advance for any answers.
Cheers,
Duncan Kinnear,
McCarthy and Associates, Email:
[email protected]
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
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive <URL:
http://pinehurst.sageit.com/listarchive/forte>
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/forte>
Maybe you are looking for
-
[Help!] A problem with the display of my GE60 2PE Apache Pro
I just got a new GE60 2PE Apache Pro and this is my first msi laptop I've ever had. I don't know what's seem to be the cause of my msi, but the display is always black and kind of glitchy at first when I just start it up. The msi logo and the Windows
-
Fonts missing in Photoshop CS5
I have many DVD case templates I created with Photoshop CS2. I now have Photoshop CS5. I am opening these DVD case templates with PS CS5. There have been several instances where the fonts I used in CS2 is not available in CS5. Is it possible for
-
I just purchased a new 23" Cinema Display and was wondering if anyone using the foot of the display as also a place to put your PowerBook/MBP? Does anyone else do this? I guess its an odd question - but just wanted to see if this was a bad thing (alt
-
Update work process has too high respose time.
Our functional team is facing issue while saving data in va03 transaction. IT prompts Sales order saved successfully and when we go to va02 and try to open getting error Document "SD document not in database or has been archived" So when I checked sm
-
How to bold part of text in javascript
Hi, I have a form which puts several text fields in to one text box. I have a link at the bottom as an example. It was based on an example I found on: http://www.assuredynamics.com/index.php/portfolio/concatenating-and-floating-fields/ Basically Im n