[Design of POJO Server] - Re: Embbedded - broken - some fixes - still not working
by adrian@jboss.org
"steve.ebersole(a)jboss.com" wrote : 1) What exactly does a vfs:// url represent? Any type of file resource?
|
Its an abstract directory structure. The underlying resources are scattered
around the file system. i.e. no need to package a jar (not even as an
expanded filesystem that looks like a jar).
See the VFSTestCase in embedded.
anonymous wrote :
| 2) Are we (Hibernate) being handed an actual java.net.URL here? If so, is this a vfs-specific URL implementation? In other words could we rely on using the URLConnection/ContentHandler mechanism and have that be handled correctly by the underlying vfs?
Yes, but you don't use it. Your logic is something like:
if (fileURL()) then use java.io.File
else assume a jar file.
This is neither of those. You need to define your own simple VFS api
that we can plug into. In fact, you should really be defining something
more high level, since all you really want is a list of relevant annotated class URLs
(the real ones) which we can give you.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4108953#4108953
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4108953
16 years, 4 months