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 ]