File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes File I/O in Clustered Environment Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "File I/O in Clustered Environment" Watch "File I/O in Clustered Environment" New topic

File I/O in Clustered Environment

Ranch Hand

Joined: Dec 05, 2004
Posts: 48
Dear All,

I would like to start discussion on solution patterns to the following problem.

In a load balanced,clustered and heighly secureed environment, how can a web application allow File I/O. I mean how can files be created and accessed by users in a transperant way.

Let us ignore the following solutions from the possibles and discuss the solution patterns.

1) Files should not be used
2) File/Content has to be managed in a sharable folder or accessible data source(database etc) to all nodes in the cluster.
[ February 13, 2005: Message edited by: Bhanu Jasthi ]

Thanks,<br />Bhanu<br />SCEA Step-I<br />SCBCD for J2EE 1.3<br />SCJP1.4
Arto Pastinen
Ranch Hand

Joined: Dec 13, 2002
Posts: 79

I think that it will be part of your EA certification.

There should be somekind external storage, what all nodes will going to use. Like somekind shared harddisk, etc.
I agree. Here's the link:
subject: File I/O in Clustered Environment
It's not a secret anymore!