2 Replies Latest reply on Aug 24, 2009 9:12 AM by geziefer

    Seam and JNA?

    geziefer

      Hi there,


      our customer provided a blackbox (a windows dll or lunux so) which we have to use in our Seam (2.2 on JBoss 5 as ear-file) application.
      I tested this library with a standard java class and JNA access to it.


      Now, is it possible to use JNA in a Seam based application as well?
      If yes, how do I integrate it and which restrictions apply?
      If not, how else could I access this library from my Seam application?


      Thanks and regards,
      Alex

        • 1. Re: Seam and JNA?

          Alexander Rühl wrote on Aug 21, 2009 15:47:


          Hi there,

          our customer provided a blackbox (a windows dll or lunux so) which we have to use in our Seam (2.2 on JBoss 5 as ear-file) application.
          I tested this library with a standard java class and JNA access to it.



          Be careful, if you deploy in windows, you may not be able to undeploy JBSEAM-4078




          • 2. Re: Seam and JNA?
            geziefer

            Thank you for the hint on that topic, but it didn't really answer my question.
            So, can anyone tell me if it's possible to use native code in my Seam application? Is there any sample code available?
            Alex