Why it is not allowed to use files in a Java EE application?

Solution Verified - Updated -

Issue

  • How can I write and access files in my Java EE application from an EJB or web application?
  • Is it possible to access files from a Java Enterprise application in a Spec compliant way?

Environment

  • Java Enterprise Edition

  • Red Hat JBoss Enterprise Application Platform (EAP)

    • 6.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.