From seam-commits at lists.jboss.org Fri Jul 27 10:49:02 2012 Content-Type: multipart/mixed; boundary="===============0326138566325197190==" MIME-Version: 1.0 From: seam-commits at lists.jboss.org To: seam-commits at lists.jboss.org Subject: [seam-commits] Seam SVN: r15006 - branches/community/Seam_2_3/seam-reference-guide/src/docbook/en-US. Date: Fri, 27 Jul 2012 10:49:02 -0400 Message-ID: <201207271449.q6REn2bQ010181@svn01.web.mwc.hst.phx2.redhat.com> --===============0326138566325197190== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: manaRH Date: 2012-07-27 10:49:01 -0400 (Fri, 27 Jul 2012) New Revision: 15006 Modified: branches/community/Seam_2_3/seam-reference-guide/src/docbook/en-US/Clust= eringAndEJBPassivation.xml branches/community/Seam_2_3/seam-reference-guide/src/docbook/en-US/Confi= guration.xml branches/community/Seam_2_3/seam-reference-guide/src/docbook/en-US/Conve= rsations.xml branches/community/Seam_2_3/seam-reference-guide/src/docbook/en-US/Depen= dencies.xml branches/community/Seam_2_3/seam-reference-guide/src/docbook/en-US/Groov= y.xml branches/community/Seam_2_3/seam-reference-guide/src/docbook/en-US/Hsear= ch.xml branches/community/Seam_2_3/seam-reference-guide/src/docbook/en-US/Jbpm.= xml branches/community/Seam_2_3/seam-reference-guide/src/docbook/en-US/Persi= stence.xml branches/community/Seam_2_3/seam-reference-guide/src/docbook/en-US/Prefa= ce.xml branches/community/Seam_2_3/seam-reference-guide/src/docbook/en-US/Tutor= ial.xml branches/community/Seam_2_3/seam-reference-guide/src/docbook/en-US/Valid= ation.xml branches/community/Seam_2_3/seam-reference-guide/src/docbook/en-US/maste= r.xml Log: JBSEAM-4987 second attempt to fix doc issues Modified: branches/community/Seam_2_3/seam-reference-guide/src/docbook/en-U= S/ClusteringAndEJBPassivation.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 --- branches/community/Seam_2_3/seam-reference-guide/src/docbook/en-US/Clus= teringAndEJBPassivation.xml 2012-07-27 11:32:28 UTC (rev 15005) +++ branches/community/Seam_2_3/seam-reference-guide/src/docbook/en-US/Clus= teringAndEJBPassivation.xml 2012-07-27 14:49:01 UTC (rev 15006) @@ -91,6 +91,10 @@ Deploying a Seam application to a JBoss AS cluster with= session replication = + + This section needs to be updated for JBoss AS 7.x + + = The procedure outlined in this tutorial has been validated= with an seam-gen application and the Seam booking example. Modified: branches/community/Seam_2_3/seam-reference-guide/src/docbook/en-U= S/Configuration.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 --- branches/community/Seam_2_3/seam-reference-guide/src/docbook/en-US/Conf= iguration.xml 2012-07-27 11:32:28 UTC (rev 15005) +++ branches/community/Seam_2_3/seam-reference-guide/src/docbook/en-US/Conf= iguration.xml 2012-07-27 14:49:01 UTC (rev 15006) @@ -763,9 +763,9 @@ annotation. But most applications will just use Seam managed t= ransactions when using Hibernate with JavaBeans. = - The Seam distribution includes a version of the booking exa= mple application that uses Hibernate3 and - JavaBeans instead of EJB3, and another version that uses JPA a= nd JavaBeans. These example applications are - ready to deploy into any J2EE application server. + The Seam distribution includes a version of the booking exa= mple application that uses Hibernate and + JavaBeans instead of EJB, and another version that uses JPA an= d JavaBeans. These example applications are + ready to deploy into any Java EE application server. = Boostrapping Hibernate in Seam Modified: branches/community/Seam_2_3/seam-reference-guide/src/docbook/en-U= S/Conversations.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 --- branches/community/Seam_2_3/seam-reference-guide/src/docbook/en-US/Conv= ersations.xml 2012-07-27 11:32:28 UTC (rev 15005) +++ branches/community/Seam_2_3/seam-reference-guide/src/docbook/en-US/Conv= ersations.xml 2012-07-27 14:49:01 UTC (rev 15006) @@ -343,7 +343,7 @@ = - + ... ]]> = @@ -362,7 +362,7 @@ = - + ... ]]> = @@ -380,7 +380,7 @@ = - + ... @@ -392,7 +392,7 @@ = - + ... @@ -835,8 +835,8 @@ - Include one or more of the standard workspace switcher JSP - or facelets fragments in your pages. The standard fragments + Include one or more of the standard workspace switcher JSF + or Facelets fragments in your pages. The standard fragments support workspace management via a drop down menu, a list of conversations, or breadcrumbs. @@ -920,7 +920,7 @@ The conversation switcher = - Include the following fragment in your JSP or facelets page + Include the following fragment in your JSF page to get a drop-down menu that lets you switch to any current conversation, or to any other page of the applicat= ion: Modified: branches/community/Seam_2_3/seam-reference-guide/src/docbook/en-U= S/Dependencies.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 --- branches/community/Seam_2_3/seam-reference-guide/src/docbook/en-US/Depe= ndencies.xml 2012-07-27 11:32:28 UTC (rev 15005) +++ branches/community/Seam_2_3/seam-reference-guide/src/docbook/en-US/Depe= ndencies.xml 2012-07-27 14:49:01 UTC (rev 15006) @@ -22,19 +22,7 @@ directory. Sun's JDK6 Update 4 release upgraded to JAXB 2.1 a= nd = removed this requirement. When building, testing, or executin= g be sure to use this version or higher. = - - = - - Seam used JBoss Embedded in its unit and integration testing. = This - has an additional requirement when using JDK 6. In order to ru= n = - JBoss Embedded with JDK 6 you need to set the following JVM ar= gument: - = - -Dsun.lang.ClassLoader.allowArraySyntax=3Dtrue= - = - Seam's internal build system is setting this by default when i= t = - executes Seam's test suite. However if you are also using JBo= ss - Embedded for your testing you will need to set this value. = - + = = = @@ -48,7 +36,7 @@ type is listed as war, the library should be plac= ed in = the /WEB-INF/lib directory of your application's = war file. The scope of the dependency is either all, runtime or provide= d (by - JBoss AS 4.2 or 5.0). + JBoss AS 7.1.x). = @@ -241,21 +229,6 @@ = - jsf-facelets.jar - - - runtime - - - war - - - Facelets - - = - = - - urlrewrite.jar @@ -323,7 +296,7 @@ = - richfaces-api.jar + richfaces-core-api.jar all @@ -333,7 +306,7 @@ - Required to use RichFaces. Provides API classes that yo= u may + Required to use RichFaces. Provides Core API classes th= at you may wish to use from your application e.g. to create a tree @@ -341,7 +314,7 @@ = - richfaces-impl.jar + richfaces-core-impl.jar runtime @@ -350,13 +323,13 @@ war - Required to use RichFaces. + Required to use RichFaces Core implementations. = - richfaces-ui.jar + richfaces-components-ui.jar runtime @@ -365,10 +338,25 @@ war - Required to use RichFaces. Provides all the UI comp= onents. + Required to use RichFaces. Provides all the Compone= nts UI components. - = + = + + + richfaces-components-api.jar + + + runtime + + + war + + + Required to use RichFaces. Provides all the API for= UI components. + + = + = @@ -405,23 +393,8 @@ = = - + - activation.jar - - - runtime - - - ear - - - Required for attachment support - - - = - - mail.jar @@ -792,14 +765,14 @@ = =
- JBoss Rules + Drools = - The JBoss Rules libraries can be found in the drools/lib<= /literal> directory in Seam. + The Drools libraries can be found in the lib di= rectory in Seam. = - JBoss Rules Dependencies + Drools Dependencies = @@ -843,7 +816,7 @@ = - core.jar + ecj.jar runtime @@ -852,7 +825,7 @@ ear - Eclipse JDT + Eclipse Compiler for Java = = @@ -882,7 +855,7 @@ ear - + Drools compiler = = @@ -930,24 +903,10 @@ + = - janino.jar - - - runtime - - - ear - - - - - - = - - mvel2.jar @@ -1187,25 +1146,15 @@ =
Dependency Management using Maven - = - Maven offers support for transitive dependency management and can be u= sed - to manage the dependencies of your Seam project. You can use Maven Ant - Tasks to integrate Maven into your Ant build, or can use Maven to buil= d and - deploy your project. - - = - We aren't actually going to discuss how to use Maven here, but just run - over some basic POMs you could use. + over some Seam usage from user/application point of view you could use. = = - Released versions of Seam are available in - http://repository.jboss.org/maven2 = - and nightly snapshots are available in - http://snapshots.jboss.org/maven2. + Released versions of Seam are available in + http://repository.jboss.org/nexus/content/groups/public. = = @@ -1229,6 +1178,16 @@ = org.jboss.seam + jboss-seam-mail +]]> + + + org.jboss.seam + jboss-seam-debug +]]> + + + org.jboss.seam jboss-seam-remoting ]]> = @@ -1239,10 +1198,26 @@ = org.jboss.seam - jboss-seam-ioc + jboss-seam-excel ]]> = + + org.jboss.seam + jboss-seam-resteasy +]]> + + + org.jboss.seam + jboss-seam-rss +]]> + + + org.jboss.seam + jboss-seam-wicket +]]> + = + = This sample POM will give you Seam, JPA (provided by Hibernate), = Hibernate Validator and Hibernate Search: = @@ -1260,41 +1235,43 @@ repository.jboss.org - JBoss Repository - http://repository.jboss.org/maven2 + JBoss Public Repository + http://repository.jboss.org/nexus/content/groups/public = + + + + org.jboss.seam + bom + 2.3.0.Final + pom + import + + + + = org.hibernate hibernate-validator - 3.1.0.GA = org.hibernate - hibernate-annotations - 3.4.0.GA - - - - org.hibernate hibernate-entitymanager - 3.4.0.GA = org.hibernate hibernate-search - 3.1.1.GA = org.jboss.seam jboss-seam - 2.2.0.GA = Modified: branches/community/Seam_2_3/seam-reference-guide/src/docbook/en-U= S/Groovy.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 --- branches/community/Seam_2_3/seam-reference-guide/src/docbook/en-US/Groo= vy.xml 2012-07-27 11:32:28 UTC (rev 15005) +++ branches/community/Seam_2_3/seam-reference-guide/src/docbook/en-US/Groo= vy.xml 2012-07-27 14:49:01 UTC (rev 15006) @@ -61,22 +61,22 @@ @Id @GeneratedValue Long id = - @Length(max=3D50) @NotNull + @Size(max=3D50) @NotNull String name = - @Length(max=3D100) @NotNull + @Size(max=3D100) @NotNull String address = - @Length(max=3D40) @NotNull + @Size(max=3D40) @NotNull String city = - @Length(min=3D2, max=3D10) @NotNull + @Size(min=3D2, max=3D10) @NotNull String state = - @Length(min=3D4, max=3D6) @NotNull + @Size(min=3D4, max=3D6) @NotNull String zip = - @Length(min=3D2, max=3D40) @NotNull + @Size(min=3D2, max=3D40) @NotNull String country = @Column(precision=3D6, scale=3D2) @@ -163,8 +163,8 @@ = A Groovy class is a Java class, wit= h a bytecode representation just like a Java class. To deploy, a Groovy entity, a Groovy Session bean o= r a Groovy Seam component, a compilation step - is necessary. A common approach is to use the gro= ovyc ant task. Once compiles, a - Groovy class is in no way different than a Java class and = the application server will treat them + is necessary. A common approach is to use the gmaven-plugin + maven plugin. Once compiles, a Groovy class is in no way = different than a Java class and the application server will treat them equally. Note that this allow a seamless mix of Groovy and= Java code.
= Modified: branches/community/Seam_2_3/seam-reference-guide/src/docbook/en-U= S/Hsearch.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 --- branches/community/Seam_2_3/seam-reference-guide/src/docbook/en-US/Hsea= rch.xml 2012-07-27 11:32:28 UTC (rev 15005) +++ branches/community/Seam_2_3/seam-reference-guide/src/docbook/en-US/Hsea= rch.xml 2012-07-27 14:49:01 UTC (rev 15006) @@ -41,7 +41,7 @@ to get started. = - java:/DefaultDS + java:jboss/datasources/ExampleDS [...] @@ -52,62 +52,41 @@ value=3D"/Users/prod/apps/dvdstore/dvdindexes"/> ]]> - - If you plan to target Hibernate Annotations or EntityManager 3.2= .x - (embedded into JBoss AS 4.2.x and later), you also need to configure t= he - appropriate event listeners. - - - java:/DefaultDS - - [...] - - - - - - - - - = - -]]> - - - It is not longer necessary the register the event listeners if - Hibernate Annotations or EntityManager 3.3.x are used. - When using Hibernate Search 3.1.x more eventlisteners are needed, but - these are registered automatically by Hibernate Annotations; refer - to the Hibernate Search reference for configuring it without - EntityManager and Annotations. - - + = In addition to the configuration file, the following jars have t= o be deployed: = hibernate-search.jar + = + = + + hibernate-search-orm.jar = - hibernate-commons-annotations.jar + hibernate-search-engine.jar - + = lucene-core.jar = - hibernate-commons-annotations.jar is not ne= eded - in JBossAS6. Some Hibernate Search extensions require additional dep= endencies, + Maven coordinates for using from Hibernate Search: + + org.hibernate + hibernate-search + 4.1.1.Final + + ]]> + + = + Some Hibernate Search extensions require additional dependencies, a commonly used is hibernate-search-analyzers.jar. - For details, see the + For details, see the Hibernate Search documentation for details. = @@ -122,7 +101,7 @@ = Hibernate Search uses annotations to map entities to a Lucene in= dex, check the reference + url=3D"http://docs.jboss.org/hibernate/search/4.1/reference/en-US/html= _single">reference documentation for more informations. = Hibernate Search is fully integrated with the API and semantic of Modified: branches/community/Seam_2_3/seam-reference-guide/src/docbook/en-U= S/Jbpm.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 --- branches/community/Seam_2_3/seam-reference-guide/src/docbook/en-US/Jbpm= .xml 2012-07-27 11:32:28 UTC (rev 15005) +++ branches/community/Seam_2_3/seam-reference-guide/src/docbook/en-US/Jbpm= .xml 2012-07-27 14:49:01 UTC (rev 15006) @@ -101,23 +101,23 @@ = - /numberGuess.jsp + /numberGuess.xhtml = guess - /numberGuess.jsp + /numberGuess.xhtml = win - /win.jsp + /win.xhtml = lose - /lose.jsp + /lose.xhtml = @@ -128,17 +128,17 @@ rules: = - + = - + - + - + = @@ -150,8 +150,8 @@ = = @@ -161,7 +161,7 @@ = = @@ -178,7 +178,7 @@ = = - + @@ -195,12 +195,12 @@ = - + = - + Modified: branches/community/Seam_2_3/seam-reference-guide/src/docbook/en-U= S/Persistence.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 --- branches/community/Seam_2_3/seam-reference-guide/src/docbook/en-US/Pers= istence.xml 2012-07-27 11:32:28 UTC (rev 15005) +++ branches/community/Seam_2_3/seam-reference-guide/src/docbook/en-US/Pers= istence.xml 2012-07-27 14:49:01 UTC (rev 15006) @@ -3,8 +3,8 @@ = Seam provides extensive support for the two most popular persisten= ce - architectures for Java: Hibernate3, and the Java Persistence API - introduced with EJB 3.0. Seam's unique state-management architectu= re + architectures for Java: Hibernate, and the Java Persistence API + introduced with EJB 3.1. Seam's unique state-management architectu= re allows the most sophisticated ORM integration of any web applicati= on = framework. Modified: branches/community/Seam_2_3/seam-reference-guide/src/docbook/en-U= S/Preface.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 --- branches/community/Seam_2_3/seam-reference-guide/src/docbook/en-US/Pref= ace.xml 2012-07-27 11:32:28 UTC (rev 15005) +++ branches/community/Seam_2_3/seam-reference-guide/src/docbook/en-US/Pref= ace.xml 2012-07-27 14:49:01 UTC (rev 15006) @@ -30,10 +30,10 @@ frameworks you're using today. - Unlike plain Java EE or J2EE components, Seam comp= onents may simultaneously + Unlike plain Java EE or Java EE components, Seam c= omponents may simultaneously access state associated with the web request and s= tate held in transactional resources (without the need to propagate web request state manually v= ia method parameters). You might object - that the application layering imposed upon you by = the old J2EE platform was a Good Thing. + that the application layering imposed upon you by = the old Java EE platform was a Good Thing. Well, nothing stops you creating an equivalent lay= ered architecture using Seam — the difference is that you get to architect = your own application and decide what the layers are and how they work together. @@ -45,7 +45,7 @@ Integrate JSF with EJB 3.0 - JSF and EJB 3.0 are two of the best new features o= f Java EE 5. EJB3 is a brand new + JSF and EJB 3 are two of the best new features of = Java EE 5. EJB3 is a brand new component model for server side business and persi= stence logic. Meanwhile, JSF is a great component model for the presentation tier. U= nfortunately, neither component model is able to solve all problems in computing b= y itself. Indeed, JSF and EJB3 @@ -55,7 +55,7 @@ and integration with other frameworks. - Seam unifies the component models of JSF and EJB3,= eliminating glue code, and letting + Seam unifies the component models of JSF and EJB 3= , eliminating glue code, and letting the developer think about the business problem. @@ -74,12 +74,28 @@ - = + + + Integrated with Java EE6 + + + While Seam 2 was targeted Java EE 5 mainly, you ca= n use some Java EE 6 technologies + also on Seam 2. + + + Seam 2 and its extensions was added a little re-fa= ctored into Java EE 6 as CDI technology. + So this should be a current focus of majority user= s. But for previous Seam 2 users who = + doesn't want or can't use that, we bring some new = features from the Java EE 6 set like JSF 2, + JPA 2 and Bean Validation integrations into Seam 2= . = + + + + = Integrated AJAX - Seam supports the best open source JSF-based AJAX = solutions: JBoss RichFaces and = + Seam supports the best open source JSF-based AJAX = solutions: RichFaces and = ICEfaces. These solutions let you add AJAX capabil= ity to your user interface without = the need to write any JavaScript code. @@ -127,7 +143,7 @@ associated with a particular context, while ensuring that all needed cleanup occurs when the context ends. Seam takes t= he concept of declarative state management much further and applies it to application state. - Traditionally, J2EE applications implement state m= anagement manually, by getting + Traditionally, Java EE applications implement stat= e management manually, by getting and setting servlet session and request attributes= . This approach to state management is the source of many bugs and memory leaks when applicat= ions fail to clean up session attributes, or when session data associated with different wor= kflows collides in a multi-window @@ -195,7 +211,7 @@ Traditionally, the Java community has been in a st= ate of deep confusion about precisely = - what kinds of meta-information counts as configura= tion. J2EE and popular "lightweight" + what kinds of meta-information counts as configura= tion. Java EE and popular "lightweight" containers have provided XML-based deployment desc= riptors both for things which are truly configurable between different deployments o= f the system, and for any other kinds or declaration which can not easily be expressed i= n Java. Java 5 annotations changed @@ -222,8 +238,8 @@ difficult task for Java web applications. Therefor= e, Seam provides for testability of Seam applications as a core feature of the framework. Y= ou can easily write JUnit or TestNG tests that reproduce a whole interaction with a user, ex= ercising all components of the system - apart from the view (the JSP or Facelets page). Yo= u can run these tests directly inside your - IDE, where Seam will automatically deploy EJB comp= onents using JBoss Embedded. + apart from the view. You can run these tests direc= tly inside your + IDE, where Seam will automatically deploy EJB comp= onents using Arquillian. @@ -253,7 +269,7 @@ be amazed at how many problems become simpler... - Seam integrates JPA and Hibernate3 for persistence= , the EJB Timer Service and Quartz = + Seam integrates JPA and Hibernate for persistence,= the EJB Timer Service and Quartz = for lightweight asychronicity, jBPM for workflow, = JBoss Rules for business rules, Meldware = Mail for email, Hibernate Search and Lucene for fu= ll text search, JMS for messaging and JBoss = Cache for page fragment caching. Seam layers an in= novative rule-based security framework over @@ -268,10 +284,9 @@ Get started now! - Seam works in any Java EE application server, and = even works in Tomcat. If your environment - supports EJB 3.0, great! If it doesn't, no problem= , you can use Seam's built-in transaction - management with JPA or Hibernate3 for persistence.= Or, you can deploy JBoss Embedded in - Tomcat, and get full support for EJB 3.0. + Seam should work in any Java EE application server= , and even works in Tomcat. If your environment + supports EJB 3.0 or 3.1, great! If it doesn't, no = problem, you can use Seam's built-in transaction + management with JPA or Hibernate for persistence. @@ -284,7 +299,7 @@ = - It turns out that the combination of Seam, JSF and EJB3 is the simplest way + It turns out that the combination of Seam, JSF and EJB is the simplest way to write a complex web application in Java. You won't believe = how little code is required! = Modified: branches/community/Seam_2_3/seam-reference-guide/src/docbook/en-U= S/Tutorial.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 --- branches/community/Seam_2_3/seam-reference-guide/src/docbook/en-US/Tuto= rial.xml 2012-07-27 11:32:28 UTC (rev 15005) +++ branches/community/Seam_2_3/seam-reference-guide/src/docbook/en-US/Tuto= rial.xml 2012-07-27 14:49:01 UTC (rev 15006) @@ -668,8 +668,8 @@ xmlns:xsi=3D"http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation=3D" http://java.sun.com/xml/ns/persistence - http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd" = - version=3D"1.0"> + http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd" = + version=3D"2.0"> = org.hibernate.ejb.HibernatePersistence @@ -1113,7 +1113,7 @@ =
Understanding the code - The center of this example is the jBPM process definiti= on. There are also two JSPs and two trivial + The center of this example is the jBPM process definiti= on. There are also two JSFs and two trivial JavaBeans (There was no reason to use session beans, since= they do not access the database, or have any other transactional behavior). Let's start with the proces= s definition: @@ -2311,18 +2311,18 @@ ]]> - The RichFaces Ajax <a:ajax&= gt; tag allows a JSF action + The RichFaces <a:ajax> tag allows a JSF action event listener to be called by asynchronou= s XMLHttpRequest when a JavaScript event like onkeyup occurs. Even better, the reRender attribute = lets us render a fragment of the JSF page and perform a partial page update when the asy= nchronous response is received. - The RichFaces Ajax <a:statu= s> tag lets us display an + The RichFaces <a:status>= tag lets us display an animated image while we wait for asynchron= ous requests to return. - The RichFaces Ajax <a:outpu= tPanel> tag defines a region of + The RichFaces <a:outputPane= l> tag defines a region of the page which can be re-rendered by an as= ynchronous request. Modified: branches/community/Seam_2_3/seam-reference-guide/src/docbook/en-U= S/Validation.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 --- branches/community/Seam_2_3/seam-reference-guide/src/docbook/en-US/Vali= dation.xml 2012-07-27 11:32:28 UTC (rev 15005) +++ branches/community/Seam_2_3/seam-reference-guide/src/docbook/en-US/Vali= dation.xml 2012-07-27 14:49:01 UTC (rev 15006) @@ -42,12 +42,12 @@ private String zip; = @NotNull - @Length(max=3D30) + @Size(max=3D30) public String getCountry() { return country; } public void setCountry(String c) { country =3D c; } = @NotNull - @Length(max=3D6) + @Size(max=3D6) @Pattern("^\d*$") public String getZip() { return zip; } public void setZip(String z) { zip =3D z; } @@ -307,7 +307,7 @@ // Getters and setters for name = @NotNull - @Length(max=3D6) + @Size(max=3D6) @ZipCode(message=3D"#{messages['location.zipCode.invalid']}") public String getZip() { return zip; } public void setZip(String z) { zip =3D z; } Modified: branches/community/Seam_2_3/seam-reference-guide/src/docbook/en-U= S/master.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 --- branches/community/Seam_2_3/seam-reference-guide/src/docbook/en-US/mast= er.xml 2012-07-27 11:32:28 UTC (rev 15005) +++ branches/community/Seam_2_3/seam-reference-guide/src/docbook/en-US/mast= er.xml 2012-07-27 14:49:01 UTC (rev 15006) @@ -41,9 +41,9 @@ = = - - - - + + + + --===============0326138566325197190==--