jQuery in Action, 2nd edition*
The moose likes Distributed Java and the fly likes jee and jni/dlls Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Distributed Java
Bookmark "jee and jni/dlls" Watch "jee and jni/dlls" New topic
Author

jee and jni/dlls

grigoris philippoussis
Greenhorn

Joined: Oct 22, 2007
Posts: 16
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

Joined: Feb 25, 2007
Posts: 1638

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 ]

apigee, a better way to API!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: jee and jni/dlls
 
Similar Threads
Compiler warning when i try to cast my readed input?
jboss 6 j2ee jar file?
What library file is missing?
How to write bash script to run SWT App?
Native Call to DLL