<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Jon,<br>
      <br>
      &nbsp;If you need any Redhat official answers use wfk-pm-list or
      <a class="moz-txt-link-abbreviated" href="mailto:jboss-migration@redhat.com">jboss-migration@redhat.com</a><br>
      <br>
      Now to your questions in frame of Seam/Seam3 projects, my response
      is inline<br>
      <br>
      On 03/13/2014 03:00 AM, Jon Da Vault wrote:<br>
    </div>
    <blockquote
      cite="mid:1555218976.5602434.1394676008475.JavaMail.zimbra@redhat.com"
      type="cite">
      <div style="font-family: times new roman, new york, times, serif;
        font-size: 12pt; color: #000000">
        <div>
          <div><span style="color: #ff0000;" data-mce-style="color:
              #ff0000;"><span style="color: rgb(0, 0, 0);">Hello list
                members,</span><br>
            </span></div>
          <div><span style="color: #ff0000;" data-mce-style="color:
              #ff0000;"><span data-mce-bogus="true"><span style="color:
                  rgb(0, 0, 0);"><br>
                </span></span></span></div>
          <div><span style="color: #ff0000;" data-mce-style="color:
              #ff0000;"><span data-mce-bogus="true"><span style="color:
                  rgb(0, 0, 0);">Earlier today I posed a couple
                  questions that did receive one response. The response
                  has spawned a few more of my own questions and I have
                  included the response in my conversation/further
                  questions below. The original question is in red, and
                  the response is also called-out and in red. The
                  continuation question is in green. There are a couple
                  new questions posed after the continued (green and
                  red) question portion. Thanks for your help!<br>
                </span></span></span></div>
          <div><span style="color: #ff0000;" data-mce-style="color:
              #ff0000;"><br>
            </span></div>
          <div><span style="color: #ff0000;" data-mce-style="color:
              #ff0000;">1)</span> <span style="color: #ff0000;"
              data-mce-style="color: #ff0000;">The customer makes
              extensive use of Seam 2 remoting for their banking
              security application. Is there an equivalent in CDI (Weld)
              that will allow them to continue using remoting? If not,
              what alternatives do we offer in it's place?</span><br>
          </div>
        </div>
      </div>
    </blockquote>
    You mean Seam remoting, right? Lincoln's answer is correct for
    moving to Java EE 6 standards. The question is what the customer
    prefers or needs, big migration like develop it from the ground as
    it probably ends due some differences between Seam2 and Seam3/Java
    EE6 standards. Or use Seam 2.3 with updates to Java EE 6
    integration.<br>
    And please don't advice them to use Seam 3 if you don't want to be
    your own supporter. <br>
    <blockquote
      cite="mid:1555218976.5602434.1394676008475.JavaMail.zimbra@redhat.com"
      type="cite">
      <div style="font-family: times new roman, new york, times, serif;
        font-size: 12pt; color: #000000">
        <div>
          <div><span style="color: #ff0000;" data-mce-style="color:
              #ff0000;">Mailing List Response: You can take a look at
              Errai, or simply use JAX-RS.</span></div>
          <div><span style="color: #003300;" data-mce-style="color:
              #003300;">Q:&nbsp; Seam 3 appears to have it's own remoting
              functionality available much like Seam 2. URL: <span
                class="Object" id="OBJ_PREFIX_DWT3299_com_zimbra_url"><span
                  class="Object" id="OBJ_PREFIX_DWT3312_com_zimbra_url"><span
                    class="Object"
                    id="OBJ_PREFIX_DWT3323_com_zimbra_url"><span
                      class="Object"
                      id="OBJ_PREFIX_DWT3334_com_zimbra_url"><a
                        moz-do-not-send="true"
                        href="http://seamframework.org/Seam3/RemotingModule"
                        target="_blank"
                        data-mce-href="http://seamframework.org/Seam3/RemotingModule"><span
                          style="color: #000000;" data-mce-style="color:
                          #000000;">http://seamframework.org/Seam3/RemotingModule<span
                            style="color: #000000;"
                            data-mce-style="color: #000000;"><span
                              style="color: #003300;"
                              data-mce-style="color: #003300;"></span></span></span></a></span></span></span></span></span><br
              data-mce-bogus="1">
          </div>
          <div><span style="color: #003300;" data-mce-style="color:
              #003300;">As you'll note, there is a large disclaimer
              stating that active development for the project is halted
              and that the project is also deprecated. However, I feel
              that if the customer moves from Seam 2 remoting to Seam 3
              remoting they will incur a smaller amount of work than if
              they were to consider adopting a new technology such as
              Errai or JAX-RS as you've suggested as best cases. While
              they are interested in adopting a better or more
              appropriate technology for their application, they still
              want to rapidly make the move to Seam 3/Solder/CDI/Weld in
              the meantime and I think this sets them up nicely for
              migrating the rest of the technologies over. What the
              customer is extremely interested in knowing is if these
              technologies now sitting as-is (3.1 Snapshot I believe)
              can be said to be categorically stable and functional
              currently for this sort of temporary use case with full
              knowledge they aren't supported moving forward? If so, are
              there any migration documents available? If no migration
              documents are available, do you have anywhere you can
              point me in order to get a head start on creating one
              myself for our client? Do you agree with this
              short-term-win approach?</span></div>
        </div>
      </div>
    </blockquote>
    Migration documents in JBoss Developer project
    <a class="moz-txt-link-freetext" href="http://www.jboss.org/jdf/migrations/get-started/">http://www.jboss.org/jdf/migrations/get-started/</a><br>
    Some other inspiration see
    <a class="moz-txt-link-freetext" href="http://www.jboss.org/jdf/examples/get-started/">http://www.jboss.org/jdf/examples/get-started/</a><br>
    <blockquote
      cite="mid:1555218976.5602434.1394676008475.JavaMail.zimbra@redhat.com"
      type="cite">
      <div style="font-family: times new roman, new york, times, serif;
        font-size: 12pt; color: #000000">
        <div>
          <div><br>
          </div>
          <div><span style="color: #ff0000;" data-mce-style="color:
              #ff0000;">2) The customer currently uses Seam-managed
              Hibernate Sessions: he guesses they are not supported in
              CDI and wishes to know what is the best way to go moving
              forward? For example, something that is more conforming to
              JPA2 was mentioned.</span><span style="color: #ff0000;"
              data-mce-style="color: #ff0000;"><br>
              <span style="color: #ff0000;" data-mce-style="color:
                #ff0000;">Mailing List Response</span>: Moving to a more
              standard JPA environment would be best</span></div>
          <div><span style="color: #ff0000;" data-mce-style="color:
              #ff0000;"><span style="color: #003300;"
                data-mce-style="color: #003300;">Q: Here again, there
                seems to be a Seam 3 persistence module available as
                before and I wonder if the customer could utilize this
                in the short term while preparing for an adoption of a
                new persistence technology lsuch as, say, just
                Hibernate? The URL I'm referencing is: <span
                  class="Object" id="OBJ_PREFIX_DWT3300_com_zimbra_url"><span
                    class="Object"
                    id="OBJ_PREFIX_DWT3313_com_zimbra_url"><span
                      class="Object"
                      id="OBJ_PREFIX_DWT3324_com_zimbra_url"><span
                        class="Object"
                        id="OBJ_PREFIX_DWT3335_com_zimbra_url"></span></span></span></span><a
                  moz-do-not-send="true"
                  href="http://seamframework.org/Seam3/PersistenceModule"
data-mce-href="http://seamframework.org/Seam3/PersistenceModule">http://seamframework.org/Seam3/PersistenceModule</a></span><br>
            </span></div>
        </div>
      </div>
    </blockquote>
    Move to JPA2.<br>
    If you need extended Deltaspike persistence use Deltaspike on CDI -
    <a class="moz-txt-link-freetext" href="http://deltaspike.apache.org/data.html">http://deltaspike.apache.org/data.html</a><br>
    <blockquote
      cite="mid:1555218976.5602434.1394676008475.JavaMail.zimbra@redhat.com"
      type="cite">
      <div style="font-family: times new roman, new york, times, serif;
        font-size: 12pt; color: #000000">
        <div>
          <div><span style="color: #ff0000;" data-mce-style="color:
              #ff0000;"><span style="color: #003300;"
                data-mce-style="color: #003300;"><br>
              </span></span></div>
          <div><span style="color: rgb(255, 0, 0);"
              data-mce-style="color: #ff0000;"><span style="color:
                rgb(255, 0, 0);" data-mce-style="color: #ff0000;">3)
                Given that components.xml is a large part of their
                implementation in Seam2, how can we break it up to
                conform with CDI/Weld/Seam3?</span></span><span
              style="color: rgb(255, 0, 0);" data-mce-style="color:
              #ff0000;"><span color="#ff0000"><br>
              </span></span><span style="color: #ff0000;"
              data-mce-style="color: #ff0000;"><span style="color:
                #ff0000;" data-mce-style="color: #ff0000;"><span
                  style="color: #003300;" data-mce-style="color:
                  #003300;"></span></span></span>
            <div><span style="color: rgb(255, 0, 0);"
                data-mce-style="color: #ff0000;">Mailing List Response:
                All depends on what is in their components.xml, there's
                no simple answer here.</span></div>
          </div>
        </div>
      </div>
    </blockquote>
    And that is simply true, you need to evalute the features you need
    or you have to as a must.<br>
    <blockquote
      cite="mid:1555218976.5602434.1394676008475.JavaMail.zimbra@redhat.com"
      type="cite">
      <div style="font-family: times new roman, new york, times, serif;
        font-size: 12pt; color: #000000">
        <div>
          <div>
            <div><span style="color: rgb(255, 0, 0);"
                data-mce-style="color: #ff0000;"><span style="color:
                  rgb(0, 51, 0);" data-mce-style="color: #003300;">Q: I
                  agree with this response. I do, however, have a
                  snapshot of the components.xml and I know that it
                  needs to be broken up into a few different places.
                  Does anyone have experience in doing this? Please
                  reply and I will send you the components.xml document
                  if you'd like to assist in helping me to map the
                  pieces to the appropriate places. If there's
                  sufficient documentation online, as always, please
                  direct me to it.</span><br>
              </span></div>
          </div>
        </div>
      </div>
    </blockquote>
    Use <a class="moz-txt-link-abbreviated" href="mailto:jboss-migration@redhat.com">jboss-migration@redhat.com</a>, that is specifically for helping
    with migrations of existing application supported by Redhat. <br>
    <blockquote
      cite="mid:1555218976.5602434.1394676008475.JavaMail.zimbra@redhat.com"
      type="cite">
      <div style="font-family: times new roman, new york, times, serif;
        font-size: 12pt; color: #000000">
        <div>
          <div><span style="color: #ff0000;" data-mce-style="color:
              #ff0000;"><span style="color: #003300;"
                data-mce-style="color: #003300;"><br>
              </span></span></div>
          <div><span style="color: #ff0000;" data-mce-style="color:
              #ff0000;"><span style="color: #003300;"
                data-mce-style="color: #003300;">&nbsp;</span></span></div>
          <div><span style="color: #ff0000;" data-mce-style="color:
              #ff0000;"><span style="color: #003300;"
                data-mce-style="color: #003300;"><span style="color:
                  #000000;" data-mce-style="color: #000000;">Lastly, if
                  you're not tired of reading my questions yet there are
                  a couple new ones below:</span></span></span></div>
          <div><span style="color: #ff0000;" data-mce-style="color:
              #ff0000;"><span style="color: #003300;"
                data-mce-style="color: #003300;"><span style="color:
                  #000000;" data-mce-style="color: #000000;"><br>
                  <strong>First new question:</strong> "There used to be
                  a class in Seam 2 called
                  org.jboss.seam.faces.Redirect.&nbsp;&nbsp; We use this a few
                  times to force a redirect in different cases.</span></span></span></div>
          <div><span style="color: #ff0000;" data-mce-style="color:
              #ff0000;"><span style="color: #003300;"
                data-mce-style="color: #003300;"><span style="color:
                  #000000;" data-mce-style="color: #000000;"> </span></span></span></div>
          <div><span style="color: #ff0000;" data-mce-style="color:
              #ff0000;"><span style="color: #003300;"
                data-mce-style="color: #003300;"><span style="color:
                  #000000;" data-mce-style="color: #000000;"><br>
                </span></span></span></div>
          <div><span style="color: #ff0000;" data-mce-style="color:
              #ff0000;"><span style="color: #003300;"
                data-mce-style="color: #003300;"><span style="color:
                  #000000;" data-mce-style="color: #000000;">for
                  example:<br>
                  <br>
                  1.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; When user enters a valid URL but is not yet
                  logged on;&nbsp; view is captured and user returned to it
                  after successful logon.<br>
                  <br>
                  2.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; When we detect that a user is no longer logged
                  on;&nbsp; we redirect to a &#8220;Logon expired page&#8221;<br>
                  <br>
                  So, the question is:&nbsp;&nbsp; What do I replace this with?&nbsp;&nbsp;
                  I looked in Seam 3 but it doesn&#8217;t appear to have been
                  implemented (at least not in the seam-faces jar)."</span></span></span></div>
        </div>
      </div>
    </blockquote>
    JSF 2 has got navigation rules and redirection. You can use it
    instead of pages.xml in Seam 2.<br>
    <blockquote
      cite="mid:1555218976.5602434.1394676008475.JavaMail.zimbra@redhat.com"
      type="cite">
      <div style="font-family: times new roman, new york, times, serif;
        font-size: 12pt; color: #000000">
        <div>
          <div><span style="color: #ff0000;" data-mce-style="color:
              #ff0000;"><span style="color: #003300;"
                data-mce-style="color: #003300;"><span style="color:
                  #000000;" data-mce-style="color: #000000;">&nbsp;</span></span></span></div>
          <div><span style="color: #ff0000;" data-mce-style="color:
              #ff0000;"><span style="color: #003300;"
                data-mce-style="color: #003300;"><span style="color:
                  #000000;" data-mce-style="color: #000000;"><strong>Second
                    new question:</strong> Regarding their current usage
                  of Seam 2 "We use the class
                  org.jboss.seam.async.Dispatcher to create long running
                  threads in the container.&nbsp;&nbsp; Can you tell me what I
                  should use instead?"<br>
                </span></span></span></div>
        </div>
      </div>
    </blockquote>
    TimerService in Java EE 6 is enhanced and is basically replacement
    for Seam 2 Asynchronous.
    <a class="moz-txt-link-freetext" href="http://docs.oracle.com/javaee/6/tutorial/doc/bnboy.html">http://docs.oracle.com/javaee/6/tutorial/doc/bnboy.html</a>
    <a class="moz-txt-link-freetext" href="http://docs.oracle.com/javaee/6/api/javax/ejb/TimerService.html">http://docs.oracle.com/javaee/6/api/javax/ejb/TimerService.html</a><br>
    <br>
    <blockquote
      cite="mid:1555218976.5602434.1394676008475.JavaMail.zimbra@redhat.com"
      type="cite">
      <div style="font-family: times new roman, new york, times, serif;
        font-size: 12pt; color: #000000">
        <div>
          <div><span style="color: #ff0000;" data-mce-style="color:
              #ff0000;"><span style="color: #003300;"
                data-mce-style="color: #003300;"><span style="color:
                  #000000;" data-mce-style="color: #000000;">&nbsp;</span></span></span></div>
          <div><span style="color: #ff0000;" data-mce-style="color:
              #ff0000;"><span style="color: #003300;"
                data-mce-style="color: #003300;"><span style="color:
                  #000000;" data-mce-style="color: #000000;">Again, if
                  there are any documents or web sites that deal with
                  these questions specifically regarding migration I
                  would greatly appreciate having them sent to me.<br>
                </span></span></span></div>
          <div><span style="color: #ff0000;" data-mce-style="color:
              #ff0000;"><span style="color: #003300;"
                data-mce-style="color: #003300;"><span style="color:
                  #000000;" data-mce-style="color: #000000;">&nbsp;</span></span></span></div>
          <div><span style="color: #ff0000;" data-mce-style="color:
              #ff0000;"><span style="color: #003300;"
                data-mce-style="color: #003300;"><span style="color:
                  #000000;" data-mce-style="color: #000000;">Thank You,<br>
                </span></span></span></div>
          <div><span style="color: #ff0000;" data-mce-style="color:
              #ff0000;"><span style="color: #003300;"
                data-mce-style="color: #003300;"><span style="color:
                  #000000;" data-mce-style="color: #000000;"><br>
                </span></span></span></div>
          <div><span style="color: #ff0000;" data-mce-style="color:
              #ff0000;"><span style="color: #003300;"
                data-mce-style="color: #003300;"><span style="color:
                  #000000;" data-mce-style="color: #000000;">Jon Da
                  Vault<br>
                </span></span></span></div>
          <div><span style="color: #ff0000;" data-mce-style="color:
              #ff0000;"><span style="color: #003300;"
                data-mce-style="color: #003300;"><span style="color:
                  #000000;" data-mce-style="color: #000000;">Consultant<br>
                </span></span></span></div>
          <div><span style="color: #ff0000;" data-mce-style="color:
              #ff0000;"><span style="color: #003300;"
                data-mce-style="color: #003300;"><span style="color:
                  #000000;" data-mce-style="color: #000000;">206.369.2304<br>
                </span></span></span></div>
          <div><span style="color: #ff0000;" data-mce-style="color:
              #ff0000;"><span style="color: #003300;"
                data-mce-style="color: #003300;"><span style="color:
                  #000000;" data-mce-style="color: #000000;"><br>
                </span></span></span></div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
seam-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:seam-dev@lists.jboss.org">seam-dev@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/seam-dev">https://lists.jboss.org/mailman/listinfo/seam-dev</a></pre>
    </blockquote>
    <br>
    <br>
    <pre class="moz-signature" cols="72">-- 
Marek Novotny
--
WFK and Seam Product Lead

Red Hat Czech s.r.o.
Purkynova 99
612 45 Brno
</pre>
  </body>
</html>