请问有什么工具可以让VB调用EJB对象?


业务逻辑和数据访问用EJB实现,而显示层希望用VB(或VB.Net)实现,可行吗?

因为在VB这一块有了很大的投资和不小的成果,如今要转型,把过去的一切都放弃代价太大了。所以希望能保留过去的投资,至少是部分保留。

Web service 应该可以。不过性能上很差。

Webservices( SOAP over HTTP/HTTPs) is not as efficient as RMI/IIOP for multiple reasons: SOAP call stack implementation, XML element parsing, Text transformation etc. What I found is your data structure/content has big impact on performance. On the other hand, a good webservice platform is very important, if you rely on earlier version of AXIS or Castor kind of stuff to handle xml to/from object mapping, you definitely will run into memory and speed problem, but today there are many good products implemented in Java. I don't know .NET side, but I believe things will get better everyday.
I have implemented a jbuilder WebService plugin that can access EJB server object as easy as accessing RDBMS, I am looking for a volunteer to copy the idea into VB.NET, if you interest, let me know.

-Wanchun

weblogic workshop 可以把ejb 发布成webservice,这样vb可以调用了