Seam example project structure

Home/Java/JBoss/Seam/Seam example project structure

For me, one of the hardest things about getting started with developing with Seam was getting a project setup that I could work with. The examples that ship with Seam only build within the whole Seam super-project, which doesn’t work for developing your own projects. Most of the other guides on setting up a project (using Eclipse WTP, or other things) either didn’t work for me, or seemed overly complicated, or used a structure that just seemed odd to me.

If they work for you, that’s great. If they don’t, I’ve posted up a zipped up version of the base seam project that I use. I use Eclipse 3.2 and MyEclipseIDE as my development environment, so you may need to make a few tweaks. You have to configure your JBoss installation location, and the ant script will build and deploy an exploded ear file as it’s default target. The project I used for the base structure is the Seam Booking example, so just replace things as you like.

Get the base seam project here!

By | 2017-05-18T15:19:25+00:00 November 5th, 2006|Java, JBoss, Seam|5 Comments

About the Author:

5 Comments

  1. ranil May 21, 2008 at 7:22 am - Reply

    hi, i was interessted in downloading your seam project structure. but unfortunately the link is down. is it still online somewhere?

  2. Devon May 21, 2008 at 11:25 am - Reply

    Sorry about that! I’ve fixed the link now.

    At this point, I’d also really look at seam-gen. It makes things much easier overall.

  3. arun July 16, 2008 at 5:55 pm - Reply

    Hi
    im new to Seam. In my JSF page i have two string fields. i gave search option for those two fields. two fields are employee name and employee address.
    it is working properly and it shows the result page.
    But if i add new text field as employee id . it is a primary key in table. if i give search option for this empid field in jsf page its taking default value as zero.
    can u tel me how to give search option for integer type.

  4. samyam November 11, 2009 at 1:56 am - Reply

    The same example in same manner can be deployed from the seam site.

    • Devon November 11, 2009 at 6:40 am - Reply

      Interesting. Can you give me a link to where? Thanks!

Leave A Comment