<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: JNI - OpenVMS Sharable Image in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/jni-openvms-sharable-image/m-p/3733326#M33611</link>
    <description>S Dawson,&lt;BR /&gt;&lt;BR /&gt;It needs to point to a correct built shareable library image (been there, done that--my project involved C code native methods invoked by Java programs).&lt;BR /&gt;&lt;BR /&gt;- Bob Gezelter, &lt;A href="http://www.rlgsc.com" target="_blank"&gt;http://www.rlgsc.com&lt;/A&gt;</description>
    <pubDate>Thu, 16 Feb 2006 21:30:05 GMT</pubDate>
    <dc:creator>Robert Gezelter</dc:creator>
    <dc:date>2006-02-16T21:30:05Z</dc:date>
    <item>
      <title>JNI - OpenVMS Sharable Image</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/jni-openvms-sharable-image/m-p/3733325#M33610</link>
      <description>I'm trying to incorporate some Java code into an existing Legacy 'C' application. I have modified the Java JNI demo (that came with the OpenVMS SDK) to the point where I have the Java code performing the functionality I need. &lt;BR /&gt;&lt;BR /&gt;My question is:&lt;BR /&gt; Does the System.loadLibrary have to point to an executable image, can I just point it at the .obj, or??? I've tried several options, and checked several forums, but have not seen where this is done. And I have not got anything to work yet.&lt;BR /&gt;&lt;BR /&gt;Something tells me there's got to be a better way to integrate existing apps with a Java module than having to do a loadLibrary on the large executable for 1 'C' entry point.  &lt;BR /&gt;&lt;BR /&gt;If someone could point me in the right direction, I'd appreciate it.&lt;BR /&gt;&lt;BR /&gt;Thanks.</description>
      <pubDate>Thu, 16 Feb 2006 14:51:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/jni-openvms-sharable-image/m-p/3733325#M33610</guid>
      <dc:creator>S Dawson</dc:creator>
      <dc:date>2006-02-16T14:51:37Z</dc:date>
    </item>
    <item>
      <title>Re: JNI - OpenVMS Sharable Image</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/jni-openvms-sharable-image/m-p/3733326#M33611</link>
      <description>S Dawson,&lt;BR /&gt;&lt;BR /&gt;It needs to point to a correct built shareable library image (been there, done that--my project involved C code native methods invoked by Java programs).&lt;BR /&gt;&lt;BR /&gt;- Bob Gezelter, &lt;A href="http://www.rlgsc.com" target="_blank"&gt;http://www.rlgsc.com&lt;/A&gt;</description>
      <pubDate>Thu, 16 Feb 2006 21:30:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/jni-openvms-sharable-image/m-p/3733326#M33611</guid>
      <dc:creator>Robert Gezelter</dc:creator>
      <dc:date>2006-02-16T21:30:05Z</dc:date>
    </item>
    <item>
      <title>Re: JNI - OpenVMS Sharable Image</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/jni-openvms-sharable-image/m-p/3733327#M33612</link>
      <description>I'm trying to stick some EJB's into an existing 'C' legacy application. This seems a cleaner approach than using sockets to segregate the C exe's from Java processes.&lt;BR /&gt;&lt;BR /&gt;I have the same executable running in 3 seperate groups (ie. environments). Each group has it's own group level logicals, UIC, ....&lt;BR /&gt;The JNI stuff is not giving me as much problems as the OpenVMS is. &lt;BR /&gt;&lt;BR /&gt;Does this approach make sense? &lt;BR /&gt;Has anyone done more than a trivial integration of Java into 'C'...This is really bugging me because I could brute force it with just socket calls into a pure Java environment in about half the time....but the idea of creating a 'C' cover function that Creates the JVM and calls existing Java code is just too much to give up on without somewhat of a fight.&lt;BR /&gt;&lt;BR /&gt;Any suggestions would be helpful.&lt;BR /&gt;&lt;BR /&gt;Scott</description>
      <pubDate>Mon, 20 Feb 2006 16:33:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/jni-openvms-sharable-image/m-p/3733327#M33612</guid>
      <dc:creator>S Dawson</dc:creator>
      <dc:date>2006-02-20T16:33:35Z</dc:date>
    </item>
    <item>
      <title>Re: JNI - OpenVMS Sharable Image</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/jni-openvms-sharable-image/m-p/3733328#M33613</link>
      <description>Scott,&lt;BR /&gt;&lt;BR /&gt;not being a JAVA nor C programmer, but there was a recent question on how to create a JAVA VM from BASIC:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=999642" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=999642&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;There is also an ATW example on calling COBOL from JAVA (JNI):&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://h71000.www7.hp.com/wizard/wiz_7543.html" target="_blank"&gt;http://h71000.www7.hp.com/wizard/wiz_7543.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Volker.</description>
      <pubDate>Tue, 21 Feb 2006 03:13:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/jni-openvms-sharable-image/m-p/3733328#M33613</guid>
      <dc:creator>Volker Halle</dc:creator>
      <dc:date>2006-02-21T03:13:50Z</dc:date>
    </item>
  </channel>
</rss>

