This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Need to process a file using a native long running application

 
Kenneth Gustafsson
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have a native application which I need to call when the user presses a button in my web application.

This application will take a while to finish and I've heard it's bad to call such applications (or perhaps any native application?) directly using a Stateless SessionBean.

How do you propose that I attack this problem?
 
Roger Chung-Wee
Ranch Hand
Posts: 1683
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is your web application reading a file?
 
Kenneth Gustafsson
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The button is pushed when the user wants to download a series of MP3 files packaged into an ISO-file. We need to package the MP3-files into an ISO archive when the user wants the files. The packaging will take ca 2 minutes.

So it involves file reading as well as calling a native application.
 
Roger Chung-Wee
Ranch Hand
Posts: 1683
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
OK, so having processed the files, do you then invoke the EJB? And what are the parameter and return types of the EJB?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic