Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / February 2007

Tip: Looking for answers? Try searching our database.

Passing objects through CORBA

Thread view: 
Raga - 19 Feb 2007 14:05 GMT
Hi,

What are the different possible ways that I can pass objects between
client & server in CORBA? Am using the Java language. Also, which way
is the recommended one?

Thanks.
impaler - 19 Feb 2007 14:47 GMT
> Hi,
>
[quoted text clipped - 3 lines]
>
> Thanks.

You need more than one language to justify the use of CORBA.
What exactly do you mean by "passing" an object? Remotely instantiate?
Or serialize it and send it through?
Take a look at sun's own orm or PICO or JACORB. Google for a few
others too.

Regards
Raga - 20 Feb 2007 04:48 GMT
> > Hi,
>
[quoted text clipped - 11 lines]
>
> Regards

Hi,

Thanks for your reply. By 'passing' an object, I mean that the object
is stored on the server & that should be modified from the client
through CORBA.We use JACORB. What are the different ways to modify an
object (which  is on the server) frm the client?

One possible way I can think of is to pass the object as argument of a
method & call that method from the client. Is this a good way? or is
there a better one?

Thanks.
Esmond Pitt - 20 Feb 2007 23:41 GMT
> Thanks for your reply. By 'passing' an object, I mean that the object
> is stored on the server & that should be modified from the client
> through CORBA.We use JACORB. What are the different ways to modify an
> object (which  is on the server) frm the client?

So you don't mean 'passsing an object' at all, you mean calling its
methods remotely. There's only mechanism for that in CORBA, and it's
called CORBA. You need to define your object either via IDL or as an
RMI/IIOP remote object and pass a *remote reference* to it to the client
(either via COSNaming or another remote method), and have the client
execute methods on the remote reference, which will really be a stub.

So have a look at IDLJ and RMI/IIOP.
Raga - 21 Feb 2007 09:42 GMT
On Feb 21, 4:41 am, Esmond Pitt <esmond.p...@nospam.bigpond.com>
wrote:
> > Thanks for your reply. By 'passing' an object, I mean that the object
> > is stored on the server & that should be modified from the client
[quoted text clipped - 9 lines]
>
> So have a look at IDLJ and RMI/IIOP.

OK . Sure. Thanks!


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.