Creating DLLs with Java


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 4 of 4

Thread: Creating DLLs with Java

Hybrid View

  1. #1
    Christian Yungk Guest

    Creating DLLs with Java


    Hello all,

    I am working with a suite of products, trying to
    interconnect their functionallity. One of the products that
    I am tying into works well with DLLs. Is there a way that
    I can create DLLs using Java? I am not really interested
    in creating Java functionallity...then C/C++ placeholders
    ...then tying both the Java and the application into the
    relatively empty placeholders. Is there a way to get a
    "direct" connection? Thanks.

  2. #2
    Paul Clapham Guest

    Re: Creating DLLs with Java

    No.

    Christian Yungk <cyungk@cti.com> wrote in message
    news:38f5c645$1@news.devx.com...
    >
    > Hello all,
    >
    > I am working with a suite of products, trying to
    > interconnect their functionallity. One of the products that
    > I am tying into works well with DLLs. Is there a way that
    > I can create DLLs using Java? I am not really interested
    > in creating Java functionallity...then C/C++ placeholders
    > ..then tying both the Java and the application into the
    > relatively empty placeholders. Is there a way to get a
    > "direct" connection? Thanks.




  3. #3
    Christian Yungk Guest

    Re: Creating DLLs with Java


    Right...remind me not to ask yes/no questions in the future...too unsatisfying.
    ;-)

    "Paul Clapham" <pclapham@core-mark.com> wrote:
    >No.
    >
    >Christian Yungk <cyungk@cti.com> wrote in message
    >news:38f5c645$1@news.devx.com...
    >>
    >> Hello all,
    >>
    >> I am working with a suite of products, trying to
    >> interconnect their functionallity. One of the products that
    >> I am tying into works well with DLLs. Is there a way that
    >> I can create DLLs using Java? I am not really interested
    >> in creating Java functionallity...then C/C++ placeholders
    >> ..then tying both the Java and the application into the
    >> relatively empty placeholders. Is there a way to get a
    >> "direct" connection? Thanks.



  4. #4
    Paul Clapham Guest

    Re: Creating DLLs with Java

    Okay, sorry to give the short answer. I assumed you didn't mean you wanted
    to write a compiler in Java that would output DLLs -- although you could do
    that. I assumed you were asking whether you could create a DLL whose entry
    points were methods of a Java class, or something along that line. There's
    a tutorial on Sun's Java site on how to use JNI (start at
    http://java.sun.com/docs/books/tutorial/trailmap.html), from which it's
    apparent to me that the parameter lists for Java differ from the ordinary
    parameter lists someone would have used in writing a DLL. So some kind of
    adapter code would be necessary, and that's JNI. But you say you don't want
    to do that. I don't blame you at all, after following the tutorial. I
    don't want to do it either, and I have a DLL that I'd like to call from Java
    too. I'm going to write a program that takes a list of arguments from the
    command line and calls the DLL, then I can call that program from
    getRuntime().exec().

    Christian Yungk <cyungk@cti.com> wrote in message
    news:38f5fafc$1@news.devx.com...
    >
    > Right...remind me not to ask yes/no questions in the future...too

    unsatisfying.
    > ;-)
    >
    > "Paul Clapham" <pclapham@core-mark.com> wrote:
    > >No.
    > >
    > >Christian Yungk <cyungk@cti.com> wrote in message
    > >news:38f5c645$1@news.devx.com...
    > >>
    > >> Hello all,
    > >>
    > >> I am working with a suite of products, trying to
    > >> interconnect their functionallity. One of the products that
    > >> I am tying into works well with DLLs. Is there a way that
    > >> I can create DLLs using Java? I am not really interested
    > >> in creating Java functionallity...then C/C++ placeholders
    > >> ..then tying both the Java and the application into the
    > >> relatively empty placeholders. Is there a way to get a
    > >> "direct" connection? Thanks.

    >




Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center