Thread View: comp.lang.java.corba
10 messages
10 total messages
Started by Martin Stradtner
Wed, 11 Nov 1998 00:00
Server invokes method at client side
Author: Martin Stradtner
Date: Wed, 11 Nov 1998 00:00
Date: Wed, 11 Nov 1998 00:00
6 lines
829 bytes
829 bytes
Is it possible with CORBA that a server invokes methods at client side? Thanx Martin
Re: Server invokes method at client side
Author: Davorin Rusevljan
Date: Wed, 11 Nov 1998 00:00
Date: Wed, 11 Nov 1998 00:00
7 lines
1163 bytes
1163 bytes
Martin Stradtner wrote in message <3649461C.B6984E4@gmx.de>... >Is it possible with CORBA that a server invokes methods at client side? Yes, your client (in application terms), can act as server (in CORBA terms). Davorin Rusevljan
Re: Server invokes method at client side
Author: Aoife Kavanagh
Date: Wed, 11 Nov 1998 00:00
Date: Wed, 11 Nov 1998 00:00
36 lines
1748 bytes
1748 bytes
Hi Martin, Yes this is possible. What you would effectively be doing is having your server invoke a callback to the client. To achieve this your client would have to implement an object which exposes an IDL interface, call this the callback object. When building your client and server applications remember to link in the server skeletons for your callback object into the client application, and the client stubs for the callback object into the server application. Aoife Martin Stradtner wrote: > Is it possible with CORBA that a server invokes methods at client side? > > Thanx > > Martin -- ========================================================================= Aoife Kavanagh, Object Technology Consultant, IONA Technologies - Dublin, Ireland akavanag@iona.com http : //www.iona.com/ akavanag@NOSPAMiona.com -- remove "NOSPAM" before replying DISCLAIMER: The opinions offered are my own and not those of my employer
Re: Server invokes method at client side
Author: nairmahesh
Date: Wed, 11 Nov 1998 00:00
Date: Wed, 11 Nov 1998 00:00
21 lines
1401 bytes
1401 bytes
HI, Its possible for the server to invoke methods on the client by using CallBacks in Corba ... when using callbacks the client should also expose a corba interface on which the server can make calls to Good Luck ! -Mahesh In article <3649461C.B6984E4@gmx.de>, Martin Stradtner <M.Stradtner@gmx.de> wrote: > Is it possible with CORBA that a server invokes methods at client side? > > Thanx > > Martin > -----------== Posted via Deja News, The Discussion Network ==---------- http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
Re: Server invokes method at client side
Author: rgholland
Date: Wed, 11 Nov 1998 00:00
Date: Wed, 11 Nov 1998 00:00
27 lines
1833 bytes
1833 bytes
I have been programming with a couple different Smalltalk ORBs and
the issue of who is the client and who is the server and the idea
of a callback has never come up. At any moment an object can be a
client making a request and the next it will service a request,
(peer-to-peer). With a Java/C++ ORB is a server object making a callback
to a remote client different than a client making a remote invokation on
a server object?
Davorin Rusevljan wrote:
>
> Martin Stradtner wrote in message <3649461C.B6984E4@gmx.de>...
> >Is it possible with CORBA that a server invokes methods at client side?
>
> Yes, your client (in application terms), can act as server (in CORBA terms).
>
> Davorin Rusevljan
--
------------------------------------------------------------------
- Rick Holland
- ObjectAge Inc.
- rgholland1@fedex.com
"Logic is a wreath of pretty flowers, that smell bad"
------------------------------------------------------------------
Re: Server invokes method at client side
Author: John Collins
Date: Fri, 13 Nov 1998 00:00
Date: Fri, 13 Nov 1998 00:00
18 lines
1620 bytes
1620 bytes
Martin Stradtner wrote: > > Is it possible with CORBA that a server invokes methods at client side? I've had no trouble doing that in Java. You implement an interface on the client side, create an instance, and pass the reference to it to the server. The server can then invoke methods on that instance in the client. That works between a Java client application and a server, and using VisiBroker with its Gatekeeper, it works between a Java applet and a server. However, I can't get it to work between applet and server using ORBacus. I also have not figured out how to make it work using the built-in ORB in Netscape. I'm told by the OOC people that it isn't possible without proprietary extensions. John Collins University of Minnesota
Re: Server invokes method at client side
Author: Stephen Crawley
Date: Thu, 19 Nov 1998 00:00
Date: Thu, 19 Nov 1998 00:00
18 lines
1749 bytes
1749 bytes
In article <364A2668.BB9D4A1F@fedex.com>, rgholland <rgholland1@fedex.com> wrote: >I have been programming with a couple different Smalltalk ORBs and >the issue of who is the client and who is the server and the idea >of a callback has never come up. At any moment an object can be a >client making a request and the next it will service a request, >(peer-to-peer). With a Java/C++ ORB is a server object making a callback >to a remote client different than a client making a remote invokation on >a server object? The mechanisms are the same. However, there is one area where you need to be a bit careful. If you don't have callbacks, your client code can be implemented as single threaded. With callbacks, you at least need to consider thread safety and deadlock issues ... depending on what the callbacks do. -- Steve
Re: Server invokes method at client side
Author: Christine Doan
Date: Wed, 25 Nov 1998 00:00
Date: Wed, 25 Nov 1998 00:00
25 lines
1847 bytes
1847 bytes
How do you get it to work between a Java applet and a server. I'm using VisiBroker. I'm getting "netscape.security.AppletSecurityException". Please help John Collins wrote: > Martin Stradtner wrote: > > > > Is it possible with CORBA that a server invokes methods at client side? > > I've had no trouble doing that in Java. You implement an interface on > the client side, create an instance, and pass the reference to it to the > server. The server can then invoke methods on that instance in the > client. > > That works between a Java client application and a server, and using > VisiBroker with its Gatekeeper, it works between a Java applet and a > server. However, I can't get it to work between applet and server using > ORBacus. I also have not figured out how to make it work using the > built-in ORB in Netscape. I'm told by the OOC people that it isn't > possible without proprietary extensions. > > John Collins > University of Minnesota
Re: Server invokes method at client side
Author: Christine Doan
Date: Wed, 25 Nov 1998 00:00
Date: Wed, 25 Nov 1998 00:00
38 lines
1997 bytes
1997 bytes
Is it possible for the server to call a callback when my client is an applet? Aoife Kavanagh wrote: > Hi Martin, > > Yes this is possible. What you would effectively be doing is having your > server > invoke a callback to the client. To achieve this your client would have to > implement > an object which exposes an IDL interface, call this the callback object. > When building > your client and server applications remember to link in the server > skeletons for your > callback object into the client application, and the client stubs for the > callback object > into the server application. > > Aoife > > Martin Stradtner wrote: > > > Is it possible with CORBA that a server invokes methods at client side? > > > > Thanx > > > > Martin > > -- > > ========================================================================= > Aoife Kavanagh, Object Technology Consultant, > IONA Technologies - Dublin, Ireland > akavanag@iona.com http : //www.iona.com/ > > akavanag@NOSPAMiona.com -- remove "NOSPAM" before replying > DISCLAIMER: The opinions offered are my own and not those of my employer
Re: Server invokes method at client side
Author: Serban Tatu
Date: Wed, 25 Nov 1998 00:00
Date: Wed, 25 Nov 1998 00:00
72 lines
3278 bytes
3278 bytes
This is a multi-part message in MIME format. --------------7658A2F76880412A08128592 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sure. However, firewalls complicate this issue very much and the answer gets a lot longer and tends to be negative in a lot of cases :-) Serban Christine Doan wrote: > Is it possible for the server to call a callback when my client is an applet? > > Aoife Kavanagh wrote: > > > Hi Martin, > > > > Yes this is possible. What you would effectively be doing is having your > > server > > invoke a callback to the client. To achieve this your client would have to > > implement > > an object which exposes an IDL interface, call this the callback object. > > When building > > your client and server applications remember to link in the server > > skeletons for your > > callback object into the client application, and the client stubs for the > > callback object > > into the server application. > > > > Aoife > > > > Martin Stradtner wrote: > > > > > Is it possible with CORBA that a server invokes methods at client side? > > > > > > Thanx > > > > > > Martin > > > > -- > > > > ========================================================================= > > Aoife Kavanagh, Object Technology Consultant, > > IONA Technologies - Dublin, Ireland > > akavanag@iona.com http : //www.iona.com/ > > > > akavanag@NOSPAMiona.com -- remove "NOSPAM" before replying > > DISCLAIMER: The opinions offered are my own and not those of my employer --------------7658A2F76880412A08128592 Content-Type: text/x-vcard; charset=us-ascii; name="vcard.vcf" Content-Transfer-Encoding: 7bit Content-Description: Card for Serban Tatu Content-Disposition: attachment; filename="vcard.vcf" begin: vcard fn: Serban Tatu n: Tatu;Serban org: Starvision Multimedia Corp. adr: 4170 Still Creek Drive;;;Burnaby ;BC ;V5C 6C6;Canada email;internet: statu@starvision.com title: Software Developer tel;work: (604)571-6241 tel;fax: (604)205-5511 x-mozilla-cpt: ;0 x-mozilla-html: FALSE version: 2.1 end: vcard --------------7658A2F76880412A08128592--
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads