This makes sense but have one last question.

If I keep my current architecture with web/frameworks/utils and create
a host context pointing to each folder so I can use CF mappings to
reference my frameworks i.e. "/opt/tomcat5/webapps/localhost/
MyEclipseProject/frameworks/ColdSpring" to "/ColdSpring" there's no
way to keep someone from browsing to localhost/frameworks and I have
to have a copy of WEB-INF in each folder for the CF pages to process.
Does this sound correct? Is it just a hack and if we plan to switch
from single server mode to a J2EE container we should rethink the
whole thing?  Once again, thanks.

On May 22, 10:42 am, Matthew Woodward <[email protected]> wrote:
> Robert Capps wrote:
> > So I guess my question is using this architecture with the J2EE
> > container will not work because when I access localhost I really have
> > to call localhost/web/ and then localhost/frameworks is also available
> > in the browser.  How do you set up access to your frameworks?
>
> I treat everything as a 100% self-contained project, meaning each
> project has its own copy of all the files it needs, including
> frameworks. I've found that the benefits of doing things this way far
> outweigh any concerns about duplicate files, versions of frameworks,
> etc. because then I know my apps are entirely self-contained and I'm not
> going to run into any issues with someone changing a mapping, upgrading
> a framework, etc. and breaking my apps.
>
> The other thing I like about this approach is that it's much cleaner and
> simpler in my opinion, because you don't even have to worry about
> mappings and aliases to resources outside your application.
>
> Happy to clarify further if this isn't making sense.
>
> --
> Matt Woodward
> [email protected]http://www.mattwoodward.com/blog
>
> Please do not send me proprietary file formats such as Word, PowerPoint,
> etc. as attachments.http://www.gnu.org/philosophy/no-word-attachments.html
>
>  smime.p7s
> 4KViewDownload

--~--~---------~--~----~------------~-------~--~----~
Open BlueDragon Public Mailing List
 http://groups.google.com/group/openbd?hl=en
 official site @ http://www.openbluedragon.org/

!! save a network - trim replies before posting !!
-~----------~----~----~----~------~----~------~--~---

Reply via email to