Seam SVN: r7875 - branches/Seam_2_0/doc/Seam_Reference_Guide/en-US.
by seam-commits@lists.jboss.org
Author: shane.bryzak(a)jboss.com
Date: 2008-04-08 11:10:51 -0400 (Tue, 08 Apr 2008)
New Revision: 7875
Modified:
branches/Seam_2_0/doc/Seam_Reference_Guide/en-US/Security.xml
Log:
removed section on identity management
Modified: branches/Seam_2_0/doc/Seam_Reference_Guide/en-US/Security.xml
===================================================================
--- branches/Seam_2_0/doc/Seam_Reference_Guide/en-US/Security.xml 2008-04-08 12:31:50 UTC (rev 7874)
+++ branches/Seam_2_0/doc/Seam_Reference_Guide/en-US/Security.xml 2008-04-08 15:10:51 UTC (rev 7875)
@@ -1625,846 +1625,4 @@
</sect1>
- <sect1>
- <title>Identity Management</title>
-
- <para>
- Seam Security provides an optional identity management API, which offers the following features:
- </para>
-
- <itemizedlist>
- <listitem>
- <para>
- User management - the ability to create, delete and modify user accounts and their role memberships.
- </para>
- </listitem>
- <listitem>
- <para>
- Authentication of users without the need for writing an Authenticator component.
- </para>
- </listitem>
- <listitem>
- <para>
- A hierarchical role/group membership structure, allowing roles to be members of other roles.
- </para>
- </listitem>
- <listitem>
- <para>
- Pluggable identity store, allowing the developer to choose their security provider, whether it be
- JPA, LDAP, Kerberos, etc.
- </para>
- </listitem>
- </itemizedlist>
-
- <para>
- The core of the identity management API is the <literal>IdentityManager</literal> component. Before it can be
- used however, it must be configured with an <literal>IdentityStore</literal> implementation. The
- <literal>IdentityStore</literal> does the actual work of interacting with the underlying security provider,
- whatever it may be.
- </para>
-
- <mediaobject>
- <imageobject role="fo">
- <imagedata fileref="images/security-identitymanager.png" align="center" scalefit="1"/>
- </imageobject>
- <imageobject role="html">
- <imagedata fileref="images/security-identitymanager.png" align="center"/>
- </imageobject>
- </mediaobject>
-
- <sect2>
- <title>Configuration</title>
-
- <para>
- Configuration of the <literal>IdentityManager</literal> is extremely simple, requiring only an
- <literal>IdentityStore</literal> to be configured in <literal>components.xml</literal>.
- The identity management namespace is <literal>http://jboss.com/products/seam/security/management</literal>
- and its schema location is <literal>http://jboss.com/products/seam/identity-management-2.1.xsd</literal>.
- Here's a simple example showing the configuration of a <literal>JPAIdentityStore</literal> - for the
- <literal>IdentityManager</literal> to use it, it must be named <literal>identityStore</literal>:
- </para>
-
- <programlisting role="XML"><![CDATA[
- <identity-management:jpa-identity-store name="identityStore" account-class="com.acme.UserAccount"/>
- ]]></programlisting>
- </sect2>
-
- <sect2>
- <title>JPAIdentityStore</title>
-
- <para>
- <literal>JPAIdentityStore</literal> is an <literal>IdentityStore</literal> implementation that uses
- JPA as its underlying security provider. User accounts and their role memberships are stored in a
- self-referencing database table, for which the corresponding entity bean must extend
- <literal>org.jboss.seam.security.management.UserAccount</literal> to provide the following properties:
- </para>
-
- <mediaobject>
- <imageobject role="fo">
- <imagedata fileref="images/security-useraccount.png" align="center"/>
- </imageobject>
- <imageobject role="html">
- <imagedata fileref="images/security-useraccount.png" align="center"/>
- </imageobject>
- </mediaobject>
-
- <para>
- To provide a complete example, here's what the actual database tables may look like:
- </para>
-
- <mediaobject>
- <imageobject role="fo">
- <imagedata fileref="images/security-useraccountschema.png" align="center"/>
- </imageobject>
- <imageobject role="html">
- <imagedata fileref="images/security-useraccountschema.png" align="center"/>
- </imageobject>
- </mediaobject>
-
- <para>
- And an example of the corresponding entity bean:
- </para>
-
- <programlisting role="JAVA"><![CDATA[@Entity @Table(name = "USER_ACCOUNT")
-public class UserAccount extends org.jboss.seam.security.management.UserAccount
- implements Serializable
-{
- private Integer accountId;
- private String username;
- private String passwordHash;
- private boolean enabled;
- private AccountType accountType;
- private Set<UserAccount> memberships;
-
- @Id @GeneratedValue public Integer getAccountId() { return accountId; }
- public void setAccountId(Integer accountId) { this.accountId = accountId; }
-
- @NotNull @Override public String getUsername() { return username; }
- @Override public void setUsername(String username) { this.username = username; }
-
- @Override public String getPasswordHash() { return passwordHash; }
- @Override public void setPasswordHash(String passwordHash) { this.passwordHash = passwordHash; }
-
- @Override public AccountType getAccountType() { return accountType; }
- @Override public void setAccountType(AccountType accountType) { this.accountType = accountType; }
-
- @Override public boolean isEnabled() { return enabled; }
- @Override public void setEnabled(boolean enabled) { this.enabled = enabled; }
-
- @ManyToMany(targetEntity = MemberAccount.class) @JoinTable(name = "ACCOUNT_MEMBERSHIP",
- joinColumns = @JoinColumn(name = "ACCOUNT_ID"),
- inverseJoinColumns = @JoinColumn(name = "MEMBER_OF"))
- @Override public Set<UserAccount> getMemberships() { return memberships; }
- @Override public void setMemberships(Set<UserAccount> memberships) { this.memberships = memberships; }}]]></programlisting>
-
- <para>
- In the above example, the implementation of <literal>UserAccount</literal> is self-referencing
- in that it has a many-to-many relationship with itself via its <literal>memberships</literal>
- property. To keep the model simple, both user accounts and roles are persisted as
- <literal>UserAccount</literal>s, with the <literal>accountType</literal> property acting as the
- discriminator between the two. With this model, roles can be members of other roles, making it
- possible to define complex role membership hierarchies.
- </para>
-
- <para>
- Once the <literal>UserAccount</literal> implementation has been created, the <literal>JPAIdentityStore</literal>
- must be configured to use that implementation any time it performs an identity management operation.
- This is done by specifying the <literal>account-class</literal> property in <literal>components.xml</literal>.
- In the following example, it is configured as <literal>com.acme.UserAccount</literal>:
- </para>
-
- <programlisting role="XML"><![CDATA[
- <identity-management:jpa-identity-store name="identityStore" account-class="com.acme.UserAccount"/>]]></programlisting>
-
- <para>
- Please note that this is a required parameter, and must always be specified when using the
- <literal>JPAIdentityStore</literal>.
- </para>
-
- <sect3>
- <title>Password hashing</title>
-
- <para>
- The <literal>JPAIdentityStore</literal> stores a salted hash of the user's password, using the username
- as the source material for salt generation. This guarantees that two users with the same password will
- still have different password hashes. The method for generating a password hash is listed here for
- convenience - it may be useful for generating password hashes for inclusion in DML scripts, etc:
- </para>
-
- <programlisting role="JAVA"><![CDATA[
- public String hashPassword(String password, String saltPhrase)
- {
- try {
- MessageDigest md = MessageDigest.getInstance("MD5");
-
- md.update(saltPhrase.getBytes());
- byte[] salt = md.digest();
-
- md.reset();
- md.update(password.getBytes("UTF-8"));
- md.update(salt);
-
- byte[] raw = md.digest();
-
- return new String(Hex.encodeHex(raw));
- }
- catch (Exception e) {
- throw new RuntimeException(e);
- }
- }
- ]]></programlisting>
- </sect3>
-
- </sect2>
-
- <sect2>
- <title>Authentication with the Identity Management API</title>
-
- <para>
- To authenticate using the Identity Management API, it is as simple as not specifying the
- <literal>authenticate-method</literal> property for the <literal>Identity</literal> component.
- If no <literal>authenticate-method</literal> is specified, then by default the authentication
- process (controlled by <literal>SeamLoginModule</literal>) will attempt to authenticate using
- <literal>IdentityManager</literal>'s <literal>authenticate()</literal> method, and no
- Authenticator component is necessary.
- </para>
- </sect2>
-
- <sect2>
- <title>Using the IdentityManager API</title>
-
- <para>
- The <literal>IdentityManager</literal> can be accessed either by injecting it into your Seam
- component as follows:
- </para>
-
- <programlisting role="JAVA"><![CDATA[ @In IdentityManager identityManager;]]></programlisting>
-
- <para>
- or by accessing it through its static <literal>instance()</literal> method:
- </para>
-
- <programlisting role="JAVA"><![CDATA[ IdentityManager identityManager = IdentityManager.instance();]]></programlisting>
-
- <para>
- The following table describes each of the methods that <literal>IdentityManager</literal> provides:
- </para>
-
- <table>
- <title>Identity Management API</title>
-
- <tgroup cols="3">
- <colspec colnum="1" colwidth="2*" />
- <colspec colnum="2" colwidth="1*" />
- <colspec colnum="3" colwidth="3*" />
-
- <thead>
- <row>
- <entry align="center">
- <para>Method</para>
- </entry>
- <entry align="center">
- <para>Returns</para>
- </entry>
- <entry align="center">
- <para>Description</para>
- </entry>
- </row>
- </thead>
-
- <tbody>
-
- <row>
- <entry>
- <para>
- <literal>createAccount(String name, String password)</literal>
- </para>
- </entry>
- <entry>
- <para>
- <literal>boolean</literal>
- </para>
- </entry>
- <entry>
- <para>
- Creates a new user account, with the specified name and password. Returns <literal>true</literal>
- if successful, or <literal>false</literal> if not.
- </para>
- </entry>
- </row>
-
- <row>
- <entry>
- <para>
- <literal>deleteAccount(String name)</literal>
- </para>
- </entry>
- <entry>
- <para>
- <literal>boolean</literal>
- </para>
- </entry>
- <entry>
- <para>
- Deletes the user account with the specified name. Returns <literal>true</literal>
- if successful, or <literal>false</literal> if not.
- </para>
- </entry>
- </row>
-
- <row>
- <entry>
- <para>
- <literal>enableAccount(String name)</literal>
- </para>
- </entry>
- <entry>
- <para>
- <literal>boolean</literal>
- </para>
- </entry>
- <entry>
- <para>
- Enables the user account with the specified name. Accounts that are not enabled are
- not able to authenticate. Returns <literal>true</literal> if successful, or
- <literal>false</literal> if not.
- </para>
- </entry>
- </row>
-
- <row>
- <entry>
- <para>
- <literal>disableAccount(String name)</literal>
- </para>
- </entry>
- <entry>
- <para>
- <literal>boolean</literal>
- </para>
- </entry>
- <entry>
- <para>
- Disables the user account with the specified name. Returns <literal>true</literal> if
- successful, or <literal>false</literal> if not.
- </para>
- </entry>
- </row>
-
- <row>
- <entry>
- <para>
- <literal>changePassword(String name, String password)</literal>
- </para>
- </entry>
- <entry>
- <para>
- <literal>boolean</literal>
- </para>
- </entry>
- <entry>
- <para>
- Changes the password for the user account with the specified name. Returns
- <literal>true</literal> if successful, or <literal>false</literal> if not.
- </para>
- </entry>
- </row>
-
- <row>
- <entry>
- <para>
- <literal>isEnabled(String name)</literal>
- </para>
- </entry>
- <entry>
- <para>
- <literal>boolean</literal>
- </para>
- </entry>
- <entry>
- <para>
- Returns <literal>true</literal> if the specified user account is enabled, or
- <literal>false</literal> if it isn't.
- </para>
- </entry>
- </row>
-
- <row>
- <entry>
- <para>
- <literal>grantRole(String name, String role)</literal>
- </para>
- </entry>
- <entry>
- <para>
- <literal>boolean</literal>
- </para>
- </entry>
- <entry>
- <para>
- Grants the specified role to the specified user account. The role must already exist for it to
- be granted. Returns <literal>true</literal> if the role is successfully granted, or
- <literal>false</literal> if it is already granted to the user.
- </para>
- </entry>
- </row>
-
- <row>
- <entry>
- <para>
- <literal>revokeRole(String name, String role)</literal>
- </para>
- </entry>
- <entry>
- <para>
- <literal>boolean</literal>
- </para>
- </entry>
- <entry>
- <para>
- Revokes the specified role from the specified user account. Returns <literal>true</literal>
- if the specified user is a member of the role and it is successfully revoked, or
- <literal>false</literal> if the user is not a member of the role.
- </para>
- </entry>
- </row>
-
- <row>
- <entry>
- <para>
- <literal>accountExists(String name)</literal>
- </para>
- </entry>
- <entry>
- <para>
- <literal>boolean</literal>
- </para>
- </entry>
- <entry>
- <para>
- Returns <literal>true</literal> if the specified user exists, or <literal>false</literal>
- if it doesn't.
- </para>
- </entry>
- </row>
-
- <row>
- <entry>
- <para>
- <literal>listUsers()</literal>
- </para>
- </entry>
- <entry>
- <para>
- <literal>List</literal>
- </para>
- </entry>
- <entry>
- <para>
- Returns a list of all user names, sorted in alpha-numeric order.
- </para>
- </entry>
- </row>
-
- <row>
- <entry>
- <para>
- <literal>listUsers(String filter)</literal>
- </para>
- </entry>
- <entry>
- <para>
- <literal>List</literal>
- </para>
- </entry>
- <entry>
- <para>
- Returns a list of all user names filtered by the specified filter parameter, sorted in alpha-numeric order.
- </para>
- </entry>
- </row>
-
- <row>
- <entry>
- <para>
- <literal>listRoles()</literal>
- </para>
- </entry>
- <entry>
- <para>
- <literal>List</literal>
- </para>
- </entry>
- <entry>
- <para>
- Returns a list of all role names.
- </para>
- </entry>
- </row>
-
- <row>
- <entry>
- <para>
- <literal>getGrantedRoles(String name)</literal>
- </para>
- </entry>
- <entry>
- <para>
- <literal>List</literal>
- </para>
- </entry>
- <entry>
- <para>
- Returns a list of the names of all the roles explicitly granted to the specified user name.
- </para>
- </entry>
- </row>
-
- <row>
- <entry>
- <para>
- <literal>getImpliedRoles(String name)</literal>
- </para>
- </entry>
- <entry>
- <para>
- <literal>List</literal>
- </para>
- </entry>
- <entry>
- <para>
- Returns a list of the names of all the roles implicitly granted to the specified user name.
- Implicitly granted roles include those that are not directly granted to a user, rather they are
- granted to the roles that the user is a member of. For example, is the <literal>admin</literal>
- role is a member of the <literal>user</literal> role, and a user is a member of the <literal>admin</literal>
- role, then the implied roles for the user are both the <literal>admin</literal>, and <literal>user</literal>
- roles.
- </para>
- </entry>
- </row>
-
- <row>
- <entry>
- <para>
- <literal>authenticate(String name, String password)</literal>
- </para>
- </entry>
- <entry>
- <para>
- <literal>boolean</literal>
- </para>
- </entry>
- <entry>
- <para>
- Authenticates the specified username and password using the configured Identity Store. Returns
- <literal>true</literal> if successful or <literal>false</literal> if authentication failed.
- Successful authentication implies nothing beyond the return value of the method. It does not
- change the state of the <literal>Identity</literal> component - to perform a proper Seam login the
- <literal>Identity.login()</literal> must be used instead.
- </para>
- </entry>
- </row>
-
- </tbody>
- </tgroup>
- </table>
-
- <para>
- Using the Identity Management API requires that the calling user has the appropriate authorization to invoke
- its methods. The following table describes the permission requirements for each of the methods in
- <literal>IdentityManager</literal>.
- </para>
-
- <table>
- <title>Identity Management Security Permissions</title>
-
- <tgroup cols="3">
- <colspec colnum="1" colwidth="2*" />
- <colspec colnum="2" colwidth="2*" />
- <colspec colnum="2" colwidth="2*" />
-
- <thead>
- <row>
- <entry align="center">
- <para>Method</para>
- </entry>
- <entry align="center">
- <para>Permission Name</para>
- </entry>
- <entry align="center">
- <para>Permission Action</para>
- </entry>
- </row>
- </thead>
-
- <tbody>
- <row>
- <entry>
- <para>
- <literal>createAccount()</literal>
- </para>
- </entry>
- <entry>
- <para>
- <literal>seam.account</literal>
- </para>
- </entry>
- <entry>
- <para>
- <literal>create</literal>
- </para>
- </entry>
- </row>
-
- <row>
- <entry>
- <para>
- <literal>deleteAccount()</literal>
- </para>
- </entry>
- <entry>
- <para>
- <literal>seam.account</literal>
- </para>
- </entry>
- <entry>
- <para>
- <literal>delete</literal>
- </para>
- </entry>
- </row>
-
- <row>
- <entry>
- <para>
- <literal>enableAccount()</literal>
- </para>
- </entry>
- <entry>
- <para>
- <literal>seam.account</literal>
- </para>
- </entry>
- <entry>
- <para>
- <literal>update</literal>
- </para>
- </entry>
- </row>
-
- <row>
- <entry>
- <para>
- <literal>disableAccount()</literal>
- </para>
- </entry>
- <entry>
- <para>
- <literal>seam.account</literal>
- </para>
- </entry>
- <entry>
- <para>
- <literal>update</literal>
- </para>
- </entry>
- </row>
-
- <row>
- <entry>
- <para>
- <literal>changePassword()</literal>
- </para>
- </entry>
- <entry>
- <para>
- <literal>seam.account</literal>
- </para>
- </entry>
- <entry>
- <para>
- <literal>update</literal>
- </para>
- </entry>
- </row>
-
- <row>
- <entry>
- <para>
- <literal>isEnabled()</literal>
- </para>
- </entry>
- <entry>
- <para>
- <literal>seam.account</literal>
- </para>
- </entry>
- <entry>
- <para>
- <literal>read</literal>
- </para>
- </entry>
- </row>
-
- <row>
- <entry>
- <para>
- <literal>grantRole()</literal>
- </para>
- </entry>
- <entry>
- <para>
- <literal>seam.account</literal>
- </para>
- </entry>
- <entry>
- <para>
- <literal>update</literal>
- </para>
- </entry>
- </row>
-
- <row>
- <entry>
- <para>
- <literal>revokeRole()</literal>
- </para>
- </entry>
- <entry>
- <para>
- <literal>seam.account</literal>
- </para>
- </entry>
- <entry>
- <para>
- <literal>update</literal>
- </para>
- </entry>
- </row>
-
- <row>
- <entry>
- <para>
- <literal>accountExists()</literal>
- </para>
- </entry>
- <entry>
- <para>
- <literal>seam.account</literal>
- </para>
- </entry>
- <entry>
- <para>
- <literal>read</literal>
- </para>
- </entry>
- </row>
-
- <row>
- <entry>
- <para>
- <literal>listUsers()</literal>
- </para>
- </entry>
- <entry>
- <para>
- <literal>seam.account</literal>
- </para>
- </entry>
- <entry>
- <para>
- <literal>read</literal>
- </para>
- </entry>
- </row>
-
- </tbody>
- </tgroup>
- </table>
-
- <para>
- The following code listing provides an example set of security rules that grants access to all
- Identity Management-related methods to members of the <literal>admin</literal> role:
- </para>
-
- <programlisting><![CDATA[rule CreateAccount
- no-loop
- activation-group "permissions"
-when
- check: PermissionCheck(name == "seam.account", action == "create", granted == false)
- Role(name == "admin")
-then
- check.grant();
-end
-
-rule ReadAccount
- no-loop
- activation-group "permissions"
-when
- check: PermissionCheck(name == "seam.account", action == "read", granted == false)
- Role(name == "admin")
-then
- check.grant();
-end
-
-rule UpdateAccount
- no-loop
- activation-group "permissions"
-when
- check: PermissionCheck(name == "seam.account", action == "update", granted == false)
- Role(name == "admin")
-then
- check.grant();
-end
-
-rule DeleteAccount
- no-loop
- activation-group "permissions"
-when
- check: PermissionCheck(name == "seam.account", action == "delete", granted == false)
- Role(name == "admin")
-then
- check.grant();
-end]]></programlisting>
-
- </sect2>
-
- <sect2>
- <title>Seam-gen and Identity Management</title>
-
- <para>
- When creating a new project using seam-gen (see <xref linkend="gettingstarted"/>), by default the
- <literal>IdentityManager</literal> will be configured with a <literal>JPAIdentityStore</literal>
- and a <literal>UserAccount</literal> implementation will be generated as part of the new project.
- In addition to this, the project will include the following user management screens, allowing
- new users to be created, roles assigned, etc:
- </para>
-
- <mediaobject>
- <imageobject role="fo">
- <imagedata fileref="images/security-usermanager1.png" align="center" scalefit="1"/>
- </imageobject>
- <imageobject role="html">
- <imagedata fileref="images/security-usermanager1.png" align="center"/>
- </imageobject>
- </mediaobject>
-
- <para>
- The user detail screen:
- </para>
-
- <mediaobject>
- <imageobject role="fo">
- <imagedata fileref="images/security-usermanager2.png" align="center" scalefit="1"/>
- </imageobject>
- <imageobject role="html">
- <imagedata fileref="images/security-usermanager2.png" align="center"/>
- </imageobject>
- </mediaobject>
-
-
- </sect2>
-
- </sect1>
-
</chapter>
16 years, 9 months
Seam SVN: r7874 - branches/Seam_2_0/build.
by seam-commits@lists.jboss.org
Author: pete.muir(a)jboss.org
Date: 2008-04-08 08:31:50 -0400 (Tue, 08 Apr 2008)
New Revision: 7874
Modified:
branches/Seam_2_0/build/docs.pom.xml
Log:
oops
Modified: branches/Seam_2_0/build/docs.pom.xml
===================================================================
--- branches/Seam_2_0/build/docs.pom.xml 2008-04-08 12:06:55 UTC (rev 7873)
+++ branches/Seam_2_0/build/docs.pom.xml 2008-04-08 12:31:50 UTC (rev 7874)
@@ -67,7 +67,7 @@
<sourceDirectory>${pom.basedir}/en-US</sourceDirectory>
<sourceDocumentName>master.xml</sourceDocumentName>
<imageResource>
- <directory>${pom.basedir}/en</directory>
+ <directory>${pom.basedir}/en-US</directory>
<includes>
<include>images/*.png</include>
</includes>
16 years, 9 months
Seam SVN: r7873 - trunk/src/main/org/jboss/seam/deployment and 1 other directory.
by seam-commits@lists.jboss.org
Author: pete.muir(a)jboss.org
Date: 2008-04-08 08:06:55 -0400 (Tue, 08 Apr 2008)
New Revision: 7873
Modified:
branches/Seam_2_0/src/main/org/jboss/seam/deployment/GroovyHotDeploymentStrategy.java
trunk/src/main/org/jboss/seam/deployment/GroovyHotDeploymentStrategy.java
Log:
JBSEAM-2812, thanks to Dan Allen
Modified: branches/Seam_2_0/src/main/org/jboss/seam/deployment/GroovyHotDeploymentStrategy.java
===================================================================
--- branches/Seam_2_0/src/main/org/jboss/seam/deployment/GroovyHotDeploymentStrategy.java 2008-04-08 12:03:18 UTC (rev 7872)
+++ branches/Seam_2_0/src/main/org/jboss/seam/deployment/GroovyHotDeploymentStrategy.java 2008-04-08 12:06:55 UTC (rev 7873)
@@ -58,6 +58,7 @@
}
else
{
+ if (super.isFromHotDeployClassLoader(componentClass)) return true; //Java
ClassLoader classClassLoader = componentClass.getClassLoader().getParent(); //Groovy use an Inner Delegate CL
return classClassLoader == getClassLoader() || classClassLoader == getClassLoader().getParent();
}
Modified: trunk/src/main/org/jboss/seam/deployment/GroovyHotDeploymentStrategy.java
===================================================================
--- trunk/src/main/org/jboss/seam/deployment/GroovyHotDeploymentStrategy.java 2008-04-08 12:03:18 UTC (rev 7872)
+++ trunk/src/main/org/jboss/seam/deployment/GroovyHotDeploymentStrategy.java 2008-04-08 12:06:55 UTC (rev 7873)
@@ -58,6 +58,7 @@
}
else
{
+ if (super.isFromHotDeployClassLoader(componentClass)) return true; //Java
ClassLoader classClassLoader = componentClass.getClassLoader().getParent(); //Groovy use an Inner Delegate CL
return classClassLoader == getClassLoader() || classClassLoader == getClassLoader().getParent();
}
16 years, 9 months
Seam SVN: r7872 - trunk/bootstrap/deploy and 1 other directory.
by seam-commits@lists.jboss.org
Author: pete.muir(a)jboss.org
Date: 2008-04-08 08:03:18 -0400 (Tue, 08 Apr 2008)
New Revision: 7872
Modified:
branches/Seam_2_0/bootstrap/deploy/remoting-service.xml
trunk/bootstrap/deploy/remoting-service.xml
Log:
JBSEAM-2813, thanks to Dan allen
Modified: branches/Seam_2_0/bootstrap/deploy/remoting-service.xml
===================================================================
--- branches/Seam_2_0/bootstrap/deploy/remoting-service.xml 2008-04-08 11:59:30 UTC (rev 7871)
+++ branches/Seam_2_0/bootstrap/deploy/remoting-service.xml 2008-04-08 12:03:18 UTC (rev 7872)
@@ -5,11 +5,11 @@
<server>
<mbean code="org.jboss.remoting.transport.Connector"
name="jboss.remoting:type=Connector,name=DefaultEjb3Connector,handler=ejb3">
- <attribute name="InvokerLocator">socket://${jboss.bind.address}:3873</attribute>
+ <attribute name="InvokerLocator">socket://${jboss.bind.address}:3883</attribute>
<attribute name="Configuration">
<handlers>
<handler subsystem="AOP">org.jboss.aspects.remoting.AOPRemotingInvocationHandler</handler>
</handlers>
</attribute>
</mbean>
-</server>
\ No newline at end of file
+</server>
Modified: trunk/bootstrap/deploy/remoting-service.xml
===================================================================
--- trunk/bootstrap/deploy/remoting-service.xml 2008-04-08 11:59:30 UTC (rev 7871)
+++ trunk/bootstrap/deploy/remoting-service.xml 2008-04-08 12:03:18 UTC (rev 7872)
@@ -5,11 +5,11 @@
<server>
<mbean code="org.jboss.remoting.transport.Connector"
name="jboss.remoting:type=Connector,name=DefaultEjb3Connector,handler=ejb3">
- <attribute name="InvokerLocator">socket://${jboss.bind.address}:3873</attribute>
+ <attribute name="InvokerLocator">socket://${jboss.bind.address}:3883</attribute>
<attribute name="Configuration">
<handlers>
<handler subsystem="AOP">org.jboss.aspects.remoting.AOPRemotingInvocationHandler</handler>
</handlers>
</attribute>
</mbean>
-</server>
\ No newline at end of file
+</server>
16 years, 9 months
Seam SVN: r7871 - trunk/examples/blog/view and 1 other directory.
by seam-commits@lists.jboss.org
Author: pete.muir(a)jboss.org
Date: 2008-04-08 07:59:30 -0400 (Tue, 08 Apr 2008)
New Revision: 7871
Modified:
branches/Seam_2_0/examples/blog/view/login.xhtml
trunk/examples/blog/view/login.xhtml
Log:
JBSEAM-2839
Modified: branches/Seam_2_0/examples/blog/view/login.xhtml
===================================================================
--- branches/Seam_2_0/examples/blog/view/login.xhtml 2008-04-08 11:52:27 UTC (rev 7870)
+++ branches/Seam_2_0/examples/blog/view/login.xhtml 2008-04-08 11:59:30 UTC (rev 7871)
@@ -21,6 +21,9 @@
<span class="errors"><h:message for="password"/></span>
<span class="errors"><h:messages globalOnly="true"/></span>
</div>
+ <div>
+ To log in, use the password <em>tokyo</em>.
+ </div>
</h:form>
</div>
</ui:define>
Modified: trunk/examples/blog/view/login.xhtml
===================================================================
--- trunk/examples/blog/view/login.xhtml 2008-04-08 11:52:27 UTC (rev 7870)
+++ trunk/examples/blog/view/login.xhtml 2008-04-08 11:59:30 UTC (rev 7871)
@@ -21,6 +21,9 @@
<span class="errors"><h:message for="password"/></span>
<span class="errors"><h:messages globalOnly="true"/></span>
</div>
+ <div>
+ To log in, use the password <em>tokyo</em>.
+ </div>
</h:form>
</div>
</ui:define>
16 years, 9 months
Seam SVN: r7870 - branches/Seam_2_0/examples/booking/resources and 38 other directories.
by seam-commits@lists.jboss.org
Author: pete.muir(a)jboss.org
Date: 2008-04-08 07:52:27 -0400 (Tue, 08 Apr 2008)
New Revision: 7870
Modified:
branches/Seam_2_0/examples/blog/resources/components.properties
branches/Seam_2_0/examples/booking/resources/components.properties
branches/Seam_2_0/examples/contactlist/resources/components.properties
branches/Seam_2_0/examples/dvdstore/resources/components.properties
branches/Seam_2_0/examples/groovybooking/resources/components.properties
branches/Seam_2_0/examples/icefaces/resources/components.properties
branches/Seam_2_0/examples/itext/resources/components.properties
branches/Seam_2_0/examples/mail/resources/components.properties
branches/Seam_2_0/examples/messages/resources/components.properties
branches/Seam_2_0/examples/nestedbooking/resources/components.properties
branches/Seam_2_0/examples/quartz/resources/components.properties
branches/Seam_2_0/examples/registration/resources/components.properties
branches/Seam_2_0/examples/seambay/resources/components.properties
branches/Seam_2_0/examples/seamdiscs/resources/components.properties
branches/Seam_2_0/examples/seampay/resources/components.properties
branches/Seam_2_0/examples/seamspace/resources/components.properties
branches/Seam_2_0/examples/takeaway/resources/WEB-INF/components.properties
branches/Seam_2_0/seam-gen/resources/components.properties
branches/Seam_2_0/src/test/integration/resources/components.properties
trunk/examples/blog/resources/components.properties
trunk/examples/booking/resources/components.properties
trunk/examples/contactlist/resources/components.properties
trunk/examples/dvdstore/resources/components.properties
trunk/examples/groovybooking/resources/components.properties
trunk/examples/icefaces/resources/components.properties
trunk/examples/itext/resources/components.properties
trunk/examples/mail/resources/components.properties
trunk/examples/messages/resources/components.properties
trunk/examples/nestedbooking/resources/components.properties
trunk/examples/quartz/resources/components.properties
trunk/examples/registration/resources/components.properties
trunk/examples/seambay/resources/components.properties
trunk/examples/seamdiscs/resources/components.properties
trunk/examples/seampay/resources/components.properties
trunk/examples/seamspace/resources/components.properties
trunk/examples/takeaway/resources/WEB-INF/components.properties
trunk/examples/wicket/resources/components.properties
trunk/examples/wiki/build.properties
trunk/seam-gen/resources/components.properties
trunk/src/test/integration/resources/components.properties
Log:
JBSEAM-2807
Modified: branches/Seam_2_0/examples/blog/resources/components.properties
===================================================================
--- branches/Seam_2_0/examples/blog/resources/components.properties 2008-04-08 11:50:19 UTC (rev 7869)
+++ branches/Seam_2_0/examples/blog/resources/components.properties 2008-04-08 11:52:27 UTC (rev 7870)
@@ -1 +1,3 @@
-jndiPattern #{ejbName}/local
\ No newline at end of file
+# The pattern in components.xml is replaced by an application server specific value in the ant build. This value is used for running tests
+
+jndiPattern \#{ejbName}/local
\ No newline at end of file
Modified: branches/Seam_2_0/examples/booking/resources/components.properties
===================================================================
--- branches/Seam_2_0/examples/booking/resources/components.properties 2008-04-08 11:50:19 UTC (rev 7869)
+++ branches/Seam_2_0/examples/booking/resources/components.properties 2008-04-08 11:52:27 UTC (rev 7870)
@@ -1 +1,3 @@
-jndiPattern #{ejbName}/local
\ No newline at end of file
+# The pattern in components.xml is replaced by an application server specific value in the ant build. This value is used for running tests
+
+jndiPattern \#{ejbName}/local
\ No newline at end of file
Modified: branches/Seam_2_0/examples/contactlist/resources/components.properties
===================================================================
--- branches/Seam_2_0/examples/contactlist/resources/components.properties 2008-04-08 11:50:19 UTC (rev 7869)
+++ branches/Seam_2_0/examples/contactlist/resources/components.properties 2008-04-08 11:52:27 UTC (rev 7870)
@@ -1 +1,3 @@
-jndiPattern #{ejbName}/local
\ No newline at end of file
+# The pattern in components.xml is replaced by an application server specific value in the ant build. This value is used for running tests
+
+jndiPattern \#{ejbName}/local
\ No newline at end of file
Modified: branches/Seam_2_0/examples/dvdstore/resources/components.properties
===================================================================
--- branches/Seam_2_0/examples/dvdstore/resources/components.properties 2008-04-08 11:50:19 UTC (rev 7869)
+++ branches/Seam_2_0/examples/dvdstore/resources/components.properties 2008-04-08 11:52:27 UTC (rev 7870)
@@ -1 +1,3 @@
-jndiPattern #{ejbName}/local
\ No newline at end of file
+# The pattern in components.xml is replaced by an application server specific value in the ant build. This value is used for running tests
+
+jndiPattern \#{ejbName}/local
\ No newline at end of file
Modified: branches/Seam_2_0/examples/groovybooking/resources/components.properties
===================================================================
--- branches/Seam_2_0/examples/groovybooking/resources/components.properties 2008-04-08 11:50:19 UTC (rev 7869)
+++ branches/Seam_2_0/examples/groovybooking/resources/components.properties 2008-04-08 11:52:27 UTC (rev 7870)
@@ -1,2 +1,4 @@
+# The pattern in components.xml is replaced by an application server specific value in the ant build. This value is used for running tests
+
jndiPattern \#{ejbName}/local
debug true
Modified: branches/Seam_2_0/examples/icefaces/resources/components.properties
===================================================================
--- branches/Seam_2_0/examples/icefaces/resources/components.properties 2008-04-08 11:50:19 UTC (rev 7869)
+++ branches/Seam_2_0/examples/icefaces/resources/components.properties 2008-04-08 11:52:27 UTC (rev 7870)
@@ -1 +1,3 @@
-jndiPattern #{ejbName}/local
\ No newline at end of file
+# The pattern in components.xml is replaced by an application server specific value in the ant build. This value is used for running tests
+
+jndiPattern \#{ejbName}/local
\ No newline at end of file
Modified: branches/Seam_2_0/examples/itext/resources/components.properties
===================================================================
--- branches/Seam_2_0/examples/itext/resources/components.properties 2008-04-08 11:50:19 UTC (rev 7869)
+++ branches/Seam_2_0/examples/itext/resources/components.properties 2008-04-08 11:52:27 UTC (rev 7870)
@@ -1 +1,3 @@
-jndiPattern #{ejbName}/local
\ No newline at end of file
+# The pattern in components.xml is replaced by an application server specific value in the ant build. This value is used for running tests
+
+jndiPattern \#{ejbName}/local
\ No newline at end of file
Modified: branches/Seam_2_0/examples/mail/resources/components.properties
===================================================================
--- branches/Seam_2_0/examples/mail/resources/components.properties 2008-04-08 11:50:19 UTC (rev 7869)
+++ branches/Seam_2_0/examples/mail/resources/components.properties 2008-04-08 11:52:27 UTC (rev 7870)
@@ -1 +1,3 @@
+# The pattern in components.xml is replaced by an application server specific value in the ant build. This value is used for running tests
+
jndiPattern \#{ejbName}/local
\ No newline at end of file
Modified: branches/Seam_2_0/examples/messages/resources/components.properties
===================================================================
--- branches/Seam_2_0/examples/messages/resources/components.properties 2008-04-08 11:50:19 UTC (rev 7869)
+++ branches/Seam_2_0/examples/messages/resources/components.properties 2008-04-08 11:52:27 UTC (rev 7870)
@@ -1 +1,3 @@
-jndiPattern #{ejbName}/local
\ No newline at end of file
+# The pattern in components.xml is replaced by an application server specific value in the ant build. This value is used for running tests
+
+jndiPattern \#{ejbName}/local
\ No newline at end of file
Modified: branches/Seam_2_0/examples/nestedbooking/resources/components.properties
===================================================================
--- branches/Seam_2_0/examples/nestedbooking/resources/components.properties 2008-04-08 11:50:19 UTC (rev 7869)
+++ branches/Seam_2_0/examples/nestedbooking/resources/components.properties 2008-04-08 11:52:27 UTC (rev 7870)
@@ -1 +1,3 @@
-jndiPattern #{ejbName}/local
\ No newline at end of file
+# The pattern in components.xml is replaced by an application server specific value in the ant build. This value is used for running tests
+
+jndiPattern \#{ejbName}/local
\ No newline at end of file
Modified: branches/Seam_2_0/examples/quartz/resources/components.properties
===================================================================
--- branches/Seam_2_0/examples/quartz/resources/components.properties 2008-04-08 11:50:19 UTC (rev 7869)
+++ branches/Seam_2_0/examples/quartz/resources/components.properties 2008-04-08 11:52:27 UTC (rev 7870)
@@ -1 +1,3 @@
-jndiPattern #{ejbName}/local
\ No newline at end of file
+# The pattern in components.xml is replaced by an application server specific value in the ant build. This value is used for running tests
+
+jndiPattern \#{ejbName}/local
\ No newline at end of file
Modified: branches/Seam_2_0/examples/registration/resources/components.properties
===================================================================
--- branches/Seam_2_0/examples/registration/resources/components.properties 2008-04-08 11:50:19 UTC (rev 7869)
+++ branches/Seam_2_0/examples/registration/resources/components.properties 2008-04-08 11:52:27 UTC (rev 7870)
@@ -1 +1,3 @@
-jndiPattern #{ejbName}/local
\ No newline at end of file
+# The pattern in components.xml is replaced by an application server specific value in the ant build. This value is used for running tests
+
+jndiPattern \#{ejbName}/local
\ No newline at end of file
Modified: branches/Seam_2_0/examples/seambay/resources/components.properties
===================================================================
--- branches/Seam_2_0/examples/seambay/resources/components.properties 2008-04-08 11:50:19 UTC (rev 7869)
+++ branches/Seam_2_0/examples/seambay/resources/components.properties 2008-04-08 11:52:27 UTC (rev 7870)
@@ -1 +1,3 @@
-jndiPattern #{ejbName}/local
\ No newline at end of file
+# The pattern in components.xml is replaced by an application server specific value in the ant build. This value is used for running tests
+
+jndiPattern \#{ejbName}/local
\ No newline at end of file
Modified: branches/Seam_2_0/examples/seamdiscs/resources/components.properties
===================================================================
--- branches/Seam_2_0/examples/seamdiscs/resources/components.properties 2008-04-08 11:50:19 UTC (rev 7869)
+++ branches/Seam_2_0/examples/seamdiscs/resources/components.properties 2008-04-08 11:52:27 UTC (rev 7870)
@@ -1 +1,3 @@
-jndiPattern #{ejbName}/local
\ No newline at end of file
+# The pattern in components.xml is replaced by an application server specific value in the ant build. This value is used for running tests
+
+jndiPattern \#{ejbName}/local
\ No newline at end of file
Modified: branches/Seam_2_0/examples/seampay/resources/components.properties
===================================================================
--- branches/Seam_2_0/examples/seampay/resources/components.properties 2008-04-08 11:50:19 UTC (rev 7869)
+++ branches/Seam_2_0/examples/seampay/resources/components.properties 2008-04-08 11:52:27 UTC (rev 7870)
@@ -1 +1,3 @@
-jndiPattern #{ejbName}/local
\ No newline at end of file
+# The pattern in components.xml is replaced by an application server specific value in the ant build. This value is used for running tests
+
+jndiPattern \#{ejbName}/local
\ No newline at end of file
Modified: branches/Seam_2_0/examples/seamspace/resources/components.properties
===================================================================
--- branches/Seam_2_0/examples/seamspace/resources/components.properties 2008-04-08 11:50:19 UTC (rev 7869)
+++ branches/Seam_2_0/examples/seamspace/resources/components.properties 2008-04-08 11:52:27 UTC (rev 7870)
@@ -1 +1,3 @@
-jndiPattern #{ejbName}/local
\ No newline at end of file
+# The pattern in components.xml is replaced by an application server specific value in the ant build. This value is used for running tests
+
+jndiPattern \#{ejbName}/local
\ No newline at end of file
Modified: branches/Seam_2_0/examples/takeaway/resources/WEB-INF/components.properties
===================================================================
--- branches/Seam_2_0/examples/takeaway/resources/WEB-INF/components.properties 2008-04-08 11:50:19 UTC (rev 7869)
+++ branches/Seam_2_0/examples/takeaway/resources/WEB-INF/components.properties 2008-04-08 11:52:27 UTC (rev 7870)
@@ -1 +1,3 @@
-jndiPattern #{ejbName}/local
\ No newline at end of file
+# The pattern in components.xml is replaced by an application server specific value in the ant build. This value is used for running tests
+
+jndiPattern \#{ejbName}/local
\ No newline at end of file
Modified: branches/Seam_2_0/seam-gen/resources/components.properties
===================================================================
--- branches/Seam_2_0/seam-gen/resources/components.properties 2008-04-08 11:50:19 UTC (rev 7869)
+++ branches/Seam_2_0/seam-gen/resources/components.properties 2008-04-08 11:52:27 UTC (rev 7870)
@@ -1,2 +1,4 @@
+# The pattern in components.xml is replaced by an application server specific value in the ant build. This value is used for running tests
+
jndiPattern \#{ejbName}/local
debug true
Modified: branches/Seam_2_0/src/test/integration/resources/components.properties
===================================================================
--- branches/Seam_2_0/src/test/integration/resources/components.properties 2008-04-08 11:50:19 UTC (rev 7869)
+++ branches/Seam_2_0/src/test/integration/resources/components.properties 2008-04-08 11:52:27 UTC (rev 7870)
@@ -1 +1,3 @@
-jndiPattern #{ejbName}/local
\ No newline at end of file
+# The pattern in components.xml is replaced by an application server specific value in the ant build. This value is used for running tests
+
+jndiPattern \#{ejbName}/local
\ No newline at end of file
Modified: trunk/examples/blog/resources/components.properties
===================================================================
--- trunk/examples/blog/resources/components.properties 2008-04-08 11:50:19 UTC (rev 7869)
+++ trunk/examples/blog/resources/components.properties 2008-04-08 11:52:27 UTC (rev 7870)
@@ -1 +1,3 @@
-jndiPattern #{ejbName}/local
\ No newline at end of file
+# The pattern in components.xml is replaced by an application server specific value in the ant build. This value is used for running tests
+
+jndiPattern \#{ejbName}/local
\ No newline at end of file
Modified: trunk/examples/booking/resources/components.properties
===================================================================
--- trunk/examples/booking/resources/components.properties 2008-04-08 11:50:19 UTC (rev 7869)
+++ trunk/examples/booking/resources/components.properties 2008-04-08 11:52:27 UTC (rev 7870)
@@ -1 +1,3 @@
-jndiPattern #{ejbName}/local
\ No newline at end of file
+# The pattern in components.xml is replaced by an application server specific value in the ant build. This value is used for running tests
+
+jndiPattern \#{ejbName}/local
\ No newline at end of file
Modified: trunk/examples/contactlist/resources/components.properties
===================================================================
--- trunk/examples/contactlist/resources/components.properties 2008-04-08 11:50:19 UTC (rev 7869)
+++ trunk/examples/contactlist/resources/components.properties 2008-04-08 11:52:27 UTC (rev 7870)
@@ -1 +1,3 @@
-jndiPattern #{ejbName}/local
\ No newline at end of file
+# The pattern in components.xml is replaced by an application server specific value in the ant build. This value is used for running tests
+
+jndiPattern \#{ejbName}/local
\ No newline at end of file
Modified: trunk/examples/dvdstore/resources/components.properties
===================================================================
--- trunk/examples/dvdstore/resources/components.properties 2008-04-08 11:50:19 UTC (rev 7869)
+++ trunk/examples/dvdstore/resources/components.properties 2008-04-08 11:52:27 UTC (rev 7870)
@@ -1 +1,3 @@
-jndiPattern #{ejbName}/local
\ No newline at end of file
+# The pattern in components.xml is replaced by an application server specific value in the ant build. This value is used for running tests
+
+jndiPattern \#{ejbName}/local
\ No newline at end of file
Modified: trunk/examples/groovybooking/resources/components.properties
===================================================================
--- trunk/examples/groovybooking/resources/components.properties 2008-04-08 11:50:19 UTC (rev 7869)
+++ trunk/examples/groovybooking/resources/components.properties 2008-04-08 11:52:27 UTC (rev 7870)
@@ -1,2 +1,4 @@
+# The pattern in components.xml is replaced by an application server specific value in the ant build. This value is used for running tests
+
jndiPattern \#{ejbName}/local
debug true
Modified: trunk/examples/icefaces/resources/components.properties
===================================================================
--- trunk/examples/icefaces/resources/components.properties 2008-04-08 11:50:19 UTC (rev 7869)
+++ trunk/examples/icefaces/resources/components.properties 2008-04-08 11:52:27 UTC (rev 7870)
@@ -1 +1,3 @@
-jndiPattern #{ejbName}/local
\ No newline at end of file
+# The pattern in components.xml is replaced by an application server specific value in the ant build. This value is used for running tests
+
+jndiPattern \#{ejbName}/local
\ No newline at end of file
Modified: trunk/examples/itext/resources/components.properties
===================================================================
--- trunk/examples/itext/resources/components.properties 2008-04-08 11:50:19 UTC (rev 7869)
+++ trunk/examples/itext/resources/components.properties 2008-04-08 11:52:27 UTC (rev 7870)
@@ -1 +1,3 @@
-jndiPattern #{ejbName}/local
\ No newline at end of file
+# The pattern in components.xml is replaced by an application server specific value in the ant build. This value is used for running tests
+
+jndiPattern \#{ejbName}/local
\ No newline at end of file
Modified: trunk/examples/mail/resources/components.properties
===================================================================
--- trunk/examples/mail/resources/components.properties 2008-04-08 11:50:19 UTC (rev 7869)
+++ trunk/examples/mail/resources/components.properties 2008-04-08 11:52:27 UTC (rev 7870)
@@ -1 +1,3 @@
+# The pattern in components.xml is replaced by an application server specific value in the ant build. This value is used for running tests
+
jndiPattern \#{ejbName}/local
\ No newline at end of file
Modified: trunk/examples/messages/resources/components.properties
===================================================================
--- trunk/examples/messages/resources/components.properties 2008-04-08 11:50:19 UTC (rev 7869)
+++ trunk/examples/messages/resources/components.properties 2008-04-08 11:52:27 UTC (rev 7870)
@@ -1 +1,3 @@
-jndiPattern #{ejbName}/local
\ No newline at end of file
+# The pattern in components.xml is replaced by an application server specific value in the ant build. This value is used for running tests
+
+jndiPattern \#{ejbName}/local
\ No newline at end of file
Modified: trunk/examples/nestedbooking/resources/components.properties
===================================================================
--- trunk/examples/nestedbooking/resources/components.properties 2008-04-08 11:50:19 UTC (rev 7869)
+++ trunk/examples/nestedbooking/resources/components.properties 2008-04-08 11:52:27 UTC (rev 7870)
@@ -1 +1,3 @@
-jndiPattern #{ejbName}/local
\ No newline at end of file
+# The pattern in components.xml is replaced by an application server specific value in the ant build. This value is used for running tests
+
+jndiPattern \#{ejbName}/local
\ No newline at end of file
Modified: trunk/examples/quartz/resources/components.properties
===================================================================
--- trunk/examples/quartz/resources/components.properties 2008-04-08 11:50:19 UTC (rev 7869)
+++ trunk/examples/quartz/resources/components.properties 2008-04-08 11:52:27 UTC (rev 7870)
@@ -1 +1,3 @@
-jndiPattern #{ejbName}/local
\ No newline at end of file
+# The pattern in components.xml is replaced by an application server specific value in the ant build. This value is used for running tests
+
+jndiPattern \#{ejbName}/local
\ No newline at end of file
Modified: trunk/examples/registration/resources/components.properties
===================================================================
--- trunk/examples/registration/resources/components.properties 2008-04-08 11:50:19 UTC (rev 7869)
+++ trunk/examples/registration/resources/components.properties 2008-04-08 11:52:27 UTC (rev 7870)
@@ -1 +1,3 @@
-jndiPattern #{ejbName}/local
\ No newline at end of file
+# The pattern in components.xml is replaced by an application server specific value in the ant build. This value is used for running tests
+
+jndiPattern \#{ejbName}/local
\ No newline at end of file
Modified: trunk/examples/seambay/resources/components.properties
===================================================================
--- trunk/examples/seambay/resources/components.properties 2008-04-08 11:50:19 UTC (rev 7869)
+++ trunk/examples/seambay/resources/components.properties 2008-04-08 11:52:27 UTC (rev 7870)
@@ -1 +1,3 @@
-jndiPattern #{ejbName}/local
\ No newline at end of file
+# The pattern in components.xml is replaced by an application server specific value in the ant build. This value is used for running tests
+
+jndiPattern \#{ejbName}/local
\ No newline at end of file
Modified: trunk/examples/seamdiscs/resources/components.properties
===================================================================
--- trunk/examples/seamdiscs/resources/components.properties 2008-04-08 11:50:19 UTC (rev 7869)
+++ trunk/examples/seamdiscs/resources/components.properties 2008-04-08 11:52:27 UTC (rev 7870)
@@ -1 +1,3 @@
-jndiPattern #{ejbName}/local
\ No newline at end of file
+# The pattern in components.xml is replaced by an application server specific value in the ant build. This value is used for running tests
+
+jndiPattern \#{ejbName}/local
\ No newline at end of file
Modified: trunk/examples/seampay/resources/components.properties
===================================================================
--- trunk/examples/seampay/resources/components.properties 2008-04-08 11:50:19 UTC (rev 7869)
+++ trunk/examples/seampay/resources/components.properties 2008-04-08 11:52:27 UTC (rev 7870)
@@ -1 +1,3 @@
-jndiPattern #{ejbName}/local
\ No newline at end of file
+# The pattern in components.xml is replaced by an application server specific value in the ant build. This value is used for running tests
+
+jndiPattern \#{ejbName}/local
\ No newline at end of file
Modified: trunk/examples/seamspace/resources/components.properties
===================================================================
--- trunk/examples/seamspace/resources/components.properties 2008-04-08 11:50:19 UTC (rev 7869)
+++ trunk/examples/seamspace/resources/components.properties 2008-04-08 11:52:27 UTC (rev 7870)
@@ -1 +1,3 @@
-jndiPattern #{ejbName}/local
\ No newline at end of file
+# The pattern in components.xml is replaced by an application server specific value in the ant build. This value is used for running tests
+
+jndiPattern \#{ejbName}/local
\ No newline at end of file
Modified: trunk/examples/takeaway/resources/WEB-INF/components.properties
===================================================================
--- trunk/examples/takeaway/resources/WEB-INF/components.properties 2008-04-08 11:50:19 UTC (rev 7869)
+++ trunk/examples/takeaway/resources/WEB-INF/components.properties 2008-04-08 11:52:27 UTC (rev 7870)
@@ -1 +1,3 @@
-jndiPattern #{ejbName}/local
\ No newline at end of file
+# The pattern in components.xml is replaced by an application server specific value in the ant build. This value is used for running tests
+
+jndiPattern \#{ejbName}/local
\ No newline at end of file
Modified: trunk/examples/wicket/resources/components.properties
===================================================================
--- trunk/examples/wicket/resources/components.properties 2008-04-08 11:50:19 UTC (rev 7869)
+++ trunk/examples/wicket/resources/components.properties 2008-04-08 11:52:27 UTC (rev 7870)
@@ -1 +1,3 @@
-jndiPattern #{ejbName}/local
\ No newline at end of file
+# The pattern in components.xml is replaced by an application server specific value in the ant build. This value is used for running tests
+
+jndiPattern \#{ejbName}/local
\ No newline at end of file
Modified: trunk/examples/wiki/build.properties
===================================================================
--- trunk/examples/wiki/build.properties 2008-04-08 11:50:19 UTC (rev 7869)
+++ trunk/examples/wiki/build.properties 2008-04-08 11:52:27 UTC (rev 7870)
@@ -1,4 +1,4 @@
-jboss.home /Users/turin/work/local/jboss/jboss-4.2.2.GA
+jboss.home /Applications/jboss-4.2.1.GA-hibernate
# That stuff doesn't really work for me, PAGE scoped components can't be hot-deployed (CNFE on deserialization of component state)
#hotdeploy.classes = **/wiki/core/action/** **/wiki/core/dao/** **/wiki/core/links/** **/wiki/plugin/lastmodified/** **/wiki/plugin/blogdirectory/BlogDirectory*
javac.debug true
Modified: trunk/seam-gen/resources/components.properties
===================================================================
--- trunk/seam-gen/resources/components.properties 2008-04-08 11:50:19 UTC (rev 7869)
+++ trunk/seam-gen/resources/components.properties 2008-04-08 11:52:27 UTC (rev 7870)
@@ -1,2 +1,4 @@
+# The pattern in components.xml is replaced by an application server specific value in the ant build. This value is used for running tests
+
jndiPattern \#{ejbName}/local
debug true
Modified: trunk/src/test/integration/resources/components.properties
===================================================================
--- trunk/src/test/integration/resources/components.properties 2008-04-08 11:50:19 UTC (rev 7869)
+++ trunk/src/test/integration/resources/components.properties 2008-04-08 11:52:27 UTC (rev 7870)
@@ -1 +1,3 @@
-jndiPattern #{ejbName}/local
\ No newline at end of file
+# The pattern in components.xml is replaced by an application server specific value in the ant build. This value is used for running tests
+
+jndiPattern \#{ejbName}/local
\ No newline at end of file
16 years, 9 months
Seam SVN: r7867 - trunk/examples and 1 other directory.
by seam-commits@lists.jboss.org
Author: pete.muir(a)jboss.org
Date: 2008-04-08 07:38:34 -0400 (Tue, 08 Apr 2008)
New Revision: 7867
Modified:
branches/Seam_2_0/examples/readme.txt
trunk/examples/readme.txt
Log:
JBSEAM-2843
Modified: branches/Seam_2_0/examples/readme.txt
===================================================================
--- branches/Seam_2_0/examples/readme.txt 2008-04-08 11:25:42 UTC (rev 7866)
+++ branches/Seam_2_0/examples/readme.txt 2008-04-08 11:38:34 UTC (rev 7867)
@@ -1,76 +1,90 @@
Seam Example Applications
=========================
This directory contains the Seam example applications, which have
-all been tested in JBoss 4.2 GA. Most examples have also been
+all been tested in the latest release of JBoss 4.2. Most examples have also been
tested on Tomcat (running JDK 1.5), and some have been tested with other
application servers.
-registration/ A trivial example for the tutorial
+
+blog/ The Seam blog example, showing how to write
+ RESTful applications using Seam
+
booking/ The Seam Booking demo application for EJB 3.0
+contactlist/ The Seam Contact List demo demonstrating use
+ of the Seam application framework
+
+drools/ A version of the number guessing example that
+ uses Drools with jBPM
+
+dvdstore/ The Seam DVD Store demo demonstrating jBPM
+ support in Seam
+
+groovybooking/ The Seam Booking demo ported to Groovy
+
hibernate/ The Seam Booking demo ported to Hibernate3
icefaces/ The Seam Booking demo with ICEfaces, instead of
Ajax4JSF
-jee5/ The Seam Booking demo ported to the Java EE 5
+itext/ A demo of the Seam iText integration for generating pdfs
+
+jee5/booking The Seam Booking demo ported to the Java EE 5
platforms
-
-dvdstore/ The Seam DVD Store demo demonstrating jBPM
- support in Seam
-contactlist/ The Seam Contact List demo demonstrating use
- of the Seam application framework
-
-blog/ The Seam blog example, showing how to write
- RESTful applications using Seam
-
-seamspace/ The Seam Spaces demo demonstrating Seam
- Security
+jee5/remoting The Seam remoting helloworld demo ported to the Java EE 5
+ platforms
-seampay/ The Seam Payments demo demonstrating the use of
- asynchronous methods
+jpa/ An example of the use of JPA (provided by Hibernate), runs
+ on many platforms, including non-EE 5 platforms (including
+ plain Tomcat)
-numberguess/ The Seam number guessing example, demonstrating
- jBPM pageflow
+mail/ The Seam mail example demonstrating use of
+ facelets-based email templating
-todo/ The Seam todo list example demonstrating
- jBPM business process management
-
messages/ The Seam message list example demonstrating use
of the @DataModel annotation
-mail/ The Seam mail example demonstrating use of
- facelets-based email templating
-
-pdf/ The Seam PDF example demonstrating use of
- facelets-based PDF templating
-
-ui/ Demonstrates some Seam JSF controls
-
-spring/ Demonstrates Spring framework integration
-
-drools/ A version of the number guessing example that
- uses Drools with jBPM
-
-remoting/helloworld/ A trivial example using Ajax
+nestedbooking/ The booking example modified to show the use of nested
+ conversations
+numberguess/ The Seam number guessing example, demonstrating
+ jBPM pageflow
+
+quartz/ A port of the Seampay example to use the Quartz dispatcher
+
+registration/ A trivial example for the tutorial
+
remoting/chatroom/ The Seam Chat Room example, demostrating Seam
Remoting
+
+remoting/gwt/ An example of using GWT with Seam remoting
+
+remoting/helloworld/ A trivial example using Ajax
remoting/progressbar/ An example of an Ajax progress bar
-hibernate/ A revised version of the hibernate example (runs
- on J2EE)
+seambay/ An example of using Seam with Web Services
-jpa/ An example of the use of Hibernate JPA (runs on
- J2EE)
+seamdiscs/ Demonstrates Seam, Trinidad, Ajax4jsf and Richfaces
+seampay/ The Seam Payments demo demonstrating the use of
+ asynchronous methods
+
+seamspace/ The Seam Spaces demo demonstrating Seam
+ Security
+
+spring/ Demonstrates Spring framework integration
+
+todo/ The Seam todo list example demonstrating
+ jBPM business process management
+
+ui/ Demonstrates some Seam JSF controls
+
wiki/ A fully featured wiki system based on Seam, please
read wiki/README.txt for installation instructions
-seamdiscs/ Demonstrates Seam, Trinidad, Ajax4jsf and Richfaces
Deploying and Testing an Example Application
Modified: trunk/examples/readme.txt
===================================================================
--- trunk/examples/readme.txt 2008-04-08 11:25:42 UTC (rev 7866)
+++ trunk/examples/readme.txt 2008-04-08 11:38:34 UTC (rev 7867)
@@ -1,79 +1,90 @@
Seam Example Applications
=========================
This directory contains the Seam example applications, which have
-all been tested in JBoss 4.2 GA. Most examples have also been
+all been tested in the latest release of JBoss 4.2. Most examples have also been
tested on Tomcat (running JDK 1.5), and some have been tested with other
application servers.
-registration/ A trivial example for the tutorial
+
+blog/ The Seam blog example, showing how to write
+ RESTful applications using Seam
+
booking/ The Seam Booking demo application for EJB 3.0
+contactlist/ The Seam Contact List demo demonstrating use
+ of the Seam application framework
+
+drools/ A version of the number guessing example that
+ uses Drools with jBPM
+
+dvdstore/ The Seam DVD Store demo demonstrating jBPM
+ support in Seam
+
+groovybooking/ The Seam Booking demo ported to Groovy
+
hibernate/ The Seam Booking demo ported to Hibernate3
icefaces/ The Seam Booking demo with ICEfaces, instead of
Ajax4JSF
-jee5/ The Seam Booking demo ported to the Java EE 5
+itext/ A demo of the Seam iText integration for generating pdfs
+
+jee5/booking The Seam Booking demo ported to the Java EE 5
platforms
-
-dvdstore/ The Seam DVD Store demo demonstrating jBPM
- support in Seam
-contactlist/ The Seam Contact List demo demonstrating use
- of the Seam application framework
-
-blog/ The Seam blog example, showing how to write
- RESTful applications using Seam
-
-seamspace/ The Seam Spaces demo demonstrating Seam
- Security
+jee5/remoting The Seam remoting helloworld demo ported to the Java EE 5
+ platforms
-seampay/ The Seam Payments demo demonstrating the use of
- asynchronous methods
+jpa/ An example of the use of JPA (provided by Hibernate), runs
+ on many platforms, including non-EE 5 platforms (including
+ plain Tomcat)
-numberguess/ The Seam number guessing example, demonstrating
- jBPM pageflow
+mail/ The Seam mail example demonstrating use of
+ facelets-based email templating
-todo/ The Seam todo list example demonstrating
- jBPM business process management
-
messages/ The Seam message list example demonstrating use
of the @DataModel annotation
-mail/ The Seam mail example demonstrating use of
- facelets-based email templating
-
-pdf/ The Seam PDF example demonstrating use of
- facelets-based PDF templating
-
-ui/ Demonstrates some Seam JSF controls
-
-spring/ Demonstrates Spring framework integration
-
-drools/ A version of the number guessing example that
- uses Drools with jBPM
-
-portal/ A port of the Seam Hibernate demo to run on
- JBoss Portal
-
-remoting/helloworld/ A trivial example using Ajax
+nestedbooking/ The booking example modified to show the use of nested
+ conversations
+numberguess/ The Seam number guessing example, demonstrating
+ jBPM pageflow
+
+quartz/ A port of the Seampay example to use the Quartz dispatcher
+
+registration/ A trivial example for the tutorial
+
remoting/chatroom/ The Seam Chat Room example, demostrating Seam
Remoting
+
+remoting/gwt/ An example of using GWT with Seam remoting
+
+remoting/helloworld/ A trivial example using Ajax
remoting/progressbar/ An example of an Ajax progress bar
-hibernate/ A revised version of the hibernate example (runs
- on J2EE)
+seambay/ An example of using Seam with Web Services
-jpa/ An example of the use of Hibernate JPA (runs on
- J2EE)
+seamdiscs/ Demonstrates Seam, Trinidad, Ajax4jsf and Richfaces
+seampay/ The Seam Payments demo demonstrating the use of
+ asynchronous methods
+
+seamspace/ The Seam Spaces demo demonstrating Seam
+ Security
+
+spring/ Demonstrates Spring framework integration
+
+todo/ The Seam todo list example demonstrating
+ jBPM business process management
+
+ui/ Demonstrates some Seam JSF controls
+
wiki/ A fully featured wiki system based on Seam, please
read wiki/README.txt for installation instructions
-seamdiscs/ Demonstrates Seam, Trinidad, Ajax4jsf and Richfaces
Deploying and Testing an Example Application
@@ -85,13 +96,13 @@
How to Build and Deploy an Example on JBoss AS
----------------------------------------------
-1. Download and unzip JBoss AS 4.2.1.GA from:
+1. Download and unzip JBoss AS 4.2.2.GA from:
http://labs.jboss.com/jbossas/downloads
2. Make sure you have an up to date version of Seam:
- http://labs.jboss.com/jbossseam/download
+ http://seamframework.org/Download
3. Edit the "build.properties" file and change jboss.home to your
JBoss AS directory (Seam uses the default profile)
@@ -102,7 +113,7 @@
"examples/${example.name}" directory
6. Start JBoss AS by typing "./run.sh" (on Linux/Unix) or "run" (on Windows)
- in the jboss-4.2.1.GA/bin directory
+ in the jboss-4.2.2.GA/bin directory
7. Point your web browser to:
@@ -125,7 +136,7 @@
3. Make sure you have an up to date version of Seam:
- http://labs.jboss.com/jbossseam/download
+ http://seamframework.org/Download
4. Edit the "build.properties" file and change tomcat.home to your
Tomcat directory
16 years, 9 months
Seam SVN: r7866 - branches/Seam_2_0/examples/jpa and 2 other directories.
by seam-commits@lists.jboss.org
Author: pete.muir(a)jboss.org
Date: 2008-04-08 07:25:42 -0400 (Tue, 08 Apr 2008)
New Revision: 7866
Modified:
branches/Seam_2_0/examples/hibernate/readme.txt
branches/Seam_2_0/examples/jpa/readme.txt
trunk/examples/hibernate/readme.txt
trunk/examples/jpa/readme.txt
Log:
JBSEAM-2848
Modified: branches/Seam_2_0/examples/hibernate/readme.txt
===================================================================
--- branches/Seam_2_0/examples/hibernate/readme.txt 2008-04-08 11:22:29 UTC (rev 7865)
+++ branches/Seam_2_0/examples/hibernate/readme.txt 2008-04-08 11:25:42 UTC (rev 7866)
@@ -8,7 +8,6 @@
JBoss AS 4.2.x:
* Install JBoss AS with the default profile
* ant jboss
- * Deploy dist-jboss/jboss-seam-hibernate.war
* Start JBoss AS
* Access the app at http://localhost:8080/jboss-seam-hibernate/
Modified: branches/Seam_2_0/examples/jpa/readme.txt
===================================================================
--- branches/Seam_2_0/examples/jpa/readme.txt 2008-04-08 11:22:29 UTC (rev 7865)
+++ branches/Seam_2_0/examples/jpa/readme.txt 2008-04-08 11:25:42 UTC (rev 7866)
@@ -8,7 +8,6 @@
JBoss AS 4.2.0:
* Install JBoss AS 4.2.0 GA
* ant jboss
- * Deploy dist-jboss/jboss-seam-jpa.war
* Start JBoss AS
* Access the app at http://localhost:8080/jboss-seam-jpa/
Modified: trunk/examples/hibernate/readme.txt
===================================================================
--- trunk/examples/hibernate/readme.txt 2008-04-08 11:22:29 UTC (rev 7865)
+++ trunk/examples/hibernate/readme.txt 2008-04-08 11:25:42 UTC (rev 7866)
@@ -8,7 +8,6 @@
JBoss AS 4.2.x:
* Install JBoss AS with the default profile
* ant jboss
- * Deploy dist-jboss/jboss-seam-hibernate.war
* Start JBoss AS
* Access the app at http://localhost:8080/jboss-seam-hibernate/
Modified: trunk/examples/jpa/readme.txt
===================================================================
--- trunk/examples/jpa/readme.txt 2008-04-08 11:22:29 UTC (rev 7865)
+++ trunk/examples/jpa/readme.txt 2008-04-08 11:25:42 UTC (rev 7866)
@@ -8,7 +8,6 @@
JBoss AS 4.2.0:
* Install JBoss AS 4.2.0 GA
* ant jboss
- * Deploy dist-jboss/jboss-seam-jpa.war
* Start JBoss AS
* Access the app at http://localhost:8080/jboss-seam-jpa/
16 years, 9 months