Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

jee and jni/dlls

 
grigoris philippoussis
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • 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.
 
Nitesh Kant
Bartender
Posts: 1638
IntelliJ IDE Java MySQL Database
  • Mark post as helpful
  • send pies
  • 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 ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic