• Post Reply Bookmark Topic Watch Topic
  • New Topic

JNI in webserivices - Is it possible ?

 
Prashant Danda
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
Is it possible to use JNI in webservice, can I call a dll from a java webservice?
Has anyone tried it before.
Any links in this regard would be useful.
Thanks,
-Ant.
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13078
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can do anything in a web service that a normal application can do but you have to plan carefully. Remember that a web service may be simulataneously handling multiple requests so your native code must be thread-safe OR you must manage access so that only one request is processed at one time.
Bill
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!