Results 1 to 3 of 3

Thread: ICE and EJBs

  1. #1
    kwaclaw is offline Registered User
    Name: Karl Waclawek
    Organization: Personal
    Project: Whiteboard application
    Join Date
    Sep 2004
    Location
    Oshawa, Canada
    Posts
    159

    ICE and EJBs

    I am currently tasked to make suggestions for a web application architecture blueprint. I am very much interested in suggesting ICE as the underlying cross-platform communication infrastructure for the application part, as I would like to the ability to expose some app functions/services in a cross-platform way.

    However, I am running into some difficulty. There seems to be some preference here for running apps under an application server like JBOSS. This means they have to be in Java (no problem yet), but it also means the runtime environment is an EJB container, and right out of the box the EJB spec only supports IIOP for EJBs.

    I know, ICE (the core) mainly brings three parts to the table:
    1) A wire protocol
    2) IDL and several IDL-to-Language mappings
    3) An execution/runtime environment for ICE objects

    It is the third that is the problem, as EJBs require their own kind of runtime environment. My question is:

    Is it possible to expose an EJB through ICE (wire protocol) - while it is running in an EJB container (as it can be done with IIOP)?

    Karl
    Karl Waclawek

  2. #2
    bernard's Avatar
    bernard is offline ZeroC Staff
    Name: Bernard Normier
    Organization: ZeroC, Inc.
    Project: Ice
    Join Date
    Feb 2003
    Location
    Palm Beach Gardens, FL
    Posts
    1,294
    Hi Karl,

    I think what you're asking about is the ability to call your EJBs from Ice clients, the Ice equivalent of JBoss IIOP.

    In theory, this should be feasible. I suspect this would require a RMI-to-Ice mapping, and also specific support in your favorite EJB container. Quite a bit of work Naturally we'd be delighted to see such addition to JBoss.

    Cheers,
    Bernard
    Bernard Normier
    ZeroC, Inc.

  3. #3
    kwaclaw is offline Registered User
    Name: Karl Waclawek
    Organization: Personal
    Project: Whiteboard application
    Join Date
    Sep 2004
    Location
    Oshawa, Canada
    Posts
    159
    Quote Originally Posted by bernard View Post
    I think what you're asking about is the ability to call your EJBs from Ice clients, the Ice equivalent of JBoss IIOP.
    Yes, correct.

    Quote Originally Posted by bernard View Post
    In theory, this should be feasible. I suspect this would require a RMI-to-Ice mapping, and also specific support in your favorite EJB container. Quite a bit of work Naturally we'd be delighted to see such addition to JBoss.
    Me too.

    Anyway, I guess all I can suggest is writing an ICE adapter as EJB client.
    Its just more work than the other choices. E. g., a web service can be exposed from an EJB simply through annotation.

    Karl
    Karl Waclawek

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Compared with EJBs?
    By wolfywolfbits in forum Comments
    Replies: 3
    Last Post: 08-03-2004, 05:33 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
  •