Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

StatelesSessionBean using sound files residing on server

 
SSR
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1913
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic