3 Replies Latest reply on Jul 9, 2008 4:21 PM by pmuir

    seam in distributed j2ee applications

    jlogsdon

      Hello,
      I am new to Seam and was wondering Seam can be used in a distributed J2EE architecture where the business tier is separated from the the web tier by a firewall (mandated by some corporations)? It appears to me that the benefits of Seam apply only to local environments where the JSF pages are run on the same JVM as any session beans. Thanks.

        • 1. Re: seam in distributed j2ee applications
          dhinojosa

          I don't know if you are speaking of a rhetorical situation, but what mechanism would be used between the web tier and the business tier?

          • 2. Re: seam in distributed j2ee applications
            thejavafreak

            Daniel Hinojosa wrote on Jun 09, 2008 03:38:


            I don't know if you are speaking of a rhetorical situation, but what mechanism would be used between the web tier and the business tier?


            Daniel, I think it's pretty obvious that you can not use Seam if you separate the web-tier and the business-tier.


            • 3. Re: seam in distributed j2ee applications
              pmuir

              joshua jackson wrote on Jun 10, 2008 09:11:



              Daniel Hinojosa wrote on Jun 09, 2008 03:38:


              I don't know if you are speaking of a rhetorical situation, but what mechanism would be used between the web tier and the business tier?


              Daniel, I think it's pretty obvious that you can not use Seam if you separate the web-tier and the business-tier.



              Why?! You can use Seam in the business tier and in the web tier and use some mechanism to communicate e.g. JMS, remote session beans, REST (easy to use with Seam through restlet).


              Yes, this isn't the way most people use Seam, or the way the examples are written, but it certainly works!