On Apr 13, 2009, at 1:44 PM, Scott Hernandez wrote: > Is there a way in the jsr299 way of things to include namespaces in > your package to shorten the need for explicitly listing them in the > web/web-resin/beans.xml files? > > For example, if I want to use X (10) ns prefixes in web-resin.xml do I > have to include them explicitly?
Yes to the first (no the the second). The current filename is "namespace" (possibly subject to change in the next draft) and it's in the package directly, e.g. com/caucho/resin/namespace (not in META- INF). The current Resin one looks like: com.caucho.admin com.caucho.config com.caucho.jms com.caucho.protocols com.caucho.resources com.caucho.rewrite com.caucho.security i.e. each alias package is listed on a new line. -- Scott > > > <web-app xmlns="http://caucho.com/ns/resin" > xmlns:r="urn:java:com.caucho.resin" > xmlns:rcfg="urn:java:com.caucho.config" > xmlns:jms="urn:java:com.caucho.jms" > xmlns:ejb="urn:java:com.caucho.ejb" > xmlns:adm="urn:java:org.subethamail.core.admin" > xmlns:util="urn:java:org.subethamail.core.util" > xmlns:sec="urn:java:org.subethamail.web.security" > xmlns:queue="urn:java:org.subethamail.core.queue" >> > > <sec:ResinLogin/> > <util:SubEthaAuthenticator/> > ... > > Thanks, > Scott > On Mon, Apr 13, 2009 at 1:19 PM, Scott Ferguson <f...@caucho.com> > wrote: >> >> On Apr 13, 2009, at 1:14 PM, Scott Hernandez wrote: >> >>> Hi all, >>> >>> I was looking through the source of resin and noticed the namespace >>> files in META-INF/caucho. Is there a place to read up on the >>> placement, and format of these files? >> >> These are essentially obsolete. Although Resin has been using an >> IoC/ >> DI style for its configuration since 3.0, there wasn't a standard to >> follow, so we needed to invent our own extension capabilities. >> >> Going forward, JSR-299 should be the way to go, and the META-INF/ >> caucho should be treated as backward-compatibility configuration. > > > _______________________________________________ > resin-interest mailing list > resin-interest@caucho.com > http://maillist.caucho.com/mailman/listinfo/resin-interest _______________________________________________ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest