Jun142011

Getting started with Seam 2

Published by admin at 2:23 AM under

Seam 2 yi kurmak isteyenlere ihtiyacı olan linklerin hepsi bir arada burda :) hızlıca kurulumu yapabilirsiniz.
Source : http://seamframework.org/Seam2/

Getting started with Seam 2

There are many ways that you can get started writing your first Seam application. We recommend that you look at some example applications and their source code first, before you write your own code.

Setting up the environment

  • Ensure that you have JDK 5.0 or above and Ant 1.7 properly installed.
  • Download the latest Production release of Seam 2 and unpack it.

The next step is deciding what application container you're going to use. Seam was designed to be application container agnostic, although each container has its own idiosyncrasies. The sections below will help you get past them, by showing you how to deploy the Seam example applications.

 

Most of the Seam example applications will work out of the box with JBoss Application Server 4.2.X. See the readme.txt files in each example applications for more information or follow these step-by-step instructions:

  1. Download JBoss AS 4.2.X and start JBoss with the bin/run.(sh/bat) script.
  2. Edit build.properties in your Seam directory and configure the jboss.home property to be your JBoss AS installation directory.
  3. In the jboss-seam/examples/booking directory, type ant deploy.
  4. Point your browser to http://localhost:8080/seam-booking/ and register an account and book some hotels.
  5. In the jboss-seam/examples/dvdstore directory, type ant deploy.
  6. Point your browser to http://localhost:8080/seam-dvd/ and register an account and buy some movies.
  7. In the jboss-seam/examples/issues directory, type ant deploy.
  8. Point your browser to http://localhost:8080/seam-issues/ and register an account and enter some bugs.


[KickIt] [Dzone] [Digg] [Reddit] [del.icio.us] [Facebook] [Technorati] [Google] [StumbleUpon]

Tags: ,

E-mail | Permalink | Trackback | Post RSSRSS comment feed 0 Responses