[jboss-dev-forums] [Design of POJO Server] - Mapping web resources over VDF

alesj do-not-reply at jboss.com
Sat Jan 24 16:12:23 EST 2009


WRT:
 - http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4203370#4203370
 - http://www.jboss.com/index.html?module=bb&op=viewtopic&t=149197

How hard would it be to 'move'/impl JBossWeb's TLD lookup based on MC's VDF?

My use case for JBossPortal (JBP) would be:
1) recognize that deployment is JBP app
2) add JBP's custom TLD to VFSDeploymentUnit's metadata locations

e.g.

  | VirtualFile customJbpTLDs = VFS.getRoot(".../jboss-portal/config/tlds");
  | unit.appendMetaDataLocation(customJbpTLDs);
  | 

3) JBossWeb would understand VDF (VFSDeploymentUnit - VDU) 
and do a tld lookup  based on VDU's metadata locations

This would mean if we run in an environment that uses VDF
we should first try to look for metadata via VDF
only then fall back to plain resources lookup.

This way the services that use VDF won't have to introduce 
hacks to add custom metadata - like JBP does it currently.

btw: where exactly does .tld file lookup happen?

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

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



More information about the jboss-dev-forums mailing list