File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes EJB and other Java EE Technologies and the fly likes StatelesSessionBean using sound files residing on server 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 "StatelesSessionBean using sound files residing on server" Watch "StatelesSessionBean using sound files residing on server" New topic
Author

StatelesSessionBean using sound files residing on server

SSR
Greenhorn

Joined: Jun 06, 2002
Posts: 1
Dear All,
I have a stateless session bean.And i am trying to read in data from a .wav file on the server using this stateless session bean.The problem currently is ..where to place my .wav file so that the server identifies it.I am using Weblogic 6.0.Pls help.
Thanks.
[ June 06, 2002: Message edited by: SSR ]
Simon Brown
sharp shooter, and author
Ranch Hand

Joined: May 10, 2000
Posts: 1913
    
    6
This is one of the reasons why file IO isn't recommended from the EJB tier of applications - simply because there is no standard place in which to read/write files.
There's always the CLASSPATH, but I don't think that it's appropriate in your case.
Why use a stateless session bean?
Cheers
Simon
p.s. could you take a look at the naming policy and edit your profile to bring your name "SSR" into line with it please - thanks
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: StatelesSessionBean using sound files residing on server