Problem solve Get help with specific problems with your technologies, process and projects.

Visual Basic program to talk to EJB thru SOAP/XML?

Is it possible for a Visual Basic program to talk to EJB thru SOAP/XML? That is, building a presentation layer with VB and business layer with EJB?
You've described an excellent example of when to use SOAP. You need to provide a SOAP interface to the EJB application and you need to generate a WSDL description from that interface. There are more than a dozen Java-based SOAP tools to choose from. Since you're goal is interoperability, you want to use one that makes interoperability easy. (Some support interoperability better than others. Check the results from the last interoperability lab. Systinet, BEA, and Iona scored well. Apache and GLUE did less well.) Check out the following articles on www.theserverside.com for tips on EJB integration and .NET interoperability:



Once you've generated your WSDL description, you can generate a VB client component from the WSDL using a VB-based SOAP tool, such as MS SOAP, .NET Framework, or Pocket SOAP. Build your presentation layer with VB and use the generated client component to call the EJB.

Editor's note: Click here for Java expert Jeff Hanson's answer to this question.

Dig Deeper on Topics Archive

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.