Go Back   ZeroC Forums > Help Center

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old 06-18-2003
ganzuoni ganzuoni is offline
Registered User
 
Name: Guido Anzuoni
Organization: Individual
Project: No specific project
 
Join Date: Jun 2003
Location: Italy
Posts: 46
Contexts

Hello,

I have a little question about the differences of context between
CORBA and Ice.
Without discussing if it's better to have a clean signature of operations,
that causes the need of interceptors, or explicit extra arg to pass
context from client to server, I would like to know what is the
approach to follow to pass objects in the context (i.e., TransactionService).
Should I stringify the identity ?
Maybe it would be nice to have the possibility of putting arbitrary
data.


Thanks in advance,
Guido.
Reply With Quote
  #2 (permalink)  
Old 06-18-2003
marc's Avatar
marc marc is offline
ZeroC Staff
 
Name: Marc Laukien
Organization: ZeroC, Inc.
Project: The Internet Communications Engine
 
Join Date: Feb 2003
Location: Florida
Posts: 1,772
A context in Ice is more comparable with CORBA service contexts (in the GIOP protocol), not with the evil IDL context :-)

A context is for passing information *about* a request, such as routing information. For example, Glacier uses contexts to control batching, security, etc. Have a look at the Glacier manual for more details.

Contexts should never be used as regular parameters. They might be interpreted and changed or even dropped by routers.

Contexts will also be the mechanism with which distributed transactions will eventually be implemented in Ice.
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Contexts and threads aaron Help Center 2 01-27-2004 12:59 PM


All times are GMT -4. The time now is 07:19 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0
(c) 2008 ZeroC, Inc.