If your database is not every busy, then 1) is a good choice. Otherwise, you can make a shared directory in your database server and put files there. So all web servers go to the directory for files. This option also assumes that the database server machine is not too busy. (File access is much faster than database access).
If both solutions don't work for you, you can then look at JMS. You can send the file with a message to each other.
If both solutions don't work for you, you can then look at JMS. You can send the file with a message to each other.
好解决了
如果你使用的是javaserlet 开发你可以把对文件操作的
构件 采用 序列化 定义了
这样就不会出错了
在线………………waiting