Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Struts & IIS

 
Gaurav Pawar
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
I have a struts application whose (MODEL) bean loads a dll (a JNI program). This works fine with TOmcat setup on Windows Machine!!!

Now i need to deploy the application on a linux server. THis would eventually create a problem for my DLL to load and execute!!!

Can i use Struts with IIS? (i can use windows server then!!)

If yes then can anyone please forward me articles/references to do so.

If not how do i get the DLL working on my Linux machine ?

Regards,
Gaurav Pawar
 
Merrill Higginson
Ranch Hand
Posts: 4864
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Struts runs under a Java Application Server. While A Struts application works just fine with an IIS webserver forwarding to a Java Application server, it will not work with IIS alone.

Furthermore, a DLL will not run on Linux. End of conversation. If you want your application to work on linux, you will either have to rewrite the dll code in Java, or compile the code in the dll into a .so file usable on Linux.
[ November 06, 2006: Message edited by: Merrill Higginson ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic