Go Back   ZeroC Forums > Help Center

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old 04-02-2004
iivdam iivdam is offline
Registered User
 
Name: Emko van Dam
Organization: n/a
Project: n/a
 
Join Date: Apr 2004
Posts: 2
Facets

Hi,

In our project we are planning to use the facet concept. In the readme file you mentioned a major redisign of facets in an upcoming version of Ice.
We want to estimate the risk for our project concerning that redesign.
Will the redesign reflect only on the internal implementation or will also the interface or facet concept be changed?
For now we follow the rules stated in the readme file. Can you give an indication of the effort we must make to adapt the new facet implementation?

regards,
Emko van Dam
Reply With Quote
  #2 (permalink)  
Old 04-02-2004
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,781
The interface to facets will be changed.

First, facets will be flat, not hierarchical, so the facet path will be replaced with a simple facet name. This will be reflected in all interfaces that use the facet path.

Plain objects (i.e., instances of a class or interface, as opposed to "Ice objects") will not have facets anymore, i.e., there will be no active facet map anymore in Ice::Object. Only the abstract concept of Ice objects will have facets, i.e., you can register a servant for a facet of an Ice object with the object adapter's active servant map, or you can use a servant locator.

The reason for why we are doing these changes are:[list=1][*]Simplicity: Currently facets are too complicated.[*]No Aggregation: Some projects (most notably the large-scale project "Wish") used facets as a built-in aggregation mechanism. At first glance, this seemed like a convenient way to atomically save a collection of objects with Freeze. But at closer look this meant a huge additional burden with respect to performance.[/list=1]
The original intent of facets is to offer multiple interfaces with interface aggregation, to extend a type dynamically. With the current system with the active facet map residing in Ice::Object, this is unfortunately often misused for aggregation of otherwise unrelated types.
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
Problem with "addWithUUID", while implementing the facets phanikommula Help Center 6 08-18-2006 08:36 PM
Problem with "addWithUUID", while implementing the facets phanikommula Help Center 1 08-09-2006 05:16 AM
facets versus CORBA multiple inheritance seth.piezas Help Center 2 02-15-2005 08:14 PM
controlled casting (facets?) shaver Help Center 3 02-11-2005 04:11 PM
Facets and documentation RyanFogarty Comments 2 08-12-2003 01:30 PM


All times are GMT -4. The time now is 08:17 AM.


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.