Win a copy of The Journey To Enterprise Agility this week in the Agile and Other Processes forum! And see the welcome thread for 20% off.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Junilu Lacar
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Ganesh Patekar
  • Tim Moores
  • Pete Letkeman
  • Stephan van Hulst
Bartenders:
  • Carey Brown
  • Tim Holloway
  • Joe Ess

EJB & JCA  RSS feed

 
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A couple of quick questions:
1) Given that directly accessing the underlying file system is not recommended by the EJB spec, one option would be to use JCA. I'm looking for other options that that I could implement that doesnt violate the EJB spec?
2) Finally, is it considered good or bad practice to use the java.io classes from a helper class of an EJB?

thanks,
Dean
 
author
Sheriff
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I suppose you have read this?
Whether it's "good practice" to use java.io (directly or indirectly) from an EJB is up to you, and you alone. If you can live knowing that your application might not port too easily to another application server (some appservers' EJB compiler enforce this kind of restrictions, I've heard).
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!