dephi能访问EJB吗?(200分)

Y

yps

Unregistered / Unconfirmed
GUEST, unregistred user!
我已做了JSP(servlet)->EJB->ORACLE(应用服务器使用weblogic 6)
现在我想用delphi(corba)->EJB->ORACLECE能行吗?
delphi能实现更复杂的报表和运行效率。
书上说ejb使用(RMI/IIOP)通信的,可以用delphi进行通信。
但是我不知道怎么编写,最好能有个代码或资料参考。
谢谢!
 
好象听说过 Corba 可以与 EJB互通信。
 
您可以使用SIDL,参见 http://codecentral.borland.com/codecentral/ccweb.exe/listing?id=15573
您可能需要登录Borland Developer Network以便读取以上网页。从这里登录 https://bdn.borland.com/cgi-bin/login/
Borland AppServer 4.5 或 Borland Enterprise Server AppServer Edition 中带有SIDL的例子,可惜是Java客户端。
可结合上面的Delphi例子。
 
应该可以.虽然我没有实践过,但WEblogic的文档上有明确提到的操作步骤.(bea/docs61/rmi_iiop/API_rmi_iiop.html)
好像最关键的是生成IDL.
 
to:papa;
我找到了,看了文章说可以,不过需要
CORBA client that uses a CORBA 2.4.2 ORB.
Note: Due to name-space conflicts,
Java CORBA clients are not supported by the RMI over IIOP specification.
不知道delphi 6的corba是不是2.4.2.
 
Delphi 6 的corba 不是 2.4.2。 正因如此,您才需要用SIDL.
 
to yps:
这段E文不知你从哪里摘来的?我查找了WLS 61 和 70的在线文档都没找到。只在70找到了这段话(在一个表格中):
类型: RMI-IIOP CORBA/IDL client
语言:C++, C, Smalltalk, COBOL(Any language that OMG IDL can map to).
协议:IIOP
定义:CORBA client that uses a CORBA 2.3 ORB.
Note: Due to name-space conflicts, Java CORBA clients are not supported by the RMI over IIOP specification.
好处:Interoperability between WebLogic Server and clients written in C++, COBOL, etc.

意思是说,只要Corba2。3。0 就够了。61中也有类似的话。
我很久没用DELPHI了,也不是很清楚Delphi是否支持。你可到论坛的其他板块去问问。
Good Luck。
 
谢谢大家了。
 
yps已经有答案了?
 
顶部