Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to call a Java program in SQLServer?

 
Lisa Yu
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I get to call a Java program from MS-SQLServer (Either in trigger or in store-procedure) to through a message to a remote Data Queue in AS/400.
Did anybody have any idea whether SQLServer can call the Java program? If not, can it call C, C++ or VB program?
And what is the easiest way to use a third party API in Java?
 
Cindy Glass
"The Hood"
Sheriff
Posts: 8521
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well, I believe that the SQLServer can call a .bat file, and the bat file can contain the commands to invoke a java program so . . . . .
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic