• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

jee and jni/dlls

 
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I appear to have a gap in my understanding..

I have a jee app which loads a dll (by means of a resource adapter)
What would happen if I ran this app in a distributed fashion? Would everthing "just work" because of JEE magic (assuming that the dll is available on every machine)?
What would happen if the dll ran a service? Would there be additional constraints on the design of the app?

Thanks in advance of anyone who can help me to understand this better.
 
Bartender
Posts: 1638
IntelliJ IDE MySQL Database Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

grigoris:
I have a jee app which loads a dll (by means of a resource adapter)
What would happen if I ran this app in a distributed fashion? Would everthing "just work" because of JEE magic (assuming that the dll is available on every machine)?



For us to answer, probably, you need to define what "everything just works" means?
Are you saying that if you run this app in multiple machines(cluster) it will work or if you install different component of the app in different machine will "everything works"?
All depends on what you are trying to do and what you are expecting to work.

grigoris:
What would happen if the dll ran a service? Would there be additional constraints on the design of the app?


Again, this will depend on what the service intend to do. If the service assume that there is only one instance of the service running then, running multiple instance of the same service may pose a problem (if there is a point at which all the services will converge(i.e. do something at a common place like a DB/Network file system))
[ November 07, 2008: Message edited by: Nitesh Kant ]
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic