VB.net Client for EJB

Dear all ,

In my project, the Complete business process is contained in the EJBs . And now due to the specific need of the customer, VB.net is going to be used in the Client side. Customer does not want to rewrite the Business logic written in EJB. So, I need to call my EJB from VB.net application.

Other information : Weblogic 8.1 is the application server. Customer does not want to use Webservices also.

Help me in this regard

regards

prakash

[499 byte] By [Sofil-Prakash] at [2007-12-19]
# 1

Hi,

Very interestig scenario. This forum is about portability, hence probably not the best place to ask this question. How wver I will make an attempt to answer your question. EJBs are already accessible from CORBA clients. VB.NET is a COM world. So use some sort of COM/CORBA bridge to invoke the EJBs. In this scenario, EJBs act as a CORBA server. You may like to check with Bea if they have any COM/CORBA bridge implementation.

Otherwise in the web may find some information about COM/CORBA bridge.

Hope this helps.

sahoo_s_k at 2007-7-2 > top of java,Enterprise & Remote Computing,AVK Portability...
# 2
HiThanx for the solution. Will there be any solutions without using CORBA technology ? Customer does not want the package to be a thicker one by implementing CORBA based technology with that. Anyway thanx and i will try to push him through this answer.
Sofil-Prakash at 2007-7-2 > top of java,Enterprise & Remote Computing,AVK Portability...
# 3

2 alternative ways come into my mind:

1. Use "jcom" feature coming from Weblogic server. It is a bridge between COM+ and EJB. You can use traditional VB as the client, with a jcom client's help, your VB client can talk to backend EJB just like you're calling a COM component.

2. Use Web Service. Since you're using VB.NET, not VB6, it is very easy to finish the client code for calling a web service on other stie. But the drawback is you have to wrap up your EJB with a Web Service layer and providing WSDL for each function. This is not the best way to do, but doable.

host00 at 2007-7-2 > top of java,Enterprise & Remote Computing,AVK Portability...