discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Can we use Jigs


From: Gregory Casamento
Subject: Re: Can we use Jigs
Date: Mon, 10 Sep 2001 17:20:22 -0700 (PDT)

I believe that CORBA is a better solution to this problem because it is:

Pros:
1) Language independent: CORBA has bindings for C, C++, and Java.
2) A more widely accepted standard than either JMS or RMI and, as such,
   would allow communication to non-java and non-GNU-DO applications.

Cons:
1) May not be as flexible as DO, but I can't speak to this since I don't know 
CORBA.
What does tying core to jigs buy us?
Pros:
1) Allows us to communicate with Java Programs as well as our stuff 
   via RMI/JMS (etc.)

Cons:
1) It would make JIGS mandatory in order to even build the core libraries, 
   unless, of course, it is conditionally compiled in if JIGS is present.
2) Code would no longer be "pure" Objective-C.
  

--- Kotesh <kotesh@orillion.com> wrote:
> Nicol,
> 
> your assumptions about my intention towards replacing DO with jigs is
> correct. But currently I am evaluating different technologies like JMS,RMI
> etc. I am more worried about the performance impact on the components after
> replacing DO. In any case I will let you know if get any success in
> embedding new communication medium inside jigs...
> 
> thanks
> kotesh
> 
> 
> 
> 
> ----- Original Message -----
> From: "Nicola Pero" <nicola@brainstorm.co.uk>
> To: "Kotesh" <kotesh@orillion.com>
> Cc: "Discuss-Gnustep (E-mail)" <discuss-gnustep@gnu.org>; "Nicola Pero"
> <n.pero@mi.flashnet.it>
> Sent: Monday, September 10, 2001 5:00 PM
> Subject: Re: Can we use Jigs
> 
> 
> >
> > Hi,
> >
> > > Hi,
> > >
> > > Can jigs be used as a communication medium between two ObjectiveC
> > > components?
> > > To be Precise can jigs replace the existing DO communication between two
> > > ObjectiveC components?
> >
> > I'm not sure I understood what you want to do... :-)
> >
> > DO (distributed objects) is mainly used to have objects in different
> > processes/machines talk as if they were in the same process. (also useful
> > with different threads).
> >
> > JIGS allows you to talk to Java objects from Objective-C and viceversa,
> > but all in the same process.
> >
> > Perhaps you mean you want to use Java's RMI instead of DO to talk between
> > objects in different processes, and you want to access Java's RMI from
> > Objective-C by using JIGS.
> >
> > GNUstep DO are more dynamical and flexible than Java's RMI - you don't
> > have to generate stubs or stuff like that - everything just works out of
> > the box at runtime - it's because Objective-C is more flexible than Java.
> >
> > But, if you want to interface a GNUstep ObjC app with a Java's RMI app, it
> > might be useful and interesting to try using Java's RMI from ObjC.
> >
> > I never experimented with that, please let me know if you do :-)
> >
> > I suppose it might work to access a remote Java's RMI server from
> > Objective-C using JIGS by simply getting the java object in ObjC, and
> > accessing it as if it were a local java object - Java's RMI should do the
> > rest.  NB: `easily' should not be taken too literally as using Java from
> > Objective-C works quite well but it's quite cumbersome and not well
> > documented yet - anyway accessing a remote Java RMI server should not be
> > any more difficult than accessing a local Java object.
> >
> > Perhaps you might want to declare manually an Objective-C protocol which
> > mirrors the Java interface implemented by the remote server to make sure
> > it's compiled right ...
> >
> > Exposing ObjC stuff to remote Java processes using Java RMI is going to be
> > less attractive, you probably want to write manually a Java RMI server
> > which internally calls methods of ObjC objects exposed to Java - that will
> > certainly work.
> >
> > There might be ways to add better support in JIGS for these games but I've
> > never experimented with them.  If you have suggestions, they are welcome.
> >
> > > If yes , Is there any information on this is avialable on the Net???
> >
> > no
> 
> 
> _______________________________________________
> Discuss-gnustep mailing list
> Discuss-gnustep@gnu.org
> http://mail.gnu.org/mailman/listinfo/discuss-gnustep



=====
Gregory John Casamento

__________________________________________________
Do You Yahoo!?
Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger
http://im.yahoo.com



reply via email to

[Prev in Thread] Current Thread [Next in Thread]