5 Replies Latest reply on Oct 24, 2012 11:47 AM by Sueleyman Vurucu


    Florian Hell Newbie

      Hi all,


      since DeltaSpike doesn't have its own user forum, I'm writing here instead.


      I started a project using Seam 3, a framwork i loved since version 2 and i'm always stayed faithful.


      Obviously Seam 3 won't be developed any more, so i loose my intereset to use a legacy framework in my projects.


      So, instead there is DeltaSpike, ok, i can live with that option. So, for my actual project, i deleted Seam from my pom, put DeltaSpike in it, move som jsf libs from ear to war to get it running, and i see, anything works. So, for incubation, good work.


      But of course I'm missing a lot of stuff...first my authentication is not more available, and i don't wanna made it al by myself using JAAS, so, when will the full security stack be integrated in DeltaSpike? First release of Security is still available, but no authentication mechanism.


      Second question is, will Seam Faces, Seam Mail and Seam Social been also ported to DeltaSpike? Of course they could get a review, maybe get some changes, but i think that are some types of Seam many users love, favorable Seam Faces is absolut necessary.

      And the biggest question is, when do u leave incubation state? Is there a chance to contribute? The wiki says by helping othere users e.g., well some kind of trouble, without havin a forum etc. Of course i could help by Jira commits, but this should really have an effort, when tryin to help.


      So, thanks for reading all my stuff and maybe i'll gettin an nice answer.


      Greetz from good old Germany


        • 1. Re: DeltaSpike
          rsmeral Newbie

          Hi Florian,


          I can't answer all of your questions, but I'll try my best (until Jason or someone more competent finds this thread).


          The authentication API was already in DS in 0.2, but was dropped so as to re-discuss its design. It will probably show up again in some form in 0.4. [1]

          In the meantime, I suggest you watch the picketlink-cdi project, since that's where the CDI-enabled IDM has moved from DS. [2]

          You can also use the current API (voters) to integrate existing security implementations like Shiro or Syncope. (suggestion by M. Struberg)


          A Faces module is one of the priorities for 0.4. [3]

          Not sure about Mail or Social.


          As to your biggest question, reading this month's ASF Incubator Board Report [4], the only major goal before graduation (transition to top-level project) is documentation (though not a blocker). One of the board members suggests the project should graduate "soon", which might mean in three months. That, however, still wouldn't provide much guarantee of DS being finished or completely stable, just an assurance that DS won't fade away.


          Contributions are welcome, you can join the effort by

          - reviewing code: https://git-wip-us.apache.org/repos/asf?p=incubator-deltaspike.git (this repo has all fresh changes),

          - discussing issues on the dev-list deltaspike-dev@incubator.apache.org,

          - ..or on IRC Freenode #deltaspike.


          DeltaSpike should definitely get a forum soon, I agree with that.


          Hope this is nice enough an answer





          [1] http://apache-deltaspike-incubator-discussions.2316169.n4.nabble.com/IDM-impl-feedback-td4653444.html

          [2] http://lists.jboss.org/pipermail/security-dev/2012-July/000034.html

          [3] https://community.jboss.org/message/753639#753639

          [4] http://wiki.apache.org/incubator/August2012

          1 of 1 people found this helpful
          • 2. Re: DeltaSpike
            Florian Hell Newbie



            great answer ;-)


            Ok, so I used Picketlink already with Seam Security, so it wouldn't be much affort to use the direct implementation. I'll give it a try, just bad if DS will get its own solution, may better then picketlink. But one question, is picketlink-cdi available in maven? Can't find it in Snapshots Nexus...


            So on, I'll stay at DS and will see what comes, may I can contribute and help first fixing some bugs.


            Thanks and kind regards


            • 3. Re: DeltaSpike
              rsmeral Newbie

              Well, according to the discussions in the mentioned lists, DS will hardly get anything better than PicketLink. At most, it will have a simple IDM API and facilities for simple login. And of course, the option to use full-fledged IDM (PicketLink) through CDI bindings (picketlink-cdi).

              Picketlink-cdi is not in maven yet, you can check it out at https://github.com/picketlink/picketlink-cdi . It is not yet finished and contains many stubs.

              • 4. Re: DeltaSpike
                Florian Hell Newbie

                Ok, no Problem, I'll check it out and deploy it into my own nexus.


                In my opinion there is no other solution than PicketLink, too, but really needs the cdi support. But I can wait for a stable version.


                Thanks for your help.



                • 5. Re: DeltaSpike
                  Sueleyman Vurucu Expert

                  Hiu Florian,

                  I'm using seam-jsf for have transaction in my backingbeans. This works well. I try today DS. But I have no luck to work my stuff with DS.


                  I follow the istructions here.


                  After that I see the EntityManagerProducer is not triggered. What I do is that:


                  1. My Usermodel




                  public class UserModel implements Serializable{



                    EntityManager em;


                  2. EntitymanagerProducer like described in the documentation.


                  After showing in the source I see there's an Interceptor for transactions. After I activate the Interceptor in my beans.xml with





                  then I see that the EntitymanagerProducer trigered.


                  So know, if DS try to start a transaction then I got the excpetion shown below:


                  java.lang.IllegalStateException: JBAS011424: Container managed entity manager can only be closed by the container (auto-cleared at tx/invocation end and closed when owning component is closed.)



                      sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)




























                  I call in my usermodel an ejb with cmt. Is maybe this the problem ??


                  I think the word incubation is right on place here, isn't it ?