1 Reply Latest reply on Feb 4, 2009 10:42 AM by peterj

    Alternative to putting large media files in EAR

    bradleydouglas

      Hi,

      We're been building multimedia tutorials & references for our product at the moment, and they're starting to get big - bigger than the actual application in the EAR. They won't change to much, so if possible I want to move them out of the EAR and not lug them around when we change the app.

      The caveat is that we need them to be secured, so at the moment we call rely on our security interceptors and the container security etc.

      Is there a was we can have them as static content served up by JBoss, yet still provide security so they are only ccessable within the app?

      Regards,
      Brad

        • 1. Re: Alternative to putting large media files in EAR
          peterj

          I can think of only two possibilities:

          1) Extract the multimedia files into a separate WAR file, moving the security settings with the.

          2) Front the app server with Apache HTTPD, and let it handle those files, including securing them.

          The bad thing is that in both case the URLs (specifically the context) for the multimedia files will change, and that could require changes in your application.