aspose file tools*
The moose likes EJB and other Java EE Technologies and the fly likes Design Isssue, can anyone help me! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Design Isssue, can anyone help me!" Watch "Design Isssue, can anyone help me!" New topic
Author

Design Isssue, can anyone help me!

PK Ghosh
Greenhorn

Joined: Aug 08, 2006
Posts: 24
Hi,

Can anyone help with design issue:

I have project running under JBoss platform on (Hibernate/Oracle with servlet coding). But unfortunately I need to invoke client resources using �Runtime.exec()� from the browser (internet explorer). In the client side I need to store one text data file and invoke a program (daf.exe) using Runtime. How could I do that. Should I have to disable some security feature of the browser? Or what are the best possible way I can do. Can you please help me.


Thanks and regards

PK
Shailesh Kini
Ranch Hand

Joined: Oct 17, 2001
Posts: 153
Hi PK,

Is there any specific reason/requirement why daf.exe has to be called from a java runtime? In my opinion if all you need is to run this exe, you could do that from a client side vbscript. However, I have to warn you that this is not a recommended approach. Hope this site is only on your company's local intranet. If not, can you please give the public url... I will make sure never to go there.


Shailesh Kini.
PK Ghosh
Greenhorn

Joined: Aug 08, 2006
Posts: 24
Shailesh,

Yeah, this is using only on intranet people. How could you use VBScript to invoke exe file. I mean when backend servlet is running on Jboss. Could you please provide me little bit more info on that.

Thanks and regards

PK
Shailesh Kini
Ranch Hand

Joined: Oct 17, 2001
Posts: 153
Hi PK,

Hope this thread helps you -> vbscript to run exe
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Design Isssue, can anyone help me!