Seam SVN: r7274 - in trunk: examples/itext/resources/WEB-INF and 4 other directories.
by seam-commits@lists.jboss.org
Author: norman.richards(a)jboss.com
Date: 2008-01-28 18:40:13 -0500 (Mon, 28 Jan 2008)
New Revision: 7274
Added:
trunk/examples/itext/src/org/jboss/seam/example/pdf/SwingComponent.java
trunk/examples/itext/view/html.xhtml
trunk/examples/itext/view/swing.xhtml
Modified:
trunk/doc/reference/en/modules/itext.xml
trunk/examples/itext/resources/WEB-INF/components.xml
trunk/examples/itext/view/index.xhtml
trunk/src/main/org/jboss/seam/core/SeamResourceBundle.java
trunk/src/pdf/org/jboss/seam/pdf/DocumentData.java
Log:
merge 2.0 branch changes
Modified: trunk/doc/reference/en/modules/itext.xml
===================================================================
--- trunk/doc/reference/en/modules/itext.xml 2008-01-28 23:21:19 UTC (rev 7273)
+++ trunk/doc/reference/en/modules/itext.xml 2008-01-28 23:40:13 UTC (rev 7274)
@@ -1,6 +1,6 @@
<chapter id="itext">
<title>iText PDF generation</title>
- <para>Seam now includes an component set for generating documents using iText. The primary focus of Seam's iText
+ <para>Seam now includes a component set for generating documents using iText. The primary focus of Seam's iText
document support is for the generation of PDF doucuments, but Seam also offers basic support for RTF document
generation.</para>
@@ -38,7 +38,7 @@
<para>
<emphasis>Description</emphasis>
</para>
- <para> Documents are generated by facelets documents using tags in the
+ <para> Documents are generated by facelet XHTML files using tags in the
<literal>http://jboss.com/products/seam/pdf</literal> namespace. Documents
should always have the <literal>document</literal> tag at the root of the document.
The <literal>document</literal> tag prepares Seam to generate a document into the
@@ -87,6 +87,15 @@
<literal>marginMirroring</literal> — Indicates that margin
settings should be reversed an alternating pages.</para>
</listitem>
+
+ <listitem>
+ <para>
+ <literal>disposition</literal> — When generating PDFs in a web browser, this determines the HTTP
+ <literal>Content-Disposition</literal> of the document. Valid values are <literal>inline</literal>, which
+ indicates the document should be displayed in the browser window if possible,
+ and <literal>attachment</literal>, which indicates that the document should be treated as a download.
+ The default value is <literal>inline</literal>.</para>
+ </listitem>
</itemizedlist>
@@ -288,7 +297,64 @@
</informaltable>
+ <informaltable>
+ <tgroup cols="2">
+ <colspec colnum="1" colwidth="1*"/>
+ <colspec colnum="2" colwidth="3*"/>
+ <tbody>
+ <row>
+ <entry valign="top">
+ <para>
+ <literal><p:html></literal>
+ </para>
+ </entry>
+ <entry valign="top">
+ <para>
+ <emphasis>Description</emphasis>
+ </para>
+
+ <para> The <literal>html</literal> tag renders HTML content into the PDF.
+ </para>
+
+ <para>
+ <emphasis>Attributes</emphasis>
+ </para>
+
+
+ <itemizedlist>
+ <listitem>
+ <para><literal>value</literal> — The text to be displayed.</para>
+ </listitem>
+ </itemizedlist>
+
+ <para>
+ <emphasis>Usage</emphasis>
+ </para>
+
+ <programlisting>
+<p:html value="This is HTML with &lt;b&gt;some markup&lt;/b&gt;." />
+<p:html>
+ <h1>This is more complex HTML</h1>
+ <ul>
+ <li>one</li>
+ <li>two</li>
+ <li>three</li>
+ </ul>
+</p:html>
+
+<p:html>
+ <s:formattedText value="*This* is |Seam Text| as HTML. It's very^cool^." />
+</p:html>
+</programlisting>
+
+ </entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </informaltable>
+
+
<informaltable>
<tgroup cols="2">
<colspec colnum="1" colwidth="1*"/>
@@ -341,7 +407,7 @@
<emphasis>Usage</emphasis>
</para>
- <programlisting><p:font family="courier" style="bold" size="24">
+ <programlisting><p:font name="courier" style="bold" size="24">
<p:paragraph>My Title</p:paragraph>
</p:font></programlisting>
@@ -1443,11 +1509,11 @@
<section id="itext.charting">
<title>Charting</title>
- <para> Charting support is also provided with <literal>jboss-seam-pdf.jar</literal>. Charts can be used in
- PDF documents or can be used as images in an HTML page.
- Charting requires the JFreeChart library (<literal>jfreechart.jar</literal> and <literal>jcommon.jar</literal>) to be added to the
- <literal>WEB-INF/lib</literal> directory. Three types of charts are currently supported: pie charts, bar charts and line charts.
- </para>
+ <para> Charting support is also provided with <literal>jboss-seam-pdf.jar</literal>. Charts can be used in PDF
+ documents or can be used as images in an HTML page. Charting requires the JFreeChart library
+ (<literal>jfreechart.jar</literal> and <literal>jcommon.jar</literal>) to be added to the
+ <literal>WEB-INF/lib</literal> directory. Three types of charts are currently supported: pie charts, bar
+ charts and line charts. </para>
<informaltable id="itext.barchart">
<tgroup cols="2">
@@ -1895,8 +1961,7 @@
<listitem>
<para>
- <literal>title</literal>— The chart title text.
- </para>
+ <literal>title</literal>— The chart title text. </para>
</listitem>
<listitem>
<para>
@@ -1905,13 +1970,13 @@
</listitem>
<listitem>
<para>
- <literal>legend</literal>— A boolean value indicating whether or not the chart should include a legend. Default value is true
- </para>
+ <literal>legend</literal>— A boolean value indicating whether or not
+ the chart should include a legend. Default value is true </para>
</listitem>
<listitem>
<para>
- <literal>is3D</literal>—A boolean value indicating that the chart should be rendered in 3D instead of 2D.
- </para>
+ <literal>is3D</literal>—A boolean value indicating that the chart
+ should be rendered in 3D instead of 2D. </para>
</listitem>
<listitem>
<para>
@@ -1920,98 +1985,97 @@
</listitem>
<listitem>
<para>
- <literal>labelLinkPaint</literal>— The paint used for the label linking lines.
- </para>
+ <literal>labelLinkPaint</literal>— The paint used for the label
+ linking lines. </para>
</listitem>
<listitem>
<para>
- <literal>labelLinkStroke</literal>— he stroke used for the label linking lines.
- </para>
+ <literal>labelLinkStroke</literal>— he stroke used for the label
+ linking lines. </para>
</listitem>
<listitem>
<para>
- <literal>labelLinksVisible</literal>— A flag that controls whether or not the label links are drawn.
- </para>
+ <literal>labelLinksVisible</literal>— A flag that controls whether or
+ not the label links are drawn. </para>
</listitem>
<listitem>
<para>
- <literal>labelOutlinePaint</literal>— The paint used to draw the outline of the section labels.
- </para>
+ <literal>labelOutlinePaint</literal>— The paint used to draw the
+ outline of the section labels. </para>
</listitem>
<listitem>
<para>
- <literal>labelOutlineStroke</literal>— The stroke used to draw the outline of the section labels.
- </para>
+ <literal>labelOutlineStroke</literal>— The stroke used to draw the
+ outline of the section labels. </para>
</listitem>
<listitem>
<para>
- <literal>labelShadowPaint</literal>— The paint used to draw the shadow for the section labels.
- </para>
+ <literal>labelShadowPaint</literal>— The paint used to draw the shadow
+ for the section labels. </para>
</listitem>
<listitem>
<para>
- <literal>labelPaint</literal>— The color used to draw the section labels
- </para>
+ <literal>labelPaint</literal>— The color used to draw the section
+ labels </para>
</listitem>
<listitem>
<para>
- <literal>labelGap</literal>— The gap between the labels and the plot as a percentage of the plot width.
- </para>
+ <literal>labelGap</literal>— The gap between the labels and the plot
+ as a percentage of the plot width. </para>
</listitem>
<listitem>
<para>
- <literal>labelBackgroundPaint</literal>— The color used to draw the background of the section labels. If this is null, the background is not filled.
+ <literal>labelBackgroundPaint</literal>— The color used to draw the
+ background of the section labels. If this is null, the background is not filled.
</para>
</listitem>
<listitem>
<para>
- <literal>startAngle</literal>— The starting angle of the first section.
- </para>
+ <literal>startAngle</literal>— The starting angle of the first
+ section. </para>
</listitem>
<listitem>
<para>
- <literal>circular</literal>— A boolean value indicating that the chart should be drawn as a circle.
- If false, the chart is drawn as an ellipse. The default is true.
- </para>
+ <literal>circular</literal>— A boolean value indicating that the chart
+ should be drawn as a circle. If false, the chart is drawn as an ellipse. The
+ default is true. </para>
</listitem>
<listitem>
<para>
- <literal>direction</literal>—
- The direction the pie section are drawn. One of: <literal>clockwise</literal> or <literal>anticlockwise</literal>.
- The default is <literal>clockwise</literal>.
- </para>
+ <literal>direction</literal>— The direction the pie section are drawn.
+ One of: <literal>clockwise</literal> or <literal>anticlockwise</literal>. The
+ default is <literal>clockwise</literal>. </para>
</listitem>
<listitem>
<para>
- <literal>sectionOutlinePaint</literal>— The outline paint for all sections.
- </para>
+ <literal>sectionOutlinePaint</literal>— The outline paint for all
+ sections. </para>
</listitem>
<listitem>
<para>
- <literal>sectionOutlineStroke</literal>— The outline stroke for all sections
- </para>
+ <literal>sectionOutlineStroke</literal>— The outline stroke for all
+ sections </para>
</listitem>
<listitem>
<para>
- <literal>sectionOutlinesVisible</literal>— Indicates whether an outline is drawn for each section in the plot.
- </para>
+ <literal>sectionOutlinesVisible</literal>— Indicates whether an
+ outline is drawn for each section in the plot. </para>
</listitem>
<listitem>
<para>
- <literal>baseSectionOutlinePaint</literal>— The base section outline paint.
- </para>
+ <literal>baseSectionOutlinePaint</literal>— The base section outline
+ paint. </para>
</listitem>
<listitem>
<para>
- <literal>baseSectionPaint</literal>— The base section paint.
- </para>
+ <literal>baseSectionPaint</literal>— The base section paint. </para>
</listitem>
<listitem>
<para>
- <literal>baseSectionOutlineStroke</literal>— The base section outline stroke.
- </para>
+ <literal>baseSectionOutlineStroke</literal>— The base section outline
+ stroke. </para>
</listitem>
</itemizedlist>
<para>
@@ -2167,15 +2231,18 @@
<listitem>
<para>
- <literal>sectionOutlinePaint</literal> — For bar charts, the color of the section outline.</para>
+ <literal>sectionOutlinePaint</literal> — For bar charts, the color of
+ the section outline.</para>
</listitem>
<listitem>
<para>
- <literal>sectionOutlineStroke</literal> — For bar charts, the stroke type for the section outline.</para>
+ <literal>sectionOutlineStroke</literal> — For bar charts, the stroke
+ type for the section outline.</para>
</listitem>
<listitem>
<para>
- <literal>sectionPaint</literal> — For bar charts, the color of the section.</para>
+ <literal>sectionPaint</literal> — For bar charts, the color of the
+ section.</para>
</listitem>
</itemizedlist>
<para>
@@ -2333,7 +2400,10 @@
<section id="itext.barcodes">
<title>Bar codes</title>
- <para>...</para>
+ <para>Seam can use iText to generate barcodes in a wide variety of formats. These barcodes can
+ be embedded in a PDF document or displayed as an image on a web page. Note that
+ when used with HTML images, barcodes can not currently display barcode text in the barcode.
+ </para>
<informaltable id="itext.barcode">
<tgroup cols="2">
@@ -2351,7 +2421,8 @@
<para>
<emphasis>Description</emphasis>
</para>
- <para/>
+ <para>Displays a barcode image.</para>
+
<para>
<emphasis>Attributes</emphasis>
</para>
@@ -2360,15 +2431,13 @@
<listitem>
<para>
- <literal>type</literal> — A barcode type supported by iText.
- Valid values include:
- <literal>EAN13</literal>, <literal>EAN8</literal>, <literal>UPCA</literal>,
- <literal>UPCE</literal>,
- <literal>SUPP2</literal>, <literal>SUPP5</literal>, <literal>POSTNET</literal>,
+ <literal>type</literal> — A barcode type supported by iText. Valid
+ values include: <literal>EAN13</literal>, <literal>EAN8</literal>,
+ <literal>UPCA</literal>, <literal>UPCE</literal>, <literal>SUPP2</literal>,
+ <literal>SUPP5</literal>, <literal>POSTNET</literal>,
<literal>PLANET</literal>, <literal>CODE128</literal>,
- <literal>CODE128_UCC</literal>, <literal>CODE128_RAW</literal> and <literal>CODABAR</literal>.
-
- </para>
+ <literal>CODE128_UCC</literal>, <literal>CODE128_RAW</literal> and
+ <literal>CODABAR</literal>. </para>
</listitem>
<listitem>
<para>
@@ -2377,18 +2446,18 @@
</listitem>
<listitem>
<para>
- <literal>xpos</literal>— For PDFs, the absolute y position of the barcode on the page.
- </para>
+ <literal>xpos</literal>— For PDFs, the absolute y position of the
+ barcode on the page. </para>
</listitem>
<listitem>
<para>
- <literal>ypos</literal>— For PDFs, the absolute y position of the barcode on the page.
- </para>
+ <literal>ypos</literal>— For PDFs, the absolute y position of the
+ barcode on the page. </para>
</listitem>
<listitem>
<para>
- <literal>rotDegrees</literal> — For PDFs, the rotation factor of the barcode in degrees.
- </para>
+ <literal>rotDegrees</literal> — For PDFs, the rotation factor of the
+ barcode in degrees. </para>
</listitem>
<listitem>
<para>
@@ -2398,34 +2467,36 @@
<listitem>
<para>
- <literal>minBarWidth</literal> — The minimum bar width.
- </para>
+ <literal>minBarWidth</literal> — The minimum bar width. </para>
</listitem>
<listitem>
<para>
- <literal>barMultiplier</literal> — The bar multiplier for wide bars or the
- distance between bars for <literal>POSTNET</literal> and <literal>PLANET</literal> code.
-
- </para>
+ <literal>barMultiplier</literal> — The bar multiplier for wide bars or
+ the distance between bars for <literal>POSTNET</literal> and
+ <literal>PLANET</literal> code. </para>
</listitem>
<listitem>
<para>
- <literal>barColor</literal> — The color to draw the bars.
- </para>
- </listitem>
-
+ <literal>barColor</literal> — The color to draw the bars. </para>
+ </listitem>
+
<listitem>
<para>
- <literal>textColor</literal> — The color of any text on the barcode.
+ <literal>textColor</literal> — The color of any text on the barcode.
</para>
</listitem>
- <listitem>
+ <listitem>
<para>
<literal>textSize</literal> — The size of the barcode text, if any.
</para>
</listitem>
-
-
+ <listitem>
+ <para>
+ <literal>altText</literal> — The <literal>alt</literal> text for HTML image links.
+ </para>
+ </listitem>
+
+
</itemizedlist>
<para>
<emphasis>Usage</emphasis>
@@ -2446,7 +2517,66 @@
</section>
+ <section id="itext.swingcomponents">
+ <title>Rendering Swing/AWT components</title>
+ <para>Seam now provides experimental support for rendering Swing components to into a PDF
+ image. Some Swing look and feels supports, notably ones that use native widgets, will not
+ render correctly.
+ </para>
+ <informaltable id="itext.swing">
+ <tgroup cols="2">
+ <colspec colnum="1" colwidth="1*"/>
+ <colspec colnum="2" colwidth="3*"/>
+
+ <tbody>
+ <row>
+ <entry valign="top">
+ <para>
+ <literal><p:swing></literal>
+ </para>
+ </entry>
+ <entry valign="top">
+ <para>
+ <emphasis>Description</emphasis>
+ </para>
+
+ <para>Renders a Swing component into a PDF document.</para>
+ <para>
+ <emphasis>Attributes</emphasis>
+ </para>
+
+ <itemizedlist>
+
+ <listitem>
+ <para>
+ <literal>width</literal> — The width of the component to be rendered. </para>
+ </listitem>
+ <listitem>
+ <para>
+ <literal>height</literal> — ..The height of the component to be rendered. </para>
+ </listitem>
+ <listitem>
+ <para>
+ <literal>component</literal> — An expression whose value is a Swing or AWT component. </para>
+ </listitem>
+
+ </itemizedlist>
+ <para>
+ <emphasis>Usage</emphasis>
+ </para>
+ <programlisting>
+<p:swing width="310" height="120" component="#{aButton}" />
+ </programlisting>
+
+ </entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </informaltable>
+ </section>
+
+
<section id="itext.links">
<title>Further documentation</title>
Modified: trunk/examples/itext/resources/WEB-INF/components.xml
===================================================================
--- trunk/examples/itext/resources/WEB-INF/components.xml 2008-01-28 23:21:19 UTC (rev 7273)
+++ trunk/examples/itext/resources/WEB-INF/components.xml 2008-01-28 23:40:13 UTC (rev 7274)
@@ -17,4 +17,7 @@
<core:init debug="true" jndi-pattern="@jndiPattern@" />
+ <component name="sampleButton" class="javax.swing.JButton">
+ <property name="label">A JButton!</property>
+ </component>
</components>
Copied: trunk/examples/itext/src/org/jboss/seam/example/pdf/SwingComponent.java (from rev 7271, branches/Seam_2_0/examples/itext/src/org/jboss/seam/example/pdf/SwingComponent.java)
===================================================================
--- trunk/examples/itext/src/org/jboss/seam/example/pdf/SwingComponent.java (rev 0)
+++ trunk/examples/itext/src/org/jboss/seam/example/pdf/SwingComponent.java 2008-01-28 23:40:13 UTC (rev 7274)
@@ -0,0 +1,29 @@
+package org.jboss.seam.example.pdf;
+
+import java.awt.*;
+import javax.swing.*;
+
+import org.jboss.seam.annotations.Create;
+import org.jboss.seam.annotations.Name;
+
+@Name("swing")
+public class SwingComponent
+{
+ @Create
+ public void init() {
+ try {
+ UIManager.setLookAndFeel(UIManager.getCrossPlatformLookAndFeelClassName());
+ } catch(Exception e) {
+ System.out.println("Error setting Java LAF: " + e);
+ }
+
+ System.out.println("** " + UIManager.getLookAndFeel());
+ }
+
+ public Component getButton() {
+ JLabel label = new JLabel("Hello, Seam", SwingConstants.CENTER);
+
+ return label;
+ }
+
+}
Copied: trunk/examples/itext/view/html.xhtml (from rev 7271, branches/Seam_2_0/examples/itext/view/html.xhtml)
===================================================================
--- trunk/examples/itext/view/html.xhtml (rev 0)
+++ trunk/examples/itext/view/html.xhtml 2008-01-28 23:40:13 UTC (rev 7274)
@@ -0,0 +1,29 @@
+<p:document xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:s="http://jboss.com/products/seam/taglib"
+ xmlns:p="http://jboss.com/products/seam/pdf">
+
+ <p:paragraph>This is a regular paragraph.</p:paragraph>
+
+
+ <p:html value="This is HTML that is just plain text." />
+ <p:html value="This is HTML with <b>some markup</b>." />
+
+ <p:html>
+ This is HTML with text with text in the <b>body</b>.
+ </p:html>
+
+
+ <p:html>
+ <h1>This is more complex HTML</h1>
+ <ul>
+ <li>one</li>
+ <li>two</li>
+ <li>three</li>
+ </ul>
+ </p:html>
+
+
+ <p:html>
+ <s:formattedText value="*This* /is/ |Seam Text| as HTML. It's very^cool^." />
+ </p:html>
+</p:document>
Modified: trunk/examples/itext/view/index.xhtml
===================================================================
--- trunk/examples/itext/view/index.xhtml 2008-01-28 23:21:19 UTC (rev 7273)
+++ trunk/examples/itext/view/index.xhtml 2008-01-28 23:40:13 UTC (rev 7274)
@@ -34,6 +34,8 @@
<li><s:link view="/table.xhtml" value="Tables" /></li>
<li><s:link view="/nested.xhtml" value="Nested Tables" /></li>
<li><s:link view="/html.xhtml" value="HTML Conversion" /></li>
+ <li><s:link view="/swing.xhtml" value="Swing Component" /></li>
+
<li><s:link view="/chart.xhtml" value="JFreeChart" />
[<s:link view="/chartimage.xhtml" value="HTML" />]
</li>
@@ -42,9 +44,9 @@
<li><s:link view="/barcode.xhtml" value="Bar Code" />
[<s:link view="/barcodeimage.xhtml" value="HTML" />]
</li>
+ <li><s:link view="/swing.xhtml" value="Swing Component" /></li>
-
<ui:remove>
<li><s:link view="/images.xhtml" value="Dynamic Images" /></li>
</ui:remove>
Copied: trunk/examples/itext/view/swing.xhtml (from rev 7271, branches/Seam_2_0/examples/itext/view/swing.xhtml)
===================================================================
--- trunk/examples/itext/view/swing.xhtml (rev 0)
+++ trunk/examples/itext/view/swing.xhtml 2008-01-28 23:40:13 UTC (rev 7274)
@@ -0,0 +1,12 @@
+<p:document xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:s="http://jboss.com/products/seam/taglib"
+ xmlns:p="http://jboss.com/products/seam/pdf">
+
+
+ <p:paragraph>A JLabel, from Java: </p:paragraph>
+ <p:swing width="310" height="120" component="#{swing.button}" />
+
+ <p:paragraph>A JButton, defined in components.xml: </p:paragraph>
+ <p:swing width="310" height="120" component="#{sampleButton}" />
+
+</p:document>
Modified: trunk/src/main/org/jboss/seam/core/SeamResourceBundle.java
===================================================================
--- trunk/src/main/org/jboss/seam/core/SeamResourceBundle.java 2008-01-28 23:21:19 UTC (rev 7273)
+++ trunk/src/main/org/jboss/seam/core/SeamResourceBundle.java 2008-01-28 23:40:13 UTC (rev 7274)
@@ -80,15 +80,16 @@
List<java.util.ResourceBundle> pageBundles = getPageResourceBundles();
List<ResourceBundle> bundles = getBundlesForCurrentLocale();
Enumeration<String>[] enumerations = new Enumeration[bundles.size() + pageBundles.size()];
+
int i = 0;
- for (; i < pageBundles.size(); i++)
- {
- enumerations[i++] = pageBundles.get(i).getKeys();
+ for (java.util.ResourceBundle bundle: pageBundles) {
+ enumerations[i++] = bundle.getKeys();
}
- for (; i < bundles.size(); i++)
- {
- enumerations[i] = bundles.get(i).getKeys();
+
+ for (ResourceBundle bundle: bundles) {
+ enumerations[i++] = bundle.getKeys();
}
+
return new EnumerationEnumeration<String>(enumerations);
}
@@ -150,4 +151,4 @@
return org.jboss.seam.core.Locale.instance();
}
-}
\ No newline at end of file
+}
Modified: trunk/src/pdf/org/jboss/seam/pdf/DocumentData.java
===================================================================
--- trunk/src/pdf/org/jboss/seam/pdf/DocumentData.java 2008-01-28 23:21:19 UTC (rev 7273)
+++ trunk/src/pdf/org/jboss/seam/pdf/DocumentData.java 2008-01-28 23:40:13 UTC (rev 7274)
@@ -1,6 +1,10 @@
package org.jboss.seam.pdf;
-public class DocumentData {
+import java.io.Serializable;
+
+public class DocumentData
+ implements Serializable
+{
byte[] data;
DocumentType documentType;
String baseName;
16 years, 11 months
Seam SVN: r7273 - branches/Seam_2_0/examples/jee5.
by seam-commits@lists.jboss.org
Author: jbalunas(a)redhat.com
Date: 2008-01-28 18:21:19 -0500 (Mon, 28 Jan 2008)
New Revision: 7273
Modified:
branches/Seam_2_0/examples/jee5/readme.txt
Log:
updated for reference guide changes
Modified: branches/Seam_2_0/examples/jee5/readme.txt
===================================================================
--- branches/Seam_2_0/examples/jee5/readme.txt 2008-01-28 23:15:59 UTC (rev 7272)
+++ branches/Seam_2_0/examples/jee5/readme.txt 2008-01-28 23:21:19 UTC (rev 7273)
@@ -123,3 +123,13 @@
hibernate to throw an exception (discussed here for Weblogic, but the same applies to OC4J -
http://hibernate.org/250.html#A23). You can also work around this by putting the hibernate
jars in $ORACLE_HOME/j2ee/home/applib/
+
+WebLogic 10.3 TP
+---------------------------
+There are known issues with Weblogic's EJB3 implementation that cause Seam EJB's
+to fail when deployed. Please refer to the Seam reference guide for additional information.
+
+WebSphere 6.1.0.13 with EJB3 feature pack
+---------------------------
+The instructions for integration with Websphere are fairly verbose. Please
+refer to the Seam reference guide for additional information.
16 years, 11 months
Seam SVN: r7272 - in branches/Seam_2_0/examples/jpa: resources-websphere61/META-INF and 1 other directories.
by seam-commits@lists.jboss.org
Author: jbalunas(a)redhat.com
Date: 2008-01-28 18:15:59 -0500 (Mon, 28 Jan 2008)
New Revision: 7272
Removed:
branches/Seam_2_0/examples/jpa/resources-websphere61/META-INF/ajax4jsf.taglib.xml
branches/Seam_2_0/examples/jpa/resources-websphere61/META-INF/jsf-core.taglib.xml
branches/Seam_2_0/examples/jpa/resources-websphere61/META-INF/jsf-html.taglib.xml
branches/Seam_2_0/examples/jpa/resources-websphere61/META-INF/jsf-ui.taglib.xml
branches/Seam_2_0/examples/jpa/resources-websphere61/META-INF/rich.taglib.xml
branches/Seam_2_0/examples/jpa/resources-websphere61/META-INF/s.taglib.xml
Modified:
branches/Seam_2_0/examples/jpa/build-websphere61.xml
branches/Seam_2_0/examples/jpa/build.xml
branches/Seam_2_0/examples/jpa/readme.txt
branches/Seam_2_0/examples/jpa/resources-websphere61/META-INF/persistence.xml
branches/Seam_2_0/examples/jpa/resources-websphere61/WEB-INF/components.xml
branches/Seam_2_0/examples/jpa/resources-websphere61/WEB-INF/web.xml
Log:
Updated for websphere reference guide chapter
Modified: branches/Seam_2_0/examples/jpa/build-websphere61.xml
===================================================================
--- branches/Seam_2_0/examples/jpa/build-websphere61.xml 2008-01-28 22:09:43 UTC (rev 7271)
+++ branches/Seam_2_0/examples/jpa/build-websphere61.xml 2008-01-28 23:15:59 UTC (rev 7272)
@@ -3,7 +3,7 @@
<project name="JPA Booking" default="noejb.archive" basedir=".">
<!-- Naming -->
- <property name="Name" value="The JPA Example for WebSphere 6.1.0.9"/>
+ <property name="Name" value="The JPA Example for WebSphere 6.1.0.13 + EJB3 FP"/>
<property name="example.name" value="jboss-seam-jpa"/>
<!-- resources -->
@@ -31,7 +31,6 @@
<!-- JSF (and related) implementation -->
<include name="lib/jsf-api.jar"/>
<include name="lib/jsf-impl.jar"/>
- <include name="lib/jstl.jar"/>
<include name="examples/jpa/lib/el-ri.jar"/>
<include name="lib/el-api.jar" />
@@ -42,14 +41,13 @@
<include name="lib/hibernate-entitymanager.jar"/>
<include name="lib/hibernate-validator.jar"/>
<include name="examples/jpa/lib/jboss-archive-browsing.jar" />
- <include name="lib/persistence-api.jar" />
<include name="lib/cglib.jar"/>
+ <include name="lib/asm.jar"/>
<include name="lib/antlr.jar" />
</fileset>
<fileset id="noejb.war.extras" dir="${resources.dir}">
<include name="WEB-INF/classes/**/*" />
- <include name="META-INF/*.taglib.xml" />
</fileset>
</project>
Modified: branches/Seam_2_0/examples/jpa/build.xml
===================================================================
--- branches/Seam_2_0/examples/jpa/build.xml 2008-01-28 22:09:43 UTC (rev 7271)
+++ branches/Seam_2_0/examples/jpa/build.xml 2008-01-28 23:15:59 UTC (rev 7272)
@@ -22,7 +22,7 @@
<ant antfile="build-weblogic92.xml"/>
</target>
- <target name="websphere61" description="Build the JPA artifacts, suitable for deployment to WebSphere 6.1.0.9">
+ <target name="websphere61" description="Build the JPA artifacts, suitable for deployment to WebSphere 6.1.0.13 + EJB3 FP">
<ant antfile="build-websphere61.xml"/>
</target>
Modified: branches/Seam_2_0/examples/jpa/readme.txt
===================================================================
--- branches/Seam_2_0/examples/jpa/readme.txt 2008-01-28 22:09:43 UTC (rev 7271)
+++ branches/Seam_2_0/examples/jpa/readme.txt 2008-01-28 23:15:59 UTC (rev 7272)
@@ -39,6 +39,8 @@
WebSphere 6.1:
* Install and run WebSphere 6.1
+ * Set a Websphere web container custom property "com.ibm.ws.webcontainer.invokefilterscompatibility" to true. See Seam reference guide chapter for details.
+ * Set a Websphere web container custom property "prependSlashToResource" to true. See Seam reference guide chapter for details.
* ant websphere61
* Deploy dist-websphere61/jboss-seam-jpa.war and specify a context_root
* From the "Enterprise Applications" list select: "jboss-seam-jpa" --> "Manager Modules" --> "jboss-seam-jpa.war" --> "Classes loaded with application class loader first", and then Apply
Deleted: branches/Seam_2_0/examples/jpa/resources-websphere61/META-INF/ajax4jsf.taglib.xml
===================================================================
--- branches/Seam_2_0/examples/jpa/resources-websphere61/META-INF/ajax4jsf.taglib.xml 2008-01-28 22:09:43 UTC (rev 7271)
+++ branches/Seam_2_0/examples/jpa/resources-websphere61/META-INF/ajax4jsf.taglib.xml 2008-01-28 23:15:59 UTC (rev 7272)
@@ -1,233 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE facelet-taglib PUBLIC
- "-//Sun Microsystems, Inc.//DTD Facelet Taglib 1.0//EN"
- "http://java.sun.com/dtd/facelet-taglib_1_0.dtd">
-<facelet-taglib xmlns="http://java.sun.com/JSF/Facelet">
-<namespace>http://richfaces.org/a4j</namespace>
-
-<tag>
- <tag-name>ajaxListener</tag-name>
- <handler-class>
- org.ajax4jsf.taglib.html.facelets.AjaxListenerHandler
- </handler-class>
-
- </tag><tag>
- <tag-name>facet</tag-name>
- <handler-class>
- org.ajax4jsf.taglib.html.facelets.FacetHandler
- </handler-class>
-
- </tag><tag>
- <tag-name>keepAlive</tag-name>
- <handler-class>
- org.ajax4jsf.taglib.html.facelets.KeepAliveHandler
- </handler-class>
- </tag><tag>
- <tag-name>jsFunction</tag-name>
- <component>
- <component-type>org.ajax4jsf.Function</component-type>
- <renderer-type>
- org.ajax4jsf.components.AjaxFunctionRenderer
- </renderer-type>
- </component>
-
- </tag><tag>
- <tag-name>status</tag-name>
- <component>
- <component-type>org.ajax4jsf.Status</component-type>
- <renderer-type>
- org.ajax4jsf.components.AjaxStatusRenderer
- </renderer-type>
- </component>
-
- </tag><tag>
- <tag-name>portlet</tag-name>
- <component>
- <component-type>org.ajax4jsf.Portlet</component-type>
- </component>
-
- </tag><tag>
- <tag-name>push</tag-name>
- <component>
- <component-type>org.ajax4jsf.Push</component-type>
- <renderer-type>
- org.ajax4jsf.components.AjaxPushRenderer
- </renderer-type>
- <handler-class>
- org.ajax4jsf.taglib.html.facelets.AjaxPushHandler
- </handler-class>
- </component>
-
- </tag><tag>
- <tag-name>repeat</tag-name>
- <component>
- <component-type>org.ajax4jsf.Repeat</component-type>
- <renderer-type>
- org.ajax4jsf.components.RepeatRenderer
- </renderer-type>
- </component>
-
- </tag><tag>
- <tag-name>commandButton</tag-name>
- <component>
- <component-type>org.ajax4jsf.CommandButton</component-type>
- <renderer-type>
- org.ajax4jsf.components.AjaxCommandButtonRenderer
- </renderer-type>
- <handler-class>
- org.ajax4jsf.webapp.taglib.AjaxComponentHandler
- </handler-class>
- </component>
-
- </tag><tag>
- <tag-name>actionparam</tag-name>
- <component>
- <component-type>org.ajax4jsf.ActionParameter</component-type>
- <handler-class>
- org.ajax4jsf.taglib.html.facelets.ActionParamHandler
- </handler-class>
- </component>
-
- </tag><tag>
- <tag-name>loadScript</tag-name>
- <component>
- <component-type>org.ajax4jsf.LoadScript</component-type>
- <renderer-type>
- org.ajax4jsf.LoadScriptRenderer
- </renderer-type>
- </component>
-
- </tag><tag>
- <tag-name>outputPanel</tag-name>
- <component>
- <component-type>org.ajax4jsf.OutputPanel</component-type>
- <renderer-type>
- org.ajax4jsf.components.AjaxOutputPanelRenderer
- </renderer-type>
- </component>
-
- </tag><tag>
- <tag-name>loadBundle</tag-name>
- <component>
- <component-type>org.ajax4jsf.Bundle</component-type>
- </component>
-
- </tag><tag>
- <tag-name>mediaOutput</tag-name>
- <component>
- <component-type>org.ajax4jsf.MediaOutput</component-type>
- <renderer-type>
- org.ajax4jsf.MediaOutputRenderer
- </renderer-type>
- <handler-class>
- org.ajax4jsf.taglib.html.facelets.MediaOutputHandler
- </handler-class>
- </component>
-
- </tag><tag>
- <tag-name>log</tag-name>
- <component>
- <component-type>org.ajax4jsf.Log</component-type>
- <renderer-type>
- org.ajax4jsf.LogRenderer
- </renderer-type>
- </component>
-
- </tag><tag>
- <tag-name>region</tag-name>
- <component>
- <component-type>org.ajax4jsf.AjaxRegion</component-type>
- <renderer-type>
- org.ajax4jsf.components.AjaxRegionRenderer
- </renderer-type>
- </component>
-
- </tag><tag>
- <tag-name>form</tag-name>
- <component>
- <component-type>org.ajax4jsf.Form</component-type>
- <renderer-type>
- org.ajax4jsf.FormRenderer
- </renderer-type>
- <handler-class>
- org.ajax4jsf.webapp.taglib.AjaxComponentHandler
- </handler-class>
- </component>
-
- </tag><tag>
- <tag-name>htmlCommandLink</tag-name>
- <component>
- <component-type>javax.faces.HtmlCommandLink</component-type>
- <renderer-type>
- org.ajax4jsf.HtmlCommandLinkRenderer
- </renderer-type>
- </component>
-
- </tag><tag>
- <tag-name>commandLink</tag-name>
- <component>
- <component-type>org.ajax4jsf.CommandLink</component-type>
- <renderer-type>
- org.ajax4jsf.components.AjaxCommandLinkRenderer
- </renderer-type>
- <handler-class>
- org.ajax4jsf.webapp.taglib.AjaxComponentHandler
- </handler-class>
- </component>
-
- </tag><tag>
- <tag-name>support</tag-name>
- <component>
- <component-type>org.ajax4jsf.Support</component-type>
- <renderer-type>
- org.ajax4jsf.components.AjaxSupportRenderer
- </renderer-type>
- <handler-class>
- org.ajax4jsf.taglib.html.facelets.AjaxSupportHandler
- </handler-class>
- </component>
-
- </tag><tag>
- <tag-name>loadStyle</tag-name>
- <component>
- <component-type>org.ajax4jsf.LoadStyle</component-type>
- <renderer-type>
- org.ajax4jsf.LoadStyleRenderer
- </renderer-type>
- </component>
-
- </tag><tag>
- <tag-name>poll</tag-name>
- <component>
- <component-type>org.ajax4jsf.Poll</component-type>
- <renderer-type>
- org.ajax4jsf.components.AjaxPollRenderer
- </renderer-type>
- <handler-class>
- org.ajax4jsf.webapp.taglib.AjaxComponentHandler
- </handler-class>
- </component>
-
- </tag><tag>
- <tag-name>page</tag-name>
- <component>
- <component-type>org.ajax4jsf.components.Page</component-type>
- <renderer-type>
- org.ajax4jsf.components.AjaxPageRenderer
- </renderer-type>
- </component>
-
- </tag><tag>
- <tag-name>include</tag-name>
- <component>
- <component-type>org.ajax4jsf.Include</component-type>
- <renderer-type>
- org.ajax4jsf.components.AjaxIncludeRenderer
- </renderer-type>
- <handler-class>
- org.ajax4jsf.taglib.html.facelets.IncludeHandler
- </handler-class>
- </component>
-
- </tag>
-</facelet-taglib>
\ No newline at end of file
Deleted: branches/Seam_2_0/examples/jpa/resources-websphere61/META-INF/jsf-core.taglib.xml
===================================================================
--- branches/Seam_2_0/examples/jpa/resources-websphere61/META-INF/jsf-core.taglib.xml 2008-01-28 22:09:43 UTC (rev 7271)
+++ branches/Seam_2_0/examples/jpa/resources-websphere61/META-INF/jsf-core.taglib.xml 2008-01-28 23:15:59 UTC (rev 7272)
@@ -1,26 +0,0 @@
-<?xml version="1.0"?>
-
-<!--
- Copyright 2005 Sun Microsystems, Inc. All rights reserved.
- Licensed under the Common Development and Distribution License,
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.sun.com/cddl/
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
- implied. See the License for the specific language governing
- permissions and limitations under the License.
-
- $Id: jsf-core.taglib.xml,v 1.3 2005/07/27 04:47:46 jhook Exp $
--->
-
-<!DOCTYPE facelet-taglib PUBLIC
- "-//Sun Microsystems, Inc.//DTD Facelet Taglib 1.0//EN"
- "http://java.sun.com/dtd/facelet-taglib_1_0.dtd">
-
-<facelet-taglib>
- <library-class>com.sun.facelets.tag.jsf.core.CoreLibrary</library-class>
-</facelet-taglib>
\ No newline at end of file
Deleted: branches/Seam_2_0/examples/jpa/resources-websphere61/META-INF/jsf-html.taglib.xml
===================================================================
--- branches/Seam_2_0/examples/jpa/resources-websphere61/META-INF/jsf-html.taglib.xml 2008-01-28 22:09:43 UTC (rev 7271)
+++ branches/Seam_2_0/examples/jpa/resources-websphere61/META-INF/jsf-html.taglib.xml 2008-01-28 23:15:59 UTC (rev 7272)
@@ -1,26 +0,0 @@
-<?xml version="1.0"?>
-
-<!--
- Copyright 2005 Sun Microsystems, Inc. All rights reserved.
- Licensed under the Common Development and Distribution License,
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.sun.com/cddl/
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
- implied. See the License for the specific language governing
- permissions and limitations under the License.
-
- $Id: jsf-html.taglib.xml,v 1.3 2005/07/27 04:47:46 jhook Exp $
--->
-
-<!DOCTYPE facelet-taglib PUBLIC
- "-//Sun Microsystems, Inc.//DTD Facelet Taglib 1.0//EN"
- "http://java.sun.com/dtd/facelet-taglib_1_0.dtd">
-
-<facelet-taglib>
- <library-class>com.sun.facelets.tag.jsf.html.HtmlLibrary</library-class>
-</facelet-taglib>
\ No newline at end of file
Deleted: branches/Seam_2_0/examples/jpa/resources-websphere61/META-INF/jsf-ui.taglib.xml
===================================================================
--- branches/Seam_2_0/examples/jpa/resources-websphere61/META-INF/jsf-ui.taglib.xml 2008-01-28 22:09:43 UTC (rev 7271)
+++ branches/Seam_2_0/examples/jpa/resources-websphere61/META-INF/jsf-ui.taglib.xml 2008-01-28 23:15:59 UTC (rev 7272)
@@ -1,26 +0,0 @@
-<?xml version="1.0"?>
-
-<!--
- Copyright 2005 Sun Microsystems, Inc. All rights reserved.
- Licensed under the Common Development and Distribution License,
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.sun.com/cddl/
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
- implied. See the License for the specific language governing
- permissions and limitations under the License.
-
- $Id: jsf-ui.taglib.xml,v 1.2 2005/07/18 08:25:39 jhook Exp $
--->
-
-<!DOCTYPE facelet-taglib PUBLIC
- "-//Sun Microsystems, Inc.//DTD Facelet Taglib 1.0//EN"
- "http://java.sun.com/dtd/facelet-taglib_1_0.dtd">
-
-<facelet-taglib>
- <library-class>com.sun.facelets.tag.ui.UILibrary</library-class>
-</facelet-taglib>
\ No newline at end of file
Modified: branches/Seam_2_0/examples/jpa/resources-websphere61/META-INF/persistence.xml
===================================================================
--- branches/Seam_2_0/examples/jpa/resources-websphere61/META-INF/persistence.xml 2008-01-28 22:09:43 UTC (rev 7271)
+++ branches/Seam_2_0/examples/jpa/resources-websphere61/META-INF/persistence.xml 2008-01-28 23:15:59 UTC (rev 7272)
@@ -1,24 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
-<persistence>
- <persistence-unit name="bookingDatabase" transaction-type="JTA">
+<persistence xmlns="http://java.sun.com/xml/ns/persistence"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd"
+ version="1.0">
+ <persistence-unit name="bookingDatabase" transaction-type="RESOURCE_LOCAL">
<provider>org.hibernate.ejb.HibernatePersistence</provider>
<jta-data-source>DefaultDatasource</jta-data-source>
<properties>
- <!--
- <property name="hibernate.dialect"
- value="org.hibernate.dialect.PointbaseDialect"/>
- -->
<!-- From WAS 6.1.0.9, the embedded DB is switched to the same Derby DB in Glassfish -->
- <property name="hibernate.dialect"
- value="GlassfishDerbyDialect"/>
+ <property name="hibernate.dialect" value="GlassfishDerbyDialect"/>
<property name="hibernate.hbm2ddl.auto" value="create-drop"/>
<property name="hibernate.show_sql" value="true"/>
<property name="hibernate.cache.provider_class" value="org.hibernate.cache.HashtableCacheProvider"/>
- <property name="hibernate.transaction.manager_lookup_class" value="org.hibernate.transaction.WebSphereExtendedJTATransactionLookup"/>
- <!-- alternative
- <property name="jboss.entity.manager.factory.jndi.name"
- value="java:/jpaBookingEntityManagerFactory"/>
- -->
+ <property name="hibernate.transaction.manager_lookup_class" value="org.hibernate.transaction.WebSphereExtendedJTATransactionLookup"/>
</properties>
</persistence-unit>
</persistence>
Deleted: branches/Seam_2_0/examples/jpa/resources-websphere61/META-INF/rich.taglib.xml
===================================================================
--- branches/Seam_2_0/examples/jpa/resources-websphere61/META-INF/rich.taglib.xml 2008-01-28 22:09:43 UTC (rev 7271)
+++ branches/Seam_2_0/examples/jpa/resources-websphere61/META-INF/rich.taglib.xml 2008-01-28 23:15:59 UTC (rev 7272)
@@ -1,546 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE facelet-taglib PUBLIC
- "-//Sun Microsystems, Inc.//DTD Facelet Taglib 1.0//EN"
- "http://java.sun.com/dtd/facelet-taglib_1_0.dtd">
-<facelet-taglib xmlns="http://java.sun.com/JSF/Facelet">
-<namespace>http://richfaces.org/rich</namespace>
-
-<tag>
- <tag-name>dndParam</tag-name>
- <component>
- <component-type>org.richfaces.DndParam</component-type>
- </component>
-
- </tag><tag>
- <tag-name>dropSupport</tag-name>
- <component>
- <component-type>org.richfaces.DropSupport</component-type>
- <renderer-type>
- org.richfaces.DropSupportRenderer
- </renderer-type>
- <handler-class>
- org.richfaces.taglib.DropSupportHandler
- </handler-class>
- </component>
-
- </tag><tag>
- <tag-name>dragIndicator</tag-name>
- <component>
- <component-type>org.richfaces.DragIndicator</component-type>
- <renderer-type>
- org.richfaces.DragIndicatorRenderer
- </renderer-type>
- </component>
-
- </tag><tag>
- <tag-name>dragSupport</tag-name>
- <component>
- <component-type>org.richfaces.DragSupport</component-type>
- <renderer-type>
- org.richfaces.DragSupportRenderer
- </renderer-type>
- <handler-class>
- org.richfaces.taglib.DragSupportHandler
- </handler-class>
- </component>
-
- </tag><tag>
- <tag-name>dropListener</tag-name>
- <handler-class>
- org.richfaces.taglib.DropListenerHandler
- </handler-class>
-
- </tag><tag>
- <tag-name>dragListener</tag-name>
- <handler-class>
- org.richfaces.taglib.DragListenerHandler
- </handler-class>
-
- </tag><tag>
- <tag-name>effect</tag-name>
- <component>
- <component-type>org.richfaces.Effect</component-type>
- <renderer-type>
- org.richfaces.EffectRenderer
- </renderer-type>
- </component>
-
- </tag><tag>
- <tag-name>panel</tag-name>
- <component>
- <component-type>org.richfaces.panel</component-type>
- <renderer-type>
- org.richfaces.PanelRenderer
- </renderer-type>
- </component>
-
- </tag><tag>
- <tag-name>panelBar</tag-name>
- <component>
- <component-type>org.richfaces.PanelBar</component-type>
- <renderer-type>
- org.richfaces.PanelBarRenderer
- </renderer-type>
- </component>
-
- </tag><tag>
- <tag-name>panelBarItem</tag-name>
- <component>
- <component-type>org.richfaces.PanelBarItem</component-type>
- <renderer-type>
- org.richfaces.PanelBarItemRenderer
- </renderer-type>
- </component>
-
- </tag><tag>
- <tag-name>dataFilterSlider</tag-name>
- <component>
- <component-type>org.richfaces.DataFilterSlider</component-type>
- <renderer-type>
- org.richfaces.DataFilterSliderRenderer
- </renderer-type>
- <handler-class>
- org.richfaces.taglib.DataFilterSliderTagHandler
- </handler-class>
- </component>
-
- </tag><tag>
- <tag-name>sliderListener</tag-name>
- <handler-class>
- org.richfaces.taglib.DataFilterSliderListenerTagHandler
- </handler-class>
-
- </tag><tag>
- <tag-name>gmap</tag-name>
- <component>
- <component-type>org.richfaces.Gmap</component-type>
- <renderer-type>
- org.richfaces.GmapRenderer
- </renderer-type>
- </component>
-
- </tag><tag>
- <tag-name>virtualEarth</tag-name>
- <component>
- <component-type>org.richfaces.VirtualEarth</component-type>
- <renderer-type>
- org.richfaces.VirtualEarthRenderer
- </renderer-type>
- </component>
-
- </tag><tag>
- <tag-name>separator</tag-name>
- <component>
- <component-type>org.richfaces.separator</component-type>
- <renderer-type>
- org.richfaces.SeparatorRenderer
- </renderer-type>
- </component>
-
- </tag><tag>
- <tag-name>spacer</tag-name>
- <component>
- <component-type>org.richfaces.spacer</component-type>
- <renderer-type>
- org.richfaces.SpacerRenderer
- </renderer-type>
- </component>
-
- </tag><tag>
- <tag-name>paint2D</tag-name>
- <component>
- <component-type>org.richfaces.Paint2D</component-type>
- <renderer-type>
- org.richfaces.Paint2DRenderer
- </renderer-type>
- <handler-class>
- org.richfaces.taglib.Paint2DTagHandler
- </handler-class>
- </component>
-
- </tag><tag>
- <tag-name>togglePanel</tag-name>
- <component>
- <component-type>org.richfaces.TogglePanel</component-type>
- <renderer-type>
- org.richfaces.TogglePanelRenderer
- </renderer-type>
- </component>
-
- </tag><tag>
- <tag-name>toggleControl</tag-name>
- <component>
- <component-type>org.richfaces.ToggleControl</component-type>
- <renderer-type>
- org.richfaces.ToggleControlRenderer
- </renderer-type>
- </component>
-
- </tag><tag>
- <tag-name>tabPanel</tag-name>
- <component>
- <component-type>org.richfaces.TabPanel</component-type>
- <renderer-type>
- org.richfaces.TabPanelRenderer
- </renderer-type>
- <handler-class>
- org.richfaces.taglib.TabPanelTagHandler
- </handler-class>
- </component>
-
- </tag><tag>
- <tag-name>tab</tag-name>
- <component>
- <component-type>org.richfaces.Tab</component-type>
- <renderer-type>
- org.richfaces.TabRenderer
- </renderer-type>
- </component>
-
- </tag><tag>
- <tag-name>simpleTogglePanel</tag-name>
- <component>
- <component-type>org.richfaces.SimpleTogglePanel</component-type>
- <renderer-type>
- org.richfaces.SimpleTogglePanelRenderer
- </renderer-type>
- <handler-class>
- org.richfaces.taglib.SimpleTogglePanelTagHandler
- </handler-class>
- </component>
-
- </tag><tag>
- <tag-name>toolBar</tag-name>
- <component>
- <component-type>org.richfaces.ToolBar</component-type>
- <renderer-type>
- org.richfaces.ToolBarRenderer
- </renderer-type>
- </component>
-
- </tag><tag>
- <tag-name>toolBarGroup</tag-name>
- <component>
- <component-type>org.richfaces.ToolBarGroup</component-type>
- <renderer-type>
- org.richfaces.ToolBarGroupRenderer
- </renderer-type>
- </component>
-
- </tag><tag>
- <tag-name>inputNumberSlider</tag-name>
- <component>
- <component-type>org.richfaces.inputNumberSlider</component-type>
- <renderer-type>
- org.richfaces.InputNumberSliderRenderer
- </renderer-type>
- </component>
-
- </tag><tag>
- <tag-name>inputNumberSpinner</tag-name>
- <component>
- <component-type>org.richfaces.inputNumberSpinner</component-type>
- <renderer-type>
- org.richfaces.InputNumberSpinnerRenderer
- </renderer-type>
- </component>
-
- </tag><tag>
- <tag-name>tree</tag-name>
- <component>
- <component-type>org.richfaces.Tree</component-type>
- <renderer-type>
- org.richfaces.TreeRenderer
- </renderer-type>
- <handler-class>
- org.richfaces.taglib.TreeTagHandler
- </handler-class>
- </component>
-
- </tag><tag>
- <tag-name>treeNode</tag-name>
- <component>
- <component-type>org.richfaces.TreeNode</component-type>
- <renderer-type>
- org.richfaces.TreeNodeRenderer
- </renderer-type>
- <handler-class>
- org.richfaces.taglib.TreeNodeTagHandler
- </handler-class>
- </component>
-
- </tag><tag>
- <tag-name>dropListener</tag-name>
- <handler-class>
- org.richfaces.taglib.DropListenerHandler
- </handler-class>
-
- </tag><tag>
- <tag-name>dragListener</tag-name>
- <handler-class>
- org.richfaces.taglib.DragListenerHandler
- </handler-class>
-
- </tag><tag>
- <tag-name>changeExpandListener</tag-name>
- <handler-class>
- org.richfaces.taglib.ChangeExpandListenerTagHandler
- </handler-class>
-
- </tag><tag>
- <tag-name>nodeSelectListener</tag-name>
- <handler-class>
- org.richfaces.taglib.NodeSelectListenerTagHandler
- </handler-class>
-
- </tag><tag>
- <tag-name>suggestionbox</tag-name>
- <component>
- <component-type>org.richfaces.SuggestionBox</component-type>
- <renderer-type>
- org.richfaces.SuggestionBox
- </renderer-type>
- <handler-class>
- org.richfaces.taglib.SuggestionBoxTagHandler
- </handler-class>
- </component>
-
- </tag><tag>
- <tag-name>subTable</tag-name>
- <component>
- <component-type>org.richfaces.SubTable</component-type>
- <renderer-type>
- org.richfaces.SubTableRenderer
- </renderer-type>
- </component>
-
- </tag><tag>
- <tag-name>column</tag-name>
- <component>
- <component-type>org.richfaces.Column</component-type>
- <renderer-type>
- org.richfaces.ColumnRenderer
- </renderer-type>
- </component>
-
- </tag><tag>
- <tag-name>dataList</tag-name>
- <component>
- <component-type>org.richfaces.DataList</component-type>
- <renderer-type>
- org.richfaces.DataListRenderer
- </renderer-type>
- </component>
-
- </tag><tag>
- <tag-name>dataOrderedList</tag-name>
- <component>
- <component-type>org.richfaces.DataOrderedList</component-type>
- <renderer-type>
- org.richfaces.DataOrderedListRenderer
- </renderer-type>
- </component>
-
- </tag><tag>
- <tag-name>dataDefinitionList</tag-name>
- <component>
- <component-type>org.richfaces.DataDefinitionList</component-type>
- <renderer-type>
- org.richfaces.DataDefinitionListRenderer
- </renderer-type>
- </component>
-
- </tag><tag>
- <tag-name>dataGrid</tag-name>
- <component>
- <component-type>org.richfaces.DataGrid</component-type>
- <renderer-type>
- org.richfaces.DataGridRenderer
- </renderer-type>
- </component>
-
- </tag><tag>
- <tag-name>dataTable</tag-name>
- <component>
- <component-type>org.richfaces.DataTable</component-type>
- <renderer-type>
- org.richfaces.DataTableRenderer
- </renderer-type>
- </component>
-
- </tag><tag>
- <tag-name>columnGroup</tag-name>
- <component>
- <component-type>org.richfaces.ColumnGroup</component-type>
- <renderer-type>
- org.richfaces.ColumnGroupRenderer
- </renderer-type>
- </component>
-
- </tag><tag>
- <tag-name>modalPanel</tag-name>
- <component>
- <component-type>org.richfaces.ModalPanel</component-type>
- <renderer-type>
- org.richfaces.ModalPanelRenderer
- </renderer-type>
- </component>
-
- </tag><tag>
- <tag-name>datascroller</tag-name>
- <component>
- <component-type>org.richfaces.Datascroller</component-type>
- <renderer-type>
- org.richfaces.DataScrollerRenderer
- </renderer-type>
- <handler-class>
- org.richfaces.taglib.DataScrollerTagHandler
- </handler-class>
- </component>
-
- </tag><tag>
- <tag-name>scrollerListener</tag-name>
- <handler-class>
- org.richfaces.taglib.DataScrollerListenerTagHandler
- </handler-class>
-
- </tag><tag>
- <tag-name>menuGroup</tag-name>
- <component>
- <component-type>org.richfaces.MenuGroup</component-type>
- <renderer-type>
- org.richfaces.MenuGroupRenderer
- </renderer-type>
- </component>
-
- </tag><tag>
- <tag-name>menuItem</tag-name>
- <component>
- <component-type>org.richfaces.MenuItem</component-type>
- <renderer-type>
- org.richfaces.MenuItemRenderer
- </renderer-type>
- </component>
-
- </tag><tag>
- <tag-name>menuSeparator</tag-name>
- <component>
- <component-type>org.richfaces.MenuSeparator</component-type>
- <renderer-type>
- org.richfaces.MenuSeparatorRenderer
- </renderer-type>
- </component>
-
- </tag><tag>
- <tag-name>dropDownMenu</tag-name>
- <component>
- <component-type>org.richfaces.DropDownMenu</component-type>
- <renderer-type>
- org.richfaces.DropDownMenuRenderer
- </renderer-type>
- <handler-class>
- org.richfaces.taglib.DropDownMenuTagHandler
- </handler-class>
- </component>
-
- </tag><tag>
- <tag-name>toolTip</tag-name>
- <component>
- <component-type>org.richfaces.component.ToolTip</component-type>
- <renderer-type>
- org.richfaces.renderkit.html.ToolTipRenderer
- </renderer-type>
- </component>
-
- </tag><tag>
- <tag-name>panelMenu</tag-name>
- <component>
- <component-type>org.richfaces.PanelMenu</component-type>
- <renderer-type>
- org.richfaces.PanelMenuRenderer
- </renderer-type>
- </component>
-
- </tag><tag>
- <tag-name>panelMenuGroup</tag-name>
- <component>
- <component-type>org.richfaces.PanelMenuGroup</component-type>
- <renderer-type>
- org.richfaces.PanelMenuGroupRenderer
- </renderer-type>
- </component>
-
- </tag><tag>
- <tag-name>panelMenuItem</tag-name>
- <component>
- <component-type>org.richfaces.PanelMenuItem</component-type>
- <renderer-type>
- org.richfaces.PanelMenuItemRenderer
- </renderer-type>
- </component>
-
- </tag><tag>
- <tag-name>calendar</tag-name>
- <component>
- <component-type>org.richfaces.Calendar</component-type>
- <renderer-type>
- org.richfaces.CalendarRenderer
- </renderer-type>
- </component>
-
- </tag><tag>
- <tag-name>currentDateChangeListener</tag-name>
- <handler-class>
- org.richfaces.taglib.CurrentDateChangeListenerTagHandler
- </handler-class>
-
- </tag><tag>
- <tag-name>treeNodesAdaptor</tag-name>
- <component>
- <component-type>org.richfaces.TreeNodesAdaptor</component-type>
- </component>
-
- </tag><tag>
- <tag-name>recursiveTreeNodesAdaptor</tag-name>
- <component>
- <component-type>org.richfaces.RecursiveTreeNodesAdaptor</component-type>
- </component>
-
- </tag><tag>
- <tag-name>message</tag-name>
- <component>
- <component-type>org.richfaces.component.RichMessage</component-type>
- <renderer-type>
- org.richfaces.RichMessageRenderer
- </renderer-type>
- </component>
-
- </tag><tag>
- <tag-name>messages</tag-name>
- <component>
- <component-type>org.richfaces.component.RichMessages</component-type>
- <renderer-type>
- org.richfaces.RichMessagesRenderer
- </renderer-type>
- </component>
-
- </tag><tag>
- <tag-name>scrollableDataTable</tag-name>
- <component>
- <component-type>org.richfaces.component.ScrollableDataTable</component-type>
- <renderer-type>
- org.richfaces.renderkit.html.ScrollableDataTableRenderer
- </renderer-type>
- </component>
-
- </tag><tag>
- <tag-name>insert</tag-name>
- <component>
- <component-type>org.richfaces.ui.Insert</component-type>
- <renderer-type>
- org.richfaces.ui.InsertRenderer
- </renderer-type>
- </component>
-
- </tag>
-</facelet-taglib>
\ No newline at end of file
Deleted: branches/Seam_2_0/examples/jpa/resources-websphere61/META-INF/s.taglib.xml
===================================================================
--- branches/Seam_2_0/examples/jpa/resources-websphere61/META-INF/s.taglib.xml 2008-01-28 22:09:43 UTC (rev 7271)
+++ branches/Seam_2_0/examples/jpa/resources-websphere61/META-INF/s.taglib.xml 2008-01-28 23:15:59 UTC (rev 7272)
@@ -1,196 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE facelet-taglib PUBLIC
- "-//Sun Microsystems, Inc.//DTD Facelet Taglib 1.0//EN"
- "http://java.sun.com/dtd/facelet-taglib_1_0.dtd">
-<facelet-taglib xmlns="http://java.sun.com/JSF/Facelet">
- <namespace>http://jboss.com/products/seam/taglib</namespace>
-
-
-
- <tag>
- <tag-name>button</tag-name>
- <component>
- <component-type>org.jboss.seam.ui.Button</component-type>
- <renderer-type>org.jboss.seam.ui.ButtonRenderer</renderer-type>
- </component>
- </tag>
- <tag>
- <tag-name>cache</tag-name>
- <component>
- <component-type>org.jboss.seam.ui.Cache</component-type>
- <renderer-type>org.jboss.seam.ui.CacheRenderer</renderer-type>
- </component>
- </tag>
- <tag>
- <tag-name>conversationId</tag-name>
- <component>
- <component-type>org.jboss.seam.ui.ConversationId</component-type>
- </component>
- </tag>
- <tag>
- <tag-name>conversationPropagation</tag-name>
- <component>
- <component-type>org.jboss.seam.ui.ConversationPropagation</component-type>
- </component>
- </tag>
- <tag>
- <tag-name>decorate</tag-name>
- <component>
- <component-type>org.jboss.seam.ui.Decorate</component-type>
- <renderer-type>org.jboss.seam.ui.DecorateRenderer</renderer-type>
- <handler-class>org.jboss.seam.ui.handler.DecorateHandler</handler-class>
- </component>
- </tag>
- <tag>
- <tag-name>div</tag-name>
- <component>
- <component-type>org.jboss.seam.ui.Div</component-type>
- <renderer-type>org.jboss.seam.ui.DivRenderer</renderer-type>
- </component>
- </tag>
- <tag>
- <tag-name>enumItem</tag-name>
- <component>
- <component-type>org.jboss.seam.ui.EnumItem</component-type>
- </component>
- </tag>
- <tag>
- <tag-name>fileUpload</tag-name>
- <component>
- <component-type>org.jboss.seam.ui.FileUpload</component-type>
- <renderer-type>org.jboss.seam.ui.FileUploadRenderer</renderer-type>
- </component>
- </tag>
- <tag>
- <tag-name>formattedText</tag-name>
- <component>
- <component-type>org.jboss.seam.ui.FormattedText</component-type>
- <renderer-type>org.jboss.seam.ui.FormattedTextRenderer</renderer-type>
- </component>
- </tag>
- <tag>
- <tag-name>fragment</tag-name>
- <component>
- <component-type>org.jboss.seam.ui.Fragment</component-type>
- <renderer-type>org.jboss.seam.ui.FragmentRenderer</renderer-type>
- </component>
- </tag>
- <tag>
- <tag-name>graphicImage</tag-name>
- <component>
- <component-type>org.jboss.seam.ui.graphicImage.GraphicImage</component-type>
- <renderer-type>org.jboss.seam.ui.GraphicImageRenderer</renderer-type>
- </component>
- </tag>
- <tag>
- <tag-name>label</tag-name>
- <component>
- <component-type>org.jboss.seam.ui.Label</component-type>
- </component>
- </tag>
- <tag>
- <tag-name>link</tag-name>
- <component>
- <component-type>org.jboss.seam.ui.Link</component-type>
- <renderer-type>org.jboss.seam.ui.LinkRenderer</renderer-type>
- </component>
- </tag>
- <tag>
- <tag-name>loadStyle</tag-name>
- <component>
- <component-type>org.jboss.seam.ui.LoadStyle</component-type>
- </component>
- </tag>
- <tag>
- <tag-name>message</tag-name>
- <component>
- <component-type>org.jboss.seam.ui.Message</component-type>
- </component>
- </tag>
- <tag>
- <tag-name>selectDate</tag-name>
- <component>
- <component-type>org.jboss.seam.ui.SelectDate</component-type>
- <renderer-type>org.jboss.seam.ui.SelectDateRenderer</renderer-type>
- </component>
- </tag>
- <tag>
- <tag-name>selection</tag-name>
- <component>
- <component-type>org.jboss.seam.ui.Selection</component-type>
- </component>
- </tag>
- <tag>
- <tag-name>selectItems</tag-name>
- <component>
- <component-type>org.jboss.seam.ui.SelectItems</component-type>
- </component>
- </tag>
- <tag>
- <tag-name>span</tag-name>
- <component>
- <component-type>org.jboss.seam.ui.Span</component-type>
- <renderer-type>org.jboss.seam.ui.SpanRenderer</renderer-type>
- </component>
- </tag>
- <tag>
- <tag-name>taskId</tag-name>
- <component>
- <component-type>org.jboss.seam.ui.TaskId</component-type>
- </component>
- </tag>
- <tag>
- <tag-name>transformImageBlur</tag-name>
- <component>
- <component-type>org.jboss.seam.ui.graphicImage.TransformImageBlur</component-type>
- </component>
- </tag>
- <tag>
- <tag-name>transformImageSize</tag-name>
- <component>
- <component-type>org.jboss.seam.ui.graphicImage.TransformImageSize</component-type>
- </component>
- </tag>
- <tag>
- <tag-name>transformImageType</tag-name>
- <component>
- <component-type>org.jboss.seam.ui.graphicImage.TransformImageType</component-type>
- </component>
- </tag>
- <tag>
- <tag-name>validateAll</tag-name>
- <component>
- <component-type>org.jboss.seam.ui.ValidateAll</component-type>
- <renderer-type>org.jboss.seam.ui.ValidateAllRenderer</renderer-type>
- </component>
- </tag>
-
- <tag>
- <tag-name>validate</tag-name>
- <validator>
- <validator-id>org.jboss.seam.ui.ModelValidator</validator-id>
- </validator>
- </tag>
-
- <tag>
- <tag-name>convertDateTime</tag-name>
- <converter>
- <converter-id>org.jboss.seam.ui.DateTimeConverter</converter-id>
- </converter>
- </tag>
- <tag>
- <tag-name>convertEntity</tag-name>
- <converter>
- <converter-id>org.jboss.seam.ui.EntityConverter</converter-id>
- </converter>
- </tag>
- <tag>
- <tag-name>convertEnum</tag-name>
- <converter>
- <converter-id>org.jboss.seam.ui.EnumConverter</converter-id>
- </converter>
- </tag>
-
-
-
-</facelet-taglib>
\ No newline at end of file
Modified: branches/Seam_2_0/examples/jpa/resources-websphere61/WEB-INF/components.xml
===================================================================
--- branches/Seam_2_0/examples/jpa/resources-websphere61/WEB-INF/components.xml 2008-01-28 22:09:43 UTC (rev 7271)
+++ branches/Seam_2_0/examples/jpa/resources-websphere61/WEB-INF/components.xml 2008-01-28 23:15:59 UTC (rev 7272)
@@ -1,32 +1,29 @@
<?xml version="1.0" encoding="UTF-8"?>
<components xmlns="http://jboss.com/products/seam/components"
- xmlns:core="http://jboss.com/products/seam/core"
- xmlns:persistence="http://jboss.com/products/seam/persistence"
- xmlns:transaction="http://jboss.com/products/seam/transaction"
- xmlns:security="http://jboss.com/products/seam/security"
- xmlns:web="http://jboss.com/products/seam/web"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation=
- "http://jboss.com/products/seam/core http://jboss.com/products/seam/core-2.0.xsd
+ xmlns:core="http://jboss.com/products/seam/core"
+ xmlns:persistence="http://jboss.com/products/seam/persistence"
+ xmlns:transaction="http://jboss.com/products/seam/transaction"
+ xmlns:security="http://jboss.com/products/seam/security"
+ xmlns:web="http://jboss.com/products/seam/web"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://jboss.com/products/seam/core http://jboss.com/products/seam/core-2.0.xsd
http://jboss.com/products/seam/persistence http://jboss.com/products/seam/persistence-2.0.xsd
http://jboss.com/products/seam/security http://jboss.com/products/seam/security-2.0.xsd
+ http://jboss.com/products/seam/transaction http://jboss.com/products/seam/transaction-2.0.xsd
http://jboss.com/products/seam/web http://jboss.com/products/seam/web-2.0.xsd
http://jboss.com/products/seam/components http://jboss.com/products/seam/components-2.0.xsd">
-
- <core:manager conversation-timeout="120000"
- concurrent-request-timeout="500"
- conversation-id-parameter="cid"/>
-
-
- <persistence:entity-manager-factory name="bookingDatabase"/>
-
- <persistence:managed-persistence-context name="em"
- auto-create="true"
- entity-manager-factory="#{bookingDatabase}"/>
-
- <security:identity authenticate-method="#{authenticator.authenticate}"/>
-
- <!-- WAS requires the filter to be mapped to a suffix, so can't use built in Seam filter -->
- <web:ajax4jsf-filter disabled="true" />
-
+
+ <core:manager conversation-timeout="120000"
+ concurrent-request-timeout="500"
+ conversation-id-parameter="cid"/>
+
+ <transaction:entity-transaction entity-manager="#{em}"/>
+
+ <persistence:entity-manager-factory name="bookingDatabase"/>
+
+ <persistence:managed-persistence-context name="em" auto-create="true"
+ entity-manager-factory="#{bookingDatabase}"/>
+
+ <security:identity authenticate-method="#{authenticator.authenticate}"/>
+
</components>
Modified: branches/Seam_2_0/examples/jpa/resources-websphere61/WEB-INF/web.xml
===================================================================
--- branches/Seam_2_0/examples/jpa/resources-websphere61/WEB-INF/web.xml 2008-01-28 22:09:43 UTC (rev 7271)
+++ branches/Seam_2_0/examples/jpa/resources-websphere61/WEB-INF/web.xml 2008-01-28 23:15:59 UTC (rev 7272)
@@ -4,23 +4,6 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
-
-
- <!-- WAS requires the filter to be mapped to a suffix, so can't use built in Seam filter -->
- <filter>
- <display-name>RichFaces Filter</display-name>
- <filter-name>richfaces</filter-name>
- <filter-class>org.ajax4jsf.Filter</filter-class>
- </filter>
-
- <filter-mapping>
- <filter-name>richfaces</filter-name>
- <servlet-name>Faces Servlet</servlet-name>
- <dispatcher>REQUEST</dispatcher>
- <dispatcher>FORWARD</dispatcher>
- <dispatcher>INCLUDE</dispatcher>
- </filter-mapping>
-
<!-- Seam -->
<listener>
16 years, 11 months
Seam SVN: r7271 - branches/Seam_2_0/doc/reference/en.
by seam-commits@lists.jboss.org
Author: jbalunas(a)redhat.com
Date: 2008-01-28 17:09:43 -0500 (Mon, 28 Jan 2008)
New Revision: 7271
Modified:
branches/Seam_2_0/doc/reference/en/master.xml
Log:
initial implementation of websphere chapter
Modified: branches/Seam_2_0/doc/reference/en/master.xml
===================================================================
--- branches/Seam_2_0/doc/reference/en/master.xml 2008-01-28 22:08:22 UTC (rev 7270)
+++ branches/Seam_2_0/doc/reference/en/master.xml 2008-01-28 22:09:43 UTC (rev 7271)
@@ -34,7 +34,8 @@
<!ENTITY testing SYSTEM "modules/testing.xml">
<!ENTITY tools SYSTEM "modules/tools.xml">
<!ENTITY oc4j SYSTEM "modules/oc4j.xml">
-<!ENTITY weblogic SYSTEM "modules/weblogic.xml">
+<!ENTITY weblogic SYSTEM "modules/weblogic.xml">
+<!ENTITY websphere SYSTEM "modules/websphere.xml">
<!ENTITY dependencies SYSTEM "modules/dependencies.xml">
]>
@@ -364,6 +365,7 @@
&configuration;
&oc4j;
&weblogic;
+ &websphere;
&annotations;
&components;
&controls;
16 years, 11 months
Seam SVN: r7270 - branches/Seam_2_0/doc/reference/en/modules.
by seam-commits@lists.jboss.org
Author: jbalunas(a)redhat.com
Date: 2008-01-28 17:08:22 -0500 (Mon, 28 Jan 2008)
New Revision: 7270
Added:
branches/Seam_2_0/doc/reference/en/modules/websphere.xml
Log:
initial implementation of websphere chapter
Added: branches/Seam_2_0/doc/reference/en/modules/websphere.xml
===================================================================
--- branches/Seam_2_0/doc/reference/en/modules/websphere.xml (rev 0)
+++ branches/Seam_2_0/doc/reference/en/modules/websphere.xml 2008-01-28 22:08:22 UTC (rev 7270)
@@ -0,0 +1,946 @@
+<chapter id="websphere">
+ <title>Seam on IBM's Websphere</title>
+
+ <para>Websphere 6.1.x is IBM's application server offering. The latest
+ release is 6.1.0.13 which does not have <literal>EJB3</literal> or
+ <literal>JEE5</literal> support. There is a recently released (Nov 07)
+ <literal>EJB3</literal> feature pack which provides some support for
+ <literal>EJB3</literal> and <literal>JPA</literal>. Currently there
+ is no true <literal>JEE5</literal> offering from IBM. This causes some
+ issues with Seam integration with applications that use EJB3.</para>
+
+ <para>First we will go over some basic information about the Websphere
+ environment that we used for these examples. After a good deal of research
+ and work we were able to get EJB3 applications to function correctly. We will
+ go over the details of those steps with the jee5 example. We will also deploy
+ the the JPA example application. </para>
+
+ <section>
+ <title>Websphere environment and deployment information</title>
+
+ <para>Websphere is a commercial product and so we will not discuss the
+ details of its installation other than to say follow the directions
+ provided by your particular installation type and license. This
+ section will detail the exact server versions used, installation tips,
+ and some custom properties that are needed for all of the
+ examples.</para>
+
+ <section>
+ <title>Installation versions and tips</title>
+ <para>All of the examples and information in this chapter are based on
+ the the latest version of Websphere at the time of this writing.
+ <itemizedlist>
+ <listitem>
+ <para><ulink
+ url="http://www.ibm.com/developerworks/websphere/zones/was/">
+ Websphere Application Server 6.1.0.13</ulink></para>
+ </listitem>
+ <listitem>
+ <para><ulink
+ url="http://www-1.ibm.com/support/docview.wss?rs=180&uid=swg21287579">
+ Feature Pack for EJB 3.0 for Websphere Application Server
+ V6.1 (3.0.6.1.0.13)</ulink></para>
+ </listitem>
+ </itemizedlist> </para>
+
+ <para>The EJB3 feature pack that we installed came with the 6.1.0.13
+ patch version of Websphere. Installing the feature pack does not
+ ensure that your server will have the proper environment for EJB3
+ applications. Be sure that as part of the installation of the feature
+ pack you follow the instructions to create a new server
+ profile with the EJB3 feature pack enabled, or augment one of your
+ existing ones. This can also be done after the installation
+ by running the profile managment tool.</para>
+ </section>
+
+ <section>
+ <title>Required custom properties</title>
+ <para>There are a couple of Websphere custom properties that are required
+ for Seam integration. These properties are not needed specifically
+ for seam, but work around some issues with Websphere. These are
+ set following the instructions here : <ulink
+ url="http://www-1.ibm.com/support/docview.wss?rss=180&uid=swg21284395">
+ Setting web container custom properties</ulink></para>
+
+ <itemizedlist>
+ <listitem>
+ <para><literal>prependSlashToResource = "true"</literal>
+ — This solves a fairly common issue with Websphere
+ where applications are not using a leading "/" when
+ attempting to access resources. If this is not set then a
+ <literal>java.net.MalformedURLException</literal>
+ will be thrown. With this property set you will still see
+ warnings, but the resources will be retrieved as expected.
+ <note>
+ <title>Detailed can be found at:</title>
+ <para><ulink
+ url="http://www-1.ibm.com/support/docview.wss?uid=swg21190234">
+ SRVE0238E: Resource paths must have a leading
+ slash</ulink></para> </note> </para>
+ </listitem>
+ <listitem>
+ <para>
+ <literal>com.ibm.ws.webcontainer.invokefilterscompatibility
+ = "true"</literal> — This solves an issue with
+ Websphere where it throws a
+ <literal>FileNotFoundException</literal> when a web
+ application attempts to access a file resource that does not
+ actually exist on disk. This is a common practice in modern web
+ applications where filters or servlets are used to process
+ resource requests like these. This issue manifests itself as
+ failures to retrieve JavaScript, CSS, images, etc... when
+ requesting a web page. <note>
+ <title>Detailed can be found at:</title>
+ <para><ulink
+ url="http://www-1.ibm.com/support/docview.wss?uid=swg24014758">
+ PK33090; 6.1: A filter that serves a file does not pop-up an
+ alert message</ulink></para> </note></para>
+ </listitem>
+ </itemizedlist>
+ </section>
+ </section>
+
+ <section id="jee5-websphere-section">
+ <title> The <literal>jee5/booking</literal> example </title>
+
+ <para> The <literal>jee5/booking</literal> example is based on the Hotel
+ Booking example (which runs on JBoss AS). Out of the box it is designed
+ to run on Glassfish, but with the steps below it can be deployed to
+ Websphere. It is located in the
+ <literal>$SEAM_DIST/examples/jee5/booking</literal> directory.
+ </para>
+
+ <para>As stated before the <literal>EJB3</literal> feature pack does not
+ provide a full <literal>jee5</literal> implementation. This means
+ that there are some tricks to getting an application deployed and
+ functioning. </para>
+
+ <section>
+ <title>Configuration file changes</title>
+
+ <para>Below are the configuration file changes that are need to the base
+ example.</para>
+
+ <variablelist>
+ <varlistentry>
+ <term>
+ <literal>resources/WEB-INF/components.xml</literal>
+ </term>
+ <listitem>
+ <para>We need to change the way that we look up EJBs for
+ Websphere. We need to remove the
+ <literal>/local</literal> from the end of the
+ <literal>jndi-pattern</literal> attribute. It should
+ look like this: </para>
+
+
+ <programlisting><![CDATA[
+<core:init jndi-pattern="java:comp/env/jboss-seam-jee5/#{ejbName}" debug="true"/>
+ ]]></programlisting>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term> <literal>resources/WEB-INF/web.xml</literal>
+ </term>
+ <listitem>
+ <para>This is the first place that we notice an unexpected
+ change because this is not full <literal>jee5</literal>
+ implementation. </para>
+ <para> Websphere does not support <literal>Servlet
+ 2.5</literal>, it required <literal>Servlet
+ 2.4</literal>. For this change we need to adjust the top of
+ the <literal>web.xml</literal> file to look like the
+ following:</para>
+
+
+ <programlisting><![CDATA[
+<?xml version="1.0" encoding="UTF-8"?>
+<web-app version="2.4"
+ xmlns="http://java.sun.com/xml/ns/j2ee"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
+ http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
+ ]]></programlisting>
+ <para>Next you have to make some changes to the EJB references
+ in the <literal>web.xml</literal>. These changes are
+ what will allow Websphere to bind the EJB2 references in
+ the web module to the the actual EJB3 beans in the EAR
+ module. Replace all of the
+ <literal>ejb-local-refs</literal> when the values
+ below.</para>
+
+
+ <programlisting><![CDATA[
+ <!-- JEE5 EJB3 names -->
+ <ejb-local-ref>
+ <ejb-ref-name>jboss-seam-jee5/AuthenticatorAction</ejb-ref-name>
+ <ejb-ref-type>Session</ejb-ref-type>
+ <local-home></local-home>
+ <local>org.jboss.seam.example.booking.Authenticator</local>
+ </ejb-local-ref>
+
+ <ejb-local-ref>
+ <ejb-ref-name>jboss-seam-jee5/BookingListAction</ejb-ref-name>
+ <ejb-ref-type>Session</ejb-ref-type>
+ <local-home></local-home>
+ <local>org.jboss.seam.example.booking.BookingList</local>
+ </ejb-local-ref>
+
+ <ejb-local-ref>
+ <ejb-ref-name>jboss-seam-jee5/RegisterAction</ejb-ref-name>
+ <ejb-ref-type>Session</ejb-ref-type>
+ <local-home></local-home>
+ <local>org.jboss.seam.example.booking.Register</local>
+ </ejb-local-ref>
+
+ <ejb-local-ref>
+ <ejb-ref-name>jboss-seam-jee5/ChangePasswordAction</ejb-ref-name>
+ <ejb-ref-type>Session</ejb-ref-type>
+ <local-home></local-home>
+ <local>org.jboss.seam.example.booking.ChangePassword</local>
+ </ejb-local-ref>
+
+ <ejb-local-ref>
+ <ejb-ref-name>jboss-seam-jee5/HotelBookingAction</ejb-ref-name>
+ <ejb-ref-type>Session</ejb-ref-type>
+ <local-home></local-home>
+ <local>org.jboss.seam.example.booking.HotelBooking</local>
+ </ejb-local-ref>
+
+ <ejb-local-ref>
+ <ejb-ref-name>jboss-seam-jee5/HotelSearchingAction</ejb-ref-name>
+ <ejb-ref-type>Session</ejb-ref-type>
+ <local-home></local-home>
+ <local>org.jboss.seam.example.booking.HotelSAll of the examples and informaearching</local>
+ </ejb-local-ref>
+
+ <ejb-local-ref>
+ <ejb-ref-name>jboss-seam-jee5/EjbSynchronizations</ejb-ref-name>
+ <ejb-ref-type>Session</ejb-ref-type>
+ <local-home></local-home>
+ <local>org.jboss.seam.transaction.LocalEjbSynchronizations</local>
+ </ejb-local-ref>]]></programlisting>
+ <para>The important changes are that there is an empty
+ <literal>local-home</literal> element for each EJB.
+ This is the signal to Websphere so that it will make the
+ correct bindings behind the scenes between the web module
+ and the EJB3 beans. The <literal>ejb-link</literal>
+ element is simply not used. </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>
+ <literal>resources/META-INF/persistence.xml</literal>
+ </term>
+ <listitem>
+ <para>For this example we will be using the default
+ datasource that comes with Websphere. To do this change the
+ <literal>jta-data-source</literal> element like below.</para>
+ <programlisting><![CDATA[
+<jta-data-source>DefaultDatasource</jta-data-source>
+ ]]></programlisting>
+ <para>Then we need to adjust some of the hibernate
+ properties. First comment out the Glassfish properties.
+ Next you need to add/change the properties below. </para>
+
+
+ <programlisting><![CDATA[
+<!--<property name="hibernate.transaction.flush_before_completion" value="true"/>-->
+<property name="hibernate.cache.provider_class"
+ value="org.hibernate.cache.HashtableCacheProvider"/>
+<property name="hibernate.dialect" value="GlassfishDerbyDialect"/>
+<property name="hibernate.transaction.manager_lookup_class"
+ value="org.hibernate.transaction.WebSphereExtendedJTATransactionLookup"/>
+ ]]></programlisting>
+ <para>
+ <itemizedlist>
+ <listitem>
+ <para>
+ <literal>hibernate.transaction.manager_lookup_class</literal>
+ — Standard hibernate transaction
+ manager property for Websphere 6.X</para>
+ </listitem>
+ <listitem>
+ <para>
+ <literal>hibernate.transaction.flush_before_completion</literal>
+ — This is commented out because we want
+ the container to manage the transactions. Also
+ if this is set to <literal>true</literal> an
+ exception will be thrown by Websphere when the
+ EJBContext is looked up.
+
+
+ <programlisting><![CDATA[
+com.ibm.wsspi.injectionengine.InjectionException:
+ EJBContext may only be looked up by or injected into an EJB
+ ]]></programlisting></para>
+ </listitem>
+ <listitem>
+ <para><literal>hibernate.dialect</literal>
+ — From WAS 6.1.0.9 on the embedded DB was
+ switched to the same Derby DB in
+ Glassfish.</para>
+ </listitem>
+ </itemizedlist></para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>
+ <literal>resources/GlassfishDerbyDialect.class</literal>
+ </term>
+ <listitem>
+ <para>You will need to get the
+ <literal>GlassfishDerbyDialect.class</literal> and
+ copy it into the <literal>/resources</literal>
+ directory. The class exists in the JPA example and can be
+ copied using the command below assuming you are in
+ <literal>jee5/booking</literal> directory:</para>
+
+
+ <programlisting><![CDATA[
+cp ../../jpa/resources-websphere61/WEB-INF/classes/GlassfishDerbyDialect.class
+ ./resources]]></programlisting>
+ <para>This class will be put into the
+ <literal>jboss-seam-jee5.jar</literal> file using
+ changes to the build.xml discussed later. </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term> <literal>resources/import.sql</literal>
+ </term>
+ <listitem>
+ <para>This file must also be copied from the JPA example
+ because either the Derby DB or the dialect does not support
+ changes to the <literal>ID</literal> column. The files
+ are identical except for the column difference. Use the
+ following command to make the copy
+
+
+ <programlisting><![CDATA[
+cp ../../jpa/resources-websphere61/import.sql ./resources]]></programlisting>
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+
+ </section>
+
+ <section>
+ <title>Building the <literal>jee5/booking</literal>
+ example</title>
+
+ <para>In order to get the changes we have made into our application we
+ need to make some changes to the <literal>build.xml</literal>.
+ There are also some additional jars that are required by our
+ application in order to work with Websphere. This section will cover
+ what changes are needed to the <literal>build.xml</literal>.</para>
+
+ <section>
+ <title>New libraries dependencies</title>
+ <para>
+ <itemizedlist>
+ <listitem>
+ <para>JSF libraries — Websphere 6.1 comes with
+ their own version of JSF 1.1 (Seam requires JSF 1.2). So
+ we must add these jars to our application.
+ <itemizedlist>
+ <listitem>
+ <para><literal>jsf-api.jar</literal>
+ </para>
+ </listitem>
+ <listitem>
+ <para><literal>jsf-impl.jar</literal>
+ </para>
+ </listitem>
+ </itemizedlist> </para>
+ </listitem>
+ <listitem>
+ <para>Since Websphere is not a fully compliant
+ <literal>JEE5</literal> implementation we need to
+ add these expression language libraries as well:
+ <itemizedlist>
+ <listitem>
+ <para><literal>el-api.jar</literal>
+ </para>
+ </listitem>
+ <listitem>
+ <para><literal>el-ri.jar</literal>
+ </para>
+ </listitem>
+ </itemizedlist> </para>
+ </listitem>
+ <listitem>
+ <para><literal>jboss-seam.jar</literal> — for
+ some reason when deploying the application through
+ the Websphere administration console it can not find
+ the <literal>jboss-seam.jar</literal> at the base
+ of the EAR archive. This means that we need to add it to
+ the <literal>/lib</literal> of the EAR.</para>
+ </listitem>
+ <listitem>
+ <para>Then finally by removing the
+ <literal>log4j.jar</literal> all of the log output
+ from our application will be added to the Websphere
+ logging. Addition steps are required to fully
+ configure log4j and those are outside of the scope of
+ this document.</para>
+ </listitem>
+ </itemizedlist> </para>
+
+ </section>
+
+ <section>
+ <title>Updating the <literal>build.xml</literal> file</title>
+
+ <para>Add the following entry to the bottom of the
+ <literal>build.xml</literal> file. This overrides the
+ default fileset that is used to populate the
+ <literal>jboss-seam-jee5.jar</literal>. The primary change
+ is the addition of the
+ <literal>GlassfishDerbyDialect.class</literal>.
+
+
+ <programlisting><![CDATA[
+ <fileset id="jar.resources" dir="${resources.dir}">
+ <include name="import.sql" />
+ <include name="seam.properties" />
+ <include name="GlassfishDerbyDialect.class" />
+ <include name="META-INF/persistence.xml" />
+ <include name="META-INF/ejb-jar.xml" />
+ </fileset>]]></programlisting>
+ </para>
+
+ <para>Next we need to add the library dependencies discussed above.
+ For this add the following to bottom of the
+ <literal>ear.lib.extras</literal> fileset entry.
+
+
+ <programlisting><![CDATA[
+ <!--<include name="lib/log4j.jar" />-->
+ <include name="lib/el-api.jar" />
+ <include name="examples/jpa/lib/el-ri.jar" />
+ <include name="lib/jsf-api.jar" />
+ <include name="lib/jsf-impl.jar" />
+ <include name="lib/jboss-seam.jar" />
+</fileset>]]></programlisting>
+ </para>
+
+ <para>Now all that is left is to execute the <literal>ant
+ archive</literal> task and your application files should be in
+ the <literal>jee5/booking/dist</literal> directory.
+ </para>
+ </section>
+
+ </section>
+
+ <section id="jee5-websphere-deploy">
+ <title>Deploying the application to Websphere</title>
+
+ <para>So now we have everything we need in place. All that is left is to
+ deploy it - just a few steps more ;) </para>
+ <para> For that we will use Websphere's administration console. As
+ before there are some tricks and tips that must be followed.</para>
+
+ <para>The steps below are for the Websphere version stated above, yours
+ may be slightly different.
+ <orderedlist>
+ <listitem>
+ <para>Log in to the administration console
+
+
+ <programlisting><![CDATA[
+https://localhost:9043/ibm/console]]></programlisting>
+ </para>
+ </listitem>
+ <listitem>
+ <para>Access the <literal>Enterprise
+ Application</literal> menu option under the
+ <literal>Applications</literal> top menu. </para>
+ </listitem>
+ <listitem>
+ <para>At the top of the <literal>Enterprise
+ Application</literal> table select
+ <literal>Install</literal>. Below are installation
+ wizard pages and what needs to done on each.
+ <itemizedlist>
+ <listitem>
+ <para><literal>Preparing for the application
+ installation</literal>
+ <itemizedlist>
+ <listitem>
+ <para>Browse to the
+ <literal>examples/jee5/booking/dist/jboss-seam-jee5.ear</literal>
+ file using the file upload widget.
+ </para>
+ </listitem>
+ <listitem>
+ <para>Select the
+ <literal>Next</literal>
+ button.</para>
+ </listitem>
+ </itemizedlist> </para>
+ </listitem>
+ <listitem>
+ <para><literal>Select installation
+ options</literal>
+ <itemizedlist>
+ <listitem>
+ <para>Select the <literal>Deploy
+ enterprise beans</literal>
+ check box. This is needed unless you
+ used a Websphere tool to package the
+ application. </para>
+ </listitem>
+ <listitem>
+ <para>Select the
+ <literal>Next</literal>
+ button.</para>
+ </listitem>
+ </itemizedlist> </para>
+ </listitem>
+ <listitem>
+ <para><literal>Map modules to
+ servers</literal>
+ <itemizedlist>
+ <listitem>
+ <para>No changes needed here as we only
+ have one server. Select the
+ <literal>Next</literal>
+ button.</para>
+ </listitem>
+ </itemizedlist> </para>
+ </listitem>
+ <listitem>
+ <para><literal>Map EJB references to
+ beans</literal> This page will list all of the
+ beans that we entered in the web.xml.
+ <itemizedlist>
+ <listitem>
+ <para>Make sure that <literal>Allow
+ EJB reference targets to resolve
+ automatically</literal> check box
+ is selected. This will tell
+ Websphere to bind our EJB3 beans to
+ the EJB references in the web
+ module.</para>
+ </listitem>
+ <listitem>
+ <para>Select the
+ <literal>Next</literal>
+ button.</para>
+ </listitem>
+ </itemizedlist> </para>
+ </listitem>
+ <listitem>
+ <para><literal>Map virtual hosts for Web
+ modules</literal>
+ <itemizedlist>
+ <listitem>
+ <para>No changes needed here. Select
+ the <literal>Next</literal>
+ button.</para>
+ </listitem>
+ </itemizedlist> </para>
+ </listitem>
+ <listitem>
+ <para><literal>Summary</literal>
+ <itemizedlist>
+ <listitem>
+ <para>No changes needed here. Select
+ the <literal>Finish</literal>
+ button.</para>
+ </listitem>
+ </itemizedlist> </para>
+ </listitem>
+ <listitem>
+ <para><literal>Installation</literal>
+ <itemizedlist>
+ <listitem>
+ <para>Now you will see it installing and
+ deploying your
+ application.</para>
+ </listitem>
+ <listitem>
+ <para>When if finishes select the
+ <literal>Save</literal> link and
+ you will be returned to the
+ <literal>Enterprise
+ Applications</literal>
+ table.</para>
+ </listitem>
+ </itemizedlist> </para>
+ </listitem>
+ </itemizedlist> </para>
+ </listitem>
+ <listitem id="websphere-app-adj-after-install" xreflabel="installation adjustments for jee5 example">
+ <para>Now that we have our application installed we need to
+ make some adjustments to it before we can start it.
+ <itemizedlist>
+ <listitem>
+ <para>Starting from the <literal>Enterprise
+ Applications</literal> table select the
+ <literal>Seam Booking</literal>
+ link.</para>
+ </listitem>
+ <listitem>
+ <para>Select the <literal>Manage
+ Modules</literal> link.</para>
+ </listitem>
+ <listitem>
+ <para>Select the
+ <literal>jboss-seam-jee5.war</literal>
+ link.</para>
+ </listitem>
+ <listitem>
+ <para>Change the <literal>Class loader
+ order</literal> combo box to say
+ <literal>Classes loaded with application
+ class loader first</literal>.</para>
+ </listitem>
+ <listitem>
+ <para>Select <literal>Apply</literal> and then
+ <literal>Save</literal> options.</para>
+ </listitem>
+ <listitem>
+ <para>Return the <literal>Seam
+ Booking</literal> page.</para>
+ </listitem>
+ <listitem>
+ <para>On this page select the <literal>Class
+ loading and update detection</literal>
+ link.</para>
+ </listitem>
+ <listitem>
+ <para>Select the radio button for
+ <literal>Classes loaded with application
+ class loader first</literal>.</para>
+ </listitem>
+ <listitem>
+ <para>Even though we are not enabling class reload
+ you must also enter a valid number in the
+ <literal>Polling interval for updated
+ files</literal> text area (zero works
+ fine).</para>
+ </listitem>
+ <listitem>
+ <para>Select <literal>Apply</literal> and then
+ <literal>Save</literal> options.</para>
+ </listitem>
+ <listitem>
+ <para>You should verify that the change you just
+ made has stuck. We had problems with the last
+ class loader change not taking effect - even
+ after a restart. If the change did not take you
+ will need to do it manually following these
+ directions
+ <itemizedlist>
+ <listitem>
+ <para> Open the following file in a text
+ editor of your choice:
+
+
+ <programlisting><![CDATA[
+$WebSphereInstall/$yourServerName/profiles/$yourProfileName/config/cells/
+ $yourCellName/applications/Seam Booking.ear/deployments/
+ Seam Booking/deployment.xml]]></programlisting>
+ </para>
+ </listitem>
+ <listitem>
+ <para> Modify the following line so that
+ <literal>PARENT_FIRST</literal>
+ is now
+ <literal>PARENT_LAST</literal>:
+
+
+ <programlisting><![CDATA[
+<classloader xmi:id="Classloader_#######" mode="PARENT_FIRST"/>]]></programlisting>
+ </para>
+ </listitem>
+ <listitem>
+ <para> Save the file and now when go to the
+ <literal>Class loading and update
+ detection</literal> page you
+ should see <literal>Classes loaded
+ with application class loader
+ first</literal> selected. </para>
+ </listitem>
+ </itemizedlist> </para>
+ </listitem>
+ </itemizedlist> </para>
+ </listitem>
+ <listitem>
+ <para>To start the application return to the
+ <literal>Enterprise Applications</literal> table and
+ select our application in the list. Then choose the
+ <literal>Start</literal> button at the top of the
+ table.</para>
+ </listitem>
+ <listitem>
+ <para>You can now access the application at
+ <literal>http://localhost:9080/seam-jee5/</literal>
+ .</para>
+ </listitem>
+ </orderedlist>
+ <note>
+ <title>A note about Websphere Stateful bean timeouts</title>
+ <para>The default timeout period for a Websphere 6.1 Stateful
+ EJB is 10 minutes. This means that you may see some EJB timeout
+ exceptions after some idle time. It is possible to adjust the
+ timeout of the Stateful EJBs on an individual basis, but
+ that is beyond the scope of this document. See the Websphere
+ documentation for details.
+ </para>
+ </note>
+ </para>
+ </section>
+
+ </section>
+
+ <section>
+ <title> The <literal>jpa</literal> booking example </title>
+ <para>Thankfully getting the <literal>jpa</literal> example to work is
+ much easier than the <literal>jee5</literal> example. This is the
+ Hotel Booking example implemented in Seam POJOs and using Hibernate JPA
+ with JPA transactions. It does not require EJB3 support to
+ run.</para>
+
+ <para> The example already has a breakout of configurations and build
+ scripts for many of the common containers including Websphere.</para>
+
+ <para>First thing we are going to do is build and deploy that example. Then
+ we'll go over some key changes that we needed.</para>
+
+ <section>
+ <title>Building the <literal>jpa</literal> example</title>
+ <para> Building it only requires running the correct ant command:
+ <programlisting>ant websphere61</programlisting>
+ This will create container specific distribution and exploded
+ archive directories with the <literal>websphere61</literal> label.</para>
+ </section>
+ <section>
+ <title>Deploying the <literal>jpa</literal> example</title>
+ <para>This is similar to the <literal>jee5</literal> example at
+ <xref linkend="jee5-websphere-deploy"/>, but without so many steps.
+ </para>
+ <itemizedlist>
+ <listitem>
+ <para>From the <literal>Enterprise Applications</literal> table
+ select the <literal>Install</literal> button.
+ <itemizedlist>
+ <listitem>
+ <para><literal>Preparing for the application
+ installation</literal>
+ <itemizedlist>
+ <listitem>
+ <para>Browse to the
+ <literal>examples/jpa/dist-websphere61/jboss-seam-jpa.war</literal>
+ file using the file upload widget.
+ </para>
+ </listitem>
+ <listitem>
+ <para>In the <literal>Context root</literal> text box
+ enter <literal>jboss-seam-jpa</literal>.
+ </para>
+ </listitem>
+ <listitem>
+ <para>Select the <literal>Next</literal> button.
+ </para>
+ </listitem>
+ </itemizedlist> </para>
+ </listitem>
+ <listitem>
+ <para>Select the <literal>Next</literal> button for the next
+ three pages, no changes are needed.
+ </para>
+ </listitem>
+ <listitem>
+ <para><literal>Summary</literal> page
+ <itemizedlist>
+ <listitem>
+ <para>Review the settings if you wish and select
+ the <literal>Finish</literal> button to install
+ the application. When installation finished select the <literal>
+ Save</literal> link and you will be returned to the
+ <literal>Enterprise Applications</literal> table.
+ </para>
+ </listitem>
+ </itemizedlist> </para>
+ </listitem>
+ </itemizedlist>
+ </para>
+ </listitem>
+ <listitem>
+ <para>As with the <literal>jee5</literal> example there are some
+ class loader changes needed before we start the application.
+ Follow the instructions at <xref linkend="websphere-app-adj-after-install"/>
+ but exchange <literal>jboss-seam-jpa</literal> for <literal>Seam Booking</literal>.
+ </para>
+ </listitem>
+ <listitem>
+ <para>Finally start the application by selecting it in the
+ <literal>Enterprise Applications</literal> table and clicking
+ the <literal>Start</literal> button.
+ </para>
+ </listitem>
+ <listitem>
+ <para>You can now access the application at the
+ <literal>http://localhost:9080/jboss-seam-jpa/index.html</literal>.
+ </para>
+ </listitem>
+ </itemizedlist>
+ </section>
+
+ <section>
+ <title>Whats different for Websphere 6.1</title>
+ <para>The differences between the JPA examples that deploys to JBoss
+ 4.2 and Websphere 6.1 are mostly expected; library and
+ configuration file changes. </para>
+ <itemizedlist>
+ <listitem>
+ <para>Configuration file changes
+ <itemizedlist>
+ <listitem>
+ <para><literal>WEB-INF/web.xml</literal>
+ — the only significant change is that
+ Websphere 6.1 only support <literal>Servlet
+ 2.4</literal> so the top of this file was changed.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <literal>META-INF/persistence.xml</literal>
+ — the main changes here are for the
+ datasource JNDI path, switching to the Websphere
+ 6.1 transaction manager look up class, and
+ changing the hibernate dialect to be
+ <literal>GlassfishDerbyDialect</literal>
+ .</para>
+ </listitem>
+ <listitem>
+ <para>
+ <literal>WEB-INF/classes/GlassfishDerbyDialect.class
+ </literal> — this class is needed for the
+ hibernate dialect change to
+ <literal>GlassfishDerbyDialect</literal>
+ </para>
+ </listitem>
+ <listitem>
+ <para><literal>import.sql</literal> —
+ either for the dialect or Derby DB the
+ <literal>ID</literal> column can not be
+ populated by this file and was removed.
+ </para>
+ </listitem>
+ </itemizedlist> </para>
+ </listitem>
+ <listitem>
+ <para>Changes for dependent libraries</para>
+ <para><literal>WEB-INF/lib</literal> — The Websphere
+ version requires several library packages because they are
+ not included as they are with JBoss AS. These are primarily for
+ hibernate, JSF-RI support and their dependencies. Below are
+ listed only the additional jars needed above and beyond the JBoss
+ <literal>JPA</literal> example.
+ <itemizedlist>
+ <listitem>
+ <para> To use Hibernate as your JPA provider you need
+ the following jars:
+ <itemizedlist>
+ <listitem>
+ <simpara>
+ <literal>hibernate.jar</literal>
+ </simpara>
+ </listitem>
+ <listitem>
+ <simpara>
+ <literal>hibernate-annotations.jar</literal>
+ </simpara>
+ </listitem>
+ <listitem>
+ <simpara>
+ <literal>hibernate-commons-annotations.jar</literal>
+ </simpara>
+ </listitem>
+ <listitem>
+ <simpara>
+ <literal>hibernate-entitymanager.jar</literal>
+ </simpara>
+ </listitem>
+ <listitem>
+ <simpara>
+ <literal>hibernate-validator.jar</literal>
+ </simpara>
+ </listitem>
+ <listitem>
+ <simpara>
+ <literal>commons-collections.jar</literal>
+ </simpara>
+ </listitem>
+ <listitem>
+ <simpara>
+ <literal>jboss-archive-browsing.jar</literal>
+ </simpara>
+ </listitem>
+ </itemizedlist> </para>
+ </listitem>
+ <listitem>
+ <para>Seam requires JSF 1.2 and these are the jars needed
+ for that. Websphere 6.1 ships with its own implementation
+ of JSF 1.1.
+ <itemizedlist>
+ <listitem>
+ <simpara>
+ <literal>jsf-api.jar</literal>
+ </simpara>
+ </listitem>
+ <listitem>
+ <simpara>
+ <literal>jsf-impl.jar</literal>
+ </simpara>
+ </listitem>
+ <listitem>
+ <simpara> <literal>el-ri.jar</literal>
+ </simpara>
+ </listitem>
+ <listitem>
+ <simpara> <literal>el-api.jar</literal>
+ </simpara>
+ </listitem>
+ </itemizedlist> </para>
+ </listitem>
+ <listitem>
+ <para>Various third party jars that Websphere needs:
+ <itemizedlist>
+ <listitem>
+ <simpara> <literal>antlr.jar</literal>
+ </simpara>
+ </listitem>
+ <listitem>
+ <simpara> <literal>cglib.jar</literal>
+ </simpara>
+ </listitem>
+ <listitem>
+ <simpara> <literal>asm.jar</literal>
+ </simpara>
+ </listitem>
+ <listitem>
+ <simpara> <literal>dom4j.jar</literal>
+ </simpara>
+ </listitem>
+ <listitem>
+ <simpara>
+ <literal>javassist.jar</literal>
+ </simpara>
+ </listitem>
+ </itemizedlist> </para>
+ </listitem>
+ </itemizedlist> </para>
+ </listitem>
+ </itemizedlist>
+
+ </section>
+
+
+ </section>
+
+</chapter>
16 years, 11 months
Seam SVN: r7269 - trunk/examples/jee5.
by seam-commits@lists.jboss.org
Author: jbalunas(a)redhat.com
Date: 2008-01-28 16:57:16 -0500 (Mon, 28 Jan 2008)
New Revision: 7269
Modified:
trunk/examples/jee5/readme.txt
Log:
Modified for reference guide updated
Modified: trunk/examples/jee5/readme.txt
===================================================================
--- trunk/examples/jee5/readme.txt 2008-01-28 21:52:32 UTC (rev 7268)
+++ trunk/examples/jee5/readme.txt 2008-01-28 21:57:16 UTC (rev 7269)
@@ -123,3 +123,13 @@
hibernate to throw an exception (discussed here for Weblogic, but the same applies to OC4J -
http://hibernate.org/250.html#A23). You can also work around this by putting the hibernate
jars in $ORACLE_HOME/j2ee/home/applib/
+
+WebLogic 10.3 TP
+---------------------------
+There are known issues with Weblogic's EJB3 implementation that cause Seam EJB's
+to fail when deployed. Please refer to the Seam reference guide for additional information.
+
+WebSphere 6.1.0.13 with EJB3 feature pack
+---------------------------
+The instructions for integration with Websphere are fairly verbose. Please
+refer to the Seam reference guide for additional information.
16 years, 11 months
Seam SVN: r7268 - trunk/examples/jpa.
by seam-commits@lists.jboss.org
Author: jbalunas(a)redhat.com
Date: 2008-01-28 16:52:32 -0500 (Mon, 28 Jan 2008)
New Revision: 7268
Modified:
trunk/examples/jpa/readme.txt
Log:
updated for websphere reference chapter
Modified: trunk/examples/jpa/readme.txt
===================================================================
--- trunk/examples/jpa/readme.txt 2008-01-28 21:52:19 UTC (rev 7267)
+++ trunk/examples/jpa/readme.txt 2008-01-28 21:52:32 UTC (rev 7268)
@@ -39,6 +39,8 @@
WebSphere 6.1:
* Install and run WebSphere 6.1
+ * Set a Websphere web container custom property "com.ibm.ws.webcontainer.invokefilterscompatibility" to true. See Seam reference guide chapter for details.
+ * Set a Websphere web container custom property "prependSlashToResource" to true. See Seam reference guide chapter for details.
* ant websphere61
* Deploy dist-websphere61/jboss-seam-jpa.war and specify a context_root
* From the "Enterprise Applications" list select: "jboss-seam-jpa" --> "Manager Modules" --> "jboss-seam-jpa.war" --> "Classes loaded with application class loader first", and then Apply
16 years, 11 months
Seam SVN: r7267 - trunk/examples/jpa.
by seam-commits@lists.jboss.org
Author: jbalunas(a)redhat.com
Date: 2008-01-28 16:52:19 -0500 (Mon, 28 Jan 2008)
New Revision: 7267
Modified:
trunk/examples/jpa/build-websphere61.xml
Log:
updated for websphere reference chapter
Modified: trunk/examples/jpa/build-websphere61.xml
===================================================================
--- trunk/examples/jpa/build-websphere61.xml 2008-01-28 21:52:03 UTC (rev 7266)
+++ trunk/examples/jpa/build-websphere61.xml 2008-01-28 21:52:19 UTC (rev 7267)
@@ -3,7 +3,7 @@
<project name="JPA Booking" default="noejb.archive" basedir=".">
<!-- Naming -->
- <property name="Name" value="The JPA Example for WebSphere 6.1.0.9"/>
+ <property name="Name" value="The JPA Example for WebSphere 6.1.0.13 + EJB3 FP"/>
<property name="example.name" value="jboss-seam-jpa"/>
<!-- resources -->
@@ -31,7 +31,6 @@
<!-- JSF (and related) implementation -->
<include name="lib/jsf-api.jar"/>
<include name="lib/jsf-impl.jar"/>
- <include name="lib/jstl.jar"/>
<include name="examples/jpa/lib/el-ri.jar"/>
<include name="lib/el-api.jar" />
@@ -42,14 +41,13 @@
<include name="lib/hibernate-entitymanager.jar"/>
<include name="lib/hibernate-validator.jar"/>
<include name="examples/jpa/lib/jboss-archive-browsing.jar" />
- <include name="lib/persistence-api.jar" />
<include name="lib/cglib.jar"/>
+ <include name="lib/asm.jar"/>
<include name="lib/antlr.jar" />
</fileset>
<fileset id="noejb.war.extras" dir="${resources.dir}">
<include name="WEB-INF/classes/**/*" />
- <include name="META-INF/*.taglib.xml" />
</fileset>
</project>
16 years, 11 months
Seam SVN: r7266 - trunk/examples/jpa.
by seam-commits@lists.jboss.org
Author: jbalunas(a)redhat.com
Date: 2008-01-28 16:52:03 -0500 (Mon, 28 Jan 2008)
New Revision: 7266
Modified:
trunk/examples/jpa/build.xml
Log:
updated for websphere reference chapter
Modified: trunk/examples/jpa/build.xml
===================================================================
--- trunk/examples/jpa/build.xml 2008-01-28 21:50:43 UTC (rev 7265)
+++ trunk/examples/jpa/build.xml 2008-01-28 21:52:03 UTC (rev 7266)
@@ -22,7 +22,7 @@
<ant antfile="build-weblogic92.xml"/>
</target>
- <target name="websphere61" description="Build the JPA artifacts, suitable for deployment to WebSphere 6.1.0.9">
+ <target name="websphere61" description="Build the JPA artifacts, suitable for deployment to WebSphere 6.1.0.13 + EJB3 FP">
<ant antfile="build-websphere61.xml"/>
</target>
16 years, 11 months
Seam SVN: r7265 - in trunk/examples/jpa/resources-websphere61: WEB-INF and 1 other directory.
by seam-commits@lists.jboss.org
Author: jbalunas(a)redhat.com
Date: 2008-01-28 16:50:43 -0500 (Mon, 28 Jan 2008)
New Revision: 7265
Removed:
trunk/examples/jpa/resources-websphere61/META-INF/ajax4jsf.taglib.xml
trunk/examples/jpa/resources-websphere61/META-INF/jsf-core.taglib.xml
trunk/examples/jpa/resources-websphere61/META-INF/jsf-html.taglib.xml
trunk/examples/jpa/resources-websphere61/META-INF/jsf-ui.taglib.xml
trunk/examples/jpa/resources-websphere61/META-INF/rich.taglib.xml
trunk/examples/jpa/resources-websphere61/META-INF/s.taglib.xml
Modified:
trunk/examples/jpa/resources-websphere61/META-INF/persistence.xml
trunk/examples/jpa/resources-websphere61/WEB-INF/components.xml
trunk/examples/jpa/resources-websphere61/WEB-INF/web.xml
Log:
Modified for latest release of Websphere reference chapter.
Deleted: trunk/examples/jpa/resources-websphere61/META-INF/ajax4jsf.taglib.xml
===================================================================
--- trunk/examples/jpa/resources-websphere61/META-INF/ajax4jsf.taglib.xml 2008-01-28 21:44:12 UTC (rev 7264)
+++ trunk/examples/jpa/resources-websphere61/META-INF/ajax4jsf.taglib.xml 2008-01-28 21:50:43 UTC (rev 7265)
@@ -1,233 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE facelet-taglib PUBLIC
- "-//Sun Microsystems, Inc.//DTD Facelet Taglib 1.0//EN"
- "http://java.sun.com/dtd/facelet-taglib_1_0.dtd">
-<facelet-taglib xmlns="http://java.sun.com/JSF/Facelet">
-<namespace>http://richfaces.org/a4j</namespace>
-
-<tag>
- <tag-name>ajaxListener</tag-name>
- <handler-class>
- org.ajax4jsf.taglib.html.facelets.AjaxListenerHandler
- </handler-class>
-
- </tag><tag>
- <tag-name>facet</tag-name>
- <handler-class>
- org.ajax4jsf.taglib.html.facelets.FacetHandler
- </handler-class>
-
- </tag><tag>
- <tag-name>keepAlive</tag-name>
- <handler-class>
- org.ajax4jsf.taglib.html.facelets.KeepAliveHandler
- </handler-class>
- </tag><tag>
- <tag-name>jsFunction</tag-name>
- <component>
- <component-type>org.ajax4jsf.Function</component-type>
- <renderer-type>
- org.ajax4jsf.components.AjaxFunctionRenderer
- </renderer-type>
- </component>
-
- </tag><tag>
- <tag-name>status</tag-name>
- <component>
- <component-type>org.ajax4jsf.Status</component-type>
- <renderer-type>
- org.ajax4jsf.components.AjaxStatusRenderer
- </renderer-type>
- </component>
-
- </tag><tag>
- <tag-name>portlet</tag-name>
- <component>
- <component-type>org.ajax4jsf.Portlet</component-type>
- </component>
-
- </tag><tag>
- <tag-name>push</tag-name>
- <component>
- <component-type>org.ajax4jsf.Push</component-type>
- <renderer-type>
- org.ajax4jsf.components.AjaxPushRenderer
- </renderer-type>
- <handler-class>
- org.ajax4jsf.taglib.html.facelets.AjaxPushHandler
- </handler-class>
- </component>
-
- </tag><tag>
- <tag-name>repeat</tag-name>
- <component>
- <component-type>org.ajax4jsf.Repeat</component-type>
- <renderer-type>
- org.ajax4jsf.components.RepeatRenderer
- </renderer-type>
- </component>
-
- </tag><tag>
- <tag-name>commandButton</tag-name>
- <component>
- <component-type>org.ajax4jsf.CommandButton</component-type>
- <renderer-type>
- org.ajax4jsf.components.AjaxCommandButtonRenderer
- </renderer-type>
- <handler-class>
- org.ajax4jsf.webapp.taglib.AjaxComponentHandler
- </handler-class>
- </component>
-
- </tag><tag>
- <tag-name>actionparam</tag-name>
- <component>
- <component-type>org.ajax4jsf.ActionParameter</component-type>
- <handler-class>
- org.ajax4jsf.taglib.html.facelets.ActionParamHandler
- </handler-class>
- </component>
-
- </tag><tag>
- <tag-name>loadScript</tag-name>
- <component>
- <component-type>org.ajax4jsf.LoadScript</component-type>
- <renderer-type>
- org.ajax4jsf.LoadScriptRenderer
- </renderer-type>
- </component>
-
- </tag><tag>
- <tag-name>outputPanel</tag-name>
- <component>
- <component-type>org.ajax4jsf.OutputPanel</component-type>
- <renderer-type>
- org.ajax4jsf.components.AjaxOutputPanelRenderer
- </renderer-type>
- </component>
-
- </tag><tag>
- <tag-name>loadBundle</tag-name>
- <component>
- <component-type>org.ajax4jsf.Bundle</component-type>
- </component>
-
- </tag><tag>
- <tag-name>mediaOutput</tag-name>
- <component>
- <component-type>org.ajax4jsf.MediaOutput</component-type>
- <renderer-type>
- org.ajax4jsf.MediaOutputRenderer
- </renderer-type>
- <handler-class>
- org.ajax4jsf.taglib.html.facelets.MediaOutputHandler
- </handler-class>
- </component>
-
- </tag><tag>
- <tag-name>log</tag-name>
- <component>
- <component-type>org.ajax4jsf.Log</component-type>
- <renderer-type>
- org.ajax4jsf.LogRenderer
- </renderer-type>
- </component>
-
- </tag><tag>
- <tag-name>region</tag-name>
- <component>
- <component-type>org.ajax4jsf.AjaxRegion</component-type>
- <renderer-type>
- org.ajax4jsf.components.AjaxRegionRenderer
- </renderer-type>
- </component>
-
- </tag><tag>
- <tag-name>form</tag-name>
- <component>
- <component-type>org.ajax4jsf.Form</component-type>
- <renderer-type>
- org.ajax4jsf.FormRenderer
- </renderer-type>
- <handler-class>
- org.ajax4jsf.webapp.taglib.AjaxComponentHandler
- </handler-class>
- </component>
-
- </tag><tag>
- <tag-name>htmlCommandLink</tag-name>
- <component>
- <component-type>javax.faces.HtmlCommandLink</component-type>
- <renderer-type>
- org.ajax4jsf.HtmlCommandLinkRenderer
- </renderer-type>
- </component>
-
- </tag><tag>
- <tag-name>commandLink</tag-name>
- <component>
- <component-type>org.ajax4jsf.CommandLink</component-type>
- <renderer-type>
- org.ajax4jsf.components.AjaxCommandLinkRenderer
- </renderer-type>
- <handler-class>
- org.ajax4jsf.webapp.taglib.AjaxComponentHandler
- </handler-class>
- </component>
-
- </tag><tag>
- <tag-name>support</tag-name>
- <component>
- <component-type>org.ajax4jsf.Support</component-type>
- <renderer-type>
- org.ajax4jsf.components.AjaxSupportRenderer
- </renderer-type>
- <handler-class>
- org.ajax4jsf.taglib.html.facelets.AjaxSupportHandler
- </handler-class>
- </component>
-
- </tag><tag>
- <tag-name>loadStyle</tag-name>
- <component>
- <component-type>org.ajax4jsf.LoadStyle</component-type>
- <renderer-type>
- org.ajax4jsf.LoadStyleRenderer
- </renderer-type>
- </component>
-
- </tag><tag>
- <tag-name>poll</tag-name>
- <component>
- <component-type>org.ajax4jsf.Poll</component-type>
- <renderer-type>
- org.ajax4jsf.components.AjaxPollRenderer
- </renderer-type>
- <handler-class>
- org.ajax4jsf.webapp.taglib.AjaxComponentHandler
- </handler-class>
- </component>
-
- </tag><tag>
- <tag-name>page</tag-name>
- <component>
- <component-type>org.ajax4jsf.components.Page</component-type>
- <renderer-type>
- org.ajax4jsf.components.AjaxPageRenderer
- </renderer-type>
- </component>
-
- </tag><tag>
- <tag-name>include</tag-name>
- <component>
- <component-type>org.ajax4jsf.Include</component-type>
- <renderer-type>
- org.ajax4jsf.components.AjaxIncludeRenderer
- </renderer-type>
- <handler-class>
- org.ajax4jsf.taglib.html.facelets.IncludeHandler
- </handler-class>
- </component>
-
- </tag>
-</facelet-taglib>
\ No newline at end of file
Deleted: trunk/examples/jpa/resources-websphere61/META-INF/jsf-core.taglib.xml
===================================================================
--- trunk/examples/jpa/resources-websphere61/META-INF/jsf-core.taglib.xml 2008-01-28 21:44:12 UTC (rev 7264)
+++ trunk/examples/jpa/resources-websphere61/META-INF/jsf-core.taglib.xml 2008-01-28 21:50:43 UTC (rev 7265)
@@ -1,26 +0,0 @@
-<?xml version="1.0"?>
-
-<!--
- Copyright 2005 Sun Microsystems, Inc. All rights reserved.
- Licensed under the Common Development and Distribution License,
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.sun.com/cddl/
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
- implied. See the License for the specific language governing
- permissions and limitations under the License.
-
- $Id: jsf-core.taglib.xml,v 1.3 2005/07/27 04:47:46 jhook Exp $
--->
-
-<!DOCTYPE facelet-taglib PUBLIC
- "-//Sun Microsystems, Inc.//DTD Facelet Taglib 1.0//EN"
- "http://java.sun.com/dtd/facelet-taglib_1_0.dtd">
-
-<facelet-taglib>
- <library-class>com.sun.facelets.tag.jsf.core.CoreLibrary</library-class>
-</facelet-taglib>
\ No newline at end of file
Deleted: trunk/examples/jpa/resources-websphere61/META-INF/jsf-html.taglib.xml
===================================================================
--- trunk/examples/jpa/resources-websphere61/META-INF/jsf-html.taglib.xml 2008-01-28 21:44:12 UTC (rev 7264)
+++ trunk/examples/jpa/resources-websphere61/META-INF/jsf-html.taglib.xml 2008-01-28 21:50:43 UTC (rev 7265)
@@ -1,26 +0,0 @@
-<?xml version="1.0"?>
-
-<!--
- Copyright 2005 Sun Microsystems, Inc. All rights reserved.
- Licensed under the Common Development and Distribution License,
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.sun.com/cddl/
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
- implied. See the License for the specific language governing
- permissions and limitations under the License.
-
- $Id: jsf-html.taglib.xml,v 1.3 2005/07/27 04:47:46 jhook Exp $
--->
-
-<!DOCTYPE facelet-taglib PUBLIC
- "-//Sun Microsystems, Inc.//DTD Facelet Taglib 1.0//EN"
- "http://java.sun.com/dtd/facelet-taglib_1_0.dtd">
-
-<facelet-taglib>
- <library-class>com.sun.facelets.tag.jsf.html.HtmlLibrary</library-class>
-</facelet-taglib>
\ No newline at end of file
Deleted: trunk/examples/jpa/resources-websphere61/META-INF/jsf-ui.taglib.xml
===================================================================
--- trunk/examples/jpa/resources-websphere61/META-INF/jsf-ui.taglib.xml 2008-01-28 21:44:12 UTC (rev 7264)
+++ trunk/examples/jpa/resources-websphere61/META-INF/jsf-ui.taglib.xml 2008-01-28 21:50:43 UTC (rev 7265)
@@ -1,26 +0,0 @@
-<?xml version="1.0"?>
-
-<!--
- Copyright 2005 Sun Microsystems, Inc. All rights reserved.
- Licensed under the Common Development and Distribution License,
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.sun.com/cddl/
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
- implied. See the License for the specific language governing
- permissions and limitations under the License.
-
- $Id: jsf-ui.taglib.xml,v 1.2 2005/07/18 08:25:39 jhook Exp $
--->
-
-<!DOCTYPE facelet-taglib PUBLIC
- "-//Sun Microsystems, Inc.//DTD Facelet Taglib 1.0//EN"
- "http://java.sun.com/dtd/facelet-taglib_1_0.dtd">
-
-<facelet-taglib>
- <library-class>com.sun.facelets.tag.ui.UILibrary</library-class>
-</facelet-taglib>
\ No newline at end of file
Modified: trunk/examples/jpa/resources-websphere61/META-INF/persistence.xml
===================================================================
--- trunk/examples/jpa/resources-websphere61/META-INF/persistence.xml 2008-01-28 21:44:12 UTC (rev 7264)
+++ trunk/examples/jpa/resources-websphere61/META-INF/persistence.xml 2008-01-28 21:50:43 UTC (rev 7265)
@@ -1,24 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
-<persistence>
- <persistence-unit name="bookingDatabase" transaction-type="JTA">
+<persistence xmlns="http://java.sun.com/xml/ns/persistence"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd"
+ version="1.0">
+ <persistence-unit name="bookingDatabase" transaction-type="RESOURCE_LOCAL">
<provider>org.hibernate.ejb.HibernatePersistence</provider>
<jta-data-source>DefaultDatasource</jta-data-source>
<properties>
- <!--
- <property name="hibernate.dialect"
- value="org.hibernate.dialect.PointbaseDialect"/>
- -->
<!-- From WAS 6.1.0.9, the embedded DB is switched to the same Derby DB in Glassfish -->
- <property name="hibernate.dialect"
- value="GlassfishDerbyDialect"/>
+ <property name="hibernate.dialect" value="GlassfishDerbyDialect"/>
<property name="hibernate.hbm2ddl.auto" value="create-drop"/>
<property name="hibernate.show_sql" value="true"/>
<property name="hibernate.cache.provider_class" value="org.hibernate.cache.HashtableCacheProvider"/>
- <property name="hibernate.transaction.manager_lookup_class" value="org.hibernate.transaction.WebSphereExtendedJTATransactionLookup"/>
- <!-- alternative
- <property name="jboss.entity.manager.factory.jndi.name"
- value="java:/jpaBookingEntityManagerFactory"/>
- -->
+ <property name="hibernate.transaction.manager_lookup_class" value="org.hibernate.transaction.WebSphereExtendedJTATransactionLookup"/>
</properties>
</persistence-unit>
</persistence>
Deleted: trunk/examples/jpa/resources-websphere61/META-INF/rich.taglib.xml
===================================================================
--- trunk/examples/jpa/resources-websphere61/META-INF/rich.taglib.xml 2008-01-28 21:44:12 UTC (rev 7264)
+++ trunk/examples/jpa/resources-websphere61/META-INF/rich.taglib.xml 2008-01-28 21:50:43 UTC (rev 7265)
@@ -1,546 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE facelet-taglib PUBLIC
- "-//Sun Microsystems, Inc.//DTD Facelet Taglib 1.0//EN"
- "http://java.sun.com/dtd/facelet-taglib_1_0.dtd">
-<facelet-taglib xmlns="http://java.sun.com/JSF/Facelet">
-<namespace>http://richfaces.org/rich</namespace>
-
-<tag>
- <tag-name>dndParam</tag-name>
- <component>
- <component-type>org.richfaces.DndParam</component-type>
- </component>
-
- </tag><tag>
- <tag-name>dropSupport</tag-name>
- <component>
- <component-type>org.richfaces.DropSupport</component-type>
- <renderer-type>
- org.richfaces.DropSupportRenderer
- </renderer-type>
- <handler-class>
- org.richfaces.taglib.DropSupportHandler
- </handler-class>
- </component>
-
- </tag><tag>
- <tag-name>dragIndicator</tag-name>
- <component>
- <component-type>org.richfaces.DragIndicator</component-type>
- <renderer-type>
- org.richfaces.DragIndicatorRenderer
- </renderer-type>
- </component>
-
- </tag><tag>
- <tag-name>dragSupport</tag-name>
- <component>
- <component-type>org.richfaces.DragSupport</component-type>
- <renderer-type>
- org.richfaces.DragSupportRenderer
- </renderer-type>
- <handler-class>
- org.richfaces.taglib.DragSupportHandler
- </handler-class>
- </component>
-
- </tag><tag>
- <tag-name>dropListener</tag-name>
- <handler-class>
- org.richfaces.taglib.DropListenerHandler
- </handler-class>
-
- </tag><tag>
- <tag-name>dragListener</tag-name>
- <handler-class>
- org.richfaces.taglib.DragListenerHandler
- </handler-class>
-
- </tag><tag>
- <tag-name>effect</tag-name>
- <component>
- <component-type>org.richfaces.Effect</component-type>
- <renderer-type>
- org.richfaces.EffectRenderer
- </renderer-type>
- </component>
-
- </tag><tag>
- <tag-name>panel</tag-name>
- <component>
- <component-type>org.richfaces.panel</component-type>
- <renderer-type>
- org.richfaces.PanelRenderer
- </renderer-type>
- </component>
-
- </tag><tag>
- <tag-name>panelBar</tag-name>
- <component>
- <component-type>org.richfaces.PanelBar</component-type>
- <renderer-type>
- org.richfaces.PanelBarRenderer
- </renderer-type>
- </component>
-
- </tag><tag>
- <tag-name>panelBarItem</tag-name>
- <component>
- <component-type>org.richfaces.PanelBarItem</component-type>
- <renderer-type>
- org.richfaces.PanelBarItemRenderer
- </renderer-type>
- </component>
-
- </tag><tag>
- <tag-name>dataFilterSlider</tag-name>
- <component>
- <component-type>org.richfaces.DataFilterSlider</component-type>
- <renderer-type>
- org.richfaces.DataFilterSliderRenderer
- </renderer-type>
- <handler-class>
- org.richfaces.taglib.DataFilterSliderTagHandler
- </handler-class>
- </component>
-
- </tag><tag>
- <tag-name>sliderListener</tag-name>
- <handler-class>
- org.richfaces.taglib.DataFilterSliderListenerTagHandler
- </handler-class>
-
- </tag><tag>
- <tag-name>gmap</tag-name>
- <component>
- <component-type>org.richfaces.Gmap</component-type>
- <renderer-type>
- org.richfaces.GmapRenderer
- </renderer-type>
- </component>
-
- </tag><tag>
- <tag-name>virtualEarth</tag-name>
- <component>
- <component-type>org.richfaces.VirtualEarth</component-type>
- <renderer-type>
- org.richfaces.VirtualEarthRenderer
- </renderer-type>
- </component>
-
- </tag><tag>
- <tag-name>separator</tag-name>
- <component>
- <component-type>org.richfaces.separator</component-type>
- <renderer-type>
- org.richfaces.SeparatorRenderer
- </renderer-type>
- </component>
-
- </tag><tag>
- <tag-name>spacer</tag-name>
- <component>
- <component-type>org.richfaces.spacer</component-type>
- <renderer-type>
- org.richfaces.SpacerRenderer
- </renderer-type>
- </component>
-
- </tag><tag>
- <tag-name>paint2D</tag-name>
- <component>
- <component-type>org.richfaces.Paint2D</component-type>
- <renderer-type>
- org.richfaces.Paint2DRenderer
- </renderer-type>
- <handler-class>
- org.richfaces.taglib.Paint2DTagHandler
- </handler-class>
- </component>
-
- </tag><tag>
- <tag-name>togglePanel</tag-name>
- <component>
- <component-type>org.richfaces.TogglePanel</component-type>
- <renderer-type>
- org.richfaces.TogglePanelRenderer
- </renderer-type>
- </component>
-
- </tag><tag>
- <tag-name>toggleControl</tag-name>
- <component>
- <component-type>org.richfaces.ToggleControl</component-type>
- <renderer-type>
- org.richfaces.ToggleControlRenderer
- </renderer-type>
- </component>
-
- </tag><tag>
- <tag-name>tabPanel</tag-name>
- <component>
- <component-type>org.richfaces.TabPanel</component-type>
- <renderer-type>
- org.richfaces.TabPanelRenderer
- </renderer-type>
- <handler-class>
- org.richfaces.taglib.TabPanelTagHandler
- </handler-class>
- </component>
-
- </tag><tag>
- <tag-name>tab</tag-name>
- <component>
- <component-type>org.richfaces.Tab</component-type>
- <renderer-type>
- org.richfaces.TabRenderer
- </renderer-type>
- </component>
-
- </tag><tag>
- <tag-name>simpleTogglePanel</tag-name>
- <component>
- <component-type>org.richfaces.SimpleTogglePanel</component-type>
- <renderer-type>
- org.richfaces.SimpleTogglePanelRenderer
- </renderer-type>
- <handler-class>
- org.richfaces.taglib.SimpleTogglePanelTagHandler
- </handler-class>
- </component>
-
- </tag><tag>
- <tag-name>toolBar</tag-name>
- <component>
- <component-type>org.richfaces.ToolBar</component-type>
- <renderer-type>
- org.richfaces.ToolBarRenderer
- </renderer-type>
- </component>
-
- </tag><tag>
- <tag-name>toolBarGroup</tag-name>
- <component>
- <component-type>org.richfaces.ToolBarGroup</component-type>
- <renderer-type>
- org.richfaces.ToolBarGroupRenderer
- </renderer-type>
- </component>
-
- </tag><tag>
- <tag-name>inputNumberSlider</tag-name>
- <component>
- <component-type>org.richfaces.inputNumberSlider</component-type>
- <renderer-type>
- org.richfaces.InputNumberSliderRenderer
- </renderer-type>
- </component>
-
- </tag><tag>
- <tag-name>inputNumberSpinner</tag-name>
- <component>
- <component-type>org.richfaces.inputNumberSpinner</component-type>
- <renderer-type>
- org.richfaces.InputNumberSpinnerRenderer
- </renderer-type>
- </component>
-
- </tag><tag>
- <tag-name>tree</tag-name>
- <component>
- <component-type>org.richfaces.Tree</component-type>
- <renderer-type>
- org.richfaces.TreeRenderer
- </renderer-type>
- <handler-class>
- org.richfaces.taglib.TreeTagHandler
- </handler-class>
- </component>
-
- </tag><tag>
- <tag-name>treeNode</tag-name>
- <component>
- <component-type>org.richfaces.TreeNode</component-type>
- <renderer-type>
- org.richfaces.TreeNodeRenderer
- </renderer-type>
- <handler-class>
- org.richfaces.taglib.TreeNodeTagHandler
- </handler-class>
- </component>
-
- </tag><tag>
- <tag-name>dropListener</tag-name>
- <handler-class>
- org.richfaces.taglib.DropListenerHandler
- </handler-class>
-
- </tag><tag>
- <tag-name>dragListener</tag-name>
- <handler-class>
- org.richfaces.taglib.DragListenerHandler
- </handler-class>
-
- </tag><tag>
- <tag-name>changeExpandListener</tag-name>
- <handler-class>
- org.richfaces.taglib.ChangeExpandListenerTagHandler
- </handler-class>
-
- </tag><tag>
- <tag-name>nodeSelectListener</tag-name>
- <handler-class>
- org.richfaces.taglib.NodeSelectListenerTagHandler
- </handler-class>
-
- </tag><tag>
- <tag-name>suggestionbox</tag-name>
- <component>
- <component-type>org.richfaces.SuggestionBox</component-type>
- <renderer-type>
- org.richfaces.SuggestionBox
- </renderer-type>
- <handler-class>
- org.richfaces.taglib.SuggestionBoxTagHandler
- </handler-class>
- </component>
-
- </tag><tag>
- <tag-name>subTable</tag-name>
- <component>
- <component-type>org.richfaces.SubTable</component-type>
- <renderer-type>
- org.richfaces.SubTableRenderer
- </renderer-type>
- </component>
-
- </tag><tag>
- <tag-name>column</tag-name>
- <component>
- <component-type>org.richfaces.Column</component-type>
- <renderer-type>
- org.richfaces.ColumnRenderer
- </renderer-type>
- </component>
-
- </tag><tag>
- <tag-name>dataList</tag-name>
- <component>
- <component-type>org.richfaces.DataList</component-type>
- <renderer-type>
- org.richfaces.DataListRenderer
- </renderer-type>
- </component>
-
- </tag><tag>
- <tag-name>dataOrderedList</tag-name>
- <component>
- <component-type>org.richfaces.DataOrderedList</component-type>
- <renderer-type>
- org.richfaces.DataOrderedListRenderer
- </renderer-type>
- </component>
-
- </tag><tag>
- <tag-name>dataDefinitionList</tag-name>
- <component>
- <component-type>org.richfaces.DataDefinitionList</component-type>
- <renderer-type>
- org.richfaces.DataDefinitionListRenderer
- </renderer-type>
- </component>
-
- </tag><tag>
- <tag-name>dataGrid</tag-name>
- <component>
- <component-type>org.richfaces.DataGrid</component-type>
- <renderer-type>
- org.richfaces.DataGridRenderer
- </renderer-type>
- </component>
-
- </tag><tag>
- <tag-name>dataTable</tag-name>
- <component>
- <component-type>org.richfaces.DataTable</component-type>
- <renderer-type>
- org.richfaces.DataTableRenderer
- </renderer-type>
- </component>
-
- </tag><tag>
- <tag-name>columnGroup</tag-name>
- <component>
- <component-type>org.richfaces.ColumnGroup</component-type>
- <renderer-type>
- org.richfaces.ColumnGroupRenderer
- </renderer-type>
- </component>
-
- </tag><tag>
- <tag-name>modalPanel</tag-name>
- <component>
- <component-type>org.richfaces.ModalPanel</component-type>
- <renderer-type>
- org.richfaces.ModalPanelRenderer
- </renderer-type>
- </component>
-
- </tag><tag>
- <tag-name>datascroller</tag-name>
- <component>
- <component-type>org.richfaces.Datascroller</component-type>
- <renderer-type>
- org.richfaces.DataScrollerRenderer
- </renderer-type>
- <handler-class>
- org.richfaces.taglib.DataScrollerTagHandler
- </handler-class>
- </component>
-
- </tag><tag>
- <tag-name>scrollerListener</tag-name>
- <handler-class>
- org.richfaces.taglib.DataScrollerListenerTagHandler
- </handler-class>
-
- </tag><tag>
- <tag-name>menuGroup</tag-name>
- <component>
- <component-type>org.richfaces.MenuGroup</component-type>
- <renderer-type>
- org.richfaces.MenuGroupRenderer
- </renderer-type>
- </component>
-
- </tag><tag>
- <tag-name>menuItem</tag-name>
- <component>
- <component-type>org.richfaces.MenuItem</component-type>
- <renderer-type>
- org.richfaces.MenuItemRenderer
- </renderer-type>
- </component>
-
- </tag><tag>
- <tag-name>menuSeparator</tag-name>
- <component>
- <component-type>org.richfaces.MenuSeparator</component-type>
- <renderer-type>
- org.richfaces.MenuSeparatorRenderer
- </renderer-type>
- </component>
-
- </tag><tag>
- <tag-name>dropDownMenu</tag-name>
- <component>
- <component-type>org.richfaces.DropDownMenu</component-type>
- <renderer-type>
- org.richfaces.DropDownMenuRenderer
- </renderer-type>
- <handler-class>
- org.richfaces.taglib.DropDownMenuTagHandler
- </handler-class>
- </component>
-
- </tag><tag>
- <tag-name>toolTip</tag-name>
- <component>
- <component-type>org.richfaces.component.ToolTip</component-type>
- <renderer-type>
- org.richfaces.renderkit.html.ToolTipRenderer
- </renderer-type>
- </component>
-
- </tag><tag>
- <tag-name>panelMenu</tag-name>
- <component>
- <component-type>org.richfaces.PanelMenu</component-type>
- <renderer-type>
- org.richfaces.PanelMenuRenderer
- </renderer-type>
- </component>
-
- </tag><tag>
- <tag-name>panelMenuGroup</tag-name>
- <component>
- <component-type>org.richfaces.PanelMenuGroup</component-type>
- <renderer-type>
- org.richfaces.PanelMenuGroupRenderer
- </renderer-type>
- </component>
-
- </tag><tag>
- <tag-name>panelMenuItem</tag-name>
- <component>
- <component-type>org.richfaces.PanelMenuItem</component-type>
- <renderer-type>
- org.richfaces.PanelMenuItemRenderer
- </renderer-type>
- </component>
-
- </tag><tag>
- <tag-name>calendar</tag-name>
- <component>
- <component-type>org.richfaces.Calendar</component-type>
- <renderer-type>
- org.richfaces.CalendarRenderer
- </renderer-type>
- </component>
-
- </tag><tag>
- <tag-name>currentDateChangeListener</tag-name>
- <handler-class>
- org.richfaces.taglib.CurrentDateChangeListenerTagHandler
- </handler-class>
-
- </tag><tag>
- <tag-name>treeNodesAdaptor</tag-name>
- <component>
- <component-type>org.richfaces.TreeNodesAdaptor</component-type>
- </component>
-
- </tag><tag>
- <tag-name>recursiveTreeNodesAdaptor</tag-name>
- <component>
- <component-type>org.richfaces.RecursiveTreeNodesAdaptor</component-type>
- </component>
-
- </tag><tag>
- <tag-name>message</tag-name>
- <component>
- <component-type>org.richfaces.component.RichMessage</component-type>
- <renderer-type>
- org.richfaces.RichMessageRenderer
- </renderer-type>
- </component>
-
- </tag><tag>
- <tag-name>messages</tag-name>
- <component>
- <component-type>org.richfaces.component.RichMessages</component-type>
- <renderer-type>
- org.richfaces.RichMessagesRenderer
- </renderer-type>
- </component>
-
- </tag><tag>
- <tag-name>scrollableDataTable</tag-name>
- <component>
- <component-type>org.richfaces.component.ScrollableDataTable</component-type>
- <renderer-type>
- org.richfaces.renderkit.html.ScrollableDataTableRenderer
- </renderer-type>
- </component>
-
- </tag><tag>
- <tag-name>insert</tag-name>
- <component>
- <component-type>org.richfaces.ui.Insert</component-type>
- <renderer-type>
- org.richfaces.ui.InsertRenderer
- </renderer-type>
- </component>
-
- </tag>
-</facelet-taglib>
\ No newline at end of file
Deleted: trunk/examples/jpa/resources-websphere61/META-INF/s.taglib.xml
===================================================================
--- trunk/examples/jpa/resources-websphere61/META-INF/s.taglib.xml 2008-01-28 21:44:12 UTC (rev 7264)
+++ trunk/examples/jpa/resources-websphere61/META-INF/s.taglib.xml 2008-01-28 21:50:43 UTC (rev 7265)
@@ -1,196 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE facelet-taglib PUBLIC
- "-//Sun Microsystems, Inc.//DTD Facelet Taglib 1.0//EN"
- "http://java.sun.com/dtd/facelet-taglib_1_0.dtd">
-<facelet-taglib xmlns="http://java.sun.com/JSF/Facelet">
- <namespace>http://jboss.com/products/seam/taglib</namespace>
-
-
-
- <tag>
- <tag-name>button</tag-name>
- <component>
- <component-type>org.jboss.seam.ui.Button</component-type>
- <renderer-type>org.jboss.seam.ui.ButtonRenderer</renderer-type>
- </component>
- </tag>
- <tag>
- <tag-name>cache</tag-name>
- <component>
- <component-type>org.jboss.seam.ui.Cache</component-type>
- <renderer-type>org.jboss.seam.ui.CacheRenderer</renderer-type>
- </component>
- </tag>
- <tag>
- <tag-name>conversationId</tag-name>
- <component>
- <component-type>org.jboss.seam.ui.ConversationId</component-type>
- </component>
- </tag>
- <tag>
- <tag-name>conversationPropagation</tag-name>
- <component>
- <component-type>org.jboss.seam.ui.ConversationPropagation</component-type>
- </component>
- </tag>
- <tag>
- <tag-name>decorate</tag-name>
- <component>
- <component-type>org.jboss.seam.ui.Decorate</component-type>
- <renderer-type>org.jboss.seam.ui.DecorateRenderer</renderer-type>
- <handler-class>org.jboss.seam.ui.handler.DecorateHandler</handler-class>
- </component>
- </tag>
- <tag>
- <tag-name>div</tag-name>
- <component>
- <component-type>org.jboss.seam.ui.Div</component-type>
- <renderer-type>org.jboss.seam.ui.DivRenderer</renderer-type>
- </component>
- </tag>
- <tag>
- <tag-name>enumItem</tag-name>
- <component>
- <component-type>org.jboss.seam.ui.EnumItem</component-type>
- </component>
- </tag>
- <tag>
- <tag-name>fileUpload</tag-name>
- <component>
- <component-type>org.jboss.seam.ui.FileUpload</component-type>
- <renderer-type>org.jboss.seam.ui.FileUploadRenderer</renderer-type>
- </component>
- </tag>
- <tag>
- <tag-name>formattedText</tag-name>
- <component>
- <component-type>org.jboss.seam.ui.FormattedText</component-type>
- <renderer-type>org.jboss.seam.ui.FormattedTextRenderer</renderer-type>
- </component>
- </tag>
- <tag>
- <tag-name>fragment</tag-name>
- <component>
- <component-type>org.jboss.seam.ui.Fragment</component-type>
- <renderer-type>org.jboss.seam.ui.FragmentRenderer</renderer-type>
- </component>
- </tag>
- <tag>
- <tag-name>graphicImage</tag-name>
- <component>
- <component-type>org.jboss.seam.ui.graphicImage.GraphicImage</component-type>
- <renderer-type>org.jboss.seam.ui.GraphicImageRenderer</renderer-type>
- </component>
- </tag>
- <tag>
- <tag-name>label</tag-name>
- <component>
- <component-type>org.jboss.seam.ui.Label</component-type>
- </component>
- </tag>
- <tag>
- <tag-name>link</tag-name>
- <component>
- <component-type>org.jboss.seam.ui.Link</component-type>
- <renderer-type>org.jboss.seam.ui.LinkRenderer</renderer-type>
- </component>
- </tag>
- <tag>
- <tag-name>loadStyle</tag-name>
- <component>
- <component-type>org.jboss.seam.ui.LoadStyle</component-type>
- </component>
- </tag>
- <tag>
- <tag-name>message</tag-name>
- <component>
- <component-type>org.jboss.seam.ui.Message</component-type>
- </component>
- </tag>
- <tag>
- <tag-name>selectDate</tag-name>
- <component>
- <component-type>org.jboss.seam.ui.SelectDate</component-type>
- <renderer-type>org.jboss.seam.ui.SelectDateRenderer</renderer-type>
- </component>
- </tag>
- <tag>
- <tag-name>selection</tag-name>
- <component>
- <component-type>org.jboss.seam.ui.Selection</component-type>
- </component>
- </tag>
- <tag>
- <tag-name>selectItems</tag-name>
- <component>
- <component-type>org.jboss.seam.ui.SelectItems</component-type>
- </component>
- </tag>
- <tag>
- <tag-name>span</tag-name>
- <component>
- <component-type>org.jboss.seam.ui.Span</component-type>
- <renderer-type>org.jboss.seam.ui.SpanRenderer</renderer-type>
- </component>
- </tag>
- <tag>
- <tag-name>taskId</tag-name>
- <component>
- <component-type>org.jboss.seam.ui.TaskId</component-type>
- </component>
- </tag>
- <tag>
- <tag-name>transformImageBlur</tag-name>
- <component>
- <component-type>org.jboss.seam.ui.graphicImage.TransformImageBlur</component-type>
- </component>
- </tag>
- <tag>
- <tag-name>transformImageSize</tag-name>
- <component>
- <component-type>org.jboss.seam.ui.graphicImage.TransformImageSize</component-type>
- </component>
- </tag>
- <tag>
- <tag-name>transformImageType</tag-name>
- <component>
- <component-type>org.jboss.seam.ui.graphicImage.TransformImageType</component-type>
- </component>
- </tag>
- <tag>
- <tag-name>validateAll</tag-name>
- <component>
- <component-type>org.jboss.seam.ui.ValidateAll</component-type>
- <renderer-type>org.jboss.seam.ui.ValidateAllRenderer</renderer-type>
- </component>
- </tag>
-
- <tag>
- <tag-name>validate</tag-name>
- <validator>
- <validator-id>org.jboss.seam.ui.ModelValidator</validator-id>
- </validator>
- </tag>
-
- <tag>
- <tag-name>convertDateTime</tag-name>
- <converter>
- <converter-id>org.jboss.seam.ui.DateTimeConverter</converter-id>
- </converter>
- </tag>
- <tag>
- <tag-name>convertEntity</tag-name>
- <converter>
- <converter-id>org.jboss.seam.ui.EntityConverter</converter-id>
- </converter>
- </tag>
- <tag>
- <tag-name>convertEnum</tag-name>
- <converter>
- <converter-id>org.jboss.seam.ui.EnumConverter</converter-id>
- </converter>
- </tag>
-
-
-
-</facelet-taglib>
\ No newline at end of file
Modified: trunk/examples/jpa/resources-websphere61/WEB-INF/components.xml
===================================================================
--- trunk/examples/jpa/resources-websphere61/WEB-INF/components.xml 2008-01-28 21:44:12 UTC (rev 7264)
+++ trunk/examples/jpa/resources-websphere61/WEB-INF/components.xml 2008-01-28 21:50:43 UTC (rev 7265)
@@ -1,32 +1,29 @@
<?xml version="1.0" encoding="UTF-8"?>
<components xmlns="http://jboss.com/products/seam/components"
- xmlns:core="http://jboss.com/products/seam/core"
- xmlns:persistence="http://jboss.com/products/seam/persistence"
- xmlns:transaction="http://jboss.com/products/seam/transaction"
- xmlns:security="http://jboss.com/products/seam/security"
- xmlns:web="http://jboss.com/products/seam/web"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation=
- "http://jboss.com/products/seam/core http://jboss.com/products/seam/core-2.0.xsd
+ xmlns:core="http://jboss.com/products/seam/core"
+ xmlns:persistence="http://jboss.com/products/seam/persistence"
+ xmlns:transaction="http://jboss.com/products/seam/transaction"
+ xmlns:security="http://jboss.com/products/seam/security"
+ xmlns:web="http://jboss.com/products/seam/web"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://jboss.com/products/seam/core http://jboss.com/products/seam/core-2.0.xsd
http://jboss.com/products/seam/persistence http://jboss.com/products/seam/persistence-2.0.xsd
http://jboss.com/products/seam/security http://jboss.com/products/seam/security-2.0.xsd
+ http://jboss.com/products/seam/transaction http://jboss.com/products/seam/transaction-2.0.xsd
http://jboss.com/products/seam/web http://jboss.com/products/seam/web-2.0.xsd
http://jboss.com/products/seam/components http://jboss.com/products/seam/components-2.0.xsd">
-
- <core:manager conversation-timeout="120000"
- concurrent-request-timeout="500"
- conversation-id-parameter="cid"/>
-
-
- <persistence:entity-manager-factory name="bookingDatabase"/>
-
- <persistence:managed-persistence-context name="em"
- auto-create="true"
- entity-manager-factory="#{bookingDatabase}"/>
-
- <security:identity authenticate-method="#{authenticator.authenticate}"/>
-
- <!-- WAS requires the filter to be mapped to a suffix, so can't use built in Seam filter -->
- <web:ajax4jsf-filter disabled="true" />
-
+
+ <core:manager conversation-timeout="120000"
+ concurrent-request-timeout="500"
+ conversation-id-parameter="cid"/>
+
+ <transaction:entity-transaction entity-manager="#{em}"/>
+
+ <persistence:entity-manager-factory name="bookingDatabase"/>
+
+ <persistence:managed-persistence-context name="em" auto-create="true"
+ entity-manager-factory="#{bookingDatabase}"/>
+
+ <security:identity authenticate-method="#{authenticator.authenticate}"/>
+
</components>
Modified: trunk/examples/jpa/resources-websphere61/WEB-INF/web.xml
===================================================================
--- trunk/examples/jpa/resources-websphere61/WEB-INF/web.xml 2008-01-28 21:44:12 UTC (rev 7264)
+++ trunk/examples/jpa/resources-websphere61/WEB-INF/web.xml 2008-01-28 21:50:43 UTC (rev 7265)
@@ -4,23 +4,6 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
-
-
- <!-- WAS requires the filter to be mapped to a suffix, so can't use built in Seam filter -->
- <filter>
- <display-name>RichFaces Filter</display-name>
- <filter-name>richfaces</filter-name>
- <filter-class>org.ajax4jsf.Filter</filter-class>
- </filter>
-
- <filter-mapping>
- <filter-name>richfaces</filter-name>
- <servlet-name>Faces Servlet</servlet-name>
- <dispatcher>REQUEST</dispatcher>
- <dispatcher>FORWARD</dispatcher>
- <dispatcher>INCLUDE</dispatcher>
- </filter-mapping>
-
<!-- Seam -->
<listener>
16 years, 11 months