Go Back   ZeroC Forums > Comments

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old 04-18-2008
kwaclaw kwaclaw is offline
Registered User
 
Name: Karl Waclawek
Organization: Toronto Star Newspapers Ltd.
Project: Proof of concept
 
Join Date: Sep 2004
Location: Oshawa, Canada
Posts: 123
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
The Toronto Star - http://www.thestar.com
Reply With Quote
  #2 (permalink)  
Old 04-23-2008
bernard's Avatar
bernard bernard is offline
ZeroC Staff
 
Name: Bernard Normier
Organization: ZeroC, Inc.
Project: Ice
 
Join Date: Feb 2003
Location: Palm Beach Gardens, FL
Posts: 751
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.
Reply With Quote
  #3 (permalink)  
Old 04-23-2008
kwaclaw kwaclaw is offline
Registered User
 
Name: Karl Waclawek
Organization: Toronto Star Newspapers Ltd.
Project: Proof of concept
 
Join Date: Sep 2004
Location: Oshawa, Canada
Posts: 123
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
The Toronto Star - http://www.thestar.com
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
Compared with EJBs? wolfywolfbits Comments 3 08-03-2004 05:33 PM


All times are GMT -4. The time now is 04:59 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.