From jbosstools-commits at lists.jboss.org Fri Jan 11 11:03:27 2008 Content-Type: multipart/mixed; boundary="===============0704143878313609436==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5629 - trunk/seam/docs/reference/en/modules. Date: Fri, 11 Jan 2008 11:03:27 -0500 Message-ID: --===============0704143878313609436== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: ochikvina Date: 2008-01-11 11:03:27 -0500 (Fri, 11 Jan 2008) New Revision: 5629 Modified: trunk/seam/docs/reference/en/modules/creating_new_seam.xml trunk/seam/docs/reference/en/modules/intro.xml Log: http://jira.jboss.com/jira/browse/JBDS-234 - making changes in the chapters= according to the Svetlana remarks Modified: trunk/seam/docs/reference/en/modules/creating_new_seam.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- trunk/seam/docs/reference/en/modules/creating_new_seam.xml 2008-01-11 1= 6:00:56 UTC (rev 5628) +++ trunk/seam/docs/reference/en/modules/creating_new_seam.xml 2008-01-11 1= 6:03:27 UTC (rev 5629) @@ -6,262 +6,338 @@ JBoss Tools Seam JBDS - + Creating a New Seam Project via the New Seam Project wizard</ti= tle> - <para>To start working with Seam, select a Seam perspective via <empha= sis><property>Window > Open Perspective > Other > Seam</property></emphasis= >. = - Select <emphasis><property>File > New > Seam Web Project</property= ></emphasis> to run the <property>New Seam Project</property> wizard.</para= > = - = - <section id=3D"standaloneSeam"> - <title>Create standalone Seam Web Project - It's necessary to enter a name and a location directory for = your new project. The next wizard forms allow you to create runtime and ser= ver instances in order to get started creating, running, and debugging J2EE= applications. - Seam Web Project wizard has an option for selecting the actu= al Server (not just WTP runtime) that will be used for the project. This al= lows the wizard to identify correctly where the required datasource and dri= ver libraries need to go. - = + In this chapter we provide you with the necessary steps to start= working with Seam + Framework. + At first, we suggest browsing the specific Seam perspective. + For that select + Window > Open Perspective > Other > Seam + or you can also access it through the button in the ri= ght top corner. +
- New Seam Project Wizard - = + Seam Perspective + - +
- = - = - Click on New... bu= tton in the Target Runtime section. - From this dialog you can choose what type of runtime you wan= t to create. Let's create a JBoss 4.2 Runtime. Click on Next. - = -
- New Server Runtime Dialog - = - - - - -
- = - All what you need here is to name runtime, browse to its ins= tall directory, select a Java Runtime Environment, and select which configu= ration you want. Click on Finish.= - = -
- New Server Runtime Dialog - = - - - - -
- = - Now you should define an installed server by clicking on New... button in the Target section. - It's possible to select a server version and a server runtime.= Use Installed Runtimes button to= see or edit what runtimes are installed. Click on Next - = -
- New Server Dialog - = - - - - -
- = + +
+ Create standalone Seam Web Project + The best way to get started with Seam is to organise a simpl= e Seam Project and + experiment with it by creating variations. + Thus, you should select + File > New > Seam Web Project + to run the New Seam Project w= izard. + It's necessary to enter a name and a location directory for = your new project. The next + wizard forms allow you to create runtime and server instances = in order to get started + creating, running, and debugging J2EE applications. + Seam Web Project wizard has an option for selecting the actu= al Server (not just WTP + runtime) that will be used for the project. This allows the wi= zard to identify correctly + where the required datasource and driver libraries need to go.= + +
+ New Seam Project Wizard + + + + + +
+ + + Clicking on + New... + button in the Target Runtime section brings us to = another dialog. Here, you can + specify a new installed Runtime environment or the other type = of runtime appropriate for + configuring your project. Let's create a JBoss 4.2 Runtime. Fo= r that after choosing it click on + Next + button. + +
+ New Server Runtime Dialog + + + + + +
+ + All what you need here is to name runtime, type or locate us= ing + Browse button the path to its = install directory, select a + Java Runtime Environment, and select which configuration you w= ant. Clicking on + Finish + returns you to the previous dialog. The next step = is to define an installed server. You can do it by clicking on + New... + button in the Target section. + +
+ New Server Runtime Dialog + + + + + +
+ + It's possible to select a server version and a + server runtime. Use + Installed Runtimes + button to see or edit what runtimes are installed.= Click on Next + +
+ New Server Dialog + + + + + +
+ Leave everything as is and click on next. - = -
- New Server Dialog - = - - - - -
- = + +
+ New Server Dialog + + + + + +
+ On the last wizard step you can modify your project to confi= gure it on server. - = +
- New Server Dialog - = - - - - -
- = - = - After clicking on Finish button you should have the following wi= zard view: - = -
- New Seam Project Creation - = - - - - -
- = - The last section on this wizard step is Config= urations. You can select one of the pre-defined project configur= ation or create your own. Click on Next. - = -
+ New Server Dialog + + + + + + + + + After clicking on Finish button you should have the followin= g wizard view: + +
+ New Seam Project Creation + + + + + +
+ + The last section on this wizard step is Configurat= ions. You can + select one of the pre-defined project configuration or create = your own. Click on + Next. + +
Select the Project Facets - = - This page of the wizard allows you to enable or disable spec= ific facets. You can save or delete your preset of selected facets clicking= on Save button. - = + + This page of the wizard allows you to enable or disable spec= ific facets. You can save + or delete your preset of selected facets clicking on + Save + button. +
- Project Facets Selection - = - - - - -
- = - You can also see all available runtimes after clicking on Show Runtimes or create new ones using = the New button. - = + Project Facets Selection + + + + + + + + You can also see all available runtimes after clicking on + Show Runtimes + or create new ones using the + New + button. +
Project Facets Selection - = +
- = +
- = +
How to Configure Web Module Settings - = - A dynamic web application contains both web pages and Java c= ode. The wizard will ask you where you want to put those files. You can jus= t leave the default values. - = + + A dynamic web application contains both web pages and Java c= ode. The wizard will ask + you where you want to put those files. You can just leave the = default values. +
Web Module Settings - = +
- = +
Adding JSF Capabilities - = + This wizard helps you to add JSF capabilities into your proj= ect. - Checking Server Supplied JSF Implementat= ion - means that you will have a default JSF implementation given by= server. - = + Checking + Server Supplied JSF Implementation + means that you will have a default JSF implementat= ion given by server. +
Adding JSF Capabilities to Web Project - = +
- = - In case when you want to use your custom JSF implementation = check a lower radio button. You are able to create a library of jars by cli= cking on = - New button. - Type a Library Name, select a Version Supported and add Library jars. Cl= ick on Finish. + + In case when you want to use your custom JSF implementation = check a lower radio + button. You are able to create a library of jars by clicking o= n + New + button. + Type a Library Name, select a Version + Supported and add Library jars= . Click on + Finish.
Create JSF Implementation Library - = +
- = - You can also add a Component Libraries = (e.g. Richfaces) clicking on New = button in the Component Libraries section. - = + + You can also add a Component Libraries = (e.g. Richfaces) clicking + on + New + button in the Component Libraries section. +
Create JSF Implementation Library - = +
- = - The last wizard options allows to edit a path for = JSF Configuration File, a name for JSF Servlet, JSF Servlet Classname - and change an URL Mapping Patterns. - = + + The last wizard options allows to edit a path for = JSF Configuration + File, a name for JSF Servlet, = JSF Servlet + Classname and change an URL Mapping P= atterns. +
JSF Capabilities Wizard - = +
- = +
- = -
- Configure Seam Facet Settings - = - The last wizard step is related to Seam facet and allows you to= do the following: -
+ +
+ Configure Seam Facet Settings + + The last wizard step is related to Seam facet and allows you= to do the following: +
Seam Facet Settings - = +
- = + - Create Seam runtime and define Seam home folde= r. Click on Add button in the General section. + + Create Seam runtime and define Seam home folder. Cli= ck on + Add + button in the General= section. + - Notice that in this wizard presented below you can create a = Seam runtime only for that version which was selected in the Project Facets wizard (version 1.2 in our case).<= /para> - = + Notice that in this wizard presented below you can create a = Seam runtime only for that + version which was selected in the Project Facets + wizard (version 1.2 in our case). +
Seam Runtime Creation - = +
- = + - Select EAR or WAR deployment by checking a nec= essary radio button. - Select a Database Type + + Select EAR or WAR deployment by checking a necessary= radio button. + + + Select a + Database Type + + - = +
Seam Runtime Creation - = +
- = - - and create a Conne= ction profile clicking on New button and selecting the necessary connection profile. - - = + + + + and create a + Connection profile + clicking on + New + button and selecting the necessary connect= ion profile. + + +
Connection Profile Selecting - = +
- = - Other Database fields are describing a Database and a connec= tion to it. = - In the Code Generation section you can= edit a package name for Session Bean, Entit= y Bean and Test. = - = - = + + Other Database fields are describing a Database and a connec= tion to it. + In the Code Generation section you can = edit a package name for + Session Bean, Entity Bean and + Test. + +
Code Generation Section - = +
- = - Click on Finish to= generate a project. - = -
- + + Click on + Finish + to generate a project. + +
+ Modified: trunk/seam/docs/reference/en/modules/intro.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- trunk/seam/docs/reference/en/modules/intro.xml 2008-01-11 16:00:56 UTC = (rev 5628) +++ trunk/seam/docs/reference/en/modules/intro.xml 2008-01-11 16:03:27 UTC = (rev 5629) @@ -24,7 +24,7 @@
Other relevant resources on the topic = - Seam Frame= work + On JBoss you can find a number of benefits and other extra i= nformation on the Seam Fr= amework. =
--===============0704143878313609436==--