• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Tim Cooke
  • Paul Clapham
  • Jeanne Boyarsky
Sheriffs:
  • Ron McLeod
  • Frank Carver
  • Junilu Lacar
Saloon Keepers:
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Al Hobbs
  • Carey Brown
Bartenders:
  • Piet Souris
  • Frits Walraven
  • fred rosenberger

how to use vb dlls from java

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
our project is such a way that vb can give command to mainframe using 3270 api. we are planning to design a user interface in java in such a way that java should call the vb dlls to send its input to mainframe.
if this method is not correct can any body say by what means java can interact with mainframe using 3270 api?
thanks in advance
priya
 
Rancher
Posts: 3742
16
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You can either use JNI to access your VB DLL or try googling for java 3270 API. There seem to be a number of them available. See if any meet your needs.
 
Ranch Hand
Posts: 101
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
If your VB DLLs expose COM objects you could use COM automation with a Java COM bridge like JACOB.

Regards
[ September 15, 2006: Message edited by: Jean-Francois Briere ]
 
lakshmipriya ganapathy
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Dear Jean,
I am a novice in VB cn you please give me source for more information regarding com objects?
thank you in advance,
Lakshmipriya Ganapathy
 
author and iconoclast
Posts: 24204
44
Mac OS X Eclipse IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by lakshmipriya ganapathy:

I am a novice in VB



Then it would be silly to do things that way -- you'd have to learn a lot of things that are ultimately irrelevant to what you want to do. Instead find a Java API that lets you talk 3270 directly; don't use the DLLs at all.
 
Heroic work plunger man. Please allow me to introduce you to this tiny ad:
Garden Master Course kickstarter
https://coderanch.com/t/754577/Garden-Master-kickstarter
reply
    Bookmark Topic Watch Topic
  • New Topic