Results 1 to 3 of 3

Thread: Ice module name

  1. #1
    ganzuoni is offline Registered User
    Name: Guido Anzuoni
    Organization: Individual
    Project: No specific project
    Join Date
    Jun 2003
    Location
    Italy
    Posts
    49

    Ice module name

    Hello,
    it would nice to have the possibility to name "ice" a nested
    module.
    This slice def raise an error in slice2java (ice module name is reserved):

    module service {
    module ice {
    ......
    };
    };

    Regards,
    Guido.

  2. #2
    marc's Avatar
    marc is offline ZeroC Staff
    Name: Marc Laukien
    Organization: ZeroC, Inc.
    Project: The Internet Communications Engine
    Join Date
    Feb 2003
    Location
    Florida
    Posts
    1,860
    Everything that starts with "ice" is not permissible as an identifier. This allows us to have our own internal namespaces and nested namespaces, for which there can be no name clashes.

    Can't you just use "FrozenWater"?

  3. #3
    ganzuoni is offline Registered User
    Name: Guido Anzuoni
    Organization: Individual
    Project: No specific project
    Join Date
    Jun 2003
    Location
    Italy
    Posts
    49
    Originally posted by marc
    Everything that starts with "ice" is not permissible as an identifier. This allows us to have our own internal namespaces and nested namespaces, for which there can be no name clashes.

    Can't you just use "FrozenWater"?
    Not bad

    Well,
    if you design a service in a layered manner, with the real impl that is
    middleware independent, you could put CORBA access point,
    Ice access point, SOAP access point around it (I know is'nt that easy,
    but, at least, ease testing phase).
    With this in mind, if your service is defined as:

    com.mycompany.servicexx.spec for interface specification
    com.mycompany.servicexx.impl for implementation

    a module naming could be

    com.mycompany.servicexx.ice.spec for ice generated
    com.mycompany.servicexx.ice.impl for ice implementation

    Maybe iceimpl module name works better

    Guido.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. About slice module
    By Janggwan in forum Help Center
    Replies: 4
    Last Post: 12-14-2010, 06:48 AM
  2. Failure To Import ICE Client Module
    By afcarl in forum Help Center
    Replies: 6
    Last Post: 04-07-2010, 04:15 PM
  3. Unable to start ice module
    By cooldreng13 in forum Help Center
    Replies: 0
    Last Post: 02-25-2010, 01:35 PM
  4. Question about module
    By OrNot in forum Help Center
    Replies: 2
    Last Post: 09-19-2005, 05:57 AM
  5. Replies: 4
    Last Post: 08-18-2005, 03:08 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •