8 Replies Latest reply on Apr 18, 2007 3:29 PM by pmuir

    JBoss AS & PHP

    statelessbean

      Hi,
      I heard that Jboss trying to create one serwer to java app and php app.
      Is this true? if true...is posible to create Seam apps with php scripts?
      or maybe is this stupid question, sorry.

        • 1. Re: JBoss AS & PHP
          pmuir

          Seam runs on Java. Take a look at the ref manual for the supported technologies (PHP ain't on that list!)

          • 2. Re: JBoss AS & PHP

            Yes, JBossWeb has some level of support for php applications. I don't know what they have done with regards to php/java communication. You might try their forums to see the state of things.

            • 3. Re: JBoss AS & PHP

              Caucho is the one with the PHP implementation in Java, called Quercus. It's pretty slick, but it's pretty well tied to Resin, and it doesn't have the kind of integration with Java classes that would let you write a seam app in PHP.

              You could make a PHP app communicate with Seam if you used MDB's, the PHP Stomp client, and ActiveMQ instead of JBossMQ. The latter step requires a bit of work, and it's still async one-way communication Probably easier to just roll your own REST interface though, or wait for Seam-WS.

              I'll eventually need to glue an existing PHP app into my Seam app (I hate PHP but I have to live with what others write). I might just roll my own two-way messaging with a database as a rendezvous point instead.

              Groovy, on the other hand, would be pretty nice to write a Seam app in.

              • 4. Re: JBoss AS & PHP
                pmuir

                 

                "chuckadams" wrote:
                I might just roll my own two-way messaging with a database as a rendezvous point instead.


                Another option is to use Seam Remoting I think.

                Groovy, on the other hand, would be pretty nice to write a Seam app in.


                Watch this space :)

                • 5. Re: JBoss AS & PHP
                  epbernard

                   

                  "chuckadams" wrote:
                  Groovy, on the other hand, would be pretty nice to write a Seam app in.


                  Ahem, why don't you checkout Seam from CVS and look for examples/groovybooking ;-)

                  • 6. Re: JBoss AS & PHP
                    christian.bauer

                    Pfff, you just comitted it :)

                    • 7. Re: JBoss AS & PHP
                      christian.bauer

                      Really Emmanuel, post a new topic here so folks will notice the Groovy stuff. And if anyone would have permissions to make stuff sticky...

                      • 8. Re: JBoss AS & PHP
                        pmuir

                        I guess Gavin is useful for something...