"scott.stark(a)jboss.org" wrote : "epbernard" wrote :
| | Correct, I think Max's train of thoughts goes down to: could the VFS implement
openStream() is such a way that it would look like a JAR stream? When I wrote the visitor,
this was really the "common interface" I expected URLs I interact with to
implement.
| |
| No, because this requires every protocol handler to conform to this contract.
|
| How does the PersistenceUnitInfo.getJarFileUrls() work with other vendors when the
deployment is unpacked?
|
There are essentially 3 kinds of app servers out there:
- the one that provide a URL pointing to a JAR
- the one that provide a URL pointing to a file directory
- the one that provide a URL whose protocol name is funny but indeed nothing more that a
jar protocol.
And now there is a 4th kind with VFS which is also how Eclipse bundle work. some opaque
URL that cannot be read without proprietary API calls
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4109090#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...