8 Replies Latest reply on Jan 21, 2006 5:29 PM by Cody Lerum

    Booking Example

    Cody Lerum Newbie

      I've very new to Jboss/EJB and Seam and the Booking demo seemed like a good way to get my feet wet.

      I have eclipse 3.1.2 all installed with the JbossIDE. All looks good but when I start to go through the flash demo it appears that it starts about 2 minutes too late. How was the initial project setup in Eclipse? What steps where taken before the flash demo starts...

      I'm sure this is ground up for most of you, but I'm just a tad unsure of where to start.

        • 1. Re: Booking Example
          Per Wiklander Newbie

          You don't have to do anything else than what you see in the demo. The project you check out from the CVS server includes all necessary files.

          • 2. Re: Booking Example
            Cody Lerum Newbie

             

            "perwik" wrote:
            You don't have to do anything else than what you see in the demo. The project you check out from the CVS server includes all necessary files.


            I see that, but the project was already created. I imagine it was created as an EJB3.0 project, but where did the SeamRegistration.iml/ipr/iws come from? What about seam.propreties?

            I realize that I could just check out the project, but how does that help me in developing my own application if I don't understand how you built it.

            Thanks!

            • 3. Re: Booking Example
              Per Wiklander Newbie

              Ok, I'm not an expert on JBoss IDE but afaik the current version doesn't have any special support for Seam at all.

              As the last frame of the flash demo says:
              "Now you can duplicate the booking directory and use the build system to create your own JBoss Seam applications!"

              For more information on how to actually make something with Seam take a look at http://www.jboss.com/products/seam/docs.

              • 4. Re: Booking Example
                Matthew Edwards Newbie

                One thing to watch out for:

                The JBoss team (including JBoss Seam, EJB3, JBoss application server, ect.) is getting ready to release the next version of their products. This means JBoss application server 5, EJB3 something, and Seam Beta 2.

                Why is this significant?

                Because Gavin and the others working on Seam have started developing it against the new versions already. So if you pull the new CVS version of Seam off their server, then you need to pull the new version of JBoss too. All in all, give it a week and they will have everything sorted out...at least thats what they have said.

                God bless Betas.

                Good luck.

                • 5. Re: Booking Example
                  Thomas Heute Master

                  There is a movie for the two first minutes:
                  http://www.jboss.com/products/seam/EclipseCVS.html

                  You can now use Seam against the latest Branch_4_0 of JBoss AS (that will become jboss 4.0.4)



                  • 6. Re: Booking Example
                    Matthew Edwards Newbie

                    I couldn't figure out how to get that out of CVS so it would compile. I kept getting errors about needing third-party libraries. Whichever folder I fetched, it would never include the third-party libraries. What folder do I need to checkout?

                    • 7. Re: Booking Example
                      Thomas Heute Master

                      Don't know if you are talking about HEAD or Branch_4_0 but the process is the same.

                      * get the JBoss AS sources from CVS
                      * build it by typing ant in the build directory (you will want to increase your heap size by doing a "set ANT_OPTS=-Xmx512m" before so you don't get an OOME)

                      Once the build will start, it will fetch the thirdparty directory from the web.

                      • 8. Re: Booking Example
                        Cody Lerum Newbie

                         

                        "thomas.heute@jboss.com" wrote:
                        There is a movie for the two first minutes:
                        http://www.jboss.com/products/seam/EclipseCVS.html

                        You can now use Seam against the latest Branch_4_0 of JBoss AS (that will become jboss 4.0.4)





                        That seems like it is for creating pulling down SEAM from CVS and building it...

                        I'm talking about already having seam installed, but trying to do the reservation example from the flash tutioral from scratch...seems like it has already been going for couple minutes before it starts...