4 Replies Latest reply on May 24, 2011 2:52 AM by ssachtleben.ssachtleben.gmail.com

    As a start in seam 3.0. if you already know seam 2.2.1 ?

    russimicro

      Good night ..


      As a start in seam 3.0?
      We already know the version 2.2.1, which already have an application, we now need to start a new project, but consider starting with version 3 from scratch. The question is how to create a project based on a database already created, how to get the project base (session bean, entity and view, etc..), in the same way that generates the seam.gen?


      Thanks
      Ing. Johnson Russi Tello
      Colombia

        • 1. Re: As a start in seam 3.0. if you already know seam 2.2.1 ?
          ssachtleben.ssachtleben.gmail.com

          Check out seam forge!

          • 2. Re: As a start in seam 3.0. if you already know seam 2.2.1 ?
            russimicro

            Thanks for your reply.


            Ok. that is the true tool.( seam forge)


            The aid would ask to lower the learning curve, showing an example to create the project, building the model, selecting the view frame (RichFaces), creating the view, selected the database engine, etc, everything gives seam-gen.


            Or other help would be recommending whether or not it's time to start projects with seam 3.0 or if it is best to continue with seam 2.2.2 ?

            • 3. Re: As a start in seam 3.0. if you already know seam 2.2.1 ?
              lightguard

              Sebastian is correct. Seam Forge should be able to reverse engineer the database, you can also look at using JBossTools in Eclipse or any other reverse engineering tool available in your IDE.


              There's really not much more to learn here if you're already familiar with JPA, JSF and Maven. What you're talking about is basic CRUD, which Forge supports. If you can't get the entities there, then just create them however you want, then you can use Forge to generate the view portions. You'll want to use a nightly build or compile Forge yourself. It moves pretty quick and the reverse engineering happened over the weekend I believe.

              • 4. Re: As a start in seam 3.0. if you already know seam 2.2.1 ?
                ssachtleben.ssachtleben.gmail.com

                I have learned much by the booking example. It was my way to start with seam 3 and I now I have allready maven construct with 5 modules and 3 distributions since Beta of Seam 3. Its not that hard to build your own project even without Seam Forge. I have ripped the booking example into a basic running application in under 4 hours and I have learned alot about the project structure.


                Anways try out Seam Forge. If you get stuck come in IRC and I'm sure you will get help. Otherwise check out the seam example maybe your problem will be solve by even looking over that project. I dont think there is a better time to start with Seam 3 and JEE 6 :)