[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: VFS serialization

scott.stark@jboss.org do-not-reply at jboss.com
Tue Mar 4 11:42:25 EST 2008


"adrian at jboss.org" wrote : It depends what the VirtualFile reference means.
  | It isn't valid in general, just as File handles aren't serializable,
  | but (I think?) the VFS will try to reconstruct the path from what it knows for files.
  | 
  | If it is deployed on the server side and references the file on the server
  | rather than on the client (and they use different file systems), it doesn't mean anything.
  | It's broken.
  | 
  | If it sent a VFS file that used a webdav protocol that said 
  | "get your resources from this server"
  | then that would be a different issue.
Yes, the VFS should be serializable, but as you say, its as usable as the underlying url. file urls won't be usable unless there is a shared filesystem between the client and server.

The current ws failures are due to JBVFS-17. The serialization of the NestedJarFromStream is broken, and what I'm currently working.



View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4133980#4133980

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4133980



More information about the jboss-dev-forums mailing list