7 Replies Latest reply on Feb 4, 2007 7:22 AM by fers

    seam-security required jars

    piotr.walczyszyn

      Hi this is great to see security implementation in Seam.
      I have one question regarding this new feature, what jars are required in my ear in order to work with seam-security and use only roles part without permissions. Do I also need all drools jars and security.drl file?

      p.

        • 1. Re: seam-security required jars
          shane.bryzak

          With the latest release you need to have all of the drools libs (and an empty rule file) even if you're not using permissions. The exact list of jar files is:

          drools-compiler-3.0.5.jar
          drools-core-3.0.5.jar
          commons-jci-core-1.0-406301.jar
          commons-jci-janino-2.4.3.jar
          commons-lang-2.1.jar
          janino-2.4.3.jar
          stringtemplate-2.3b6.jar
          antlr-2.7.6.jar
          antlr-3.0ea8.jar

          I suppose it would be possible to remove these dependencies if permissions aren't required. If so, please raise it as an issue in jira.

          • 2. Re: seam-security required jars
            sasasasasa

            you need 9 jar files? Seam-hibernate is becoming a big dependency joke. do you have any idea know how many jar files (some of which are hidden in a gigantic jar) required for a hello world application in Seam? now you need 9 more. Hibernate has the same issues. Jboss is also bloated with its own jar hell. i really wanted to try seam, now i am not sure.
            And a side note: i needed to enter a ridiculous registration form to post here. not happy.

            • 3. Re: seam-security required jars
              piotr.walczyszyn

              Shane, thank you for your response. I can agree with [sasasasasa] (who ever it is) regarding growing number of jars, but this will not discourage me from using Seam (I will rais jira issue). Thank you for a great job - keep it up.
              p.

              • 4. Re: seam-security required jars

                I don't think a large number of JARs is a huge drawback. If you want advanced functionality, it has to come from somewhere. I think our main challenge will be in modularizing everything so that you don't need to bring in things that you don't really want.

                • 5. Re: seam-security required jars
                  gavin.king

                  You do NOT need the extra jars just to run Seam. You need them only if you are using Seam Security. Note that the Drools guys are working to reduce the number of required jars (the next release will eliminate two of those dependencies).

                  • 6. Re: seam-security required jars

                    I think if maven was used most of these dependencies wont be even noticeable...

                    • 7. Maven support

                      Hello,

                      I have created just another Seam Archetypes:
                      - one jar package with microcontainer

                      I have also packaged Seam 1.1.5.GA. It supports "profiles" - you just say "I want to use Drools" and it resolves all the dependencies.

                      You can find it on http://software.softeu.cz/seam/.