• 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:
  • Campbell Ritchie
  • Bear Bibeault
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Knute Snortum
  • Junilu Lacar
  • paul wheaton
Saloon Keepers:
  • Ganesh Patekar
  • Frits Walraven
  • Tim Moores
  • Ron McLeod
  • Carey Brown
Bartenders:
  • Stephan van Hulst
  • salvin francis
  • Tim Holloway

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
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).
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!