ASP Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsProgrammingASP Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old February 17th, 2003, 10:14 AM
mikepaul mikepaul is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Feb 2003
Posts: 2 mikepaul User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
VB6 Java interoperability

I have been asked to investigate the possibility of a VB6 app working with a java app.

Scenario: VB6 app processes financial transactions and posts requests to some proprietory software which talks to mainframe. Messages sent both ways.

We are trying to get rid of proprietory software - but some conditions. All new software must be written in Java. Also likely that Java app and VB6 app will be both be on client machine.

Java app will talk to mainframe using TCP/IP

I am looking for any suggestions on how to approach this, and pointers to references on relevent material.

A few questions we are looking at in relation to this follow. Any help greatly appreciated.

Can VB6 generate XML data which a Java app can read? Does SOAP need to be used? Does HTTP need to be used if both apps on same machine

Reply With Quote
  #2  
Old February 17th, 2003, 01:29 PM
digitallysmooth digitallysmooth is offline
you know how we do
Dev Articles Novice (500 - 999 posts)
 
Join Date: Jun 2002
Posts: 788 digitallysmooth User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 34 m 21 sec
Reputation Power: 8
This isn't as hard as you think. It isn't fun, but not impossible.
There are a few ways to do this, and there are more than I am willing to put down here... however, here are a couple.

1.
Take a look at .NET.
Look into its web services solutions.
There are samples out on the net.
VB and Java can interact with each other through Web services.

2.
Take a look at Java Native interface (JNI).
This allows Java to call a method in a DLL.
The DLL can communicate with the VB Applicaiton through remote method calls or its COM interface.
__________________
__________________________________________________ _
Wil Moore III, MCP | Integrations Specialist | Senior Consultant
Are You Listed...? | DigitallySmooth Inc.

Reply With Quote
  #3  
Old February 21st, 2003, 07:18 AM
mikepaul mikepaul is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Feb 2003
Posts: 2 mikepaul User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Thanks - that's a good start for me. All of the stuff I have seen uses some form of internet protocol for the web services route. My probelm is that both apps are on the same machine, and there will be no web server installed. Is there another way of sending the xml direct or is it a case of saving it to a file and getting the other app to read the file?

Reply With Quote
  #4  
Old February 22nd, 2003, 01:18 PM
digitallysmooth digitallysmooth is offline
you know how we do
Dev Articles Novice (500 - 999 posts)
 
Join Date: Jun 2002
Posts: 788 digitallysmooth User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 34 m 21 sec
Reputation Power: 8
If you can save the xml to a file and have the other app read it, you should have no problem.

The only time you may have a problem is if the xml is not written in time.

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgrammingASP Development > VB6 Java interoperability


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump




 Free IT White Papers!
 
How to Present Effectively Online
This white paper offers practical and actionable advice on the key steps that any presenter should consider as they plan and execute a Webinar or online meeting.

Request Your Free Technology Downloads!
 
Open Source Security Myths
Open Source Software (OSS) is computer software whose source code is available to the general public with relaxed or non-existent intellectual property restrictions (or arrangement such as the public domain), and is usually developed with the input of many contributors.

Request Your Free Technology Downloads!
 
Power and Cooling Capacity Management for Data Centers
This paper describes the principles for achieving power and cooling capacity management.

Request Your Free Technology Downloads!
 
Scalable, Fault-Tolerant NAS for Oracle - The Next Generation
For several years NAS has been evolving as a storage alternative for Oracle databases, and for good reason: NAS is quite often the simplest, most cost-effective storage approach for Oracle. Learn about the benefits that HP's approach to scalable NAS brings to Oracle environments in this comprehensive white paper.

Request Your Free Technology Downloads!
 
Understanding Web Application Security Challenges
This white paper discusses many common threats and preventive measures for Web application security, and explains what you can do to help protect your organization.

Request Your Free Technology Downloads!
 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 




© 2003-2009 by Developer Shed. All rights reserved. DS Cluster 6 Hosted by Hostway
For more Enterprise Application Development news, visit eWeek