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
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.
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.