Seam SVN: r11437 - in sandbox/trunk/modules/xwidgets: src/main/javascript and 1 other directory.
by seam-commits@lists.jboss.org
Author: shane.bryzak(a)jboss.com
Date: 2009-08-27 08:35:44 -0400 (Thu, 27 Aug 2009)
New Revision: 11437
Modified:
sandbox/trunk/modules/xwidgets/examples/panels/index.html
sandbox/trunk/modules/xwidgets/examples/panels/panels.xw
sandbox/trunk/modules/xwidgets/src/main/javascript/xw.js
Log:
fixed display issues in safari
Modified: sandbox/trunk/modules/xwidgets/examples/panels/index.html
===================================================================
--- sandbox/trunk/modules/xwidgets/examples/panels/index.html 2009-08-26 23:29:17 UTC (rev 11436)
+++ sandbox/trunk/modules/xwidgets/examples/panels/index.html 2009-08-27 12:35:44 UTC (rev 11437)
@@ -1,6 +1,6 @@
<html>
<body style="background-color:#eeeeee">
- <h1>Panel Examples</h1>
+ <h1>Panel Example</h1>
<div id="container" style="border:1px solid black;width:75%;height:75%"></div>
Modified: sandbox/trunk/modules/xwidgets/examples/panels/panels.xw
===================================================================
--- sandbox/trunk/modules/xwidgets/examples/panels/panels.xw 2009-08-26 23:29:17 UTC (rev 11436)
+++ sandbox/trunk/modules/xwidgets/examples/panels/panels.xw 2009-08-27 12:35:44 UTC (rev 11437)
@@ -15,7 +15,7 @@
<panel align="right" width="50">
<label value="right"/>
</panel>
-
+
<panel align="client">
<label value="client"/>
</panel>
Modified: sandbox/trunk/modules/xwidgets/src/main/javascript/xw.js
===================================================================
--- sandbox/trunk/modules/xwidgets/src/main/javascript/xw.js 2009-08-26 23:29:17 UTC (rev 11436)
+++ sandbox/trunk/modules/xwidgets/src/main/javascript/xw.js 2009-08-27 12:35:44 UTC (rev 11437)
@@ -133,6 +133,36 @@
return strValue;
}
+xw.Sys.getBorder = function(control)
+{
+ var border = {};
+ if (window.navigator.userAgent.indexOf('Safari') == -1)
+ {
+ if (control.currentStyle)
+ {
+ border.top = parseInt(control.currentStyle.borderTopWidth);
+ border.right = parseInt(control.currentStyle.borderRightWidth);
+ border.bottom = parseInt(control.currentStyle.borderBottomWidth);
+ border.left = parseInt(control.currentStyle.borderLeftWidth);
+ }
+ else
+ {
+ border.top = parseInt(getComputedStyle(control,null).getPropertyValue('border-top-width'));
+ border.right = parseInt(getComputedStyle(control,null).getPropertyValue('border-right-width'));
+ border.bottom = parseInt(getComputedStyle(control,null).getPropertyValue('border-bottom-width'));
+ border.left = parseInt(getComputedStyle(control,null).getPropertyValue('border-left-width'));
+ }
+ }
+ else
+ {
+ border.top = parseInt(control.style.getPropertyValue('border-top-width'));
+ border.right = parseInt(control.style.getPropertyValue('border-right-width'));
+ border.bottom = parseInt(control.style.getPropertyValue('border-bottom-width'));
+ border.left = parseInt(control.style.getPropertyValue('border-left-width'));
+ }
+ return border;
+}
+
/**
* A Map implementation
*/
@@ -526,14 +556,10 @@
for (var i in this.style) control.style[i] = this.style[i];
- var hWidth = parseInt(xw.Sys.getStyle(control, "border-left-width")) +
- parseInt(xw.Sys.getStyle(control, "border-right-width"));
- var vWidth = parseInt(xw.Sys.getStyle(control, "border-top-width")) +
- parseInt(xw.Sys.getStyle(control, "border-bottom-width"));
+ var b = xw.Sys.getBorder(control);
- if (this.height != null) control.style.height = this.height - vWidth;
- if (this.width != null) control.style.width = this.width - hWidth;
-
+ if (this.height != null) control.style.height = (this.height - b.top - b.bottom) + "px";
+ if (this.width != null) control.style.width = (this.width - b.left - b.right) + "px";
}
}
14 years, 8 months
Seam SVN: r11436 - in sandbox/trunk/modules/xwidgets: examples/helloworld and 2 other directories.
by seam-commits@lists.jboss.org
Author: shane.bryzak(a)jboss.com
Date: 2009-08-26 19:29:17 -0400 (Wed, 26 Aug 2009)
New Revision: 11436
Added:
sandbox/trunk/modules/xwidgets/examples/README
sandbox/trunk/modules/xwidgets/examples/panels/
sandbox/trunk/modules/xwidgets/examples/panels/index.html
sandbox/trunk/modules/xwidgets/examples/panels/panels.xw
Removed:
sandbox/trunk/modules/xwidgets/examples/helloworld/xw.Button.js
sandbox/trunk/modules/xwidgets/examples/helloworld/xw.Label.js
sandbox/trunk/modules/xwidgets/examples/helloworld/xw.Panel.js
Modified:
sandbox/trunk/modules/xwidgets/examples/helloworld/helloworld.xw
sandbox/trunk/modules/xwidgets/examples/helloworld/index.html
sandbox/trunk/modules/xwidgets/src/main/javascript/xw.Panel.js
Log:
minor fixes, add panels example
Added: sandbox/trunk/modules/xwidgets/examples/README
===================================================================
--- sandbox/trunk/modules/xwidgets/examples/README (rev 0)
+++ sandbox/trunk/modules/xwidgets/examples/README 2009-08-26 23:29:17 UTC (rev 11436)
@@ -0,0 +1,10 @@
+Running the examples locally in Firefox
+=======================================
+
+Because of Firefox's restrictive default settings, you may receive a security
+error when trying to load the examples. To get around this, you need to modify
+Firefox's configuration by following these steps:
+
+1) type about:config in the address bar
+
+2) Find the setting security.fileuri.strict_origin_policy and change it to false.
Modified: sandbox/trunk/modules/xwidgets/examples/helloworld/helloworld.xw
===================================================================
--- sandbox/trunk/modules/xwidgets/examples/helloworld/helloworld.xw 2009-08-26 22:51:54 UTC (rev 11435)
+++ sandbox/trunk/modules/xwidgets/examples/helloworld/helloworld.xw 2009-08-26 23:29:17 UTC (rev 11436)
@@ -10,5 +10,6 @@
</action>
</event>
</button>
- </panel>
+ </panel>
+
</view>
Modified: sandbox/trunk/modules/xwidgets/examples/helloworld/index.html
===================================================================
--- sandbox/trunk/modules/xwidgets/examples/helloworld/index.html 2009-08-26 22:51:54 UTC (rev 11435)
+++ sandbox/trunk/modules/xwidgets/examples/helloworld/index.html 2009-08-26 23:29:17 UTC (rev 11436)
@@ -7,10 +7,9 @@
<script src="../../src/main/javascript/xw.js"></script>
<script type="text/javascript">
- // Can't set the resource base to a higher path
- // because of browser security restrictions
- //xw.setResourceBase("../../src/main/javascript");
-
+ // See README for notes on running in Firefox
+ xw.setResourceBase("../../src/main/javascript");
+
xw.openView("helloworld.xw", "container");
</script>
</body>
Deleted: sandbox/trunk/modules/xwidgets/examples/helloworld/xw.Button.js
===================================================================
--- sandbox/trunk/modules/xwidgets/examples/helloworld/xw.Button.js 2009-08-26 22:51:54 UTC (rev 11435)
+++ sandbox/trunk/modules/xwidgets/examples/helloworld/xw.Button.js 2009-08-26 23:29:17 UTC (rev 11436)
@@ -1,36 +0,0 @@
-Package("xw.controls");
-
-xw.controls.Button = function()
-{
- this.control = null;
- this.value = null;
-
- xw.controls.Button.prototype.setParent = function(parent)
- {
- this.parent = parent;
- }
-
- xw.controls.Button.prototype.paint = function()
- {
- if (this.control == null)
- {
- this.control = document.createElement("button");
- this.control.widget = this;
- this.parent.control.appendChild(this.control);
- var text = document.createTextNode(this.value);
- this.control.appendChild(text);
-
- if (!xw.Sys.isUndefined(this.events))
- {
- if (!xw.Sys.isUndefined(this.events.onclick))
- {
- var events = this.events;
- var action = function() {
- events.onclick.invoke();
- };
- xw.Sys.chainEvent(this.control, "click", action);
- }
- }
- }
- }
-}
Deleted: sandbox/trunk/modules/xwidgets/examples/helloworld/xw.Label.js
===================================================================
--- sandbox/trunk/modules/xwidgets/examples/helloworld/xw.Label.js 2009-08-26 22:51:54 UTC (rev 11435)
+++ sandbox/trunk/modules/xwidgets/examples/helloworld/xw.Label.js 2009-08-26 23:29:17 UTC (rev 11436)
@@ -1,24 +0,0 @@
-Package("xw.controls");
-
-xw.controls.Label = function()
-{
- this.value = "";
- this.parent = null;
- this.control = null;
-
- xw.controls.Label.prototype.setParent = function(parent)
- {
- this.parent = parent;
- }
-
- xw.controls.Label.prototype.paint = function()
- {
- if (this.control == null)
- {
- this.control = document.createTextNode(this.value);
- // IE doesn't support setting random properties on text nodes
- // this.control.widget = this;
- this.parent.control.appendChild(this.control);
- }
- }
-}
Deleted: sandbox/trunk/modules/xwidgets/examples/helloworld/xw.Panel.js
===================================================================
--- sandbox/trunk/modules/xwidgets/examples/helloworld/xw.Panel.js 2009-08-26 22:51:54 UTC (rev 11435)
+++ sandbox/trunk/modules/xwidgets/examples/helloworld/xw.Panel.js 2009-08-26 23:29:17 UTC (rev 11436)
@@ -1,64 +0,0 @@
-Package("xw.controls");
-
-xw.controls.Panel = function()
-{
- this.width = 200;
- this.height = 100;
- this.parent = null;
- this.control = null;
- this.align = null;
-
- xw.controls.Panel.prototype.setParent = function(parent)
- {
- this.parent = parent;
- }
-
- xw.controls.Panel.prototype.setAlign = function(align)
- {
- this.align = align;
- }
-
- xw.controls.Panel.prototype.setWidth = function(width)
- {
- this.width = width;
- }
-
- xw.controls.Panel.prototype.setHeight = function(height)
- {
- this.height = height;
- }
-
- xw.controls.Panel.prototype.paint = function(layout)
- {
- if (this.control == null)
- {
- this.control = document.createElement("div");
- this.control.widget = this;
- this.control.style.backgroundColor = "#ece9d6";
-
- // TODO make the border more configurable (or allow it to be turned off etc)
- this.control.style.borderTop = "1px solid white";
- this.control.style.borderLeft = "1px solid white";
- this.control.style.borderBottom = "1px solid #555555";
- this.control.style.borderRight = "1px solid #555555";
-
- if (layout != null)
- {
- layout.setBounds(this);
- }
- else
- {
- this.control.style.width = this.width;
- this.control.style.height = this.height;
- this.control.style.display = "inline";
- }
-
- this.parent.control.appendChild(this.control);
- }
-
- for (var i = 0; i < this.children.length; i++)
- {
- this.children[i].paint();
- }
- }
-}
Added: sandbox/trunk/modules/xwidgets/examples/panels/index.html
===================================================================
--- sandbox/trunk/modules/xwidgets/examples/panels/index.html (rev 0)
+++ sandbox/trunk/modules/xwidgets/examples/panels/index.html 2009-08-26 23:29:17 UTC (rev 11436)
@@ -0,0 +1,16 @@
+<html>
+ <body style="background-color:#eeeeee">
+ <h1>Panel Examples</h1>
+
+ <div id="container" style="border:1px solid black;width:75%;height:75%"></div>
+
+ <script src="../../src/main/javascript/xw.js"></script>
+
+ <script type="text/javascript">
+ // See README for notes on running in Firefox
+ xw.setResourceBase("../../src/main/javascript");
+
+ xw.openView("panels.xw", "container");
+ </script>
+ </body>
+</html>
Added: sandbox/trunk/modules/xwidgets/examples/panels/panels.xw
===================================================================
--- sandbox/trunk/modules/xwidgets/examples/panels/panels.xw (rev 0)
+++ sandbox/trunk/modules/xwidgets/examples/panels/panels.xw 2009-08-26 23:29:17 UTC (rev 11436)
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<view xmlns="http://jboss.com/products/xwidgets">
+ <panel align="top" height="50">
+ <label value="top"/>
+ </panel>
+
+ <panel align="bottom" height="50">
+ <label value="bottom"/>
+ </panel>
+
+ <panel align="left" width="50">
+ <label value="left"/>
+ </panel>
+
+ <panel align="right" width="50">
+ <label value="right"/>
+ </panel>
+
+ <panel align="client">
+ <label value="client"/>
+ </panel>
+</view>
Modified: sandbox/trunk/modules/xwidgets/src/main/javascript/xw.Panel.js
===================================================================
--- sandbox/trunk/modules/xwidgets/src/main/javascript/xw.Panel.js 2009-08-26 22:51:54 UTC (rev 11435)
+++ sandbox/trunk/modules/xwidgets/src/main/javascript/xw.Panel.js 2009-08-26 23:29:17 UTC (rev 11436)
@@ -56,9 +56,12 @@
this.parent.control.appendChild(this.control);
}
- for (var i = 0; i < this.children.length; i++)
- {
- this.children[i].paint();
- }
+ if (this.children)
+ {
+ for (var i = 0; i < this.children.length; i++)
+ {
+ this.children[i].paint();
+ }
+ }
}
}
14 years, 8 months
Seam SVN: r11435 - in sandbox/trunk/modules/xwidgets: src/main/javascript and 1 other directory.
by seam-commits@lists.jboss.org
Author: shane.bryzak(a)jboss.com
Date: 2009-08-26 18:51:54 -0400 (Wed, 26 Aug 2009)
New Revision: 11435
Added:
sandbox/trunk/modules/xwidgets/examples/helloworld/helloworld.xw
Removed:
sandbox/trunk/modules/xwidgets/examples/helloworld/test.xw
Modified:
sandbox/trunk/modules/xwidgets/examples/helloworld/index.html
sandbox/trunk/modules/xwidgets/examples/helloworld/xw.Panel.js
sandbox/trunk/modules/xwidgets/src/main/javascript/xw.Panel.js
sandbox/trunk/modules/xwidgets/src/main/javascript/xw.js
Log:
BorderLayout refinements
Added: sandbox/trunk/modules/xwidgets/examples/helloworld/helloworld.xw
===================================================================
--- sandbox/trunk/modules/xwidgets/examples/helloworld/helloworld.xw (rev 0)
+++ sandbox/trunk/modules/xwidgets/examples/helloworld/helloworld.xw 2009-08-26 22:51:54 UTC (rev 11435)
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<view xmlns="http://jboss.com/products/xwidgets">
+ <panel align="client">
+ <label value="Hello World!"/>
+
+ <button value="Click me!">
+ <event type="onclick">
+ <action type="script">
+ <![CDATA[alert("Hi there!");]]>
+ </action>
+ </event>
+ </button>
+ </panel>
+</view>
Modified: sandbox/trunk/modules/xwidgets/examples/helloworld/index.html
===================================================================
--- sandbox/trunk/modules/xwidgets/examples/helloworld/index.html 2009-08-26 21:51:22 UTC (rev 11434)
+++ sandbox/trunk/modules/xwidgets/examples/helloworld/index.html 2009-08-26 22:51:54 UTC (rev 11435)
@@ -2,7 +2,7 @@
<body style="background-color:#eeeeee">
<h1>Hello World Example</h1>
- <div id="container" style="border:1px solid black;width:50%;height:50%"></div>
+ <div id="container" style="border:1px solid black;width:75%;height:75%"></div>
<script src="../../src/main/javascript/xw.js"></script>
@@ -11,7 +11,7 @@
// because of browser security restrictions
//xw.setResourceBase("../../src/main/javascript");
- xw.openView("test.xw", "container");
+ xw.openView("helloworld.xw", "container");
</script>
</body>
</html>
Deleted: sandbox/trunk/modules/xwidgets/examples/helloworld/test.xw
===================================================================
--- sandbox/trunk/modules/xwidgets/examples/helloworld/test.xw 2009-08-26 21:51:22 UTC (rev 11434)
+++ sandbox/trunk/modules/xwidgets/examples/helloworld/test.xw 2009-08-26 22:51:54 UTC (rev 11435)
@@ -1,33 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<view xmlns="http://jboss.com/products/xwidgets">
- <panel align="top" height="100">
- <label value="Hello World!"/>
-
- <button value="Click me!">
- <event type="onclick">
- <action type="script">
- <![CDATA[alert("Hi there!");]]>
- </action>
- </event>
- </button>
- </panel>
- <panel align="right" width="100">
- <label value="right"/>
- </panel>
-
- <panel align="bottom" height="30">
- <label value="bottom"/>
- </panel>
-
- <panel align="left" width="40">
- <label value="left"/>
- </panel>
-
- <panel align="left" width="40">
- <label value="left2"/>
- </panel>
-
- <panel align="client">
- <label value="client"/>
- </panel>
-</view>
Modified: sandbox/trunk/modules/xwidgets/examples/helloworld/xw.Panel.js
===================================================================
--- sandbox/trunk/modules/xwidgets/examples/helloworld/xw.Panel.js 2009-08-26 21:51:22 UTC (rev 11434)
+++ sandbox/trunk/modules/xwidgets/examples/helloworld/xw.Panel.js 2009-08-26 22:51:54 UTC (rev 11435)
@@ -6,7 +6,7 @@
this.height = 100;
this.parent = null;
this.control = null;
- this.align = null;
+ this.align = null;
xw.controls.Panel.prototype.setParent = function(parent)
{
@@ -34,7 +34,9 @@
{
this.control = document.createElement("div");
this.control.widget = this;
- this.control.style.backgroundColor = "#ece9d6";
+ this.control.style.backgroundColor = "#ece9d6";
+
+ // TODO make the border more configurable (or allow it to be turned off etc)
this.control.style.borderTop = "1px solid white";
this.control.style.borderLeft = "1px solid white";
this.control.style.borderBottom = "1px solid #555555";
@@ -53,7 +55,7 @@
this.parent.control.appendChild(this.control);
}
-
+
for (var i = 0; i < this.children.length; i++)
{
this.children[i].paint();
Modified: sandbox/trunk/modules/xwidgets/src/main/javascript/xw.Panel.js
===================================================================
--- sandbox/trunk/modules/xwidgets/src/main/javascript/xw.Panel.js 2009-08-26 21:51:22 UTC (rev 11434)
+++ sandbox/trunk/modules/xwidgets/src/main/javascript/xw.Panel.js 2009-08-26 22:51:54 UTC (rev 11435)
@@ -6,7 +6,7 @@
this.height = 100;
this.parent = null;
this.control = null;
- this.align = null;
+ this.align = null;
xw.controls.Panel.prototype.setParent = function(parent)
{
@@ -28,44 +28,32 @@
this.height = height;
}
- xw.controls.Panel.prototype.paint = function()
+ xw.controls.Panel.prototype.paint = function(layout)
{
if (this.control == null)
{
this.control = document.createElement("div");
- this.control.widget = this;
- this.parent.control.appendChild(this.control);
+ this.control.widget = this;
+ this.control.style.backgroundColor = "#ece9d6";
- if (this.align == "top")
+ // TODO make the border more configurable (or allow it to be turned off etc)
+ this.control.style.borderTop = "1px solid white";
+ this.control.style.borderLeft = "1px solid white";
+ this.control.style.borderBottom = "1px solid #555555";
+ this.control.style.borderRight = "1px solid #555555";
+
+ if (layout != null)
{
- this.control.style.float = "top";
- this.control.style.height = this.height;
+ layout.setBounds(this);
}
- else if (this.align = "bottom")
+ else
{
- this.control.style.float = "bottom";
- this.control.style.height = this.height;
- }
- else if (this.align = "left")
- {
- this.control.style.float = "left";
this.control.style.width = this.width;
+ this.control.style.height = this.height;
+ this.control.style.display = "inline";
}
- else if (this.align = "right")
- {
- this.control.style.float = "right";
- this.control.style.width = this.width;
- }
- else if (this.align = "client")
- {
- this.control.style.height = "100%";
- }
-
- this.control.style.backgroundColor = "#ece9d6";
- this.control.style.borderTop = "1px solid white";
- this.control.style.borderLeft = "1px solid white";
- this.control.style.borderBottom = "1px solid #555555";
- this.control.style.borderRight = "1px solid #555555";
+
+ this.parent.control.appendChild(this.control);
}
for (var i = 0; i < this.children.length; i++)
Modified: sandbox/trunk/modules/xwidgets/src/main/javascript/xw.js
===================================================================
--- sandbox/trunk/modules/xwidgets/src/main/javascript/xw.js 2009-08-26 21:51:22 UTC (rev 11434)
+++ sandbox/trunk/modules/xwidgets/src/main/javascript/xw.js 2009-08-26 22:51:54 UTC (rev 11435)
@@ -74,7 +74,7 @@
}
};
- req.open("GET", url, true);
+ req.open("GET", url, true);
req.send(null);
}
@@ -116,6 +116,23 @@
}
}
+xw.Sys.getStyle = function(element, cssRule)
+{
+ var strValue = "";
+ if (document.defaultView && document.defaultView.getComputedStyle)
+ {
+ strValue = document.defaultView.getComputedStyle(element, "").getPropertyValue(cssRule);
+ }
+ else if (element.currentStyle)
+ {
+ cssRule = cssRule.replace(/\-(\w)/g, function (strMatch, p1){
+ return p1.toUpperCase();
+ });
+ strValue = element.currentStyle[cssRule];
+ }
+ return strValue;
+}
+
/**
* A Map implementation
*/
@@ -503,12 +520,20 @@
}
xw.Bounds.prototype.applyToControl = function(control)
- {
- if (this.height != null) control.style.height = this.height;
- if (this.width != null) control.style.width = this.width;
- if (this.height != null) control.style.height = this.height;
- if (this.width != null) control.style.width = this.width;
- for (var i in this.style) control.style[i] = this.style[i];
+ {
+ if (this.left != null) control.style.left = this.left;
+ if (this.top != null) control.style.top = this.top;
+
+ for (var i in this.style) control.style[i] = this.style[i];
+
+ var hWidth = parseInt(xw.Sys.getStyle(control, "border-left-width")) +
+ parseInt(xw.Sys.getStyle(control, "border-right-width"));
+ var vWidth = parseInt(xw.Sys.getStyle(control, "border-top-width")) +
+ parseInt(xw.Sys.getStyle(control, "border-bottom-width"));
+
+ if (this.height != null) control.style.height = this.height - vWidth;
+ if (this.width != null) control.style.width = this.width - hWidth;
+
}
}
@@ -542,9 +567,7 @@
var bottomSpace = 0;
var leftSpace = 0;
var rightSpace = 0;
-
- // TODO - take border widths into account so we don't need all the +2's everywhere
-
+
for (var i = 0; i < topControls.length; i++)
{
this.bounds.put(topControls[i], new xw.Bounds(null, null, topControls[i].height, null)
@@ -571,9 +594,9 @@
{
this.bounds.put(leftControls[i], new xw.Bounds(null, null, null, leftControls[i].width)
.addStyleProperty("position", "absolute")
- .addStyleProperty("left", leftSpace + (leftSpace > 0 ? 2 : 0))
- .addStyleProperty("top", topSpace + 2)
- .addStyleProperty("bottom", bottomSpace + 2)
+ .addStyleProperty("left", leftSpace)
+ .addStyleProperty("top", topSpace)
+ .addStyleProperty("bottom", bottomSpace)
);
leftSpace += 1.0 * leftControls[i].width;
}
@@ -583,8 +606,8 @@
this.bounds.put(rightControls[i], new xw.Bounds(null, null, null, rightControls[i].width)
.addStyleProperty("position", "absolute")
.addStyleProperty("right", rightSpace)
- .addStyleProperty("top", topSpace + 2)
- .addStyleProperty("bottom", bottomSpace + 2)
+ .addStyleProperty("top", topSpace)
+ .addStyleProperty("bottom", bottomSpace)
);
rightSpace += 1.0 * rightControls[i].width;
}
@@ -593,10 +616,10 @@
{
this.bounds.put(clientControls[i], new xw.Bounds(null, null, null, null)
.addStyleProperty("position", "absolute")
- .addStyleProperty("left", leftSpace + 4)
- .addStyleProperty("right", rightSpace + 2)
- .addStyleProperty("top", topSpace + 2)
- .addStyleProperty("bottom", bottomSpace + 2)
+ .addStyleProperty("left", leftSpace)
+ .addStyleProperty("right", rightSpace)
+ .addStyleProperty("top", topSpace)
+ .addStyleProperty("bottom", bottomSpace)
);
}
14 years, 8 months
Seam SVN: r11434 - in sandbox/trunk/modules: scheduling and 38 other directories.
by seam-commits@lists.jboss.org
Author: peteroyle
Date: 2009-08-26 17:51:22 -0400 (Wed, 26 Aug 2009)
New Revision: 11434
Added:
sandbox/trunk/modules/scheduling/
sandbox/trunk/modules/scheduling/pom.xml
sandbox/trunk/modules/scheduling/src/
sandbox/trunk/modules/scheduling/src/etc/
sandbox/trunk/modules/scheduling/src/etc/header.txt
sandbox/trunk/modules/scheduling/src/main/
sandbox/trunk/modules/scheduling/src/main/java/
sandbox/trunk/modules/scheduling/src/main/java/org/
sandbox/trunk/modules/scheduling/src/main/java/org/jboss/
sandbox/trunk/modules/scheduling/src/main/java/org/jboss/seam/
sandbox/trunk/modules/scheduling/src/main/java/org/jboss/seam/scheduling/
sandbox/trunk/modules/scheduling/src/main/java/org/jboss/seam/scheduling/annotations/
sandbox/trunk/modules/scheduling/src/main/java/org/jboss/seam/scheduling/annotations/Every.java
sandbox/trunk/modules/scheduling/src/main/java/org/jboss/seam/scheduling/annotations/EveryBinding.java
sandbox/trunk/modules/scheduling/src/main/java/org/jboss/seam/scheduling/annotations/Scheduled.java
sandbox/trunk/modules/scheduling/src/main/java/org/jboss/seam/scheduling/annotations/ScheduledBinding.java
sandbox/trunk/modules/scheduling/src/main/java/org/jboss/seam/scheduling/events/
sandbox/trunk/modules/scheduling/src/main/java/org/jboss/seam/scheduling/events/AbstractTimeEvent.java
sandbox/trunk/modules/scheduling/src/main/java/org/jboss/seam/scheduling/events/Event.java
sandbox/trunk/modules/scheduling/src/main/java/org/jboss/seam/scheduling/events/Hour.java
sandbox/trunk/modules/scheduling/src/main/java/org/jboss/seam/scheduling/events/Minute.java
sandbox/trunk/modules/scheduling/src/main/java/org/jboss/seam/scheduling/events/Second.java
sandbox/trunk/modules/scheduling/src/main/java/org/jboss/seam/scheduling/exception/
sandbox/trunk/modules/scheduling/src/main/java/org/jboss/seam/scheduling/exception/SchedulerConfigurationException.java
sandbox/trunk/modules/scheduling/src/main/java/org/jboss/seam/scheduling/exception/SchedulerInitialisationException.java
sandbox/trunk/modules/scheduling/src/main/java/org/jboss/seam/scheduling/quartz/
sandbox/trunk/modules/scheduling/src/main/java/org/jboss/seam/scheduling/quartz/QuartzStarter.java
sandbox/trunk/modules/scheduling/src/main/java/org/jboss/seam/scheduling/quartz/jobs/
sandbox/trunk/modules/scheduling/src/main/java/org/jboss/seam/scheduling/quartz/jobs/AbstractTimeEventJob.java
sandbox/trunk/modules/scheduling/src/main/java/org/jboss/seam/scheduling/quartz/jobs/HourJob.java
sandbox/trunk/modules/scheduling/src/main/java/org/jboss/seam/scheduling/quartz/jobs/MinuteJob.java
sandbox/trunk/modules/scheduling/src/main/java/org/jboss/seam/scheduling/quartz/jobs/ScheduledEventJob.java
sandbox/trunk/modules/scheduling/src/main/java/org/jboss/seam/scheduling/quartz/jobs/SecondJob.java
sandbox/trunk/modules/scheduling/src/main/java/org/jboss/seam/scheduling/util/
sandbox/trunk/modules/scheduling/src/main/java/org/jboss/seam/scheduling/util/SchedulePropertiesManager.java
sandbox/trunk/modules/scheduling/src/main/java/org/jboss/seam/scheduling/util/WebBeansManagerUtils.java
sandbox/trunk/modules/scheduling/src/main/java/org/jboss/webbeans/
sandbox/trunk/modules/scheduling/src/main/java/org/jboss/webbeans/extension/
sandbox/trunk/modules/scheduling/src/main/java/org/jboss/webbeans/extension/scheduler/
sandbox/trunk/modules/scheduling/src/main/java/org/jboss/webbeans/extension/scheduler/annotations/
sandbox/trunk/modules/scheduling/src/main/java/org/jboss/webbeans/extension/scheduler/events/
sandbox/trunk/modules/scheduling/src/main/java/org/jboss/webbeans/extension/scheduler/exception/
sandbox/trunk/modules/scheduling/src/main/java/org/jboss/webbeans/extension/scheduler/jobs/
sandbox/trunk/modules/scheduling/src/main/java/org/jboss/webbeans/extension/scheduler/quartz/
sandbox/trunk/modules/scheduling/src/main/java/org/jboss/webbeans/extension/scheduler/quartz/jobs/
sandbox/trunk/modules/scheduling/src/main/java/org/jboss/webbeans/extension/scheduler/util/
sandbox/trunk/modules/scheduling/src/main/java/org/jboss/webbeans/extension/scheduling/
sandbox/trunk/modules/scheduling/src/main/java/org/jboss/webbeans/extension/scheduling/annotations/
sandbox/trunk/modules/scheduling/src/main/java/org/jboss/webbeans/extension/scheduling/events/
sandbox/trunk/modules/scheduling/src/main/java/org/jboss/webbeans/extension/scheduling/exception/
sandbox/trunk/modules/scheduling/src/main/java/org/jboss/webbeans/extension/scheduling/quartz/
sandbox/trunk/modules/scheduling/src/main/java/org/jboss/webbeans/extension/scheduling/quartz/jobs/
sandbox/trunk/modules/scheduling/src/main/java/org/jboss/webbeans/extension/scheduling/util/
sandbox/trunk/modules/scheduling/src/main/java/org/jboss/webbeans/quartz/
sandbox/trunk/modules/scheduling/src/main/java/org/jboss/webbeans/quartz/annotations/
sandbox/trunk/modules/scheduling/src/main/java/org/jboss/webbeans/quartz/events/
sandbox/trunk/modules/scheduling/src/main/java/org/jboss/webbeans/quartz/jobs/
sandbox/trunk/modules/scheduling/src/main/java/org/jboss/webbeans/scheduling/
sandbox/trunk/modules/scheduling/src/main/java/org/jboss/webbeans/scheduling/annotations/
sandbox/trunk/modules/scheduling/src/main/java/org/jboss/webbeans/scheduling/events/
sandbox/trunk/modules/scheduling/src/main/java/org/jboss/webbeans/scheduling/exception/
sandbox/trunk/modules/scheduling/src/main/java/org/jboss/webbeans/scheduling/quartz/
sandbox/trunk/modules/scheduling/src/main/java/org/jboss/webbeans/scheduling/quartz/jobs/
sandbox/trunk/modules/scheduling/src/main/java/org/jboss/webbeans/scheduling/util/
sandbox/trunk/modules/scheduling/src/main/java/org/jboss/webbeans/ticker/
sandbox/trunk/modules/scheduling/src/main/java/org/jboss/webbeans/ticker/exception/
sandbox/trunk/modules/scheduling/src/main/resources/
sandbox/trunk/modules/scheduling/src/main/resources/META-INF/
sandbox/trunk/modules/scheduling/src/main/resources/META-INF/beans.xml
sandbox/trunk/modules/scheduling/src/main/resources/log4j.properties
sandbox/trunk/modules/scheduling/src/main/resources/quartz.properties
sandbox/trunk/modules/scheduling/src/test/
sandbox/trunk/modules/scheduling/src/test/java/
sandbox/trunk/modules/scheduling/src/test/java/org/
sandbox/trunk/modules/scheduling/src/test/java/org/jboss/
sandbox/trunk/modules/scheduling/src/test/java/org/jboss/seam/
sandbox/trunk/modules/scheduling/src/test/java/org/jboss/seam/scheduler/
sandbox/trunk/modules/scheduling/src/test/java/org/jboss/seam/scheduling/
sandbox/trunk/modules/scheduling/src/test/java/org/jboss/seam/scheduling/AbstractCDITest.java
sandbox/trunk/modules/scheduling/src/test/java/org/jboss/seam/scheduling/AnotherTestBean.java
sandbox/trunk/modules/scheduling/src/test/java/org/jboss/seam/scheduling/Frequent.java
sandbox/trunk/modules/scheduling/src/test/java/org/jboss/seam/scheduling/ScheduledEventTest.java
sandbox/trunk/modules/scheduling/src/test/java/org/jboss/seam/scheduling/TestBean.java
sandbox/trunk/modules/scheduling/src/test/java/org/jboss/seam/scheduling/TickerAbsentTest.java
sandbox/trunk/modules/scheduling/src/test/java/org/jboss/seam/scheduling/TickerPresentTest.java
sandbox/trunk/modules/scheduling/src/test/java/org/jboss/webbeans/
sandbox/trunk/modules/scheduling/src/test/java/org/jboss/webbeans/environment/
sandbox/trunk/modules/scheduling/src/test/java/org/jboss/webbeans/environment/ticker/
sandbox/trunk/modules/scheduling/src/test/java/org/jboss/webbeans/extension/
sandbox/trunk/modules/scheduling/src/test/java/org/jboss/webbeans/extension/scheduler/
sandbox/trunk/modules/scheduling/src/test/java/org/jboss/webbeans/extension/scheduler/test/
sandbox/trunk/modules/scheduling/src/test/java/org/jboss/webbeans/extension/scheduler/test/ticker/
sandbox/trunk/modules/scheduling/src/test/java/org/jboss/webbeans/extension/schedulertest/
sandbox/trunk/modules/scheduling/src/test/java/org/jboss/webbeans/quartz/
sandbox/trunk/modules/scheduling/src/test/resources/
sandbox/trunk/modules/scheduling/src/test/resources/log4j.properties
sandbox/trunk/modules/scheduling/src/test/resources/scheduler.properties
Log:
Initial import of Seam Scheduling to sandbox
Added: sandbox/trunk/modules/scheduling/pom.xml
===================================================================
--- sandbox/trunk/modules/scheduling/pom.xml (rev 0)
+++ sandbox/trunk/modules/scheduling/pom.xml 2009-08-26 21:51:22 UTC (rev 11434)
@@ -0,0 +1,128 @@
+
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>org.jboss.seam</groupId>
+ <artifactId>scheduling</artifactId>
+ <packaging>jar</packaging>
+ <version>1.0.0-SNAPSHOT</version>
+ <name>Seam Scheduling Module</name>
+ <url>http://maven.apache.org</url>
+
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <version>2.0.2</version>
+ <configuration>
+ <source>1.5</source>
+ <target>1.5</target>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>jalopy-maven-plugin</artifactId>
+ <version>1.0-alpha-1</version>
+ </plugin>
+ <plugin>
+ <groupId>com.google.code.maven-license-plugin</groupId>
+ <artifactId>maven-license-plugin</artifactId>
+ <version>1.4.0</version>
+ <configuration>
+ <basedir>${basedir}</basedir>
+ <header>${basedir}/src/etc/header.txt</header>
+ <quiet>false</quiet>
+ <failIfMissing>true</failIfMissing>
+ <aggregate>false</aggregate>
+ <encoding>UTF-8</encoding>
+ </configuration>
+ <executions>
+ <execution>
+ <phase>compile</phase>
+ <goals>
+ <goal>format</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+
+ <dependencies>
+ <dependency>
+ <groupId>javax.annotation</groupId>
+ <artifactId>jsr250-api</artifactId>
+ <version>1.0</version>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.webbeans</groupId>
+ <artifactId>jsr299-api</artifactId>
+ <version>1.0.0-SNAPSHOT</version>
+ <scope>compile</scope>
+ </dependency>
+ <!-- TODO: remove this dependency. -->
+ <dependency>
+ <groupId>org.jboss.webbeans</groupId>
+ <artifactId>webbeans-core</artifactId>
+ <version>1.0.0-SNAPSHOT</version>
+ <scope>compile</scope>
+ </dependency>
+ <dependency>
+ <groupId>opensymphony</groupId>
+ <artifactId>quartz</artifactId>
+ <version>1.6.1</version>
+ </dependency>
+ <dependency>
+ <groupId>commons-logging</groupId>
+ <artifactId>commons-logging</artifactId>
+ <version>1.1.1</version>
+ </dependency>
+ <dependency>
+ <groupId>commons-lang</groupId>
+ <artifactId>commons-lang</artifactId>
+ <version>2.4</version>
+ </dependency>
+ <dependency>
+ <groupId>commons-collections</groupId>
+ <artifactId>commons-collections</artifactId>
+ <version>3.2.1</version>
+ </dependency>
+ <dependency>
+ <groupId>org.testng</groupId>
+ <artifactId>testng</artifactId>
+ <scope>test</scope>
+ <classifier>jdk15</classifier>
+ <version>5.8</version>
+ <exclusions>
+ <exclusion>
+ <artifactId>junit</artifactId>
+ <groupId>junit</groupId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.webbeans</groupId>
+ <artifactId>webbeans-logging</artifactId>
+ <version>1.0.0-SNAPSHOT</version>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.webbeans</groupId>
+ <artifactId>webbeans-se</artifactId>
+ <version>1.0.0-SNAPSHOT</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.ejb3</groupId>
+ <artifactId>jboss-ejb3-api</artifactId>
+ <version>3.1.0-Alpha1</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.webbeans</groupId>
+ <artifactId>webbeans-core-test</artifactId>
+ <version>1.0.0-SNAPSHOT</version>
+ <scope>test</scope>
+ </dependency>
+ </dependencies>
+</project>
+
Added: sandbox/trunk/modules/scheduling/src/etc/header.txt
===================================================================
--- sandbox/trunk/modules/scheduling/src/etc/header.txt (rev 0)
+++ sandbox/trunk/modules/scheduling/src/etc/header.txt 2009-08-26 21:51:22 UTC (rev 11434)
@@ -0,0 +1,14 @@
+JBoss, Home of Professional Open Source
+Copyright 2009, Red Hat, Inc. and/or its affiliates, and individual
+contributors by the @authors tag. See the copyright.txt in the
+distribution for a full listing of individual contributors.
+
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+http://www.apache.org/licenses/LICENSE-2.0
+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.
Added: sandbox/trunk/modules/scheduling/src/main/java/org/jboss/seam/scheduling/annotations/Every.java
===================================================================
--- sandbox/trunk/modules/scheduling/src/main/java/org/jboss/seam/scheduling/annotations/Every.java (rev 0)
+++ sandbox/trunk/modules/scheduling/src/main/java/org/jboss/seam/scheduling/annotations/Every.java 2009-08-26 21:51:22 UTC (rev 11434)
@@ -0,0 +1,36 @@
+/**
+ * JBoss, Home of Professional Open Source
+ * Copyright 2009, Red Hat, Inc. and/or its affiliates, and individual
+ * contributors by the @authors tag. See the copyright.txt in the
+ * distribution for a full listing of individual contributors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * http://www.apache.org/licenses/LICENSE-2.0
+ * 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.
+ */
+package org.jboss.seam.scheduling.annotations;
+
+import java.lang.annotation.ElementType;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+import java.lang.annotation.Target;
+import javax.enterprise.inject.BindingType;
+
+/**
+ * The annotation which accompanies scheduled events which observe
+ * every event in a particular schedule. Eg:
+ * <code>public void doSomething( @Observes @Every Minute min )</code> will
+ * observe the event fired every minute.
+ * @author Peter Royle
+ */
+@BindingType
+(a)Retention(RetentionPolicy.RUNTIME)
+@Target( { ElementType.PARAMETER, ElementType.METHOD, ElementType.FIELD, ElementType.TYPE })
+public @interface Every {
+}
Added: sandbox/trunk/modules/scheduling/src/main/java/org/jboss/seam/scheduling/annotations/EveryBinding.java
===================================================================
--- sandbox/trunk/modules/scheduling/src/main/java/org/jboss/seam/scheduling/annotations/EveryBinding.java (rev 0)
+++ sandbox/trunk/modules/scheduling/src/main/java/org/jboss/seam/scheduling/annotations/EveryBinding.java 2009-08-26 21:51:22 UTC (rev 11434)
@@ -0,0 +1,27 @@
+/**
+ * JBoss, Home of Professional Open Source
+ * Copyright 2009, Red Hat, Inc. and/or its affiliates, and individual
+ * contributors by the @authors tag. See the copyright.txt in the
+ * distribution for a full listing of individual contributors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * http://www.apache.org/licenses/LICENSE-2.0
+ * 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.
+ */
+package org.jboss.seam.scheduling.annotations;
+
+import javax.enterprise.inject.AnnotationLiteral;
+
+
+/**
+ *
+ * @author Peter Royle
+ */
+public class EveryBinding extends AnnotationLiteral<Every> implements Every {
+}
Added: sandbox/trunk/modules/scheduling/src/main/java/org/jboss/seam/scheduling/annotations/Scheduled.java
===================================================================
--- sandbox/trunk/modules/scheduling/src/main/java/org/jboss/seam/scheduling/annotations/Scheduled.java (rev 0)
+++ sandbox/trunk/modules/scheduling/src/main/java/org/jboss/seam/scheduling/annotations/Scheduled.java 2009-08-26 21:51:22 UTC (rev 11434)
@@ -0,0 +1,64 @@
+/**
+ * JBoss, Home of Professional Open Source
+ * Copyright 2009, Red Hat, Inc. and/or its affiliates, and individual
+ * contributors by the @authors tag. See the copyright.txt in the
+ * distribution for a full listing of individual contributors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * http://www.apache.org/licenses/LICENSE-2.0
+ * 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.
+ */
+package org.jboss.seam.scheduling.annotations;
+
+import java.lang.annotation.ElementType;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+import java.lang.annotation.Target;
+import javax.enterprise.inject.BindingType;
+
+/**
+ * A binding annotation for use observing the Event.class event.
+ * <p>
+ * The value can either be a schedule in Cron format, or a 'named schedule', whereby
+ * the cron-formatted schedule appears in the /scheduler.properties file on the classpath
+ * as the value of the property with the given name.
+ * <p>
+ * Example scheduled event observer:
+ * <code>public void doSomething(@Observes @Scheduled("0 * * ? * *") Event e) { ... }</code>
+ * <p>
+ * Example named, scheduled event observer:
+ * <code>public void doSomething(@Observes @Scheduled("after.hours") Event e) { ... }</code>
+ * <p>
+ * Where the 'after.hours' schedule would be specified in /scheduler.properties like so:
+ * <code>after.hours=0 0 * ? * *
+ * <p>
+ * Scheduled bindings may be made typesafe using the following pattern:
+ * <code>
+ * @Scheduled("after.hours")
+ * @BindingType
+ * @Retention(RetentionPolicy.RUNTIME)
+ * public @interface AfterHours { .. }
+ * </code>
+ * The schedule can then be observed like so:
+ * <code>public void doSomething(@Observes @AfterHours Event e) { ... }</code>
+ *
+ * @author Peter Royle
+ */
+@BindingType
+(a)Retention(RetentionPolicy.RUNTIME)
+@Target( { ElementType.PARAMETER, ElementType.METHOD, ElementType.FIELD, ElementType.TYPE })
+public @interface Scheduled
+{
+
+ /**
+ * The schedule specification (in cron format) or name.
+ * @return the value.
+ */
+ String value();
+}
Added: sandbox/trunk/modules/scheduling/src/main/java/org/jboss/seam/scheduling/annotations/ScheduledBinding.java
===================================================================
--- sandbox/trunk/modules/scheduling/src/main/java/org/jboss/seam/scheduling/annotations/ScheduledBinding.java (rev 0)
+++ sandbox/trunk/modules/scheduling/src/main/java/org/jboss/seam/scheduling/annotations/ScheduledBinding.java 2009-08-26 21:51:22 UTC (rev 11434)
@@ -0,0 +1,61 @@
+/**
+ * JBoss, Home of Professional Open Source
+ * Copyright 2009, Red Hat, Inc. and/or its affiliates, and individual
+ * contributors by the @authors tag. See the copyright.txt in the
+ * distribution for a full listing of individual contributors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * http://www.apache.org/licenses/LICENSE-2.0
+ * 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.
+ */
+package org.jboss.seam.scheduling.annotations;
+
+import javax.enterprise.inject.AnnotationLiteral;
+
+/**
+ *
+ * @author Peter Royle
+ */
+public class ScheduledBinding extends AnnotationLiteral<Scheduled> implements Scheduled {
+
+ private final String value;
+
+ /**
+ * Create a new instance of ScheduledBinding with a default 'value'. Note that
+ * this defaulted 'value' is an invalid scheudle/name and will cause errors
+ * during setting up of the schedules if used.
+ */
+ public ScheduledBinding()
+ {
+ value = "unspecified schedule";
+ }
+
+ /**
+ * Create a new instance of ScheduledBinding using the given value as the schedule
+ * specification/name.
+ * @param value The value to be used as the schedule specification/name.
+ */
+ public ScheduledBinding(String value)
+ {
+ this.value = value;
+ }
+
+
+ /**
+ * The schedule specification (in cron format) or name. If the value is a name,
+ * then the cron-formatted schedule specification will be read from the
+ * /scheduler.properties file on the classpath using the name as the property key.
+ * @return the value.
+ */
+ public String value()
+ {
+ return value;
+ }
+
+}
Added: sandbox/trunk/modules/scheduling/src/main/java/org/jboss/seam/scheduling/events/AbstractTimeEvent.java
===================================================================
--- sandbox/trunk/modules/scheduling/src/main/java/org/jboss/seam/scheduling/events/AbstractTimeEvent.java (rev 0)
+++ sandbox/trunk/modules/scheduling/src/main/java/org/jboss/seam/scheduling/events/AbstractTimeEvent.java 2009-08-26 21:51:22 UTC (rev 11434)
@@ -0,0 +1,63 @@
+/**
+ * JBoss, Home of Professional Open Source
+ * Copyright 2009, Red Hat, Inc. and/or its affiliates, and individual
+ * contributors by the @authors tag. See the copyright.txt in the
+ * distribution for a full listing of individual contributors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * http://www.apache.org/licenses/LICENSE-2.0
+ * 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.
+ */
+package org.jboss.seam.scheduling.events;
+
+/**
+ * Superclass of all scheduled events, be they arbitrarily scheduled or one of the
+ * built-in Second, Minute or Hour events. Note that the presence of this superclass
+ * implies that the following observation is possible:
+ * <code>public void doSomething(@Observes @Every AbstractTimeEvent e)</code>
+ * <p>
+ * Such an observation is valid, and will respond to every single scheduled event
+ * fired (including the built in events).
+ *
+ * @author Peter Royle
+ */
+public abstract class AbstractTimeEvent
+{
+
+ private long timeFired;
+
+ /**
+ * Create an instance of some subclass of AbstractTimeEvent using the given timeFired.
+ * @param timeFired Represents the time at which the event represented by this instance fired.
+ */
+ protected AbstractTimeEvent(long timeFired)
+ {
+ this.timeFired = timeFired;
+ }
+
+ /**
+ *
+ * @return The time at which the event was fired.
+ */
+ public long getTimeFired()
+ {
+ return timeFired;
+ }
+
+ /**
+ *
+ * @return a String representation of this instance, showing the event type and the
+ * time at which the event was fired (epoch).
+ */
+ @Override
+ public String toString()
+ {
+ return getClass().getName() + " fired at " + Long.toString(timeFired);
+ }
+}
Added: sandbox/trunk/modules/scheduling/src/main/java/org/jboss/seam/scheduling/events/Event.java
===================================================================
--- sandbox/trunk/modules/scheduling/src/main/java/org/jboss/seam/scheduling/events/Event.java (rev 0)
+++ sandbox/trunk/modules/scheduling/src/main/java/org/jboss/seam/scheduling/events/Event.java 2009-08-26 21:51:22 UTC (rev 11434)
@@ -0,0 +1,35 @@
+/**
+ * JBoss, Home of Professional Open Source
+ * Copyright 2009, Red Hat, Inc. and/or its affiliates, and individual
+ * contributors by the @authors tag. See the copyright.txt in the
+ * distribution for a full listing of individual contributors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * http://www.apache.org/licenses/LICENSE-2.0
+ * 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.
+ */
+package org.jboss.seam.scheduling.events;
+
+/**
+ * Event which fires for arbitrarily-scheduled events.
+ * @see org.jboss.seam.scheduling.annotations.Scheduled
+ * @author Peter Royle
+ */
+public class Event extends AbstractTimeEvent {
+
+ /**
+ * Creates an instance of Event using the given value of timeFired.
+ * @param timeFired The time at which the event was fired.
+ */
+ public Event(long timeFired)
+ {
+ super(timeFired);
+ }
+
+}
Added: sandbox/trunk/modules/scheduling/src/main/java/org/jboss/seam/scheduling/events/Hour.java
===================================================================
--- sandbox/trunk/modules/scheduling/src/main/java/org/jboss/seam/scheduling/events/Hour.java (rev 0)
+++ sandbox/trunk/modules/scheduling/src/main/java/org/jboss/seam/scheduling/events/Hour.java 2009-08-26 21:51:22 UTC (rev 11434)
@@ -0,0 +1,35 @@
+/**
+ * JBoss, Home of Professional Open Source
+ * Copyright 2009, Red Hat, Inc. and/or its affiliates, and individual
+ * contributors by the @authors tag. See the copyright.txt in the
+ * distribution for a full listing of individual contributors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * http://www.apache.org/licenses/LICENSE-2.0
+ * 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.
+ */
+package org.jboss.seam.scheduling.events;
+
+/**
+ * Event that fires every hour.
+ * @author Peter Royle
+ */
+public class Hour extends AbstractTimeEvent
+{
+
+ /**
+ * Creates an instance of Hour using the given value of timeFired.
+ * @param timeFired The time at which the event was fired.
+ */
+ public Hour(long timeFired)
+ {
+ super(timeFired);
+ }
+
+}
Added: sandbox/trunk/modules/scheduling/src/main/java/org/jboss/seam/scheduling/events/Minute.java
===================================================================
--- sandbox/trunk/modules/scheduling/src/main/java/org/jboss/seam/scheduling/events/Minute.java (rev 0)
+++ sandbox/trunk/modules/scheduling/src/main/java/org/jboss/seam/scheduling/events/Minute.java 2009-08-26 21:51:22 UTC (rev 11434)
@@ -0,0 +1,34 @@
+/**
+ * JBoss, Home of Professional Open Source
+ * Copyright 2009, Red Hat, Inc. and/or its affiliates, and individual
+ * contributors by the @authors tag. See the copyright.txt in the
+ * distribution for a full listing of individual contributors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * http://www.apache.org/licenses/LICENSE-2.0
+ * 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.
+ */
+package org.jboss.seam.scheduling.events;
+
+/**
+ * Event that fires every minute.
+ * @author Peter Royle
+ */
+public class Minute extends AbstractTimeEvent
+{
+
+ /**
+ * Creates an instance of Minute using the given value of timeFired.
+ * @param timeFired The time at which the event was fired.
+ */
+ public Minute(long timeFired)
+ {
+ super(timeFired);
+ }
+}
Added: sandbox/trunk/modules/scheduling/src/main/java/org/jboss/seam/scheduling/events/Second.java
===================================================================
--- sandbox/trunk/modules/scheduling/src/main/java/org/jboss/seam/scheduling/events/Second.java (rev 0)
+++ sandbox/trunk/modules/scheduling/src/main/java/org/jboss/seam/scheduling/events/Second.java 2009-08-26 21:51:22 UTC (rev 11434)
@@ -0,0 +1,35 @@
+/**
+ * JBoss, Home of Professional Open Source
+ * Copyright 2009, Red Hat, Inc. and/or its affiliates, and individual
+ * contributors by the @authors tag. See the copyright.txt in the
+ * distribution for a full listing of individual contributors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * http://www.apache.org/licenses/LICENSE-2.0
+ * 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.
+ */
+package org.jboss.seam.scheduling.events;
+
+/**
+ * Event that fires every second.
+ * @author Peter Royle
+ */
+public class Second extends AbstractTimeEvent
+{
+
+ /**
+ * Creates an instance of Second using the given value of timeFired.
+ * @param timeFired The time at which the event was fired.
+ */
+ public Second(long timeFired)
+ {
+ super(timeFired);
+ }
+
+}
Added: sandbox/trunk/modules/scheduling/src/main/java/org/jboss/seam/scheduling/exception/SchedulerConfigurationException.java
===================================================================
--- sandbox/trunk/modules/scheduling/src/main/java/org/jboss/seam/scheduling/exception/SchedulerConfigurationException.java (rev 0)
+++ sandbox/trunk/modules/scheduling/src/main/java/org/jboss/seam/scheduling/exception/SchedulerConfigurationException.java 2009-08-26 21:51:22 UTC (rev 11434)
@@ -0,0 +1,46 @@
+/**
+ * JBoss, Home of Professional Open Source
+ * Copyright 2009, Red Hat, Inc. and/or its affiliates, and individual
+ * contributors by the @authors tag. See the copyright.txt in the
+ * distribution for a full listing of individual contributors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * http://www.apache.org/licenses/LICENSE-2.0
+ * 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.
+ */
+package org.jboss.seam.scheduling.exception;
+
+/**
+ * Exception which is thrown when there is a problem with the configuration of
+ * the application using Seam Scheduling.
+ *
+ * @author Peter Royle
+ */
+public class SchedulerConfigurationException extends RuntimeException
+{
+
+ /**
+ * Create a new instance of SchedulerConfigurationException with the given error message.
+ * @param message The error message.
+ */
+ public SchedulerConfigurationException(String message)
+ {
+ super(message);
+ }
+
+ /**
+ * Create a new instance of ScheudlerConfigurationException with the given error message and cause.
+ * @param message The error message.
+ * @param cause The orginal cause.
+ */
+ public SchedulerConfigurationException(String message, Throwable cause)
+ {
+ super(message, cause);
+ }
+}
Added: sandbox/trunk/modules/scheduling/src/main/java/org/jboss/seam/scheduling/exception/SchedulerInitialisationException.java
===================================================================
--- sandbox/trunk/modules/scheduling/src/main/java/org/jboss/seam/scheduling/exception/SchedulerInitialisationException.java (rev 0)
+++ sandbox/trunk/modules/scheduling/src/main/java/org/jboss/seam/scheduling/exception/SchedulerInitialisationException.java 2009-08-26 21:51:22 UTC (rev 11434)
@@ -0,0 +1,44 @@
+/**
+ * JBoss, Home of Professional Open Source
+ * Copyright 2009, Red Hat, Inc. and/or its affiliates, and individual
+ * contributors by the @authors tag. See the copyright.txt in the
+ * distribution for a full listing of individual contributors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * http://www.apache.org/licenses/LICENSE-2.0
+ * 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.
+ */
+package org.jboss.seam.scheduling.exception;
+
+/**
+ * Exception thrown when there is a problem starting the Seam Scheduling module.
+ * @author Peter Royle
+ */
+public class SchedulerInitialisationException extends RuntimeException
+{
+
+ /**
+ * Create a new instance of SchedulerInitialisationException with the given error message.
+ * @param message The error message.
+ */
+ public SchedulerInitialisationException(String message)
+ {
+ super(message);
+ }
+
+ /**
+ * Create a new instance of SchedulerInitialisationException with the given error message and cause.
+ * @param message The error message.
+ * @param cause The orginal cause of the error.
+ */
+ public SchedulerInitialisationException(String message, Throwable cause)
+ {
+ super(message, cause);
+ }
+}
Added: sandbox/trunk/modules/scheduling/src/main/java/org/jboss/seam/scheduling/quartz/QuartzStarter.java
===================================================================
--- sandbox/trunk/modules/scheduling/src/main/java/org/jboss/seam/scheduling/quartz/QuartzStarter.java (rev 0)
+++ sandbox/trunk/modules/scheduling/src/main/java/org/jboss/seam/scheduling/quartz/QuartzStarter.java 2009-08-26 21:51:22 UTC (rev 11434)
@@ -0,0 +1,338 @@
+/**
+ * JBoss, Home of Professional Open Source
+ * Copyright 2009, Red Hat, Inc. and/or its affiliates, and individual
+ * contributors by the @authors tag. See the copyright.txt in the
+ * distribution for a full listing of individual contributors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * http://www.apache.org/licenses/LICENSE-2.0
+ * 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.
+ */
+package org.jboss.seam.scheduling.quartz;
+
+import java.lang.annotation.Annotation;
+import java.util.List;
+import javax.enterprise.inject.spi.ObserverMethod;
+import org.jboss.seam.scheduling.events.Second;
+import org.jboss.seam.scheduling.events.Minute;
+import org.jboss.seam.scheduling.events.Hour;
+import org.jboss.seam.scheduling.quartz.jobs.SecondJob;
+import java.text.ParseException;
+import java.util.Date;
+import java.util.GregorianCalendar;
+import java.util.HashMap;
+import java.util.HashSet;
+import java.util.Map;
+import java.util.Observer;
+import java.util.Properties;
+import java.util.Set;
+import javax.annotation.PreDestroy;
+import javax.enterprise.context.ApplicationScoped;
+import javax.enterprise.event.Observes;
+import javax.enterprise.inject.spi.AfterBeanDiscovery;
+import javax.enterprise.inject.spi.AfterDeploymentValidation;
+import javax.enterprise.inject.spi.BeanManager;
+import org.jboss.seam.scheduling.util.SchedulePropertiesManager;
+import org.jboss.webbeans.log.Log;
+import org.jboss.webbeans.log.Logging;
+import org.jboss.seam.scheduling.annotations.EveryBinding;
+import org.jboss.seam.scheduling.annotations.Scheduled;
+import org.jboss.seam.scheduling.quartz.jobs.HourJob;
+import org.jboss.seam.scheduling.quartz.jobs.MinuteJob;
+import org.jboss.seam.scheduling.quartz.jobs.ScheduledEventJob;
+import org.jboss.seam.scheduling.exception.SchedulerInitialisationException;
+import org.jboss.seam.scheduling.exception.SchedulerConfigurationException;
+import org.quartz.CronTrigger;
+import org.quartz.JobDataMap;
+import org.quartz.JobDetail;
+import org.quartz.Scheduler;
+import org.quartz.SchedulerException;
+import org.quartz.SimpleTrigger;
+import org.quartz.Trigger;
+import org.quartz.impl.StdSchedulerFactory;
+import org.apache.commons.lang.StringUtils;
+
+/**
+ * Methods of this class are called at various stages of the JSR-299 initialisation
+ * to set up and start the appropriate schedules in line with the scheduled events
+ * being observed by the application.
+ *
+ * @author Peter Royle
+ */
+@ApplicationScoped
+public class QuartzStarter
+{
+
+ /**
+ * The name of the property containing the observer method bindings to be used
+ * when storing and retreiving it from the job details.
+ */
+ public static final String BINDINGS = "binding";
+ /**
+ * The name of the property containing the schedule specification (in cron format)
+ * when storing and retreiving it from the job details.
+ */
+ public static final String CRON_SCHEDULE_SPEC = "cronScheduleSpec";
+ /**
+ * The name of the job group for the Second, Minute and Hour events.
+ */
+ public static final String TICKER_JOB_GROUP = "ticker_job_group";
+ /**
+ * The name of the job group for all arbitrarily scheduled events.
+ */
+ public static final String SCHEDULE_JOB_GROUP = "schedule_job_group";
+ /**
+ * The name of the JSR-299 BeanManager instance when a reference to it is
+ * stored and retrieved from the job details.
+ */
+ public static final String MANAGER_NAME = "manager";
+ private static final String BEANMAN_CLASSNAME_WEBBEANS = "org.jboss.webbeans.BeanManagerImpl";
+ private Scheduler scheduler;
+ private Log log = Logging.getLog(QuartzStarter.class);
+
+ /**
+ * Initialises the scheduler.
+ * @param afterDisc The initialisation event being observed.
+ */
+ public void initTicker(@Observes AfterBeanDiscovery afterDisc)
+ {
+ try {
+ scheduler = StdSchedulerFactory.getDefaultScheduler();
+ getScheduler().start();
+
+ } catch (SchedulerException ex) {
+ log.fatal("Error initialising/starting scheduler", ex);
+ }
+
+
+ }
+
+ /**
+ * Initialises schedulers for all of the observed scheduled events.
+ * @param afterValid The observed event.
+ * @param manager The JSR-299 Bean Manager.
+ */
+ public void startJobs(@Observes AfterDeploymentValidation afterValid,
+ BeanManager manager)
+ {
+ try {
+
+ // common Second payload sample and start time
+ GregorianCalendar gc = new GregorianCalendar();
+ gc.add(GregorianCalendar.SECOND, 1);
+ Date startTime = new Date(gc.getTimeInMillis());
+
+ // Start scheduler for Second every second
+ final Trigger secondTrigger = new SimpleTrigger("jcdiTickerTrigger", TICKER_JOB_GROUP, startTime, null, SimpleTrigger.REPEAT_INDEFINITELY, 1000);
+ Set tickObservers = manager.resolveObserverMethods(new Second(0), new EveryBinding());
+ scheduleTicks(tickObservers, "second-trigger", manager, secondTrigger, SecondJob.class);
+
+ // Start scheduler for Minute every minute
+ Set minTickObservers = manager.resolveObserverMethods(new Minute(0), new EveryBinding());
+ final CronTrigger minTrigger = new CronTrigger("jcdiMinutelyTickerTrigger", TICKER_JOB_GROUP, "0 * * ? * *");
+ minTrigger.setStartTime(startTime);
+ scheduleTicks(minTickObservers, "minute-trigger", manager, minTrigger, MinuteJob.class);
+
+ // Start scheduler for Hour every hour
+ Set hrlyTickObservers = manager.resolveObserverMethods(new Hour(0), new EveryBinding());
+ final CronTrigger hrTrigger = new CronTrigger("jcdiHourlyTickerTrigger", TICKER_JOB_GROUP, "0 0 * ? * *");
+ hrTrigger.setStartTime(startTime);
+ scheduleTicks(hrlyTickObservers, "hour-trigger", manager, hrTrigger, HourJob.class);
+
+ // arbitrarily scheduled events.
+ scheduleScheduledEvents(manager, startTime);
+
+ } catch (SchedulerException ex) {
+ throw new SchedulerInitialisationException("Error setting up scheduler.", ex);
+ } catch (ParseException pe) {
+ throw new SchedulerInitialisationException("Error parsing schedule while initialising scheduler.", pe);
+ }
+
+ }
+
+ /**
+ * Shutdown the scheduler on application close.
+ */
+ @PreDestroy
+ public void stopTicker()
+ {
+ try {
+ getScheduler().shutdown();
+ } catch (SchedulerException ex) {
+ log.error("Error shutting down scheduler", ex);
+ }
+ }
+
+ /**
+ * @return the scheduler
+ */
+ public Scheduler getScheduler()
+ {
+ return scheduler;
+ }
+
+ private List<ObserverMethod<?, ?>> getRegisteredObservers(
+ BeanManager manager) throws SchedulerInitialisationException
+ {
+ // TODO(PR): can we remove this compile-time dependency on WebBeans' EventObserver<?> using reflection? Also if we could loose ConcurrentSetMultiMap that would be good.
+ final List<ObserverMethod<?, ?>> registeredObservers;
+ if (manager.getClass().getName().equals(BEANMAN_CLASSNAME_WEBBEANS)) {
+ try {
+ registeredObservers = (List<ObserverMethod<?, ?>>) manager.getClass().
+ getDeclaredMethod("getObservers").invoke(manager);
+ } catch (Exception ex) {
+ throw new SchedulerInitialisationException("Error gettng list of observers from BeanManager (Web Beans implementstion)", ex);
+ }
+ } else {
+ throw new SchedulerInitialisationException("Unknown BeanManager implementation: " + manager.
+ getClass() + ". Please raise this as a feature request, stating the JSR-299 implementation in use if possible.");
+ }
+ return registeredObservers;
+ }
+
+ private String lookupNamedScheduleIfNecessary(final String scheduleSpec) throws SchedulerConfigurationException
+ {
+ final String cronScheduleSpec;
+ if (scheduleSpec.contains(" ")) {
+ cronScheduleSpec = scheduleSpec;
+ } else {
+ Properties schedProperties = SchedulePropertiesManager.instance().
+ getScheduleProperties();
+ cronScheduleSpec = schedProperties.getProperty(scheduleSpec);
+ if (StringUtils.isEmpty(cronScheduleSpec)) {
+ throw new SchedulerConfigurationException("Found empty or missing cron definition for named scheule '" + scheduleSpec + "'. Should be specified in the file " + SchedulePropertiesManager.SCHEDULE_PROPERTIES_PATH + " on the classpath.");
+ }
+ }
+ return cronScheduleSpec;
+ }
+
+ /**
+ * Construct the job details using the given parameter map and chedule the job
+ * to be executed by the given job class using the given trigger.
+ * @param jobName The name of the job to be executed.
+ * @param manager The BeanManager implementation.
+ * @param trigger The trigger representing the schedule of the job.
+ * @param jobKlass The class which will execute the job on schedule.
+ * @param jobParams The parameters to be passed to the job executor.
+ * @throws SchedulerException
+ */
+ private void scheduleJob(final String jobName, BeanManager manager,
+ final Trigger trigger, final Class jobKlass, Map jobParams) throws SchedulerException
+ {
+ JobDetail job = new JobDetail(jobName, trigger.getGroup(), jobKlass);
+ job.setJobDataMap(new JobDataMap());
+ job.getJobDataMap().put(MANAGER_NAME, manager);
+ job.getJobDataMap().putAll(jobParams);
+ getScheduler().scheduleJob(job, trigger);
+ log.info("Scheduler for " + jobName + " initialised");
+ }
+
+ /**
+ * Set up schedule for a given type of tick event (second, minute or hourly) but only if
+ * the given set of observers of that tick is not empty. This will pass an instance
+ * of the @Every binding type as the BINDINGS job parameter to be used when firing
+ * the events.
+ * @param tickObservers The set of observers of this event type (second, minute or hourly).
+ * @param jobName The name of the job.
+ * @param manager The BeanManager implementation.
+ * @param trigger The trigger representing the schedule of the job.
+ * @param jobKlass The class which will handle execution of the job on schedule.
+ * @throws SchedulerException
+ */
+ private void scheduleTicks(Set<Observer> tickObservers,
+ final String jobName, BeanManager manager, final Trigger trigger,
+ final Class jobKlass) throws SchedulerException
+ {
+ if (!tickObservers.isEmpty()) {
+ Map jobParams = new HashMap(1);
+ Set<Annotation> oneEveryBinding = new HashSet<Annotation>(1);
+ oneEveryBinding.add(new EveryBinding());
+ jobParams.put(BINDINGS, oneEveryBinding);
+ scheduleJob(jobName, manager, trigger, jobKlass, jobParams);
+ } else {
+ log.info("Skipping initilization of scheduler for " + jobName + " - No registered observers.");
+ }
+ }
+
+ /**
+ * Set up schedule for an arbitrarily scheduled event. This will pass the given
+ * observerBinding binding type as the BINDINGS job parameter to be used when firing
+ * the events. This binding type will usually be an instance of @Scheduled or
+ * some other binding type with the @Scheduled meta-annotation.
+ * @param scheduleSpec The schedule specification in cron format or the name of a named schedule.
+ * @param observerBindings The set of bindings found on the observers which will therefore be used when firing the events.
+ * @param manager The BeanManager implementation.
+ * @param startTime The time to start the schedule.
+ * @throws SchedulerException
+ */
+ private void scheduleJobForEvent(final String cronScheduleSpec,
+ final Set<Annotation> observerBindings, Date startTime, BeanManager manager)
+ throws ParseException, SchedulerException
+ {
+ final String name = "jcdiScheduledEventTrigger(" + cronScheduleSpec + ")";
+ log.info("Scheduling trigger for " + name);
+
+ final Trigger schedTrigger = new CronTrigger(name, SCHEDULE_JOB_GROUP, cronScheduleSpec);
+ schedTrigger.setStartTime(startTime);
+ final Map jobParams = new HashMap();
+ jobParams.put(CRON_SCHEDULE_SPEC, cronScheduleSpec);
+ jobParams.put(BINDINGS, observerBindings);
+ scheduleJob(name + "-trigger", manager, schedTrigger, ScheduledEventJob.class, jobParams);
+ }
+
+ /**
+ * Start scheduler for Event as per observers found (if any).
+ */
+ private void scheduleScheduledEvents(BeanManager manager, Date startTime) throws SchedulerException, SchedulerInitialisationException, ParseException
+ {
+ final List<ObserverMethod<?, ?>> registeredObservers = getRegisteredObservers(manager);
+ Map<String, Set<Annotation>> schedulesFound = new HashMap<String, Set<Annotation>>();
+ // collect the set of unique schedule specifications
+ for (ObserverMethod<?, ?> obsMeth : registeredObservers) {
+ for (Object bindingObj : obsMeth.getObservedBindings()) {
+
+ Annotation binding = (Annotation) bindingObj;
+ Scheduled schedBinding = null;
+
+ if (binding instanceof Scheduled) {
+ schedBinding = (Scheduled) binding;
+ } else {
+ // check for a @Scheduled meta-annotation
+ Scheduled scheduled = binding.annotationType().
+ getAnnotation(Scheduled.class);
+ if (scheduled != null) {
+ schedBinding = scheduled;
+ }
+ }
+
+ // if we've found an arbitrarily scheduled event, record it's bindings against
+ // the cron formatted schedule specification so that it can be fired according
+ // to the apropriate schedule.
+ if (schedBinding != null) {
+ final String cronScheduleSpec = lookupNamedScheduleIfNecessary(schedBinding.value());
+ Set<Annotation> existingAnnotations = schedulesFound.get(cronScheduleSpec);
+ if (existingAnnotations == null) {
+ existingAnnotations = new HashSet<Annotation>();
+ }
+ existingAnnotations.add(binding);
+ schedulesFound.put(cronScheduleSpec, existingAnnotations);
+ }
+ }
+ }
+
+ if (schedulesFound.size() > 0) {
+ // set up a schedule for each unique schedule spec found
+ for (String cronScheduleSpec : schedulesFound.keySet()) {
+ scheduleJobForEvent(cronScheduleSpec, schedulesFound.get(cronScheduleSpec), startTime, manager);
+ }
+ } else {
+ log.info("Skipping initilization of scheduler for arbitrarily scheduled events - No registered observers.");
+ }
+ }
+}
Added: sandbox/trunk/modules/scheduling/src/main/java/org/jboss/seam/scheduling/quartz/jobs/AbstractTimeEventJob.java
===================================================================
--- sandbox/trunk/modules/scheduling/src/main/java/org/jboss/seam/scheduling/quartz/jobs/AbstractTimeEventJob.java (rev 0)
+++ sandbox/trunk/modules/scheduling/src/main/java/org/jboss/seam/scheduling/quartz/jobs/AbstractTimeEventJob.java 2009-08-26 21:51:22 UTC (rev 11434)
@@ -0,0 +1,65 @@
+/**
+ * JBoss, Home of Professional Open Source
+ * Copyright 2009, Red Hat, Inc. and/or its affiliates, and individual
+ * contributors by the @authors tag. See the copyright.txt in the
+ * distribution for a full listing of individual contributors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * http://www.apache.org/licenses/LICENSE-2.0
+ * 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.
+ */
+package org.jboss.seam.scheduling.quartz.jobs;
+
+import java.lang.annotation.Annotation;
+import java.util.Set;
+import javax.enterprise.inject.spi.BeanManager;
+import org.jboss.seam.scheduling.quartz.*;
+import org.apache.commons.logging.Log;
+import org.apache.commons.logging.LogFactory;
+import org.jboss.seam.scheduling.events.AbstractTimeEvent;
+import org.quartz.Job;
+import org.quartz.JobExecutionContext;
+import org.quartz.JobExecutionException;
+
+/**
+ * Base class for quartz jobs which fire scheduled events (including the built-in
+ * second, minute and hourly events). Implementing classes must define type of the
+ * event to be fired.
+ *
+ * @author Peter Royle
+ */
+public abstract class AbstractTimeEventJob implements Job
+{
+
+ private Log log = LogFactory.getLog(SecondJob.class);
+
+ /**
+ * Implement this to return an instance of the appropriate event payload
+ * to be used when firing the event.
+ * @return an instance of the appropriate event type.
+ */
+ protected abstract AbstractTimeEvent createEventPayload();
+
+ /**
+ * Executes the internally scheduled job by firing the appropriate event with the
+ * appropriate binding annotation (to in turn execute the application-specific jobs
+ * which observe those events).
+ * @param context Details about the job.
+ * @throws JobExecutionException
+ */
+ public void execute(JobExecutionContext context) throws JobExecutionException
+ {
+ BeanManager manager = (BeanManager) context.getJobDetail().getJobDataMap().get(QuartzStarter.MANAGER_NAME);
+ final AbstractTimeEvent eventPayload = createEventPayload();
+ for (Annotation binding : (Set<Annotation>)context.getJobDetail().getJobDataMap().get(QuartzStarter.BINDINGS)) {
+ log.trace("Firing time event for " + eventPayload + " with binding " + binding);
+ manager.fireEvent(eventPayload, binding);
+ }
+ }
+}
Added: sandbox/trunk/modules/scheduling/src/main/java/org/jboss/seam/scheduling/quartz/jobs/HourJob.java
===================================================================
--- sandbox/trunk/modules/scheduling/src/main/java/org/jboss/seam/scheduling/quartz/jobs/HourJob.java (rev 0)
+++ sandbox/trunk/modules/scheduling/src/main/java/org/jboss/seam/scheduling/quartz/jobs/HourJob.java 2009-08-26 21:51:22 UTC (rev 11434)
@@ -0,0 +1,38 @@
+/**
+ * JBoss, Home of Professional Open Source
+ * Copyright 2009, Red Hat, Inc. and/or its affiliates, and individual
+ * contributors by the @authors tag. See the copyright.txt in the
+ * distribution for a full listing of individual contributors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * http://www.apache.org/licenses/LICENSE-2.0
+ * 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.
+ */
+package org.jboss.seam.scheduling.quartz.jobs;
+
+import org.jboss.seam.scheduling.events.AbstractTimeEvent;
+import org.jboss.seam.scheduling.events.Hour;
+
+
+/**
+ * Fires the Hour event with the @Every binding.
+ * @author Peter Royle
+ */
+public class HourJob extends AbstractTimeEventJob
+{
+
+ /**
+ * Create an event payload instance of type Hour with the current system time.
+ * @return an instance of Hour.
+ */
+ protected AbstractTimeEvent createEventPayload()
+ {
+ return new Hour(System.currentTimeMillis());
+ }
+}
Added: sandbox/trunk/modules/scheduling/src/main/java/org/jboss/seam/scheduling/quartz/jobs/MinuteJob.java
===================================================================
--- sandbox/trunk/modules/scheduling/src/main/java/org/jboss/seam/scheduling/quartz/jobs/MinuteJob.java (rev 0)
+++ sandbox/trunk/modules/scheduling/src/main/java/org/jboss/seam/scheduling/quartz/jobs/MinuteJob.java 2009-08-26 21:51:22 UTC (rev 11434)
@@ -0,0 +1,37 @@
+/**
+ * JBoss, Home of Professional Open Source
+ * Copyright 2009, Red Hat, Inc. and/or its affiliates, and individual
+ * contributors by the @authors tag. See the copyright.txt in the
+ * distribution for a full listing of individual contributors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * http://www.apache.org/licenses/LICENSE-2.0
+ * 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.
+ */
+package org.jboss.seam.scheduling.quartz.jobs;
+
+import org.jboss.seam.scheduling.events.AbstractTimeEvent;
+import org.jboss.seam.scheduling.events.Minute;
+
+/**
+ * Fires the Minute event with the @Every binding.
+ * @author Peter Royle
+ */
+public class MinuteJob extends AbstractTimeEventJob
+{
+
+ /**
+ *Create an event payload instance of type Minute with the current system time.
+ * @return an instance of Minute.
+ */
+ protected AbstractTimeEvent createEventPayload()
+ {
+ return new Minute(System.currentTimeMillis());
+ }
+}
Added: sandbox/trunk/modules/scheduling/src/main/java/org/jboss/seam/scheduling/quartz/jobs/ScheduledEventJob.java
===================================================================
--- sandbox/trunk/modules/scheduling/src/main/java/org/jboss/seam/scheduling/quartz/jobs/ScheduledEventJob.java (rev 0)
+++ sandbox/trunk/modules/scheduling/src/main/java/org/jboss/seam/scheduling/quartz/jobs/ScheduledEventJob.java 2009-08-26 21:51:22 UTC (rev 11434)
@@ -0,0 +1,37 @@
+/**
+ * JBoss, Home of Professional Open Source
+ * Copyright 2009, Red Hat, Inc. and/or its affiliates, and individual
+ * contributors by the @authors tag. See the copyright.txt in the
+ * distribution for a full listing of individual contributors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * http://www.apache.org/licenses/LICENSE-2.0
+ * 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.
+ */
+package org.jboss.seam.scheduling.quartz.jobs;
+
+import org.jboss.seam.scheduling.events.AbstractTimeEvent;
+import org.jboss.seam.scheduling.events.Event;
+
+/**
+ * Fires the 'Event' event with the current system time.
+ * @author Peter Royle
+ */
+public class ScheduledEventJob extends AbstractTimeEventJob
+{
+
+ /**
+ * Create an event payload instance of type Event with the current system time.
+ * @return an instance of Event.
+ */
+ protected AbstractTimeEvent createEventPayload()
+ {
+ return new Event(System.currentTimeMillis());
+ }
+}
Added: sandbox/trunk/modules/scheduling/src/main/java/org/jboss/seam/scheduling/quartz/jobs/SecondJob.java
===================================================================
--- sandbox/trunk/modules/scheduling/src/main/java/org/jboss/seam/scheduling/quartz/jobs/SecondJob.java (rev 0)
+++ sandbox/trunk/modules/scheduling/src/main/java/org/jboss/seam/scheduling/quartz/jobs/SecondJob.java 2009-08-26 21:51:22 UTC (rev 11434)
@@ -0,0 +1,37 @@
+/**
+ * JBoss, Home of Professional Open Source
+ * Copyright 2009, Red Hat, Inc. and/or its affiliates, and individual
+ * contributors by the @authors tag. See the copyright.txt in the
+ * distribution for a full listing of individual contributors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * http://www.apache.org/licenses/LICENSE-2.0
+ * 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.
+ */
+package org.jboss.seam.scheduling.quartz.jobs;
+
+import org.jboss.seam.scheduling.events.AbstractTimeEvent;
+import org.jboss.seam.scheduling.events.Second;
+
+/**
+ * Fires the Second event with the @Every binding.
+ * @author Peter Royle
+ */
+public class SecondJob extends AbstractTimeEventJob
+{
+
+ /**
+ * Create an instance of the Event payload using the current system time.
+ * @return an instance of Event.
+ */
+ protected AbstractTimeEvent createEventPayload()
+ {
+ return new Second(System.currentTimeMillis());
+ }
+}
Added: sandbox/trunk/modules/scheduling/src/main/java/org/jboss/seam/scheduling/util/SchedulePropertiesManager.java
===================================================================
--- sandbox/trunk/modules/scheduling/src/main/java/org/jboss/seam/scheduling/util/SchedulePropertiesManager.java (rev 0)
+++ sandbox/trunk/modules/scheduling/src/main/java/org/jboss/seam/scheduling/util/SchedulePropertiesManager.java 2009-08-26 21:51:22 UTC (rev 11434)
@@ -0,0 +1,86 @@
+/**
+ * JBoss, Home of Professional Open Source
+ * Copyright 2009, Red Hat, Inc. and/or its affiliates, and individual
+ * contributors by the @authors tag. See the copyright.txt in the
+ * distribution for a full listing of individual contributors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * http://www.apache.org/licenses/LICENSE-2.0
+ * 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.
+ */
+package org.jboss.seam.scheduling.util;
+
+import java.io.IOException;
+import java.io.InputStream;
+import java.util.Properties;
+import org.jboss.webbeans.log.Log;
+import org.jboss.webbeans.log.Logging;
+
+/**
+ * A singleton instance of the properties read from the /schedule.properties
+ * file on the classpath.
+ * @author Peter Royle
+ */
+public class SchedulePropertiesManager
+{
+
+ /**
+ * The path on the classpath at which the properties file cotaining named schedules is expected to be found.
+ */
+ public static final String SCHEDULE_PROPERTIES_PATH = "/scheduler.properties";
+
+ private Properties scheduleProperties = null;
+ private static SchedulePropertiesManager instance = null;
+ private Log log = Logging.getLog(SchedulePropertiesManager.class);
+
+ /**
+ * Return a singleton instance of this class, creating the instance if necessary.
+ * @return the singleton instance of this class.
+ */
+ public static SchedulePropertiesManager instance()
+ {
+ if (instance == null) {
+ synchronized (SCHEDULE_PROPERTIES_PATH) {
+ if (instance == null) {
+ instance = new SchedulePropertiesManager();
+ }
+ }
+ }
+ return instance;
+ }
+
+ /**
+ * Creates a new instance of SchedulePropertiesManager, reading the named schedules
+ * properties file if found.
+ */
+ public SchedulePropertiesManager()
+ {
+ scheduleProperties = new Properties();
+ final InputStream schedPropsIS = this.getClass().getResourceAsStream(SCHEDULE_PROPERTIES_PATH);
+ if (schedPropsIS != null) {
+ try {
+ scheduleProperties.load(schedPropsIS);
+ } catch (IOException ex) {
+ log.error("Error loading properties file for named schedules at " + SCHEDULE_PROPERTIES_PATH, ex);
+ }
+ } else {
+ log.warn("No named schedule configurations found (" + SCHEDULE_PROPERTIES_PATH +
+ " not found on classpath).");
+ }
+ }
+
+ /**
+ *
+ * @return the scheduleProperties.
+ */
+ public Properties getScheduleProperties()
+ {
+ return scheduleProperties;
+ }
+}
Added: sandbox/trunk/modules/scheduling/src/main/java/org/jboss/seam/scheduling/util/WebBeansManagerUtils.java
===================================================================
--- sandbox/trunk/modules/scheduling/src/main/java/org/jboss/seam/scheduling/util/WebBeansManagerUtils.java (rev 0)
+++ sandbox/trunk/modules/scheduling/src/main/java/org/jboss/seam/scheduling/util/WebBeansManagerUtils.java 2009-08-26 21:51:22 UTC (rev 11434)
@@ -0,0 +1,43 @@
+/**
+ * JBoss, Home of Professional Open Source
+ * Copyright 2009, Red Hat, Inc. and/or its affiliates, and individual
+ * contributors by the @authors tag. See the copyright.txt in the
+ * distribution for a full listing of individual contributors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * http://www.apache.org/licenses/LICENSE-2.0
+ * 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.
+ */
+package org.jboss.seam.scheduling.util;
+
+import java.lang.annotation.Annotation;
+import javax.enterprise.context.spi.CreationalContext;
+import javax.enterprise.inject.spi.Bean;
+import javax.enterprise.inject.spi.BeanManager;
+
+/**
+ * Utility methods for JSR-299 related functionality.
+ * @author Peter Royle
+ */
+public class WebBeansManagerUtils
+{
+
+ public static <T> T getInstanceByType(BeanManager manager, Class<T> type, Annotation... bindings)
+ {
+ final Bean<?> bean = manager.getBeans(type).iterator().next();
+ CreationalContext cc = manager.createCreationalContext(bean);
+ return (T) manager.getReference(bean, type, cc);
+ }
+
+ public static <T> T getInstanceByType(BeanManager manager, Class<T> type, CreationalContext cc, Annotation... bindings)
+ {
+ return (T) manager.getReference(
+ manager.getBeans(type).iterator().next(), type, cc);
+ }
+}
Added: sandbox/trunk/modules/scheduling/src/main/resources/META-INF/beans.xml
===================================================================
--- sandbox/trunk/modules/scheduling/src/main/resources/META-INF/beans.xml (rev 0)
+++ sandbox/trunk/modules/scheduling/src/main/resources/META-INF/beans.xml 2009-08-26 21:51:22 UTC (rev 11434)
@@ -0,0 +1,19 @@
+<!--
+
+ JBoss, Home of Professional Open Source
+ Copyright 2009, Red Hat, Inc. and/or its affiliates, and individual
+ contributors by the @authors tag. See the copyright.txt in the
+ distribution for a full listing of individual contributors.
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+ http://www.apache.org/licenses/LICENSE-2.0
+ 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.
+
+-->
+<beans></beans>
Added: sandbox/trunk/modules/scheduling/src/main/resources/log4j.properties
===================================================================
--- sandbox/trunk/modules/scheduling/src/main/resources/log4j.properties (rev 0)
+++ sandbox/trunk/modules/scheduling/src/main/resources/log4j.properties 2009-08-26 21:51:22 UTC (rev 11434)
@@ -0,0 +1,35 @@
+#
+# JBoss, Home of Professional Open Source
+# Copyright 2009, Red Hat, Inc. and/or its affiliates, and individual
+# contributors by the @authors tag. See the copyright.txt in the
+# distribution for a full listing of individual contributors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+# http://www.apache.org/licenses/LICENSE-2.0
+# 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.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+# http://www.apache.org/licenses/LICENSE-2.0
+# 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.
+#
+# Set root logger level to DEBUG and its only appender to A1.
+log4j.rootLogger=TRACE, A1
+
+# A1 is set to be a ConsoleAppender.
+log4j.appender.A1=org.apache.log4j.ConsoleAppender
+
+# A1 uses PatternLayout.
+log4j.appender.A1.layout=org.apache.log4j.PatternLayout
+log4j.appender.A1.layout.ConversionPattern=%-4r [%t] %-5p %c %x - %m%n
Added: sandbox/trunk/modules/scheduling/src/main/resources/quartz.properties
===================================================================
--- sandbox/trunk/modules/scheduling/src/main/resources/quartz.properties (rev 0)
+++ sandbox/trunk/modules/scheduling/src/main/resources/quartz.properties 2009-08-26 21:51:22 UTC (rev 11434)
@@ -0,0 +1,35 @@
+#
+# JBoss, Home of Professional Open Source
+# Copyright 2009, Red Hat, Inc. and/or its affiliates, and individual
+# contributors by the @authors tag. See the copyright.txt in the
+# distribution for a full listing of individual contributors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+# http://www.apache.org/licenses/LICENSE-2.0
+# 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.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+# http://www.apache.org/licenses/LICENSE-2.0
+# 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.
+#
+org.quartz.scheduler.instanceName = Sched1
+org.quartz.scheduler.instanceId = 1
+org.quartz.scheduler.rmi.export = false
+org.quartz.scheduler.rmi.proxy = false
+
+org.quartz.threadPool.class = org.quartz.simpl.SimpleThreadPool
+org.quartz.threadPool.threadCount = 1
+
+org.quartz.jobStore.class = org.quartz.simpl.RAMJobStore
Added: sandbox/trunk/modules/scheduling/src/test/java/org/jboss/seam/scheduling/AbstractCDITest.java
===================================================================
--- sandbox/trunk/modules/scheduling/src/test/java/org/jboss/seam/scheduling/AbstractCDITest.java (rev 0)
+++ sandbox/trunk/modules/scheduling/src/test/java/org/jboss/seam/scheduling/AbstractCDITest.java 2009-08-26 21:51:22 UTC (rev 11434)
@@ -0,0 +1,105 @@
+/**
+ * JBoss, Home of Professional Open Source
+ * Copyright 2009, Red Hat, Inc. and/or its affiliates, and individual
+ * contributors by the @authors tag. See the copyright.txt in the
+ * distribution for a full listing of individual contributors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * http://www.apache.org/licenses/LICENSE-2.0
+ * 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.
+ */
+package org.jboss.seam.scheduling;
+
+import org.jboss.seam.scheduling.quartz.QuartzStarter;
+import java.util.ArrayList;
+import java.util.Arrays;
+import java.util.Collections;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import javax.enterprise.inject.spi.Bean;
+import org.jboss.webbeans.BeanManagerImpl;
+import org.jboss.webbeans.CurrentManager;
+import org.jboss.webbeans.bean.RIBean;
+import org.jboss.webbeans.bean.SimpleBean;
+import org.jboss.seam.scheduling.util.WebBeansManagerUtils;
+import org.jboss.webbeans.mock.MockDeployment;
+import org.jboss.webbeans.mock.MockServletLifecycle;
+import org.testng.annotations.AfterClass;
+import org.testng.annotations.BeforeClass;
+import org.testng.annotations.Test;
+
+/**
+ *
+ * @author pete
+ */
+public abstract class AbstractCDITest
+{
+
+ MockServletLifecycle lifecycle;
+ BeanManagerImpl manager;
+
+ public AbstractCDITest()
+ {
+ }
+
+ @AfterClass(alwaysRun = true)
+ public void afterClass() throws Exception
+ {
+ lifecycle.endRequest();
+ lifecycle.endSession();
+ lifecycle.endApplication();
+ lifecycle = null;
+ }
+
+ @BeforeClass
+ public void beforeClass() throws Throwable
+ {
+ lifecycle = new MockServletLifecycle();
+ lifecycle.initialize();
+ MockDeployment deployment = lifecycle.getDeployment();
+ final List<Class<? extends Object>> allBeansList = new ArrayList<Class<? extends Object>>(getDefaultWebBeans());
+ allBeansList.addAll(getAdditionalWebBeans());
+ deployment.getArchive().setBeanClasses(allBeansList);
+ lifecycle.beginApplication();
+ lifecycle.beginSession();
+ lifecycle.beginRequest();
+ manager = CurrentManager.rootManager();
+ }
+
+ @Test
+ public void testDefaultBeans()
+ {
+ Map<Class<?>, Bean<?>> beans = new HashMap<Class<?>, Bean<?>>();
+ for (Bean<?> bean : manager.getBeans()) {
+ if (bean instanceof RIBean) {
+ beans.put(((RIBean<?>) bean).getType(), bean);
+ }
+ }
+ for (Class klass : getDefaultWebBeans()) {
+ assert beans.containsKey(klass);
+ assert beans.get(klass) instanceof SimpleBean;
+ }
+ WebBeansManagerUtils.getInstanceByType(manager, TestBean.class).ping();
+ }
+
+ public List<Class<? extends Object>> getDefaultWebBeans()
+ {
+ return Arrays.asList(TestBean.class, AnotherTestBean.class, QuartzStarter.class);
+ }
+
+ /**
+ * Override in your tests to register specific beans with the manager.
+ * @return
+ */
+ public List<Class<? extends Object>> getAdditionalWebBeans()
+ {
+ return Collections.EMPTY_LIST;
+ }
+}
Added: sandbox/trunk/modules/scheduling/src/test/java/org/jboss/seam/scheduling/AnotherTestBean.java
===================================================================
--- sandbox/trunk/modules/scheduling/src/test/java/org/jboss/seam/scheduling/AnotherTestBean.java (rev 0)
+++ sandbox/trunk/modules/scheduling/src/test/java/org/jboss/seam/scheduling/AnotherTestBean.java 2009-08-26 21:51:22 UTC (rev 11434)
@@ -0,0 +1,25 @@
+/**
+ * JBoss, Home of Professional Open Source
+ * Copyright 2009, Red Hat, Inc. and/or its affiliates, and individual
+ * contributors by the @authors tag. See the copyright.txt in the
+ * distribution for a full listing of individual contributors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * http://www.apache.org/licenses/LICENSE-2.0
+ * 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.
+ */
+package org.jboss.seam.scheduling;
+
+/**
+ *
+ * @author pete
+ */
+public class AnotherTestBean {
+
+}
Added: sandbox/trunk/modules/scheduling/src/test/java/org/jboss/seam/scheduling/Frequent.java
===================================================================
--- sandbox/trunk/modules/scheduling/src/test/java/org/jboss/seam/scheduling/Frequent.java (rev 0)
+++ sandbox/trunk/modules/scheduling/src/test/java/org/jboss/seam/scheduling/Frequent.java 2009-08-26 21:51:22 UTC (rev 11434)
@@ -0,0 +1,41 @@
+/**
+ * JBoss, Home of Professional Open Source
+ * Copyright 2009, Red Hat, Inc. and/or its affiliates, and individual
+ * contributors by the @authors tag. See the copyright.txt in the
+ * distribution for a full listing of individual contributors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * http://www.apache.org/licenses/LICENSE-2.0
+ * 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.
+ */
+package org.jboss.seam.scheduling;
+
+import java.lang.annotation.ElementType;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+import java.lang.annotation.Target;
+import javax.enterprise.inject.BindingType;
+import org.jboss.seam.scheduling.annotations.Scheduled;
+
+/**
+ * A typesafe representation of the schedule named "test.one" for use as a binding
+ * type for observervers of Event (instead of using the @Scheduled annotation directly).
+ * This is achieved by creating an otherwise standard binding type which is also annotated with the
+ * @Scheduled anotation specifying the schedule specification in cron format or the name
+ * of the schedule.
+ *
+ * @author Peter Royle
+ */
+@Scheduled("test.one")
+@BindingType
+(a)Retention(RetentionPolicy.RUNTIME)
+@Target( { ElementType.PARAMETER, ElementType.METHOD, ElementType.FIELD, ElementType.TYPE })
+public @interface Frequent
+{
+}
Added: sandbox/trunk/modules/scheduling/src/test/java/org/jboss/seam/scheduling/ScheduledEventTest.java
===================================================================
--- sandbox/trunk/modules/scheduling/src/test/java/org/jboss/seam/scheduling/ScheduledEventTest.java (rev 0)
+++ sandbox/trunk/modules/scheduling/src/test/java/org/jboss/seam/scheduling/ScheduledEventTest.java 2009-08-26 21:51:22 UTC (rev 11434)
@@ -0,0 +1,146 @@
+/**
+ * JBoss, Home of Professional Open Source
+ * Copyright 2009, Red Hat, Inc. and/or its affiliates, and individual
+ * contributors by the @authors tag. See the copyright.txt in the
+ * distribution for a full listing of individual contributors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * http://www.apache.org/licenses/LICENSE-2.0
+ * 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.
+ */
+package org.jboss.seam.scheduling;
+
+import org.jboss.seam.scheduling.quartz.QuartzStarter;
+import java.io.Serializable;
+import java.util.ArrayList;
+import java.util.Arrays;
+import java.util.List;
+import javax.enterprise.context.ApplicationScoped;
+import javax.enterprise.event.Observes;
+import org.apache.commons.logging.Log;
+import org.apache.commons.logging.LogFactory;
+import org.jboss.seam.scheduling.util.WebBeansManagerUtils;
+import org.jboss.seam.scheduling.annotations.Scheduled;
+import org.jboss.seam.scheduling.events.Event;
+import org.quartz.SchedulerException;
+import org.testng.Assert;
+import org.testng.annotations.Test;
+
+/**
+ *
+ * @author pete
+ */
+@ApplicationScoped
+public class ScheduledEventTest extends AbstractCDITest implements Serializable
+{
+
+ private static final int MAX_TIME_TO_WAIT = 20000;
+ private static final int SLEEP_TIME = 2000;
+ private boolean scheduledEventObserved = false;
+ private boolean namedEventObserved = false;
+ private boolean typesafeEventObserved = false;
+ private Log log = LogFactory.getLog(ScheduledEventTest.class);
+
+ @Override
+ public List<Class<? extends Object>> getAdditionalWebBeans()
+ {
+ List<Class<? extends Object>> list = new ArrayList<Class<? extends Object>>(1);
+ list.add(ScheduledEventTest.class);
+ return list;
+ }
+
+ /**
+ * Test that the ScheduledEventTest is registered as a WebBean.
+ */
+ @Test
+ public void testTickObserver()
+ {
+ log.info("Testing schedule observer exists as a WebBean");
+ WebBeansManagerUtils.getInstanceByType(manager, ScheduledEventTest.class);
+ }
+
+ @Test
+ public void testScheduleDoesGetRegistered() throws SchedulerException
+ {
+ QuartzStarter qStarter = WebBeansManagerUtils.getInstanceByType(manager, QuartzStarter.class);
+ List jobGroupNames = Arrays.asList(qStarter.getScheduler().
+ getJobGroupNames());
+ assert jobGroupNames.contains(QuartzStarter.SCHEDULE_JOB_GROUP);
+ }
+
+ @Test
+ public void testScheduleDoesFire()
+ {
+ log.info("Testing shedule observer receiving events");
+ ScheduledEventTest schedPresBean = WebBeansManagerUtils.
+ getInstanceByType(manager, ScheduledEventTest.class);
+ assert schedPresBean.isScheduledEventObserved() == false;
+ assert schedPresBean.isNamedEventObserved() == false;
+ assert schedPresBean.isTypesafeEventObserved() == false;
+ int totalTimeWaited = 0;
+ while (!schedPresBean.isScheduledEventObserved() && !schedPresBean.isNamedEventObserved() &&
+ !schedPresBean.isTypesafeEventObserved() && totalTimeWaited < MAX_TIME_TO_WAIT) {
+ try {
+ log.info("Sleeping for a few seconds, waiting for all events to fire. Waited for " + totalTimeWaited + "ms so far ...");
+ totalTimeWaited += SLEEP_TIME;
+ Thread.sleep(SLEEP_TIME);
+ } catch (InterruptedException ex) {
+ log.error("Thread was woken up while sleeping");
+ Assert.fail("Thread was woken up while sleeping. Why?");
+ ex.printStackTrace();
+ }
+ }
+ assert schedPresBean.isScheduledEventObserved() == true;
+ assert schedPresBean.isNamedEventObserved() == true;
+ assert schedPresBean.isTypesafeEventObserved() == true;
+
+ }
+
+ public void onSchedule(@Observes @Scheduled("*/5 * * ? * *") Event event)
+ {
+ log.info("Event observed: " + event.toString());
+ this.scheduledEventObserved = true;
+ }
+
+ public void onNamedSchedule(@Observes @Scheduled("test.one") Event event)
+ {
+ log.info("Event observed: " + event.toString());
+ this.namedEventObserved = true;
+ }
+
+ public void onTypesafeSchedule(@Observes @Frequent Event event)
+ {
+ log.info("Event observed: " + event.toString());
+ this.typesafeEventObserved = true;
+ }
+
+ /**
+ * @return if the unnamed, scheduled event has been observed.
+ */
+ public boolean isScheduledEventObserved()
+ {
+ return scheduledEventObserved;
+ }
+
+ /**
+ * @return if the named event has been observed.
+ */
+ public boolean isNamedEventObserved()
+ {
+ return namedEventObserved;
+ }
+
+ /**
+ * @return if the typesafe event has been observed.
+ */
+ public boolean isTypesafeEventObserved()
+ {
+ return typesafeEventObserved;
+ }
+}
Added: sandbox/trunk/modules/scheduling/src/test/java/org/jboss/seam/scheduling/TestBean.java
===================================================================
--- sandbox/trunk/modules/scheduling/src/test/java/org/jboss/seam/scheduling/TestBean.java (rev 0)
+++ sandbox/trunk/modules/scheduling/src/test/java/org/jboss/seam/scheduling/TestBean.java 2009-08-26 21:51:22 UTC (rev 11434)
@@ -0,0 +1,35 @@
+/**
+ * JBoss, Home of Professional Open Source
+ * Copyright 2009, Red Hat, Inc. and/or its affiliates, and individual
+ * contributors by the @authors tag. See the copyright.txt in the
+ * distribution for a full listing of individual contributors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * http://www.apache.org/licenses/LICENSE-2.0
+ * 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.
+ */
+
+package org.jboss.seam.scheduling;
+
+import org.jboss.webbeans.log.LogProvider;
+import org.jboss.webbeans.log.Logging;
+
+/**
+ *
+ * @author pete
+ */
+public class TestBean {
+
+ private static LogProvider log = Logging.getLogProvider(TestBean.class);
+
+ public void ping() {
+ log.info("Pinging " + this.getClass().getName());
+ }
+
+}
Added: sandbox/trunk/modules/scheduling/src/test/java/org/jboss/seam/scheduling/TickerAbsentTest.java
===================================================================
--- sandbox/trunk/modules/scheduling/src/test/java/org/jboss/seam/scheduling/TickerAbsentTest.java (rev 0)
+++ sandbox/trunk/modules/scheduling/src/test/java/org/jboss/seam/scheduling/TickerAbsentTest.java 2009-08-26 21:51:22 UTC (rev 11434)
@@ -0,0 +1,50 @@
+/**
+ * JBoss, Home of Professional Open Source
+ * Copyright 2009, Red Hat, Inc. and/or its affiliates, and individual
+ * contributors by the @authors tag. See the copyright.txt in the
+ * distribution for a full listing of individual contributors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * http://www.apache.org/licenses/LICENSE-2.0
+ * 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.
+ */
+package org.jboss.seam.scheduling;
+
+import org.jboss.seam.scheduling.quartz.QuartzStarter;
+import java.util.Arrays;
+import java.util.List;
+import java.util.NoSuchElementException;
+import org.jboss.seam.scheduling.util.WebBeansManagerUtils;
+import org.quartz.SchedulerException;
+import org.testng.annotations.Test;
+
+/**
+ * Test that the Ticker is NOT automatically initialised if there is NOT an observer
+ * of the Tick event present on the claspath.
+ * @author Peter Royle
+ */
+public class TickerAbsentTest extends AbstractCDITest {
+
+ /**
+ * Test that the TickObserverBean is not registered with the test container
+ * by default (ie: unless there are observers found to be listening).
+ */
+ @Test(expectedExceptions={NoSuchElementException.class})
+ public void testTickObserver() throws Exception {
+ WebBeansManagerUtils.getInstanceByType(manager, TickerPresentTest.class);
+ }
+
+ @Test
+ public void testTickDoesntGetRegistered() throws SchedulerException {
+ QuartzStarter qStarter = WebBeansManagerUtils.getInstanceByType(manager, QuartzStarter.class);
+ List jobGroupNames = Arrays.asList(qStarter.getScheduler().getJobGroupNames());
+ assert !jobGroupNames.contains(QuartzStarter.TICKER_JOB_GROUP);
+ }
+
+}
Added: sandbox/trunk/modules/scheduling/src/test/java/org/jboss/seam/scheduling/TickerPresentTest.java
===================================================================
--- sandbox/trunk/modules/scheduling/src/test/java/org/jboss/seam/scheduling/TickerPresentTest.java (rev 0)
+++ sandbox/trunk/modules/scheduling/src/test/java/org/jboss/seam/scheduling/TickerPresentTest.java 2009-08-26 21:51:22 UTC (rev 11434)
@@ -0,0 +1,143 @@
+/**
+ * JBoss, Home of Professional Open Source
+ * Copyright 2009, Red Hat, Inc. and/or its affiliates, and individual
+ * contributors by the @authors tag. See the copyright.txt in the
+ * distribution for a full listing of individual contributors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * http://www.apache.org/licenses/LICENSE-2.0
+ * 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.
+ */
+package org.jboss.seam.scheduling;
+
+import org.jboss.seam.scheduling.quartz.QuartzStarter;
+import org.jboss.seam.scheduling.events.Second;
+import java.io.Serializable;
+import java.util.ArrayList;
+import java.util.Arrays;
+import java.util.List;
+import javax.enterprise.context.ApplicationScoped;
+import javax.enterprise.event.Observes;
+import org.apache.commons.logging.Log;
+import org.apache.commons.logging.LogFactory;
+import org.jboss.seam.scheduling.util.WebBeansManagerUtils;
+import org.jboss.seam.scheduling.annotations.Every;
+import org.jboss.seam.scheduling.events.Minute;
+import org.quartz.SchedulerException;
+import org.testng.Assert;
+import org.testng.annotations.Test;
+
+/**
+ * Test that the Ticker is automatically initialised if there is an observer
+ * of the Second event present on the classpath. Ditto for Minute.
+ *
+ * @author Peter Royle
+ */
+@ApplicationScoped
+public class TickerPresentTest extends AbstractCDITest implements Serializable
+{
+ private static final int MAX_TIME_TO_WAIT = 70000;
+ private static final int SLEEP_TIME = 2000;
+
+ private boolean secondTickObserved = false;
+ private boolean minuteTickObserved = false;
+ private Log log = LogFactory.getLog(TickerPresentTest.class);
+
+ @Override
+ public List<Class<? extends Object>> getAdditionalWebBeans()
+ {
+ List<Class<? extends Object>> list = new ArrayList<Class<? extends Object>>(1);
+ list.add(TickerPresentTest.class);
+ return list;
+ }
+
+ /**
+ * Test that the TickObserverBean is registered as a WebBean.
+ */
+ @Test
+ public void testTickObserver()
+ {
+ log.info("Testing tick observer exists as a WebBean");
+ WebBeansManagerUtils.getInstanceByType(manager, TickerPresentTest.class);
+ }
+
+ @Test
+ public void testTickDoesGetRegistered() throws SchedulerException
+ {
+ QuartzStarter qStarter = WebBeansManagerUtils.getInstanceByType(manager, QuartzStarter.class);
+ List jobGroupNames = Arrays.asList(qStarter.getScheduler().getJobGroupNames());
+ assert jobGroupNames.contains(QuartzStarter.TICKER_JOB_GROUP);
+ }
+
+ @Test
+ public void testSecondTickDoesFire()
+ {
+ log.info("Testing tick observer receiving ticks");
+ TickerPresentTest tickPresTestBean = WebBeansManagerUtils.getInstanceByType(manager, TickerPresentTest.class);
+ try {
+ log.debug("Sleeping for a few seconds, waiting for a Tick event or two ...");
+ Thread.sleep(SLEEP_TIME);
+ } catch (InterruptedException ex) {
+ log.error("Thread was woken up while sleeping");
+ Assert.fail("Thread was woken up while sleeping. Why?");
+ ex.printStackTrace();
+ }
+ assert tickPresTestBean.isSecondTickObserved() == true;
+
+ }
+
+ @Test(groups={"long-running"})
+ public void testMinuteTickDoesFire()
+ {
+ log.info("Testing minute observer fires (could take up to a minute) ... ");
+ TickerPresentTest tickPresTestBean = WebBeansManagerUtils.getInstanceByType(manager, TickerPresentTest.class);
+ int totalTimeWaited = 0;
+ while (!tickPresTestBean.isMinuteTickObserved() && totalTimeWaited < MAX_TIME_TO_WAIT) {
+ try {
+ log.debug("Sleeping for a few seconds, waiting for a Minute Tick event ...");
+ totalTimeWaited += SLEEP_TIME;
+ Thread.sleep(SLEEP_TIME);
+ } catch (InterruptedException ex) {
+ log.error("Thread was woken up while sleeping");
+ Assert.fail("Thread was woken up while sleeping. Why?");
+ ex.printStackTrace();
+ }
+ }
+ assert tickPresTestBean.isMinuteTickObserved() == true;
+
+ }
+
+ public void onTick(@Observes @Every Second second)
+ {
+ log.info("Tick observed (second): " + second.toString());
+ this.secondTickObserved = true;
+ }
+
+ public void onTick(@Observes @Every Minute minute)
+ {
+ log.info("Tick observed (minute): " + minute.toString());
+ this.minuteTickObserved = true;
+ }
+
+ /**
+ * @return the secondTickObserved
+ */
+ public boolean isSecondTickObserved()
+ {
+ return secondTickObserved;
+ }
+
+ /**
+ * @return the minuteTickObserved
+ */
+ public boolean isMinuteTickObserved()
+ {
+ return minuteTickObserved;
+ }
+}
Added: sandbox/trunk/modules/scheduling/src/test/resources/log4j.properties
===================================================================
--- sandbox/trunk/modules/scheduling/src/test/resources/log4j.properties (rev 0)
+++ sandbox/trunk/modules/scheduling/src/test/resources/log4j.properties 2009-08-26 21:51:22 UTC (rev 11434)
@@ -0,0 +1,35 @@
+#
+# JBoss, Home of Professional Open Source
+# Copyright 2009, Red Hat, Inc. and/or its affiliates, and individual
+# contributors by the @authors tag. See the copyright.txt in the
+# distribution for a full listing of individual contributors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+# http://www.apache.org/licenses/LICENSE-2.0
+# 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.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+# http://www.apache.org/licenses/LICENSE-2.0
+# 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.
+#
+# Set root logger level to DEBUG and its only appender to A1.
+log4j.rootLogger=DEBUG, A1
+
+# A1 is set to be a ConsoleAppender.
+log4j.appender.A1=org.apache.log4j.ConsoleAppender
+
+# A1 uses PatternLayout.
+log4j.appender.A1.layout=org.apache.log4j.PatternLayout
+log4j.appender.A1.layout.ConversionPattern=%-4r [%t] %-5p %c %x - %m%n
Added: sandbox/trunk/modules/scheduling/src/test/resources/scheduler.properties
===================================================================
--- sandbox/trunk/modules/scheduling/src/test/resources/scheduler.properties (rev 0)
+++ sandbox/trunk/modules/scheduling/src/test/resources/scheduler.properties 2009-08-26 21:51:22 UTC (rev 11434)
@@ -0,0 +1,53 @@
+#
+# JBoss, Home of Professional Open Source
+# Copyright 2009, Red Hat, Inc. and/or its affiliates, and individual
+# contributors by the @authors tag. See the copyright.txt in the
+# distribution for a full listing of individual contributors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+# http://www.apache.org/licenses/LICENSE-2.0
+# 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.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+# http://www.apache.org/licenses/LICENSE-2.0
+# 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.
+#
+# This file defines the set of available schedules in the form:
+# name=schedule
+# Each schedule may be used for ne or more jobs. If more than one job is
+# is assigned to a single schedule then those jobs will be executed in a
+# round robin style.
+
+# Open issues:
+# 1. For round robin, what if the previous job has not completed? Should it
+# wait until next scheduled time or should it start as soon as the previous
+# job finishes?
+# 2. What is the best interpretation of 12:00/5? For a single job it would
+# most obviously be that the job would run every 5 minutes, starting at 12:00.
+# But if you added multiple jobs, would they continue to round robin around
+# the clock or would they only ru until all the jobs have been executed once,
+# and then wait for 12:00 to come again?
+
+# This schedule is called "test.one" and runs every 5 seconds
+test.one=*/5 * * ? * *
+
+# This schedule is called "test.two" and runs at precisely 1:12 PM every day
+test.two=13:12
+
+# This schedule is called "test.three" and will execute every 5 minutes,
+# starting at 12:00PM.
+test.three=12:00/5
+# could also be per-job,
+test.three.qeueumode=delayed
14 years, 8 months
Seam SVN: r11433 - in branches/community/Seam_2_2/doc/Seam_Reference_Guide: bn-IN and 22 other directories.
by seam-commits@lists.jboss.org
Author: nico.ben
Date: 2009-08-26 15:19:33 -0400 (Wed, 26 Aug 2009)
New Revision: 11433
Modified:
branches/community/Seam_2_2/doc/Seam_Reference_Guide/as-IN/Configuration.po
branches/community/Seam_2_2/doc/Seam_Reference_Guide/as-IN/Webservices.po
branches/community/Seam_2_2/doc/Seam_Reference_Guide/as-IN/Websphere.po
branches/community/Seam_2_2/doc/Seam_Reference_Guide/bn-IN/Configuration.po
branches/community/Seam_2_2/doc/Seam_Reference_Guide/bn-IN/Webservices.po
branches/community/Seam_2_2/doc/Seam_Reference_Guide/bn-IN/Websphere.po
branches/community/Seam_2_2/doc/Seam_Reference_Guide/de-DE/Configuration.po
branches/community/Seam_2_2/doc/Seam_Reference_Guide/de-DE/Webservices.po
branches/community/Seam_2_2/doc/Seam_Reference_Guide/de-DE/Websphere.po
branches/community/Seam_2_2/doc/Seam_Reference_Guide/es-ES/Configuration.po
branches/community/Seam_2_2/doc/Seam_Reference_Guide/es-ES/Webservices.po
branches/community/Seam_2_2/doc/Seam_Reference_Guide/es-ES/Websphere.po
branches/community/Seam_2_2/doc/Seam_Reference_Guide/es-MX/Configuration.po
branches/community/Seam_2_2/doc/Seam_Reference_Guide/es-MX/Webservices.po
branches/community/Seam_2_2/doc/Seam_Reference_Guide/es-MX/Websphere.po
branches/community/Seam_2_2/doc/Seam_Reference_Guide/fr-FR/Configuration.po
branches/community/Seam_2_2/doc/Seam_Reference_Guide/fr-FR/Webservices.po
branches/community/Seam_2_2/doc/Seam_Reference_Guide/fr-FR/Websphere.po
branches/community/Seam_2_2/doc/Seam_Reference_Guide/gu-IN/Configuration.po
branches/community/Seam_2_2/doc/Seam_Reference_Guide/gu-IN/Webservices.po
branches/community/Seam_2_2/doc/Seam_Reference_Guide/gu-IN/Websphere.po
branches/community/Seam_2_2/doc/Seam_Reference_Guide/hi-IN/Configuration.po
branches/community/Seam_2_2/doc/Seam_Reference_Guide/hi-IN/Webservices.po
branches/community/Seam_2_2/doc/Seam_Reference_Guide/hi-IN/Websphere.po
branches/community/Seam_2_2/doc/Seam_Reference_Guide/ja-JP/Configuration.po
branches/community/Seam_2_2/doc/Seam_Reference_Guide/ja-JP/Webservices.po
branches/community/Seam_2_2/doc/Seam_Reference_Guide/ja-JP/Websphere.po
branches/community/Seam_2_2/doc/Seam_Reference_Guide/kn-IN/Configuration.po
branches/community/Seam_2_2/doc/Seam_Reference_Guide/kn-IN/Webservices.po
branches/community/Seam_2_2/doc/Seam_Reference_Guide/kn-IN/Websphere.po
branches/community/Seam_2_2/doc/Seam_Reference_Guide/ko-KR/Configuration.po
branches/community/Seam_2_2/doc/Seam_Reference_Guide/ko-KR/Webservices.po
branches/community/Seam_2_2/doc/Seam_Reference_Guide/ko-KR/Websphere.po
branches/community/Seam_2_2/doc/Seam_Reference_Guide/ml-IN/Configuration.po
branches/community/Seam_2_2/doc/Seam_Reference_Guide/ml-IN/Webservices.po
branches/community/Seam_2_2/doc/Seam_Reference_Guide/ml-IN/Websphere.po
branches/community/Seam_2_2/doc/Seam_Reference_Guide/mr-IN/Configuration.po
branches/community/Seam_2_2/doc/Seam_Reference_Guide/mr-IN/Webservices.po
branches/community/Seam_2_2/doc/Seam_Reference_Guide/mr-IN/Websphere.po
branches/community/Seam_2_2/doc/Seam_Reference_Guide/or-IN/Configuration.po
branches/community/Seam_2_2/doc/Seam_Reference_Guide/or-IN/Webservices.po
branches/community/Seam_2_2/doc/Seam_Reference_Guide/or-IN/Websphere.po
branches/community/Seam_2_2/doc/Seam_Reference_Guide/pa-IN/Configuration.po
branches/community/Seam_2_2/doc/Seam_Reference_Guide/pa-IN/Webservices.po
branches/community/Seam_2_2/doc/Seam_Reference_Guide/pa-IN/Websphere.po
branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Annotations.pot
branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Author_Group.pot
branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Book_Info.pot
branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Cache.pot
branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/ClusteringAndEJBPassivation.pot
branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Components.pot
branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Concepts.pot
branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Configuration.pot
branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Controls.pot
branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Conversations.pot
branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Dependencies.pot
branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Drools.pot
branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Elenhancements.pot
branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Events.pot
branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Excel.pot
branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Feedback.pot
branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Framework.pot
branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Getting_Started_With_JBoss_Tools.pot
branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Gettingstarted.pot
branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Glassfish.pot
branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Groovy.pot
branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Guice.pot
branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Gwt.pot
branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Hsearch.pot
branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/I18n.pot
branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Itext.pot
branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Jbpm.pot
branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Jms.pot
branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Mail.pot
branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Performance.pot
branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Persistence.pot
branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Preface.pot
branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Remoting.pot
branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Revision_History.pot
branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Rss.pot
branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Security.pot
branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Spring.pot
branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Testing.pot
branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Text.pot
branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Tools.pot
branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Tutorial.pot
branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Validation.pot
branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Weblogic.pot
branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Webservices.pot
branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Websphere.pot
branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Wicket.pot
branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Xml.pot
branches/community/Seam_2_2/doc/Seam_Reference_Guide/pt-BR/Configuration.po
branches/community/Seam_2_2/doc/Seam_Reference_Guide/pt-BR/Webservices.po
branches/community/Seam_2_2/doc/Seam_Reference_Guide/pt-BR/Websphere.po
branches/community/Seam_2_2/doc/Seam_Reference_Guide/ru-RU/Configuration.po
branches/community/Seam_2_2/doc/Seam_Reference_Guide/ru-RU/Webservices.po
branches/community/Seam_2_2/doc/Seam_Reference_Guide/ru-RU/Websphere.po
branches/community/Seam_2_2/doc/Seam_Reference_Guide/si-LK/Configuration.po
branches/community/Seam_2_2/doc/Seam_Reference_Guide/si-LK/Webservices.po
branches/community/Seam_2_2/doc/Seam_Reference_Guide/si-LK/Websphere.po
branches/community/Seam_2_2/doc/Seam_Reference_Guide/sl-SL/Configuration.po
branches/community/Seam_2_2/doc/Seam_Reference_Guide/sl-SL/Webservices.po
branches/community/Seam_2_2/doc/Seam_Reference_Guide/sl-SL/Websphere.po
branches/community/Seam_2_2/doc/Seam_Reference_Guide/ta-IN/Configuration.po
branches/community/Seam_2_2/doc/Seam_Reference_Guide/ta-IN/Webservices.po
branches/community/Seam_2_2/doc/Seam_Reference_Guide/ta-IN/Websphere.po
branches/community/Seam_2_2/doc/Seam_Reference_Guide/te-IN/Configuration.po
branches/community/Seam_2_2/doc/Seam_Reference_Guide/te-IN/Webservices.po
branches/community/Seam_2_2/doc/Seam_Reference_Guide/te-IN/Websphere.po
branches/community/Seam_2_2/doc/Seam_Reference_Guide/zh-CN/Configuration.po
branches/community/Seam_2_2/doc/Seam_Reference_Guide/zh-CN/Webservices.po
branches/community/Seam_2_2/doc/Seam_Reference_Guide/zh-CN/Websphere.po
branches/community/Seam_2_2/doc/Seam_Reference_Guide/zh-TW/Configuration.po
branches/community/Seam_2_2/doc/Seam_Reference_Guide/zh-TW/Webservices.po
branches/community/Seam_2_2/doc/Seam_Reference_Guide/zh-TW/Websphere.po
Log:
POT and PO update
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/as-IN/Configuration.po
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/as-IN/Configuration.po 2009-08-26 19:14:02 UTC (rev 11432)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/as-IN/Configuration.po 2009-08-26 19:19:33 UTC (rev 11433)
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-05-05 12:31+0000\n"
+"POT-Creation-Date: 2009-08-26 18:47+0000\n"
"PO-Revision-Date: 2008-04-04 01:24+0000\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
@@ -677,13 +677,63 @@
msgstr ""
#. Tag: title
+#: Configuration.xml:325
+#, no-c-format
+msgid "Enabling HTTP cache-control headers"
+msgstr ""
+
+#. Tag: para
#: Configuration.xml:326
#, no-c-format
+msgid ""
+"Seam does <emphasis>not</emphasis> automatically add <literal>cache-control</"
+"literal> HTTP headers to any resources served by the Seam resource servlet, "
+"or directly from your view directory by the servlet container. This means "
+"that your images, Javascript and CSS files, and resource representations "
+"from Seam resource servlet such as Seam Remoting Javascript interfaces are "
+"usually not cached by the browser. This is convenient in development but "
+"should be changed in production when optimizing the application."
+msgstr ""
+
+#. Tag: para
+#: Configuration.xml:334
+#, no-c-format
+msgid ""
+"You can configure a Seam filter to enable automatic addition of "
+"<literal>cache-control</literal> headers depending on the requested URI in "
+"<literal>components.xml</literal>:"
+msgstr ""
+
+#. Tag: programlisting
+#: Configuration.xml:339
+#, no-c-format
+msgid ""
+"<![CDATA[<web:cache-control-filter name=\"commonTypesCacheControlFilter\"\n"
+" regex-url-pattern=\".*(\\.gif|\\.png|\\.jpg|\\."
+"jpeg|\\.css|\\.js)\"\n"
+" value=\"max-age=86400\"/> <!-- 1 day -->\n"
+"\n"
+"<web:cache-control-filter name=\"anotherCacheControlFilter\"\n"
+" url-pattern=\"/my/cachable/resources/*\"\n"
+" value=\"max-age=432000\"/> <!-- 5 days -->]]>"
+msgstr ""
+
+#. Tag: para
+#: Configuration.xml:341
+#, no-c-format
+msgid ""
+"You do not have to name the filters unless you have more than one filter "
+"enabled."
+msgstr ""
+
+#. Tag: title
+#: Configuration.xml:348
+#, no-c-format
msgid "Adding custom filters"
msgstr ""
#. Tag: para
-#: Configuration.xml:327
+#: Configuration.xml:349
#, no-c-format
msgid ""
"Seam can install your filters for you, allowing you to specify "
@@ -695,7 +745,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:332
+#: Configuration.xml:354
#, no-c-format
msgid ""
"<![CDATA[@Startup\n"
@@ -707,7 +757,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:334
+#: Configuration.xml:356
#, no-c-format
msgid ""
"Adding the <literal>@Startup</literal> annotation means thar the component "
@@ -718,13 +768,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:343
+#: Configuration.xml:365
#, no-c-format
msgid "Integrating Seam with your EJB container"
msgstr ""
#. Tag: para
-#: Configuration.xml:345
+#: Configuration.xml:367
#, no-c-format
msgid ""
"In a Seam application, EJB components have a certain duality, as they are "
@@ -735,7 +785,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:350
+#: Configuration.xml:372
#, no-c-format
msgid ""
"We need to apply the <literal>SeamInterceptor</literal> to our Seam EJB "
@@ -747,7 +797,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:355
+#: Configuration.xml:377
#, no-c-format
msgid ""
"<![CDATA[<interceptors>\n"
@@ -768,7 +818,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:357
+#: Configuration.xml:379
#, no-c-format
msgid ""
"Seam needs to know where to go to find session beans in JNDI. One way to do "
@@ -782,19 +832,19 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:364
+#: Configuration.xml:386
#, no-c-format
msgid "For JBoss AS, the following pattern is correct:"
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:366
+#: Configuration.xml:388
#, no-c-format
msgid "<![CDATA[<core:init jndi-name=\"earName/#{ejbName}/local\" />]]>"
msgstr ""
#. Tag: para
-#: Configuration.xml:368
+#: Configuration.xml:390
#, no-c-format
msgid ""
"In this case, <literal>earName</literal> is the name of the EAR in which the "
@@ -804,7 +854,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:372
+#: Configuration.xml:394
#, no-c-format
msgid ""
"Outside the context of an EAR (when using the JBoss Embeddable EJB3 "
@@ -813,13 +863,13 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:375
+#: Configuration.xml:397
#, no-c-format
msgid "<![CDATA[<core:init jndi-name=\"#{ejbName}/local\" />]]>"
msgstr ""
#. Tag: para
-#: Configuration.xml:377
+#: Configuration.xml:399
#, no-c-format
msgid ""
"How these JNDI names are resolved and somehow locate an EJB component might "
@@ -828,7 +878,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:381
+#: Configuration.xml:403
#, no-c-format
msgid ""
"The folks at JBoss don't care much for XML, if you can't tell. So when they "
@@ -839,14 +889,14 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:387
+#: Configuration.xml:409
#, no-c-format
msgid ""
"The value of the <literal><ejb-name></literal> element in ejb-jar.xml"
msgstr ""
#. Tag: para
-#: Configuration.xml:390
+#: Configuration.xml:412
#, no-c-format
msgid ""
"The value of the <literal>name</literal> attribute in the @Stateless or "
@@ -854,13 +904,13 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:393
+#: Configuration.xml:415
#, no-c-format
msgid "The simple name of the bean class"
msgstr ""
#. Tag: para
-#: Configuration.xml:397
+#: Configuration.xml:419
#, no-c-format
msgid ""
"Let's look at an example. Assume that you have the following EJB bean and "
@@ -868,7 +918,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:399
+#: Configuration.xml:421
#, no-c-format
msgid ""
"<![CDATA[package com.example.myapp;\n"
@@ -895,7 +945,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:401
+#: Configuration.xml:423
#, no-c-format
msgid ""
"Assuming your EJB bean class is deployed in an EAR named myapp, the global "
@@ -907,7 +957,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:407
+#: Configuration.xml:429
#, no-c-format
msgid ""
"So what about the rest of the application servers? Well, according to the "
@@ -919,7 +969,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:413
+#: Configuration.xml:435
#, no-c-format
msgid ""
"There are two places you have to define the EJB reference when using Seam on "
@@ -930,7 +980,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:418
+#: Configuration.xml:440
#, no-c-format
msgid ""
"<![CDATA[<ejb-local-ref>\n"
@@ -942,7 +992,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:420
+#: Configuration.xml:442
#, no-c-format
msgid ""
"This reference will cover most uses of the component in a Seam application. "
@@ -953,7 +1003,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:425
+#: Configuration.xml:447
#, no-c-format
msgid ""
"Within the context of an EJB method call, you have to deal with a somewhat "
@@ -970,7 +1020,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:434
+#: Configuration.xml:456
#, no-c-format
msgid ""
"For application servers that stubbornly adhere to the EJB specification, EJB "
@@ -982,7 +1032,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:439
+#: Configuration.xml:461
#, no-c-format
msgid ""
"Let's assume that we have an EJB named RegisterAction (the name is resolved "
@@ -991,7 +1041,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:442
+#: Configuration.xml:464
#, no-c-format
msgid ""
"<![CDATA[@In(create = true)\n"
@@ -1000,7 +1050,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:444
+#: Configuration.xml:466
#, no-c-format
msgid ""
"In order for this injection to work, the link must be established in the ejb-"
@@ -1008,7 +1058,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:446
+#: Configuration.xml:468
#, no-c-format
msgid ""
"<![CDATA[<ejb-jar>\n"
@@ -1031,7 +1081,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:448
+#: Configuration.xml:470
#, no-c-format
msgid ""
"Notice that the contents of the <literal><ejb-local-ref></literal> are "
@@ -1043,7 +1093,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:454
+#: Configuration.xml:476
#, no-c-format
msgid ""
"But what about <literal>@EJB</literal>? It's true that you can inject one "
@@ -1061,7 +1111,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:464
+#: Configuration.xml:486
#, no-c-format
msgid ""
"That covers how JNDI names are defined and used. The lesson is that with "
@@ -1074,7 +1124,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:470
+#: Configuration.xml:492
#, no-c-format
msgid ""
"<![CDATA[<core:init jndi-name=\"java:comp/env/earName/#{ejbName}/local\" />]]"
@@ -1082,7 +1132,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:472
+#: Configuration.xml:494
#, no-c-format
msgid ""
"Finally, let's talk about transactions. In an EJB3 environment, we recommend "
@@ -1094,19 +1144,19 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:479
+#: Configuration.xml:501
#, no-c-format
msgid "<![CDATA[<transaction:ejb-transaction/>]]>"
msgstr ""
#. Tag: title
-#: Configuration.xml:484
+#: Configuration.xml:506
#, no-c-format
msgid "Don't forget!"
msgstr ""
#. Tag: para
-#: Configuration.xml:486
+#: Configuration.xml:508
#, no-c-format
msgid ""
"There is one final item you need to know about. You must place a "
@@ -1118,7 +1168,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:491
+#: Configuration.xml:513
#, no-c-format
msgid ""
"In a web archive (WAR) file, you must place a <literal>seam.properties</"
@@ -1127,7 +1177,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:494
+#: Configuration.xml:516
#, no-c-format
msgid ""
"That's why all the Seam examples have an empty <literal>seam.properties</"
@@ -1136,7 +1186,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:497
+#: Configuration.xml:519
#, no-c-format
msgid ""
"You might think this is silly and what kind of idiot framework designers "
@@ -1148,13 +1198,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:508
+#: Configuration.xml:530
#, no-c-format
msgid "Using Alternate JPA Providers"
msgstr ""
#. Tag: para
-#: Configuration.xml:510
+#: Configuration.xml:532
#, no-c-format
msgid ""
"Seam comes packaged and configured with Hibernate as the default JPA "
@@ -1163,13 +1213,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:516
+#: Configuration.xml:538
#, no-c-format
msgid "This is a workaround"
msgstr ""
#. Tag: para
-#: Configuration.xml:517
+#: Configuration.xml:539
#, no-c-format
msgid ""
"Configuration of the JPA provider will be easier in the future and will not "
@@ -1178,7 +1228,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:524
+#: Configuration.xml:546
#, no-c-format
msgid ""
"Telling seam about a different JPA provider can be be done in one of two "
@@ -1186,7 +1236,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:525
+#: Configuration.xml:547
#, no-c-format
msgid ""
"Update your application's <literal>components.xml</literal> so that the "
@@ -1195,7 +1245,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:530
+#: Configuration.xml:552
#, no-c-format
msgid ""
"<![CDATA[<component name=\"org.jboss.seam.persistence.persistenceProvider"
@@ -1206,7 +1256,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:531
+#: Configuration.xml:553
#, no-c-format
msgid ""
"If you want to take advantage of your JPA provider's non-standard features "
@@ -1218,7 +1268,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:538
+#: Configuration.xml:560
#, no-c-format
msgid ""
"<![CDATA[<component name=\"org.jboss.seam.persistence.persistenceProvider"
@@ -1228,7 +1278,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:539
+#: Configuration.xml:561
#, no-c-format
msgid ""
"All that is left is updating the <literal>persistence.xml</literal> file "
@@ -1238,13 +1288,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:547
+#: Configuration.xml:569
#, no-c-format
msgid "Configuring Seam in Java EE 5"
msgstr ""
#. Tag: para
-#: Configuration.xml:558
+#: Configuration.xml:580
#, no-c-format
msgid ""
"If you're running in a Java EE 5 environment, this is all the configuration "
@@ -1252,14 +1302,14 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:561 Configuration.xml:656 Configuration.xml:794
-#: Configuration.xml:827
+#: Configuration.xml:583 Configuration.xml:678 Configuration.xml:816
+#: Configuration.xml:849
#, no-c-format
msgid "Packaging"
msgstr ""
#. Tag: para
-#: Configuration.xml:563
+#: Configuration.xml:585
#, no-c-format
msgid ""
"Once you've packaged all this stuff together into an EAR, the archive "
@@ -1267,7 +1317,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:566
+#: Configuration.xml:588
#, no-c-format
msgid ""
"<![CDATA[my-application.ear/\n"
@@ -1307,7 +1357,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:568
+#: Configuration.xml:590
#, no-c-format
msgid ""
"You should declare <literal>jboss-seam.jar</literal> as an ejb module in "
@@ -1316,7 +1366,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:573
+#: Configuration.xml:595
#, no-c-format
msgid ""
"If you want to use jBPM or Drools, you must include the needed jars in the "
@@ -1324,7 +1374,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:575
+#: Configuration.xml:597
#, no-c-format
msgid ""
"If you want to use facelets (our recommendation), you must include "
@@ -1333,7 +1383,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:578
+#: Configuration.xml:600
#, no-c-format
msgid ""
"If you want to use the Seam tag library (most Seam applications do), you "
@@ -1344,7 +1394,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:583
+#: Configuration.xml:605
#, no-c-format
msgid ""
"If you want to use the Seam debug page (only works for applications using "
@@ -1353,7 +1403,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:586
+#: Configuration.xml:608
#, no-c-format
msgid ""
"Seam ships with several example applications that are deployable in any Java "
@@ -1361,7 +1411,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:589
+#: Configuration.xml:611
#, no-c-format
msgid ""
"I really wish that was all there was to say on the topic of configuration "
@@ -1371,13 +1421,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:598
+#: Configuration.xml:620
#, no-c-format
msgid "Configuring Seam in J2EE"
msgstr ""
#. Tag: para
-#: Configuration.xml:600
+#: Configuration.xml:622
#, no-c-format
msgid ""
"Seam is useful even if you're not yet ready to take the plunge into EJB 3.0. "
@@ -1389,7 +1439,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:615
+#: Configuration.xml:637
#, no-c-format
msgid ""
"Seam JavaBean components do not provide declarative transaction demarcation "
@@ -1401,7 +1451,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:621
+#: Configuration.xml:643
#, no-c-format
msgid ""
"The Seam distribution includes a version of the booking example application "
@@ -1411,13 +1461,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:626
+#: Configuration.xml:648
#, no-c-format
msgid "Boostrapping Hibernate in Seam"
msgstr ""
#. Tag: para
-#: Configuration.xml:628
+#: Configuration.xml:650
#, no-c-format
msgid ""
"Seam will bootstrap a Hibernate <literal>SessionFactory</literal> from your "
@@ -1426,7 +1476,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:631
+#: Configuration.xml:653
#, no-c-format
msgid ""
"<![CDATA[<persistence:hibernate-session-factory name="
@@ -1434,7 +1484,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:633
+#: Configuration.xml:655
#, no-c-format
msgid ""
"You will also need to configure a <emphasis>managed session</emphasis> if "
@@ -1443,7 +1493,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:636
+#: Configuration.xml:658
#, no-c-format
msgid ""
"<![CDATA[<persistence:managed-hibernate-session name=\"hibernateSession\"\n"
@@ -1452,13 +1502,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:641
+#: Configuration.xml:663
#, no-c-format
msgid "Boostrapping JPA in Seam"
msgstr ""
#. Tag: para
-#: Configuration.xml:643
+#: Configuration.xml:665
#, no-c-format
msgid ""
"Seam will bootstrap a JPA <literal>EntityManagerFactory</literal> from your "
@@ -1467,7 +1517,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:646
+#: Configuration.xml:668
#, no-c-format
msgid ""
"<![CDATA[<persistence:entity-manager-factory name=\"entityManagerFactory\"/"
@@ -1475,7 +1525,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:648
+#: Configuration.xml:670
#, no-c-format
msgid ""
"You will also need to configure a <emphasis>managed persistence context</"
@@ -1484,7 +1534,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:651
+#: Configuration.xml:673
#, no-c-format
msgid ""
"<![CDATA[<persistence:managed-persistence-context name=\"entityManager\"\n"
@@ -1493,13 +1543,13 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:658
+#: Configuration.xml:680
#, no-c-format
msgid "We can package our application as a WAR, in the following structure:"
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:660
+#: Configuration.xml:682
#, no-c-format
msgid ""
"<![CDATA[my-application.war/\n"
@@ -1536,7 +1586,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:662
+#: Configuration.xml:684
#, no-c-format
msgid ""
"If we want to deploy Hibernate in a non-EE environment like Tomcat or "
@@ -1544,13 +1594,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:669
+#: Configuration.xml:691
#, no-c-format
msgid "Configuring Seam in Java SE, without JBoss Embedded"
msgstr ""
#. Tag: para
-#: Configuration.xml:671
+#: Configuration.xml:693
#, no-c-format
msgid ""
"It is possible to use Seam completely outside of an EE environment. In this "
@@ -1560,7 +1610,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:675
+#: Configuration.xml:697
#, no-c-format
msgid ""
"<![CDATA[<transaction:entity-transaction entity-manager=\"#{entityManager}\"/"
@@ -1568,7 +1618,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:677
+#: Configuration.xml:699
#, no-c-format
msgid ""
"If you're using Hibernate, you can tell Seam to use the Hibernate "
@@ -1576,32 +1626,32 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:679
+#: Configuration.xml:701
#, no-c-format
msgid "<![CDATA[<transaction:hibernate-transaction session=\"#{session}\"/>]]>"
msgstr ""
#. Tag: para
-#: Configuration.xml:681
+#: Configuration.xml:703
#, no-c-format
msgid "Of course, you'll also need to define a datasource."
msgstr ""
#. Tag: para
-#: Configuration.xml:683
+#: Configuration.xml:705
#, no-c-format
msgid ""
"A better alternative is to use JBoss Embedded to get access to the EE APIs."
msgstr ""
#. Tag: title
-#: Configuration.xml:688
+#: Configuration.xml:710
#, no-c-format
msgid "Configuring Seam in Java SE, with JBoss Embedded"
msgstr ""
#. Tag: para
-#: Configuration.xml:690
+#: Configuration.xml:712
#, no-c-format
msgid ""
"JBoss Embedded lets you run EJB3 components outside the context of the Java "
@@ -1610,7 +1660,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:693
+#: Configuration.xml:715
#, no-c-format
msgid ""
"The Seam booking example application includes a TestNG integration test "
@@ -1618,19 +1668,19 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:705
+#: Configuration.xml:727
#, no-c-format
msgid "The booking example application may even be deployed to Tomcat."
msgstr ""
#. Tag: title
-#: Configuration.xml:717
+#: Configuration.xml:739
#, no-c-format
msgid "Installing Embedded JBoss"
msgstr ""
#. Tag: para
-#: Configuration.xml:720
+#: Configuration.xml:742
#, no-c-format
msgid ""
"Embedded JBoss must by installed into Tomcat for Seam applications to run "
@@ -1643,7 +1693,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:734
+#: Configuration.xml:756
#, no-c-format
msgid ""
"Copy all files and directories under the Embedded JBoss <literal>bootstrap</"
@@ -1653,7 +1703,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:741
+#: Configuration.xml:763
#, no-c-format
msgid ""
"Remove the <literal>annotations-api.jar</literal> file from the Tomcat "
@@ -1661,7 +1711,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:747
+#: Configuration.xml:769
#, no-c-format
msgid ""
"Next, two configuration files need to be updated to add Embedded JBoss-"
@@ -1669,7 +1719,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:753
+#: Configuration.xml:775
#, no-c-format
msgid ""
"Add the Embedded JBoss listener <literal>EmbeddedJBossBootstrapListener</"
@@ -1678,7 +1728,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:756
+#: Configuration.xml:778
#, no-c-format
msgid ""
"<![CDATA[<Server port=\"8005\" shutdown=\"SHUTDOWN\">\n"
@@ -1696,7 +1746,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:757
+#: Configuration.xml:779
#, no-c-format
msgid ""
"<![CDATA[ <!-- Add this listener -->\n"
@@ -1705,7 +1755,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:761
+#: Configuration.xml:783
#, no-c-format
msgid ""
"WAR file scanning should be enabled by adding the <literal>WebinfScanner</"
@@ -1713,7 +1763,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:764
+#: Configuration.xml:786
#, no-c-format
msgid ""
"<![CDATA[<Context>\n"
@@ -1728,7 +1778,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:765
+#: Configuration.xml:787
#, no-c-format
msgid ""
"<![CDATA[ <!-- Add this listener -->\n"
@@ -1736,13 +1786,13 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:766
+#: Configuration.xml:788
#, no-c-format
msgid "<![CDATA[</Context>]]>"
msgstr ""
#. Tag: para
-#: Configuration.xml:770
+#: Configuration.xml:792
#, no-c-format
msgid ""
"If you are using Sun JDK 6, you need to set the Java option <literal>sun."
@@ -1752,7 +1802,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:775
+#: Configuration.xml:797
#, no-c-format
msgid ""
"Open the script appropriate for your operating system in a text editor. Add "
@@ -1762,7 +1812,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:779
+#: Configuration.xml:801
#, no-c-format
msgid ""
"<![CDATA[set JAVA_OPTS=%JAVA_OPTS% -Dsun.lang.ClassLoader."
@@ -1770,13 +1820,13 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:781
+#: Configuration.xml:803
#, no-c-format
msgid "On Unix, use this syntax instead:"
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:783
+#: Configuration.xml:805
#, no-c-format
msgid ""
"<![CDATA[JAVA_OPTS=\"$JAVA_OPTS -Dsun.lang.ClassLoader.allowArraySyntax=true"
@@ -1784,7 +1834,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:788
+#: Configuration.xml:810
#, no-c-format
msgid ""
"For more configuration options, please see the Embedded JBoss Tomcat "
@@ -1793,7 +1843,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:796
+#: Configuration.xml:818
#, no-c-format
msgid ""
"The archive structure of a WAR-based deployment on an servlet engine like "
@@ -1801,7 +1851,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:799
+#: Configuration.xml:821
#, no-c-format
msgid ""
"<![CDATA[my-application.war/\n"
@@ -1839,7 +1889,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:801
+#: Configuration.xml:823
#, no-c-format
msgid ""
"Most of the Seam example applications may be deployed to Tomcat by running "
@@ -1847,13 +1897,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:809
+#: Configuration.xml:831
#, no-c-format
msgid "Configuring jBPM in Seam"
msgstr ""
#. Tag: para
-#: Configuration.xml:810
+#: Configuration.xml:832
#, no-c-format
msgid ""
"Seam's jBPM integration is not installed by default, so you'll need to "
@@ -1863,7 +1913,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:814
+#: Configuration.xml:836
#, no-c-format
msgid ""
"<![CDATA[<bpm:jbpm>\n"
@@ -1879,7 +1929,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:816
+#: Configuration.xml:838
#, no-c-format
msgid ""
"No further special configuration is needed if you only have pageflows. If "
@@ -1890,7 +1940,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:821
+#: Configuration.xml:843
#, no-c-format
msgid ""
"<![CDATA[<jbpm-configuration>\n"
@@ -1920,7 +1970,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:823
+#: Configuration.xml:845
#, no-c-format
msgid ""
"The most important thing to notice here is that jBPM transaction control is "
@@ -1928,7 +1978,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:829
+#: Configuration.xml:851
#, no-c-format
msgid ""
"There is not yet any well-defined packaging format for jBPM configuration "
@@ -1939,7 +1989,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:834
+#: Configuration.xml:856
#, no-c-format
msgid ""
"<![CDATA[my-application.ear/\n"
@@ -1986,13 +2036,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:841
+#: Configuration.xml:863
#, no-c-format
msgid "Configuring SFSB and Session Timeouts in JBoss AS"
msgstr ""
#. Tag: para
-#: Configuration.xml:843
+#: Configuration.xml:865
#, no-c-format
msgid ""
"It is very important that the timeout for Stateful Session Beans is set "
@@ -2004,7 +2054,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:849
+#: Configuration.xml:871
#, no-c-format
msgid ""
"The default SFSB timeout can be adjusted by modifying the value of "
@@ -2013,7 +2063,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:852
+#: Configuration.xml:874
#, no-c-format
msgid ""
"<![CDATA[<container-cache-conf>\n"
@@ -2038,7 +2088,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:854
+#: Configuration.xml:876
#, no-c-format
msgid ""
"The default HTTP session timeout can be modified in <literal>server/default/"
@@ -2049,7 +2099,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:859
+#: Configuration.xml:881
#, no-c-format
msgid ""
"<![CDATA[<session-config>\n"
@@ -2059,7 +2109,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:861
+#: Configuration.xml:883
#, no-c-format
msgid ""
"To override this value for your own application, simply include this entry "
@@ -2067,13 +2117,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:867
+#: Configuration.xml:889
#, no-c-format
msgid "Running Seam in a Portlet"
msgstr ""
#. Tag: para
-#: Configuration.xml:869
+#: Configuration.xml:891
#, no-c-format
msgid ""
"If you want to run your Seam application in a portlet, take a look at the "
@@ -2084,13 +2134,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:880
+#: Configuration.xml:902
#, no-c-format
msgid "Deploying custom resources"
msgstr ""
#. Tag: para
-#: Configuration.xml:882
+#: Configuration.xml:904
#, no-c-format
msgid ""
"Seam scans all jars containing <literal>/seam.properties</literal>, "
@@ -2101,7 +2151,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:889
+#: Configuration.xml:911
#, no-c-format
msgid ""
"You may also want Seam to handle custom resources. A common use case is to "
@@ -2111,7 +2161,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:896
+#: Configuration.xml:918
#, no-c-format
msgid ""
"<![CDATA[# A colon-separated list of annotation types to handle\n"
@@ -2119,7 +2169,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:898
+#: Configuration.xml:920
#, no-c-format
msgid ""
"Then, during application startup you can get hold of all classes annotated "
@@ -2127,7 +2177,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:903
+#: Configuration.xml:925
#, no-c-format
msgid ""
"<![CDATA[@Name(\"fooStartup\")\n"
@@ -2159,7 +2209,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:905
+#: Configuration.xml:927
#, no-c-format
msgid ""
"You can also handle <emphasis>any</emphasis> resource. For example, you "
@@ -2168,7 +2218,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:911
+#: Configuration.xml:933
#, no-c-format
msgid ""
"<![CDATA[public class FooDeploymentHandler implements DeploymentHandler {\n"
@@ -2192,7 +2242,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:913
+#: Configuration.xml:935
#, no-c-format
msgid ""
"Here we are just building a list of any files with the suffix <literal>.foo."
@@ -2200,7 +2250,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:918
+#: Configuration.xml:940
#, no-c-format
msgid ""
"Then, we need to register the deployment handler with Seam in <literal>/META-"
@@ -2209,7 +2259,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:925
+#: Configuration.xml:947
#, no-c-format
msgid ""
"<![CDATA[# For standard deployment\n"
@@ -2220,7 +2270,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:931
+#: Configuration.xml:953
#, no-c-format
msgid ""
"Seam uses deployment handlers internally to install components and "
@@ -2229,7 +2279,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:937
+#: Configuration.xml:959
#, no-c-format
msgid ""
"<![CDATA[@Name(\"fooStartup\")\n"
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/as-IN/Webservices.po
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/as-IN/Webservices.po 2009-08-26 19:14:02 UTC (rev 11432)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/as-IN/Webservices.po 2009-08-26 19:19:33 UTC (rev 11433)
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-07-08 14:32+0000\n"
+"POT-Creation-Date: 2009-08-26 18:48+0000\n"
"PO-Revision-Date: 2008-04-04 01:24+0000\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
@@ -392,48 +392,56 @@
#: Webservices.xml:186
#, no-c-format
msgid ""
-"The URI starts with the pattern mapped in <literal>web.xml</literal> for the "
+"The URI starts with the host and context path of your application, e.g. "
+"<literal>http://your.hostname/myapp</literal>."
+msgstr ""
+
+#. Tag: para
+#: Webservices.xml:192
+#, no-c-format
+msgid ""
+"Then the pattern mapped in <literal>web.xml</literal> for the "
"<literal>SeamResourceServlet</literal>, e.g <literal>/seam/resource</"
-"literal> if you follow the common examples. Change this setting to expose "
-"your RESTful resources under a different base. Note that this is a global "
-"change and other Seam resources (e.g. <literal>s:graphicImage</literal>) are "
-"then also served under that base path."
+"literal> if you follow the common examples, is appended. Change this setting "
+"to expose your RESTful resources under a different base. Note that this is a "
+"global change and other Seam resources (e.g. <literal>s:graphicImage</"
+"literal>) are then also served under that base path."
msgstr ""
#. Tag: para
-#: Webservices.xml:195
+#: Webservices.xml:201
#, no-c-format
msgid ""
"The RESTEasy integration for Seam then appends a configurable string to the "
"base path, by default this is <literal>/rest</literal>. Hence, the full base "
-"path of your resources would e.g. be <literal>/seam/resource/rest</literal>. "
-"We recommend that you change this string in your application, you could for "
-"example add a version number to prepare for a future REST API upgrade of "
-"your services (old clients would keep the old URI base): <literal>/seam/"
-"resource/restv1</literal>."
+"path of your resources would e.g. be <literal>/myapp/seam/resource/rest</"
+"literal>. We recommend that you change this string in your application, you "
+"could for example add a version number to prepare for a future REST API "
+"upgrade of your services (old clients would keep the old URI base): "
+"<literal>/myapp/seam/resource/restv1</literal>."
msgstr ""
#. Tag: para
-#: Webservices.xml:204
+#: Webservices.xml:210
#, no-c-format
msgid ""
"Finally, the actual resource is available under the defined <literal>@Path</"
"literal>, e.g. a resource mapped with <literal>@Path(\"/customer\")</"
-"literal> would be available under <literal>/seam/resource/rest/customer</"
-"literal>."
+"literal> would be available under <literal>/myapp/seam/resource/rest/"
+"customer</literal>."
msgstr ""
#. Tag: para
-#: Webservices.xml:212
+#: Webservices.xml:218
#, no-c-format
msgid ""
"As an example, the following resource definition would return a plaintext "
"representation for any GET requests using the URI <literal>http://your."
-"hostname/seam/resource/rest/customer/123</literal>:"
+"hostname/myapp/seam/resource/rest/customer/123</literal>:"
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:217
+#: Webservices.xml:223
#, no-c-format
msgid ""
"<![CDATA[@Path(\"/customer\")\n"
@@ -450,7 +458,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:219
+#: Webservices.xml:225
#, no-c-format
msgid ""
"No additional configuration is required, you do not have to edit "
@@ -461,7 +469,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:225
+#: Webservices.xml:231
#, no-c-format
msgid ""
"<![CDATA[<components\n"
@@ -476,63 +484,39 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:227
+#: Webservices.xml:233
#, no-c-format
msgid ""
"You can then change the <literal>/rest</literal> prefix as mentioned earlier:"
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:231
+#: Webservices.xml:237
#, no-c-format
msgid "<![CDATA[<resteasy:application resource-path-prefix=\"/restv1\"/>]]>"
msgstr ""
#. Tag: para
-#: Webservices.xml:233
-#, no-c-format
-msgid ""
-"The full base path to your resources is now <literal>/seam/resource/restv1/"
-"{resource}</literal> - note that your <literal>@Path</literal> definitions "
-"and mappings do NOT change. This is an application-wide switch usually used "
-"for versioning of the HTTP API."
-msgstr ""
-
-#. Tag: para
#: Webservices.xml:239
#, no-c-format
msgid ""
-"You can disable stripping of the base path if you'd like to map the full "
-"path in your resources:"
+"The full base path to your resources is now <literal>/myapp/seam/resource/"
+"restv1/{resource}</literal> - note that your <literal>@Path</literal> "
+"definitions and mappings do NOT change. This is an application-wide switch "
+"usually used for versioning of the HTTP interface."
msgstr ""
-#. Tag: programlisting
-#: Webservices.xml:243
-#, no-c-format
-msgid "<![CDATA[<resteasy:application strip-seam-resource-path=\"false\"/>]]>"
-msgstr ""
-
#. Tag: para
#: Webservices.xml:245
#, no-c-format
msgid ""
-"The path of a resource is now mapped with e.g. <literal>@Path(\"/seam/"
-"resource/rest/customer\")</literal>. We do not recommend disabling this "
-"feature, as your resource class mappings are then bound to a particular "
-"deployment scenario."
-msgstr ""
-
-#. Tag: para
-#: Webservices.xml:251
-#, no-c-format
-msgid ""
"Seam will scan your classpath for any deployed <literal>@javax.ws.rs.Path</"
"literal> resources and any <literal>@javax.ws.rs.ext.Provider</literal> "
"classes. You can disable scanning and configure these classes manually:"
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:257
+#: Webservices.xml:251
#, no-c-format
msgid ""
"<![CDATA[<resteasy:application\n"
@@ -554,7 +538,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:259
+#: Webservices.xml:253
#, no-c-format
msgid ""
"The <literal>use-built-in-providers</literal> switch enables (default) or "
@@ -564,7 +548,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:265
+#: Webservices.xml:259
#, no-c-format
msgid ""
"RESTEasy supports plain EJBs (EJBs that are not Seam components) as "
@@ -576,20 +560,21 @@
"<literal>@Path</literal>, <literal>@GET</literal>, and so on - not the bean "
"implementation class. This allows you to keep your application deployment-"
"portable with the global Seam <literal>jndi-pattern</literal> switch on "
-"<literal><core:init/></literal>. Note that EJB resources will not be "
-"found even if scanning of resources is enabled, you always have to list them "
-"manually. Again, this is only relevant for EJB resources that are not also "
-"Seam components and that do not have a <literal>@Name</literal> annotation."
+"<literal><core:init/></literal>. Note that plain (non-Seam component) "
+"EJB resources will not be found even if scanning of resources is enabled, "
+"you always have to list them manually. Again, this whole paragraph is only "
+"relevant for EJB resources that are not also Seam components and that do not "
+"have an <literal>@Name</literal> annotation."
msgstr ""
#. Tag: para
-#: Webservices.xml:277
+#: Webservices.xml:272
#, no-c-format
msgid "Finally, you can configure media type and language URI extensions:"
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:281
+#: Webservices.xml:276
#, no-c-format
msgid ""
"<![CDATA[<resteasy:application>\n"
@@ -606,7 +591,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:283
+#: Webservices.xml:278
#, no-c-format
msgid ""
"This definition would map the URI suffix of <literal>.txt.deutsch</literal> "
@@ -616,13 +601,13 @@
msgstr ""
#. Tag: title
-#: Webservices.xml:292
+#: Webservices.xml:287
#, no-c-format
msgid "Resources and providers as Seam components"
msgstr ""
#. Tag: para
-#: Webservices.xml:294
+#: Webservices.xml:289
#, no-c-format
msgid ""
"Any resource and provider instances are managed by RESTEasy by default. That "
@@ -633,7 +618,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:301
+#: Webservices.xml:296
#, no-c-format
msgid ""
"You can write resources and providers as Seam components and benefit from "
@@ -642,7 +627,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:307
+#: Webservices.xml:302
#, no-c-format
msgid ""
"<![CDATA[@Name(\"customerResource\")\n"
@@ -663,7 +648,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:309
+#: Webservices.xml:304
#, no-c-format
msgid ""
"An instance of <literal>customerResource</literal> is now handled by Seam "
@@ -677,7 +662,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:318
+#: Webservices.xml:313
#, no-c-format
msgid ""
"You can annotate an interface and keep the implementation free from JAX-RS "
@@ -685,7 +670,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:322
+#: Webservices.xml:317
#, no-c-format
msgid ""
"<![CDATA[@Path(\"/customer\")\n"
@@ -700,7 +685,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:324
+#: Webservices.xml:319
#, no-c-format
msgid ""
"<![CDATA[@Name(\"customerResource\")\n"
@@ -718,7 +703,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:326
+#: Webservices.xml:321
#, no-c-format
msgid ""
"You can use <literal>SESSION</literal>-scoped Seam components. By default, "
@@ -733,7 +718,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:335
+#: Webservices.xml:330
#, no-c-format
msgid ""
"Assuming that your Seam application only uses event, application, or "
@@ -745,7 +730,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:342
+#: Webservices.xml:337
#, no-c-format
msgid ""
"If your RESTful Seam application has to preserve session state across REST "
@@ -753,14 +738,14 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:347
+#: Webservices.xml:342
#, no-c-format
msgid ""
"<![CDATA[<resteasy:application destroy-session-after-request=\"false\"/>]]>"
msgstr ""
#. Tag: para
-#: Webservices.xml:349
+#: Webservices.xml:344
#, no-c-format
msgid ""
"Every REST HTTP request will now create a new session that will only be "
@@ -771,7 +756,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:356
+#: Webservices.xml:351
#, no-c-format
msgid ""
"<literal>CONVERSATION</literal>-scoped resource components and mapping of "
@@ -780,7 +765,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:361
+#: Webservices.xml:356
#, no-c-format
msgid ""
"EJB Seam components are supported. Always annotate the local business "
@@ -789,7 +774,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:366
+#: Webservices.xml:361
#, no-c-format
msgid ""
"Provider classes can also be Seam components, only <literal>APPLICATION</"
@@ -799,13 +784,13 @@
msgstr ""
#. Tag: title
-#: Webservices.xml:375
+#: Webservices.xml:370
#, no-c-format
msgid "Securing resources"
msgstr ""
#. Tag: para
-#: Webservices.xml:377
+#: Webservices.xml:372
#, no-c-format
msgid ""
"You can enable the Seam authentication filter for HTTP Basic and Digest "
@@ -813,7 +798,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:382
+#: Webservices.xml:377
#, no-c-format
msgid ""
"<![CDATA[<web:authentication-filter url-pattern=\"/seam/resource/rest/*\" "
@@ -821,14 +806,14 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:384
+#: Webservices.xml:379
#, no-c-format
msgid ""
"See the Seam security chapter on how to write an authentication routine."
msgstr ""
#. Tag: para
-#: Webservices.xml:388
+#: Webservices.xml:383
#, no-c-format
msgid ""
"After successful authentication, authorization rules with the common "
@@ -839,13 +824,13 @@
msgstr ""
#. Tag: title
-#: Webservices.xml:398
+#: Webservices.xml:393
#, no-c-format
msgid "Mapping exceptions to HTTP responses"
msgstr ""
#. Tag: para
-#: Webservices.xml:400
+#: Webservices.xml:395
#, no-c-format
msgid ""
"Section 3.3.4 of the JAX-RS specification defines how checked or unchecked "
@@ -858,7 +843,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:408
+#: Webservices.xml:403
#, no-c-format
msgid ""
"Exception handling within Seam requires that the Seam filter is executed for "
@@ -870,7 +855,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:415
+#: Webservices.xml:410
#, no-c-format
msgid ""
"<![CDATA[<filter>\n"
@@ -885,7 +870,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:417
+#: Webservices.xml:412
#, no-c-format
msgid ""
"To convert the unchecked <literal>UnsupportedOperationException</literal> "
@@ -895,7 +880,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:423
+#: Webservices.xml:418
#, no-c-format
msgid ""
"<![CDATA[<exception class=\"java.lang.UnsupportedOperationException\">\n"
@@ -906,13 +891,13 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:425
+#: Webservices.xml:420
#, no-c-format
msgid "Custom or checked exceptions are handled the same:"
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:429
+#: Webservices.xml:424
#, no-c-format
msgid ""
"<![CDATA[<exception class=\"my.CustomException\" log=\"false\">\n"
@@ -924,7 +909,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:431
+#: Webservices.xml:426
#, no-c-format
msgid ""
"You do not have to send an HTTP error to the client if an exception occurs. "
@@ -935,7 +920,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:438
+#: Webservices.xml:433
#, no-c-format
msgid ""
"Note that the HTTP response still passes through the servlet container, so "
@@ -946,13 +931,13 @@
msgstr ""
#. Tag: title
-#: Webservices.xml:447
+#: Webservices.xml:442
#, no-c-format
msgid "Testing resources and providers"
msgstr ""
#. Tag: para
-#: Webservices.xml:449
+#: Webservices.xml:444
#, no-c-format
msgid ""
"Seam includes a unit testing utility class that helps you create unit tests "
@@ -962,7 +947,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:455
+#: Webservices.xml:450
#, no-c-format
msgid ""
"<![CDATA[import org.jboss.seam.mock.ResourceRequestEnvironment;\n"
@@ -1019,7 +1004,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:457
+#: Webservices.xml:452
#, no-c-format
msgid ""
"This test only executes local calls, it does not communicate with the "
@@ -1032,7 +1017,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:465
+#: Webservices.xml:460
#, no-c-format
msgid ""
"Note that a <literal>ResourceRequest</literal> has to be executed in a "
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/as-IN/Websphere.po
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/as-IN/Websphere.po 2009-08-26 19:14:02 UTC (rev 11432)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/as-IN/Websphere.po 2009-08-26 19:19:33 UTC (rev 11433)
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-08-22 13:17+0000\n"
+"POT-Creation-Date: 2009-08-26 18:48+0000\n"
"PO-Revision-Date: 2008-04-04 01:24+0000\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
@@ -76,25 +76,27 @@
#, no-c-format
msgid ""
"The following sections in this chapter assume that WebSphere is correctly "
-"installed and is functional, and a profile has been successfully created."
+"installed and is functional, and a WebSphere \"profile\" has been "
+"successfully created."
msgstr ""
#. Tag: para
#: Websphere.xml:40
#, no-c-format
msgid ""
-"This chapter explain how to compile, deploy and run some sample applications "
-"in WebSphere. These sample applications require a database. WebSphere comes "
-"by default with a set of sample applications called \"Default Application\". "
-"This set of sample applications use a Derby database running on the Derby "
-"instance installed with WebSphere. In order to keep this simple we'll use "
-"this Derby database created for the \"Default Applications\". However, to "
-"run the sample application with the Derby database \"as-is\", a patched "
-"Hibernate dialect must be used (The patch changes the default \"auto\" key "
-"generation strategy) as explained in <xref linkend=\"glassfish\"/>. If you "
-"want to use another database, it's just a matter of creating a connection "
-"pool in WebSphere pointing to this database, declare the correct Hibernate "
-"dialect and set the correct JNDI name in <literal>persistence.xml</literal>."
+"This chapter explains how to compile, deploy and run some sample "
+"applications in WebSphere. These sample applications require a database. "
+"WebSphere comes by default with a set of sample applications called "
+"\"Default Application\". This set of sample applications use a Derby "
+"database running on the Derby instance installed within WebSphere. In order "
+"to keep this simple we'll use this Derby database created for the \"Default "
+"Applications\". However, to run the sample application with the Derby "
+"database \"as-is\", a patched Hibernate dialect must be used (The patch "
+"changes the default \"auto\" key generation strategy) as explained in <xref "
+"linkend=\"glassfish\"/>. If you want to use another database, it's just a "
+"matter of creating a connection pool in WebSphere pointing to this database, "
+"declare the correct Hibernate dialect and set the correct JNDI name in "
+"<literal>persistence.xml</literal>."
msgstr ""
#. Tag: title
@@ -144,14 +146,14 @@
#, no-c-format
msgid ""
"On the right navigation menu, select <literal>Web Container Settings/Web "
-"container</literal>)"
+"container</literal>"
msgstr ""
#. Tag: listitem
#: Websphere.xml:73
#, no-c-format
msgid ""
-"On the right navigation menu, select <literal>custom properties</literal>) "
+"On the right navigation menu, select <literal>custom properties</literal> "
"and add the following properties:"
msgstr ""
@@ -170,7 +172,7 @@
#. Tag: listitem
#: Websphere.xml:84
#, no-c-format
-msgid "Save and restart the server"
+msgid "Save the configuration and restart the server"
msgstr ""
#. Tag: title
@@ -189,38 +191,38 @@
msgstr ""
#. Tag: listitem
-#: Websphere.xml:97
+#: Websphere.xml:96
#, no-c-format
msgid ""
"The global <literal>jndi-pattern</literal> switch on the <literal><core:"
-"init></literal>. in <literal>components.xml</literal>. The switch can use "
-"a special placeholder \"<literal>#{ejbName}</literal>\" that resolves to the "
-"unqualified name of the EJB"
+"init></literal>tag in <literal>components.xml</literal>. The switch can "
+"use a special placeholder \"<literal>#{ejbName}</literal>\" that resolves to "
+"the unqualified name of the EJB"
msgstr ""
#. Tag: para
-#: Websphere.xml:102
+#: Websphere.xml:100
#, no-c-format
msgid "The <literal>@JndiName</literal> annotation"
msgstr ""
#. Tag: para
-#: Websphere.xml:108
+#: Websphere.xml:106
#, no-c-format
msgid "gives detailed explanations on how those mechanisms work."
msgstr ""
#. Tag: para
-#: Websphere.xml:112
+#: Websphere.xml:110
#, no-c-format
msgid ""
-"By default, WebSphere will bind the session bean in its local JNDI name "
-"space under a \"short\" binding name that adheres to the following pattern "
+"By default, WebSphere will bind session beans in its local JNDI name space "
+"under a \"short\" binding name that adheres to the following pattern "
"<literal>ejblocal:<package.qualified.local.interface.name></literal>."
msgstr ""
#. Tag: para
-#: Websphere.xml:117
+#: Websphere.xml:115
#, no-c-format
msgid ""
"For a detailed description on how WebSphere v7 organizes and binds EJBs in "
@@ -228,7 +230,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:120
+#: Websphere.xml:118
#, no-c-format
msgid ""
"As explained before, Seam needs to lookup for session bean as they appear in "
@@ -236,35 +238,35 @@
msgstr ""
#. Tag: listitem
-#: Websphere.xml:124
+#: Websphere.xml:121
#, no-c-format
msgid ""
"Specify which JNDI name Seam must use for each session bean using the "
-"<literal>@JndiName</literal> annotation in the java source file"
+"<literal>@JndiName</literal> annotation in the java source file,"
msgstr ""
#. Tag: listitem
-#: Websphere.xml:127
+#: Websphere.xml:123
#, no-c-format
msgid ""
"Override the default session bean names generated by WebSphere to conform to "
-"the <literal>jndi-pattern</literal> attribute"
+"the <literal>jndi-pattern</literal> attribute,"
msgstr ""
#. Tag: listitem
-#: Websphere.xml:130
+#: Websphere.xml:126
#, no-c-format
-msgid "Use EJB references"
+msgid "Use EJB references."
msgstr ""
#. Tag: title
-#: Websphere.xml:137
+#: Websphere.xml:133
#, no-c-format
msgid "Strategy 1: Specify which JNDI name Seam must use for each Session Bean"
msgstr ""
#. Tag: para
-#: Websphere.xml:138
+#: Websphere.xml:134
#, no-c-format
msgid ""
"This strategy is the simplest and fastest one regarding development. It uses "
@@ -272,7 +274,7 @@
msgstr ""
#. Tag: listitem
-#: Websphere.xml:141
+#: Websphere.xml:137
#, no-c-format
msgid ""
"Add a <literal>@JndiName(\"ejblocal:<package.qualified.local.interface."
@@ -280,20 +282,20 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:145 Websphere.xml:188
+#: Websphere.xml:141 Websphere.xml:184
#, no-c-format
msgid ""
"<para>In <literal>components.xml</literal>, add the following line:</para>"
msgstr ""
#. Tag: programlisting
-#: Websphere.xml:147 Websphere.xml:220
+#: Websphere.xml:143 Websphere.xml:216
#, no-c-format
msgid "<![CDATA[<core:init jndi-name=\"java:comp/env/#{ejbName}\" />]]>"
msgstr ""
#. Tag: para
-#: Websphere.xml:151
+#: Websphere.xml:147
#, no-c-format
msgid ""
"Add a file named <literal>WEB-INF/classes/seam-jndi.properties</literal> in "
@@ -301,7 +303,7 @@
msgstr ""
#. Tag: programlisting
-#: Websphere.xml:153
+#: Websphere.xml:149
#, no-c-format
msgid ""
"com.ibm.websphere.naming.hostname.normalizer=com.ibm.ws.naming.util."
@@ -323,13 +325,13 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:157
+#: Websphere.xml:153
#, no-c-format
msgid "At the end of <literal>web.xml</literal>, add the following lines:"
msgstr ""
#. Tag: programlisting
-#: Websphere.xml:159
+#: Websphere.xml:155
#, no-c-format
msgid ""
"<![CDATA[<ejb-local-ref>\n"
@@ -341,7 +343,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:164
+#: Websphere.xml:160
#, no-c-format
msgid ""
"That's all folks! No need to update any file during the development, nor to "
@@ -349,23 +351,23 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:167
+#: Websphere.xml:163
#, no-c-format
msgid ""
-"Compared to the other strategies, this strategy has the advantage not to "
-"have to manage any EJBs reference and also not to have to maintain extra "
+"Compared to the other strategies, this strategy has the advantage to not "
+"have to manage any EJBs reference and also to not have to maintain extra "
"files. The only drawback is one extra line in the java source code with the "
"<literal>@JndiName</literal> annotation"
msgstr ""
#. Tag: title
-#: Websphere.xml:174
+#: Websphere.xml:170
#, no-c-format
msgid "Strategy 2: Override the default names generated by WebSphere"
msgstr ""
#. Tag: section
-#: Websphere.xml:174
+#: Websphere.xml:170
#, no-c-format
msgid ""
"There is no simple way to globally override the default naming strategy for "
@@ -374,13 +376,13 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:177
+#: Websphere.xml:173
#, no-c-format
msgid "To use this strategy:"
msgstr ""
#. Tag: para
-#: Websphere.xml:181
+#: Websphere.xml:177
#, no-c-format
msgid ""
"Add a file named <literal>META-INF/ibm-ejb-jar-ext.xml</literal> in the EJB "
@@ -405,13 +407,13 @@
msgstr ""
#. Tag: programlisting
-#: Websphere.xml:190
+#: Websphere.xml:186
#, no-c-format
msgid "<![CDATA[<core:init jndi-name=\"ejblocal:#{ejbName}\" />]]>"
msgstr ""
#. Tag: para
-#: Websphere.xml:194
+#: Websphere.xml:190
#, no-c-format
msgid ""
"Add a file named <literal>WEB-INF/classes/seam-jndi.properties</literal> as "
@@ -419,7 +421,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:199
+#: Websphere.xml:195
#, no-c-format
msgid ""
"In <literal>web.xml</literal>, add the following lines (Note the different "
@@ -427,7 +429,7 @@
msgstr ""
#. Tag: programlisting
-#: Websphere.xml:201
+#: Websphere.xml:197
#, no-c-format
msgid ""
"<![CDATA[<ejb-local-ref>\n"
@@ -439,7 +441,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:206
+#: Websphere.xml:202
#, no-c-format
msgid ""
"Compared to the first strategy, this strategy requires to maintain an extra "
@@ -449,13 +451,13 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:215
+#: Websphere.xml:211
#, no-c-format
msgid "Strategy 3: Use EJB references"
msgstr ""
#. Tag: section
-#: Websphere.xml:215
+#: Websphere.xml:211
#, no-c-format
msgid ""
"This strategy is based on the usage of EJB references, from EJB to EJB and "
@@ -463,7 +465,7 @@
msgstr ""
#. Tag: listitem
-#: Websphere.xml:218
+#: Websphere.xml:214
#, no-c-format
msgid ""
"<listitem>In <literal>components.xml</literal>, add the following line:</"
@@ -471,7 +473,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:223
+#: Websphere.xml:219
#, no-c-format
msgid ""
"Follow the instructions in <xref linkend=\"config.integration.ejb.container"
@@ -479,7 +481,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:228
+#: Websphere.xml:224
#, no-c-format
msgid ""
"This is the most tedious strategy as each session bean referenced by another "
@@ -489,27 +491,27 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:239
+#: Websphere.xml:235
#, no-c-format
msgid "Configuring timeouts for Stateful Session Beans"
msgstr ""
#. Tag: para
-#: Websphere.xml:240
+#: Websphere.xml:236
#, no-c-format
msgid ""
"A timeout value has to be set for each stateful session bean used in the "
"application because stateful bean must not expire in WebSphere while Seam "
-"might still need thenm. At the time of writing this document, WebSphere does "
+"might still need them. At the time of writing this document, WebSphere does "
"not provide a way to configure a global timeout at neither the cluster, "
"server, application nor ejb-jar level. It has to be done for each stateful "
-"bean individually. This is done by adding a file named <literal>META-INF/ibm-"
-"ejb-jar-ext.xml</literal> in the EJB module, and declare the timeout value "
-"for each bean:"
+"bean individually. By default, the default timeout is 10 minutes. This is "
+"done by adding a file named <literal>META-INF/ibm-ejb-jar-ext.xml</literal> "
+"in the EJB module, and declare the timeout value for each bean:"
msgstr ""
#. Tag: programlisting
-#: Websphere.xml:246
+#: Websphere.xml:242
#, no-c-format
msgid ""
"<![CDATA[<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
@@ -529,24 +531,24 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:248
+#: Websphere.xml:244
#, no-c-format
msgid ""
"The <literal>time-out</literal> is expressed in seconds and must be higher "
"than the Seam conversation expiration timeout and a few minutes higher than "
"the user's HTTP session timeout (The session expiration timeout can trigger "
-"a few minutes after the number of minutes declared to expire s for the HTTP "
-"session expiration)."
+"a few minutes after the number of minutes declared to expire the HTTP "
+"session)."
msgstr ""
#. Tag: title
-#: Websphere.xml:257
+#: Websphere.xml:253
#, no-c-format
msgid "The <literal>jee5/booking</literal> example"
msgstr ""
#. Tag: para
-#: Websphere.xml:259
+#: Websphere.xml:255
#, no-c-format
msgid ""
"The<literal>jee5/booking</literal>example is based on the Hotel Booking "
@@ -557,23 +559,32 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:265
+#: Websphere.xml:261
#, no-c-format
msgid ""
-"For running this example, we'll use the second JNDI mapping strategy "
-"(\"Override the default names generated by WebSphere\") as we don't want to "
-"change the java code to add the <literal>@JndiName</literal> annotation as "
-"in the first strategy."
+"The example already has a breakout of configurations and build scripts for "
+"WebSphere. First thing, we are going to do is build and deploy this example. "
+"Then we'll go over some key changes that we needed."
msgstr ""
+#. Tag: para
+#: Websphere.xml:266
+#, no-c-format
+msgid ""
+"The tailored configuration files for WebSphere use the second JNDI mapping "
+"strategy (\"Override the default names generated by WebSphere\") as the goal "
+"was to not change any java code to add the <literal>@JndiName</literal> "
+"annotation as in the first strategy."
+msgstr ""
+
#. Tag: title
-#: Websphere.xml:271
+#: Websphere.xml:272
#, no-c-format
msgid "Building the <literal>jee5/booking</literal> example"
msgstr ""
#. Tag: para
-#: Websphere.xml:273
+#: Websphere.xml:274
#, no-c-format
msgid ""
"Building it only requires running the correct ant command: "
@@ -583,21 +594,21 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:280
+#: Websphere.xml:281
#, no-c-format
msgid "Deploying the <literal>jee5/booking</literal> example"
msgstr ""
#. Tag: para
-#: Websphere.xml:281
+#: Websphere.xml:282
#, no-c-format
msgid ""
-"The steps below are for the WAS version stated above.The ports are default "
-"values, if you changed them, you must substitute the values."
+"The steps below are for the WAS version stated above.The ports are the "
+"default values, if you changed them, you must substitute the values."
msgstr ""
#. Tag: listitem
-#: Websphere.xml:284
+#: Websphere.xml:285
#, no-c-format
msgid ""
"Log in to the administration console <programlisting><![CDATA[http://"
@@ -606,7 +617,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:291
+#: Websphere.xml:292
#, no-c-format
msgid ""
"Go to the <literal>WebSphere enterprise applications</literal> menu option "
@@ -615,7 +626,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:298
+#: Websphere.xml:299
#, no-c-format
msgid ""
"At the top of the <literal>Enterprise Applications</literal> table select "
@@ -624,13 +635,13 @@
msgstr ""
#. Tag: literal
-#: Websphere.xml:304
+#: Websphere.xml:305
#, no-c-format
msgid "Preparing for the application installation"
msgstr ""
#. Tag: para
-#: Websphere.xml:307
+#: Websphere.xml:308
#, no-c-format
msgid ""
"Browse to the <literal>examples/jee5/booking/dist-websphere7/jboss-seam-jee5."
@@ -638,25 +649,25 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:313 Websphere.xml:323 Websphere.xml:341
+#: Websphere.xml:314 Websphere.xml:324 Websphere.xml:342
#, no-c-format
msgid "Select the <literal>Next</literal> button."
msgstr ""
#. Tag: para
-#: Websphere.xml:318
+#: Websphere.xml:319
#, no-c-format
msgid "Select the <literal>Fast Path</literal> button."
msgstr ""
#. Tag: literal
-#: Websphere.xml:332
+#: Websphere.xml:333
#, no-c-format
msgid "Select installation options"
msgstr ""
#. Tag: para
-#: Websphere.xml:335
+#: Websphere.xml:336
#, no-c-format
msgid ""
"Select the <literal>Deploy enterprise beans and Allow EJB reference targets "
@@ -665,13 +676,13 @@
msgstr ""
#. Tag: literal
-#: Websphere.xml:350
+#: Websphere.xml:351
#, no-c-format
msgid "Map modules to servers"
msgstr ""
#. Tag: para
-#: Websphere.xml:353
+#: Websphere.xml:354
#, no-c-format
msgid ""
"No changes needed here as we only have one server. Select the <literal>Next</"
@@ -679,13 +690,13 @@
msgstr ""
#. Tag: literal
-#: Websphere.xml:362
+#: Websphere.xml:363
#, no-c-format
msgid "Map virtual hosts for Web modules"
msgstr ""
#. Tag: para
-#: Websphere.xml:365
+#: Websphere.xml:366
#, no-c-format
msgid ""
"No changes needed here as we only have one virtual host. Select the "
@@ -693,31 +704,31 @@
msgstr ""
#. Tag: literal
-#: Websphere.xml:374
+#: Websphere.xml:375
#, no-c-format
msgid "Summary"
msgstr ""
#. Tag: para
-#: Websphere.xml:377
+#: Websphere.xml:378
#, no-c-format
msgid "No changes needed here. Select the <literal>Finish</literal> button."
msgstr ""
#. Tag: literal
-#: Websphere.xml:384
+#: Websphere.xml:385
#, no-c-format
msgid "Installation"
msgstr ""
#. Tag: para
-#: Websphere.xml:387
+#: Websphere.xml:388
#, no-c-format
msgid "Now you will see WebSphere installing and deploying your application."
msgstr ""
#. Tag: para
-#: Websphere.xml:390
+#: Websphere.xml:391
#, no-c-format
msgid ""
"When done, select the <literal>Save</literal> link and you will be returned "
@@ -725,15 +736,15 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:399
+#: Websphere.xml:400
#, no-c-format
msgid ""
-"To start the application select our application in the list, then click on "
+"To start the application, select the application in the list, then click on "
"the <literal>Start</literal> button at the top of the table."
msgstr ""
#. Tag: para
-#: Websphere.xml:409
+#: Websphere.xml:410
#, no-c-format
msgid ""
"You can now access the application at <literal>http://localhost:9080/seam-"
@@ -741,13 +752,13 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:418
+#: Websphere.xml:419
#, no-c-format
msgid "Deviation from the original base files"
msgstr ""
#. Tag: section
-#: Websphere.xml:418
+#: Websphere.xml:419
#, no-c-format
msgid ""
"Below are the differences between the base configuration files and the "
@@ -756,7 +767,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:422
+#: Websphere.xml:423
#, no-c-format
msgid ""
"<literal>META-INF/ejb-jar.xml</literal> — Removed all the EJB "
@@ -764,37 +775,37 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:428
+#: Websphere.xml:429
#, no-c-format
msgid ""
"<literal>META-INF/ibm-ejb-jar-bnd.xml</literal> — This WebSphere "
"specific file has been added as we use the second JNDI mapping strategy. It "
-"defines, for each session bean, the name WebSphere will use to bind it its "
-"JNDI name space"
+"defines, for each session bean, the name WebSphere will use to bind it in "
+"its JNDI name space"
msgstr ""
#. Tag: para
-#: Websphere.xml:435
+#: Websphere.xml:436
#, no-c-format
msgid ""
"<literal>META-INF/ibm-ejb-jar-ext.xml</literal> — This WebSphere "
-"specific file defines to WebSphere, the timeout value for each stateful bean"
+"specific file defines the timeout value for each stateful bean"
msgstr ""
#. Tag: para
-#: Websphere.xml:441
+#: Websphere.xml:442
#, no-c-format
msgid ""
"<literal>META-INF/persistence.xml</literal> — The main changes here "
"are for the datasource JNDI path, switching to the WebSphere transaction "
"manager lookup class, turning off the <literal>hibernate.transaction."
"flush_before_completion</literal> toggle, and forcing the Hibernate dialect "
-"to be <literal>GlassfishDerbyDialect</literal> how as using the integrated "
-"Derby database"
+"to be <literal>GlassfishDerbyDialect</literal> as we are using the "
+"integrated Derby database"
msgstr ""
#. Tag: para
-#: Websphere.xml:451
+#: Websphere.xml:452
#, no-c-format
msgid ""
"<literal>WEB-INF/components.xml</literal> — the change here is "
@@ -803,7 +814,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:459
+#: Websphere.xml:460
#, no-c-format
msgid ""
"<literal>WEB-INF/web.xml</literal> — Remove all the <literal>ejb-local "
@@ -813,7 +824,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:467 Websphere.xml:549
+#: Websphere.xml:468
#, no-c-format
msgid ""
"<literal>import.sql</literal> — due to the cutomized hibernate Derby "
@@ -822,7 +833,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:474
+#: Websphere.xml:475
#, no-c-format
msgid ""
"Also the build procedure has been changed to include the <literal>log4j.jar</"
@@ -831,13 +842,13 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:486
+#: Websphere.xml:487
#, no-c-format
msgid "The <literal>jpa</literal> booking example"
msgstr ""
#. Tag: para
-#: Websphere.xml:488
+#: Websphere.xml:489
#, no-c-format
msgid ""
"This is the Hotel Booking example implemented in Seam POJOs and using "
@@ -845,7 +856,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:493
+#: Websphere.xml:494
#, no-c-format
msgid ""
"The example already has a breakout of configurations and build scripts for "
@@ -853,7 +864,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:498
+#: Websphere.xml:499
#, no-c-format
msgid ""
"First thing, we are going to do is build and deploy that example. Then we'll "
@@ -861,13 +872,13 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:504
+#: Websphere.xml:505
#, no-c-format
msgid "Building the <literal>jpa</literal> example"
msgstr ""
#. Tag: para
-#: Websphere.xml:505
+#: Websphere.xml:506
#, no-c-format
msgid ""
"Building it only requires running the correct ant command: "
@@ -877,13 +888,13 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:514
+#: Websphere.xml:515
#, no-c-format
msgid "Deploying the <literal>jpa</literal> example"
msgstr ""
#. Tag: para
-#: Websphere.xml:515
+#: Websphere.xml:516
#, no-c-format
msgid ""
"Deploying <literal>jpa</literal> application is very similar to the "
@@ -894,7 +905,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:521
+#: Websphere.xml:522
#, no-c-format
msgid ""
"Follow the same instructions as for the <literal>jee5/booking</literal> "
@@ -902,11 +913,11 @@
"literal> file on the first page and on the <literal>Map context roots for "
"Web modules</literal> page (after the <literal>Map virtual host for Web "
"module</literal>), enter the context root you want to use for your "
-"application in the <literal>Contect Root</literal> input field."
+"application in the <literal>Context Root</literal> input field."
msgstr ""
#. Tag: para
-#: Websphere.xml:528
+#: Websphere.xml:529
#, no-c-format
msgid ""
"When started, you can now access the application at the <literal>http://"
@@ -914,13 +925,13 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:534
+#: Websphere.xml:535
#, no-c-format
msgid "Deviation from the generic base files"
msgstr ""
#. Tag: section
-#: Websphere.xml:534
+#: Websphere.xml:535
#, no-c-format
msgid ""
"Below are the configuration file differences between the base configuration "
@@ -929,7 +940,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:539
+#: Websphere.xml:540
#, no-c-format
msgid ""
"<literal>META-INF/persistence.xml</literal> — The main changes here "
@@ -941,9 +952,18 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:556
+#: Websphere.xml:550
#, no-c-format
msgid ""
+"<literal>import.sql</literal> — due to the customized hibernate Derby "
+"dialect, the <literal>ID</literal> column can not be populated by this file "
+"and was removed."
+msgstr ""
+
+#. Tag: para
+#: Websphere.xml:557
+#, no-c-format
+msgid ""
"Also the build procedure have been changed to include the <literal>log4j."
"jar</literal> file and exclude the <literal>concurrent.jar</literal> and "
"<literal>jboss-common-core.jar</literal> files."
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/bn-IN/Configuration.po
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/bn-IN/Configuration.po 2009-08-26 19:14:02 UTC (rev 11432)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/bn-IN/Configuration.po 2009-08-26 19:19:33 UTC (rev 11433)
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-05-05 12:31+0000\n"
+"POT-Creation-Date: 2009-08-26 18:47+0000\n"
"PO-Revision-Date: 2008-04-04 01:24+0000\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
@@ -677,13 +677,63 @@
msgstr ""
#. Tag: title
+#: Configuration.xml:325
+#, no-c-format
+msgid "Enabling HTTP cache-control headers"
+msgstr ""
+
+#. Tag: para
#: Configuration.xml:326
#, no-c-format
+msgid ""
+"Seam does <emphasis>not</emphasis> automatically add <literal>cache-control</"
+"literal> HTTP headers to any resources served by the Seam resource servlet, "
+"or directly from your view directory by the servlet container. This means "
+"that your images, Javascript and CSS files, and resource representations "
+"from Seam resource servlet such as Seam Remoting Javascript interfaces are "
+"usually not cached by the browser. This is convenient in development but "
+"should be changed in production when optimizing the application."
+msgstr ""
+
+#. Tag: para
+#: Configuration.xml:334
+#, no-c-format
+msgid ""
+"You can configure a Seam filter to enable automatic addition of "
+"<literal>cache-control</literal> headers depending on the requested URI in "
+"<literal>components.xml</literal>:"
+msgstr ""
+
+#. Tag: programlisting
+#: Configuration.xml:339
+#, no-c-format
+msgid ""
+"<![CDATA[<web:cache-control-filter name=\"commonTypesCacheControlFilter\"\n"
+" regex-url-pattern=\".*(\\.gif|\\.png|\\.jpg|\\."
+"jpeg|\\.css|\\.js)\"\n"
+" value=\"max-age=86400\"/> <!-- 1 day -->\n"
+"\n"
+"<web:cache-control-filter name=\"anotherCacheControlFilter\"\n"
+" url-pattern=\"/my/cachable/resources/*\"\n"
+" value=\"max-age=432000\"/> <!-- 5 days -->]]>"
+msgstr ""
+
+#. Tag: para
+#: Configuration.xml:341
+#, no-c-format
+msgid ""
+"You do not have to name the filters unless you have more than one filter "
+"enabled."
+msgstr ""
+
+#. Tag: title
+#: Configuration.xml:348
+#, no-c-format
msgid "Adding custom filters"
msgstr ""
#. Tag: para
-#: Configuration.xml:327
+#: Configuration.xml:349
#, no-c-format
msgid ""
"Seam can install your filters for you, allowing you to specify "
@@ -695,7 +745,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:332
+#: Configuration.xml:354
#, no-c-format
msgid ""
"<![CDATA[@Startup\n"
@@ -707,7 +757,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:334
+#: Configuration.xml:356
#, no-c-format
msgid ""
"Adding the <literal>@Startup</literal> annotation means thar the component "
@@ -718,13 +768,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:343
+#: Configuration.xml:365
#, no-c-format
msgid "Integrating Seam with your EJB container"
msgstr ""
#. Tag: para
-#: Configuration.xml:345
+#: Configuration.xml:367
#, no-c-format
msgid ""
"In a Seam application, EJB components have a certain duality, as they are "
@@ -735,7 +785,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:350
+#: Configuration.xml:372
#, no-c-format
msgid ""
"We need to apply the <literal>SeamInterceptor</literal> to our Seam EJB "
@@ -747,7 +797,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:355
+#: Configuration.xml:377
#, no-c-format
msgid ""
"<![CDATA[<interceptors>\n"
@@ -768,7 +818,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:357
+#: Configuration.xml:379
#, no-c-format
msgid ""
"Seam needs to know where to go to find session beans in JNDI. One way to do "
@@ -782,19 +832,19 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:364
+#: Configuration.xml:386
#, no-c-format
msgid "For JBoss AS, the following pattern is correct:"
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:366
+#: Configuration.xml:388
#, no-c-format
msgid "<![CDATA[<core:init jndi-name=\"earName/#{ejbName}/local\" />]]>"
msgstr ""
#. Tag: para
-#: Configuration.xml:368
+#: Configuration.xml:390
#, no-c-format
msgid ""
"In this case, <literal>earName</literal> is the name of the EAR in which the "
@@ -804,7 +854,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:372
+#: Configuration.xml:394
#, no-c-format
msgid ""
"Outside the context of an EAR (when using the JBoss Embeddable EJB3 "
@@ -813,13 +863,13 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:375
+#: Configuration.xml:397
#, no-c-format
msgid "<![CDATA[<core:init jndi-name=\"#{ejbName}/local\" />]]>"
msgstr ""
#. Tag: para
-#: Configuration.xml:377
+#: Configuration.xml:399
#, no-c-format
msgid ""
"How these JNDI names are resolved and somehow locate an EJB component might "
@@ -828,7 +878,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:381
+#: Configuration.xml:403
#, no-c-format
msgid ""
"The folks at JBoss don't care much for XML, if you can't tell. So when they "
@@ -839,14 +889,14 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:387
+#: Configuration.xml:409
#, no-c-format
msgid ""
"The value of the <literal><ejb-name></literal> element in ejb-jar.xml"
msgstr ""
#. Tag: para
-#: Configuration.xml:390
+#: Configuration.xml:412
#, no-c-format
msgid ""
"The value of the <literal>name</literal> attribute in the @Stateless or "
@@ -854,13 +904,13 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:393
+#: Configuration.xml:415
#, no-c-format
msgid "The simple name of the bean class"
msgstr ""
#. Tag: para
-#: Configuration.xml:397
+#: Configuration.xml:419
#, no-c-format
msgid ""
"Let's look at an example. Assume that you have the following EJB bean and "
@@ -868,7 +918,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:399
+#: Configuration.xml:421
#, no-c-format
msgid ""
"<![CDATA[package com.example.myapp;\n"
@@ -895,7 +945,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:401
+#: Configuration.xml:423
#, no-c-format
msgid ""
"Assuming your EJB bean class is deployed in an EAR named myapp, the global "
@@ -907,7 +957,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:407
+#: Configuration.xml:429
#, no-c-format
msgid ""
"So what about the rest of the application servers? Well, according to the "
@@ -919,7 +969,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:413
+#: Configuration.xml:435
#, no-c-format
msgid ""
"There are two places you have to define the EJB reference when using Seam on "
@@ -930,7 +980,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:418
+#: Configuration.xml:440
#, no-c-format
msgid ""
"<![CDATA[<ejb-local-ref>\n"
@@ -942,7 +992,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:420
+#: Configuration.xml:442
#, no-c-format
msgid ""
"This reference will cover most uses of the component in a Seam application. "
@@ -953,7 +1003,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:425
+#: Configuration.xml:447
#, no-c-format
msgid ""
"Within the context of an EJB method call, you have to deal with a somewhat "
@@ -970,7 +1020,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:434
+#: Configuration.xml:456
#, no-c-format
msgid ""
"For application servers that stubbornly adhere to the EJB specification, EJB "
@@ -982,7 +1032,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:439
+#: Configuration.xml:461
#, no-c-format
msgid ""
"Let's assume that we have an EJB named RegisterAction (the name is resolved "
@@ -991,7 +1041,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:442
+#: Configuration.xml:464
#, no-c-format
msgid ""
"<![CDATA[@In(create = true)\n"
@@ -1000,7 +1050,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:444
+#: Configuration.xml:466
#, no-c-format
msgid ""
"In order for this injection to work, the link must be established in the ejb-"
@@ -1008,7 +1058,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:446
+#: Configuration.xml:468
#, no-c-format
msgid ""
"<![CDATA[<ejb-jar>\n"
@@ -1031,7 +1081,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:448
+#: Configuration.xml:470
#, no-c-format
msgid ""
"Notice that the contents of the <literal><ejb-local-ref></literal> are "
@@ -1043,7 +1093,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:454
+#: Configuration.xml:476
#, no-c-format
msgid ""
"But what about <literal>@EJB</literal>? It's true that you can inject one "
@@ -1061,7 +1111,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:464
+#: Configuration.xml:486
#, no-c-format
msgid ""
"That covers how JNDI names are defined and used. The lesson is that with "
@@ -1074,7 +1124,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:470
+#: Configuration.xml:492
#, no-c-format
msgid ""
"<![CDATA[<core:init jndi-name=\"java:comp/env/earName/#{ejbName}/local\" />]]"
@@ -1082,7 +1132,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:472
+#: Configuration.xml:494
#, no-c-format
msgid ""
"Finally, let's talk about transactions. In an EJB3 environment, we recommend "
@@ -1094,19 +1144,19 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:479
+#: Configuration.xml:501
#, no-c-format
msgid "<![CDATA[<transaction:ejb-transaction/>]]>"
msgstr ""
#. Tag: title
-#: Configuration.xml:484
+#: Configuration.xml:506
#, no-c-format
msgid "Don't forget!"
msgstr ""
#. Tag: para
-#: Configuration.xml:486
+#: Configuration.xml:508
#, no-c-format
msgid ""
"There is one final item you need to know about. You must place a "
@@ -1118,7 +1168,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:491
+#: Configuration.xml:513
#, no-c-format
msgid ""
"In a web archive (WAR) file, you must place a <literal>seam.properties</"
@@ -1127,7 +1177,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:494
+#: Configuration.xml:516
#, no-c-format
msgid ""
"That's why all the Seam examples have an empty <literal>seam.properties</"
@@ -1136,7 +1186,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:497
+#: Configuration.xml:519
#, no-c-format
msgid ""
"You might think this is silly and what kind of idiot framework designers "
@@ -1148,13 +1198,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:508
+#: Configuration.xml:530
#, no-c-format
msgid "Using Alternate JPA Providers"
msgstr ""
#. Tag: para
-#: Configuration.xml:510
+#: Configuration.xml:532
#, no-c-format
msgid ""
"Seam comes packaged and configured with Hibernate as the default JPA "
@@ -1163,13 +1213,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:516
+#: Configuration.xml:538
#, no-c-format
msgid "This is a workaround"
msgstr ""
#. Tag: para
-#: Configuration.xml:517
+#: Configuration.xml:539
#, no-c-format
msgid ""
"Configuration of the JPA provider will be easier in the future and will not "
@@ -1178,7 +1228,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:524
+#: Configuration.xml:546
#, no-c-format
msgid ""
"Telling seam about a different JPA provider can be be done in one of two "
@@ -1186,7 +1236,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:525
+#: Configuration.xml:547
#, no-c-format
msgid ""
"Update your application's <literal>components.xml</literal> so that the "
@@ -1195,7 +1245,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:530
+#: Configuration.xml:552
#, no-c-format
msgid ""
"<![CDATA[<component name=\"org.jboss.seam.persistence.persistenceProvider"
@@ -1206,7 +1256,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:531
+#: Configuration.xml:553
#, no-c-format
msgid ""
"If you want to take advantage of your JPA provider's non-standard features "
@@ -1218,7 +1268,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:538
+#: Configuration.xml:560
#, no-c-format
msgid ""
"<![CDATA[<component name=\"org.jboss.seam.persistence.persistenceProvider"
@@ -1228,7 +1278,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:539
+#: Configuration.xml:561
#, no-c-format
msgid ""
"All that is left is updating the <literal>persistence.xml</literal> file "
@@ -1238,13 +1288,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:547
+#: Configuration.xml:569
#, no-c-format
msgid "Configuring Seam in Java EE 5"
msgstr ""
#. Tag: para
-#: Configuration.xml:558
+#: Configuration.xml:580
#, no-c-format
msgid ""
"If you're running in a Java EE 5 environment, this is all the configuration "
@@ -1252,14 +1302,14 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:561 Configuration.xml:656 Configuration.xml:794
-#: Configuration.xml:827
+#: Configuration.xml:583 Configuration.xml:678 Configuration.xml:816
+#: Configuration.xml:849
#, no-c-format
msgid "Packaging"
msgstr ""
#. Tag: para
-#: Configuration.xml:563
+#: Configuration.xml:585
#, no-c-format
msgid ""
"Once you've packaged all this stuff together into an EAR, the archive "
@@ -1267,7 +1317,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:566
+#: Configuration.xml:588
#, no-c-format
msgid ""
"<![CDATA[my-application.ear/\n"
@@ -1307,7 +1357,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:568
+#: Configuration.xml:590
#, no-c-format
msgid ""
"You should declare <literal>jboss-seam.jar</literal> as an ejb module in "
@@ -1316,7 +1366,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:573
+#: Configuration.xml:595
#, no-c-format
msgid ""
"If you want to use jBPM or Drools, you must include the needed jars in the "
@@ -1324,7 +1374,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:575
+#: Configuration.xml:597
#, no-c-format
msgid ""
"If you want to use facelets (our recommendation), you must include "
@@ -1333,7 +1383,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:578
+#: Configuration.xml:600
#, no-c-format
msgid ""
"If you want to use the Seam tag library (most Seam applications do), you "
@@ -1344,7 +1394,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:583
+#: Configuration.xml:605
#, no-c-format
msgid ""
"If you want to use the Seam debug page (only works for applications using "
@@ -1353,7 +1403,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:586
+#: Configuration.xml:608
#, no-c-format
msgid ""
"Seam ships with several example applications that are deployable in any Java "
@@ -1361,7 +1411,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:589
+#: Configuration.xml:611
#, no-c-format
msgid ""
"I really wish that was all there was to say on the topic of configuration "
@@ -1371,13 +1421,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:598
+#: Configuration.xml:620
#, no-c-format
msgid "Configuring Seam in J2EE"
msgstr ""
#. Tag: para
-#: Configuration.xml:600
+#: Configuration.xml:622
#, no-c-format
msgid ""
"Seam is useful even if you're not yet ready to take the plunge into EJB 3.0. "
@@ -1389,7 +1439,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:615
+#: Configuration.xml:637
#, no-c-format
msgid ""
"Seam JavaBean components do not provide declarative transaction demarcation "
@@ -1401,7 +1451,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:621
+#: Configuration.xml:643
#, no-c-format
msgid ""
"The Seam distribution includes a version of the booking example application "
@@ -1411,13 +1461,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:626
+#: Configuration.xml:648
#, no-c-format
msgid "Boostrapping Hibernate in Seam"
msgstr ""
#. Tag: para
-#: Configuration.xml:628
+#: Configuration.xml:650
#, no-c-format
msgid ""
"Seam will bootstrap a Hibernate <literal>SessionFactory</literal> from your "
@@ -1426,7 +1476,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:631
+#: Configuration.xml:653
#, no-c-format
msgid ""
"<![CDATA[<persistence:hibernate-session-factory name="
@@ -1434,7 +1484,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:633
+#: Configuration.xml:655
#, no-c-format
msgid ""
"You will also need to configure a <emphasis>managed session</emphasis> if "
@@ -1443,7 +1493,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:636
+#: Configuration.xml:658
#, no-c-format
msgid ""
"<![CDATA[<persistence:managed-hibernate-session name=\"hibernateSession\"\n"
@@ -1452,13 +1502,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:641
+#: Configuration.xml:663
#, no-c-format
msgid "Boostrapping JPA in Seam"
msgstr ""
#. Tag: para
-#: Configuration.xml:643
+#: Configuration.xml:665
#, no-c-format
msgid ""
"Seam will bootstrap a JPA <literal>EntityManagerFactory</literal> from your "
@@ -1467,7 +1517,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:646
+#: Configuration.xml:668
#, no-c-format
msgid ""
"<![CDATA[<persistence:entity-manager-factory name=\"entityManagerFactory\"/"
@@ -1475,7 +1525,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:648
+#: Configuration.xml:670
#, no-c-format
msgid ""
"You will also need to configure a <emphasis>managed persistence context</"
@@ -1484,7 +1534,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:651
+#: Configuration.xml:673
#, no-c-format
msgid ""
"<![CDATA[<persistence:managed-persistence-context name=\"entityManager\"\n"
@@ -1493,13 +1543,13 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:658
+#: Configuration.xml:680
#, no-c-format
msgid "We can package our application as a WAR, in the following structure:"
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:660
+#: Configuration.xml:682
#, no-c-format
msgid ""
"<![CDATA[my-application.war/\n"
@@ -1536,7 +1586,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:662
+#: Configuration.xml:684
#, no-c-format
msgid ""
"If we want to deploy Hibernate in a non-EE environment like Tomcat or "
@@ -1544,13 +1594,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:669
+#: Configuration.xml:691
#, no-c-format
msgid "Configuring Seam in Java SE, without JBoss Embedded"
msgstr ""
#. Tag: para
-#: Configuration.xml:671
+#: Configuration.xml:693
#, no-c-format
msgid ""
"It is possible to use Seam completely outside of an EE environment. In this "
@@ -1560,7 +1610,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:675
+#: Configuration.xml:697
#, no-c-format
msgid ""
"<![CDATA[<transaction:entity-transaction entity-manager=\"#{entityManager}\"/"
@@ -1568,7 +1618,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:677
+#: Configuration.xml:699
#, no-c-format
msgid ""
"If you're using Hibernate, you can tell Seam to use the Hibernate "
@@ -1576,32 +1626,32 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:679
+#: Configuration.xml:701
#, no-c-format
msgid "<![CDATA[<transaction:hibernate-transaction session=\"#{session}\"/>]]>"
msgstr ""
#. Tag: para
-#: Configuration.xml:681
+#: Configuration.xml:703
#, no-c-format
msgid "Of course, you'll also need to define a datasource."
msgstr ""
#. Tag: para
-#: Configuration.xml:683
+#: Configuration.xml:705
#, no-c-format
msgid ""
"A better alternative is to use JBoss Embedded to get access to the EE APIs."
msgstr ""
#. Tag: title
-#: Configuration.xml:688
+#: Configuration.xml:710
#, no-c-format
msgid "Configuring Seam in Java SE, with JBoss Embedded"
msgstr ""
#. Tag: para
-#: Configuration.xml:690
+#: Configuration.xml:712
#, no-c-format
msgid ""
"JBoss Embedded lets you run EJB3 components outside the context of the Java "
@@ -1610,7 +1660,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:693
+#: Configuration.xml:715
#, no-c-format
msgid ""
"The Seam booking example application includes a TestNG integration test "
@@ -1618,19 +1668,19 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:705
+#: Configuration.xml:727
#, no-c-format
msgid "The booking example application may even be deployed to Tomcat."
msgstr ""
#. Tag: title
-#: Configuration.xml:717
+#: Configuration.xml:739
#, no-c-format
msgid "Installing Embedded JBoss"
msgstr ""
#. Tag: para
-#: Configuration.xml:720
+#: Configuration.xml:742
#, no-c-format
msgid ""
"Embedded JBoss must by installed into Tomcat for Seam applications to run "
@@ -1643,7 +1693,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:734
+#: Configuration.xml:756
#, no-c-format
msgid ""
"Copy all files and directories under the Embedded JBoss <literal>bootstrap</"
@@ -1653,7 +1703,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:741
+#: Configuration.xml:763
#, no-c-format
msgid ""
"Remove the <literal>annotations-api.jar</literal> file from the Tomcat "
@@ -1661,7 +1711,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:747
+#: Configuration.xml:769
#, no-c-format
msgid ""
"Next, two configuration files need to be updated to add Embedded JBoss-"
@@ -1669,7 +1719,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:753
+#: Configuration.xml:775
#, no-c-format
msgid ""
"Add the Embedded JBoss listener <literal>EmbeddedJBossBootstrapListener</"
@@ -1678,7 +1728,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:756
+#: Configuration.xml:778
#, no-c-format
msgid ""
"<![CDATA[<Server port=\"8005\" shutdown=\"SHUTDOWN\">\n"
@@ -1696,7 +1746,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:757
+#: Configuration.xml:779
#, no-c-format
msgid ""
"<![CDATA[ <!-- Add this listener -->\n"
@@ -1705,7 +1755,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:761
+#: Configuration.xml:783
#, no-c-format
msgid ""
"WAR file scanning should be enabled by adding the <literal>WebinfScanner</"
@@ -1713,7 +1763,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:764
+#: Configuration.xml:786
#, no-c-format
msgid ""
"<![CDATA[<Context>\n"
@@ -1728,7 +1778,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:765
+#: Configuration.xml:787
#, no-c-format
msgid ""
"<![CDATA[ <!-- Add this listener -->\n"
@@ -1736,13 +1786,13 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:766
+#: Configuration.xml:788
#, no-c-format
msgid "<![CDATA[</Context>]]>"
msgstr ""
#. Tag: para
-#: Configuration.xml:770
+#: Configuration.xml:792
#, no-c-format
msgid ""
"If you are using Sun JDK 6, you need to set the Java option <literal>sun."
@@ -1752,7 +1802,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:775
+#: Configuration.xml:797
#, no-c-format
msgid ""
"Open the script appropriate for your operating system in a text editor. Add "
@@ -1762,7 +1812,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:779
+#: Configuration.xml:801
#, no-c-format
msgid ""
"<![CDATA[set JAVA_OPTS=%JAVA_OPTS% -Dsun.lang.ClassLoader."
@@ -1770,13 +1820,13 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:781
+#: Configuration.xml:803
#, no-c-format
msgid "On Unix, use this syntax instead:"
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:783
+#: Configuration.xml:805
#, no-c-format
msgid ""
"<![CDATA[JAVA_OPTS=\"$JAVA_OPTS -Dsun.lang.ClassLoader.allowArraySyntax=true"
@@ -1784,7 +1834,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:788
+#: Configuration.xml:810
#, no-c-format
msgid ""
"For more configuration options, please see the Embedded JBoss Tomcat "
@@ -1793,7 +1843,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:796
+#: Configuration.xml:818
#, no-c-format
msgid ""
"The archive structure of a WAR-based deployment on an servlet engine like "
@@ -1801,7 +1851,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:799
+#: Configuration.xml:821
#, no-c-format
msgid ""
"<![CDATA[my-application.war/\n"
@@ -1839,7 +1889,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:801
+#: Configuration.xml:823
#, no-c-format
msgid ""
"Most of the Seam example applications may be deployed to Tomcat by running "
@@ -1847,13 +1897,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:809
+#: Configuration.xml:831
#, no-c-format
msgid "Configuring jBPM in Seam"
msgstr ""
#. Tag: para
-#: Configuration.xml:810
+#: Configuration.xml:832
#, no-c-format
msgid ""
"Seam's jBPM integration is not installed by default, so you'll need to "
@@ -1863,7 +1913,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:814
+#: Configuration.xml:836
#, no-c-format
msgid ""
"<![CDATA[<bpm:jbpm>\n"
@@ -1879,7 +1929,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:816
+#: Configuration.xml:838
#, no-c-format
msgid ""
"No further special configuration is needed if you only have pageflows. If "
@@ -1890,7 +1940,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:821
+#: Configuration.xml:843
#, no-c-format
msgid ""
"<![CDATA[<jbpm-configuration>\n"
@@ -1920,7 +1970,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:823
+#: Configuration.xml:845
#, no-c-format
msgid ""
"The most important thing to notice here is that jBPM transaction control is "
@@ -1928,7 +1978,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:829
+#: Configuration.xml:851
#, no-c-format
msgid ""
"There is not yet any well-defined packaging format for jBPM configuration "
@@ -1939,7 +1989,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:834
+#: Configuration.xml:856
#, no-c-format
msgid ""
"<![CDATA[my-application.ear/\n"
@@ -1986,13 +2036,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:841
+#: Configuration.xml:863
#, no-c-format
msgid "Configuring SFSB and Session Timeouts in JBoss AS"
msgstr ""
#. Tag: para
-#: Configuration.xml:843
+#: Configuration.xml:865
#, no-c-format
msgid ""
"It is very important that the timeout for Stateful Session Beans is set "
@@ -2004,7 +2054,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:849
+#: Configuration.xml:871
#, no-c-format
msgid ""
"The default SFSB timeout can be adjusted by modifying the value of "
@@ -2013,7 +2063,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:852
+#: Configuration.xml:874
#, no-c-format
msgid ""
"<![CDATA[<container-cache-conf>\n"
@@ -2038,7 +2088,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:854
+#: Configuration.xml:876
#, no-c-format
msgid ""
"The default HTTP session timeout can be modified in <literal>server/default/"
@@ -2049,7 +2099,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:859
+#: Configuration.xml:881
#, no-c-format
msgid ""
"<![CDATA[<session-config>\n"
@@ -2059,7 +2109,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:861
+#: Configuration.xml:883
#, no-c-format
msgid ""
"To override this value for your own application, simply include this entry "
@@ -2067,13 +2117,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:867
+#: Configuration.xml:889
#, no-c-format
msgid "Running Seam in a Portlet"
msgstr ""
#. Tag: para
-#: Configuration.xml:869
+#: Configuration.xml:891
#, no-c-format
msgid ""
"If you want to run your Seam application in a portlet, take a look at the "
@@ -2084,13 +2134,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:880
+#: Configuration.xml:902
#, no-c-format
msgid "Deploying custom resources"
msgstr ""
#. Tag: para
-#: Configuration.xml:882
+#: Configuration.xml:904
#, no-c-format
msgid ""
"Seam scans all jars containing <literal>/seam.properties</literal>, "
@@ -2101,7 +2151,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:889
+#: Configuration.xml:911
#, no-c-format
msgid ""
"You may also want Seam to handle custom resources. A common use case is to "
@@ -2111,7 +2161,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:896
+#: Configuration.xml:918
#, no-c-format
msgid ""
"<![CDATA[# A colon-separated list of annotation types to handle\n"
@@ -2119,7 +2169,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:898
+#: Configuration.xml:920
#, no-c-format
msgid ""
"Then, during application startup you can get hold of all classes annotated "
@@ -2127,7 +2177,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:903
+#: Configuration.xml:925
#, no-c-format
msgid ""
"<![CDATA[@Name(\"fooStartup\")\n"
@@ -2159,7 +2209,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:905
+#: Configuration.xml:927
#, no-c-format
msgid ""
"You can also handle <emphasis>any</emphasis> resource. For example, you "
@@ -2168,7 +2218,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:911
+#: Configuration.xml:933
#, no-c-format
msgid ""
"<![CDATA[public class FooDeploymentHandler implements DeploymentHandler {\n"
@@ -2192,7 +2242,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:913
+#: Configuration.xml:935
#, no-c-format
msgid ""
"Here we are just building a list of any files with the suffix <literal>.foo."
@@ -2200,7 +2250,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:918
+#: Configuration.xml:940
#, no-c-format
msgid ""
"Then, we need to register the deployment handler with Seam in <literal>/META-"
@@ -2209,7 +2259,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:925
+#: Configuration.xml:947
#, no-c-format
msgid ""
"<![CDATA[# For standard deployment\n"
@@ -2220,7 +2270,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:931
+#: Configuration.xml:953
#, no-c-format
msgid ""
"Seam uses deployment handlers internally to install components and "
@@ -2229,7 +2279,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:937
+#: Configuration.xml:959
#, no-c-format
msgid ""
"<![CDATA[@Name(\"fooStartup\")\n"
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/bn-IN/Webservices.po
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/bn-IN/Webservices.po 2009-08-26 19:14:02 UTC (rev 11432)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/bn-IN/Webservices.po 2009-08-26 19:19:33 UTC (rev 11433)
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-07-08 14:32+0000\n"
+"POT-Creation-Date: 2009-08-26 18:48+0000\n"
"PO-Revision-Date: 2008-04-04 01:24+0000\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
@@ -392,48 +392,56 @@
#: Webservices.xml:186
#, no-c-format
msgid ""
-"The URI starts with the pattern mapped in <literal>web.xml</literal> for the "
+"The URI starts with the host and context path of your application, e.g. "
+"<literal>http://your.hostname/myapp</literal>."
+msgstr ""
+
+#. Tag: para
+#: Webservices.xml:192
+#, no-c-format
+msgid ""
+"Then the pattern mapped in <literal>web.xml</literal> for the "
"<literal>SeamResourceServlet</literal>, e.g <literal>/seam/resource</"
-"literal> if you follow the common examples. Change this setting to expose "
-"your RESTful resources under a different base. Note that this is a global "
-"change and other Seam resources (e.g. <literal>s:graphicImage</literal>) are "
-"then also served under that base path."
+"literal> if you follow the common examples, is appended. Change this setting "
+"to expose your RESTful resources under a different base. Note that this is a "
+"global change and other Seam resources (e.g. <literal>s:graphicImage</"
+"literal>) are then also served under that base path."
msgstr ""
#. Tag: para
-#: Webservices.xml:195
+#: Webservices.xml:201
#, no-c-format
msgid ""
"The RESTEasy integration for Seam then appends a configurable string to the "
"base path, by default this is <literal>/rest</literal>. Hence, the full base "
-"path of your resources would e.g. be <literal>/seam/resource/rest</literal>. "
-"We recommend that you change this string in your application, you could for "
-"example add a version number to prepare for a future REST API upgrade of "
-"your services (old clients would keep the old URI base): <literal>/seam/"
-"resource/restv1</literal>."
+"path of your resources would e.g. be <literal>/myapp/seam/resource/rest</"
+"literal>. We recommend that you change this string in your application, you "
+"could for example add a version number to prepare for a future REST API "
+"upgrade of your services (old clients would keep the old URI base): "
+"<literal>/myapp/seam/resource/restv1</literal>."
msgstr ""
#. Tag: para
-#: Webservices.xml:204
+#: Webservices.xml:210
#, no-c-format
msgid ""
"Finally, the actual resource is available under the defined <literal>@Path</"
"literal>, e.g. a resource mapped with <literal>@Path(\"/customer\")</"
-"literal> would be available under <literal>/seam/resource/rest/customer</"
-"literal>."
+"literal> would be available under <literal>/myapp/seam/resource/rest/"
+"customer</literal>."
msgstr ""
#. Tag: para
-#: Webservices.xml:212
+#: Webservices.xml:218
#, no-c-format
msgid ""
"As an example, the following resource definition would return a plaintext "
"representation for any GET requests using the URI <literal>http://your."
-"hostname/seam/resource/rest/customer/123</literal>:"
+"hostname/myapp/seam/resource/rest/customer/123</literal>:"
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:217
+#: Webservices.xml:223
#, no-c-format
msgid ""
"<![CDATA[@Path(\"/customer\")\n"
@@ -450,7 +458,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:219
+#: Webservices.xml:225
#, no-c-format
msgid ""
"No additional configuration is required, you do not have to edit "
@@ -461,7 +469,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:225
+#: Webservices.xml:231
#, no-c-format
msgid ""
"<![CDATA[<components\n"
@@ -476,63 +484,39 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:227
+#: Webservices.xml:233
#, no-c-format
msgid ""
"You can then change the <literal>/rest</literal> prefix as mentioned earlier:"
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:231
+#: Webservices.xml:237
#, no-c-format
msgid "<![CDATA[<resteasy:application resource-path-prefix=\"/restv1\"/>]]>"
msgstr ""
#. Tag: para
-#: Webservices.xml:233
-#, no-c-format
-msgid ""
-"The full base path to your resources is now <literal>/seam/resource/restv1/"
-"{resource}</literal> - note that your <literal>@Path</literal> definitions "
-"and mappings do NOT change. This is an application-wide switch usually used "
-"for versioning of the HTTP API."
-msgstr ""
-
-#. Tag: para
#: Webservices.xml:239
#, no-c-format
msgid ""
-"You can disable stripping of the base path if you'd like to map the full "
-"path in your resources:"
+"The full base path to your resources is now <literal>/myapp/seam/resource/"
+"restv1/{resource}</literal> - note that your <literal>@Path</literal> "
+"definitions and mappings do NOT change. This is an application-wide switch "
+"usually used for versioning of the HTTP interface."
msgstr ""
-#. Tag: programlisting
-#: Webservices.xml:243
-#, no-c-format
-msgid "<![CDATA[<resteasy:application strip-seam-resource-path=\"false\"/>]]>"
-msgstr ""
-
#. Tag: para
#: Webservices.xml:245
#, no-c-format
msgid ""
-"The path of a resource is now mapped with e.g. <literal>@Path(\"/seam/"
-"resource/rest/customer\")</literal>. We do not recommend disabling this "
-"feature, as your resource class mappings are then bound to a particular "
-"deployment scenario."
-msgstr ""
-
-#. Tag: para
-#: Webservices.xml:251
-#, no-c-format
-msgid ""
"Seam will scan your classpath for any deployed <literal>@javax.ws.rs.Path</"
"literal> resources and any <literal>@javax.ws.rs.ext.Provider</literal> "
"classes. You can disable scanning and configure these classes manually:"
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:257
+#: Webservices.xml:251
#, no-c-format
msgid ""
"<![CDATA[<resteasy:application\n"
@@ -554,7 +538,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:259
+#: Webservices.xml:253
#, no-c-format
msgid ""
"The <literal>use-built-in-providers</literal> switch enables (default) or "
@@ -564,7 +548,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:265
+#: Webservices.xml:259
#, no-c-format
msgid ""
"RESTEasy supports plain EJBs (EJBs that are not Seam components) as "
@@ -576,20 +560,21 @@
"<literal>@Path</literal>, <literal>@GET</literal>, and so on - not the bean "
"implementation class. This allows you to keep your application deployment-"
"portable with the global Seam <literal>jndi-pattern</literal> switch on "
-"<literal><core:init/></literal>. Note that EJB resources will not be "
-"found even if scanning of resources is enabled, you always have to list them "
-"manually. Again, this is only relevant for EJB resources that are not also "
-"Seam components and that do not have a <literal>@Name</literal> annotation."
+"<literal><core:init/></literal>. Note that plain (non-Seam component) "
+"EJB resources will not be found even if scanning of resources is enabled, "
+"you always have to list them manually. Again, this whole paragraph is only "
+"relevant for EJB resources that are not also Seam components and that do not "
+"have an <literal>@Name</literal> annotation."
msgstr ""
#. Tag: para
-#: Webservices.xml:277
+#: Webservices.xml:272
#, no-c-format
msgid "Finally, you can configure media type and language URI extensions:"
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:281
+#: Webservices.xml:276
#, no-c-format
msgid ""
"<![CDATA[<resteasy:application>\n"
@@ -606,7 +591,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:283
+#: Webservices.xml:278
#, no-c-format
msgid ""
"This definition would map the URI suffix of <literal>.txt.deutsch</literal> "
@@ -616,13 +601,13 @@
msgstr ""
#. Tag: title
-#: Webservices.xml:292
+#: Webservices.xml:287
#, no-c-format
msgid "Resources and providers as Seam components"
msgstr ""
#. Tag: para
-#: Webservices.xml:294
+#: Webservices.xml:289
#, no-c-format
msgid ""
"Any resource and provider instances are managed by RESTEasy by default. That "
@@ -633,7 +618,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:301
+#: Webservices.xml:296
#, no-c-format
msgid ""
"You can write resources and providers as Seam components and benefit from "
@@ -642,7 +627,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:307
+#: Webservices.xml:302
#, no-c-format
msgid ""
"<![CDATA[@Name(\"customerResource\")\n"
@@ -663,7 +648,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:309
+#: Webservices.xml:304
#, no-c-format
msgid ""
"An instance of <literal>customerResource</literal> is now handled by Seam "
@@ -677,7 +662,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:318
+#: Webservices.xml:313
#, no-c-format
msgid ""
"You can annotate an interface and keep the implementation free from JAX-RS "
@@ -685,7 +670,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:322
+#: Webservices.xml:317
#, no-c-format
msgid ""
"<![CDATA[@Path(\"/customer\")\n"
@@ -700,7 +685,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:324
+#: Webservices.xml:319
#, no-c-format
msgid ""
"<![CDATA[@Name(\"customerResource\")\n"
@@ -718,7 +703,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:326
+#: Webservices.xml:321
#, no-c-format
msgid ""
"You can use <literal>SESSION</literal>-scoped Seam components. By default, "
@@ -733,7 +718,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:335
+#: Webservices.xml:330
#, no-c-format
msgid ""
"Assuming that your Seam application only uses event, application, or "
@@ -745,7 +730,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:342
+#: Webservices.xml:337
#, no-c-format
msgid ""
"If your RESTful Seam application has to preserve session state across REST "
@@ -753,14 +738,14 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:347
+#: Webservices.xml:342
#, no-c-format
msgid ""
"<![CDATA[<resteasy:application destroy-session-after-request=\"false\"/>]]>"
msgstr ""
#. Tag: para
-#: Webservices.xml:349
+#: Webservices.xml:344
#, no-c-format
msgid ""
"Every REST HTTP request will now create a new session that will only be "
@@ -771,7 +756,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:356
+#: Webservices.xml:351
#, no-c-format
msgid ""
"<literal>CONVERSATION</literal>-scoped resource components and mapping of "
@@ -780,7 +765,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:361
+#: Webservices.xml:356
#, no-c-format
msgid ""
"EJB Seam components are supported. Always annotate the local business "
@@ -789,7 +774,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:366
+#: Webservices.xml:361
#, no-c-format
msgid ""
"Provider classes can also be Seam components, only <literal>APPLICATION</"
@@ -799,13 +784,13 @@
msgstr ""
#. Tag: title
-#: Webservices.xml:375
+#: Webservices.xml:370
#, no-c-format
msgid "Securing resources"
msgstr ""
#. Tag: para
-#: Webservices.xml:377
+#: Webservices.xml:372
#, no-c-format
msgid ""
"You can enable the Seam authentication filter for HTTP Basic and Digest "
@@ -813,7 +798,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:382
+#: Webservices.xml:377
#, no-c-format
msgid ""
"<![CDATA[<web:authentication-filter url-pattern=\"/seam/resource/rest/*\" "
@@ -821,14 +806,14 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:384
+#: Webservices.xml:379
#, no-c-format
msgid ""
"See the Seam security chapter on how to write an authentication routine."
msgstr ""
#. Tag: para
-#: Webservices.xml:388
+#: Webservices.xml:383
#, no-c-format
msgid ""
"After successful authentication, authorization rules with the common "
@@ -839,13 +824,13 @@
msgstr ""
#. Tag: title
-#: Webservices.xml:398
+#: Webservices.xml:393
#, no-c-format
msgid "Mapping exceptions to HTTP responses"
msgstr ""
#. Tag: para
-#: Webservices.xml:400
+#: Webservices.xml:395
#, no-c-format
msgid ""
"Section 3.3.4 of the JAX-RS specification defines how checked or unchecked "
@@ -858,7 +843,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:408
+#: Webservices.xml:403
#, no-c-format
msgid ""
"Exception handling within Seam requires that the Seam filter is executed for "
@@ -870,7 +855,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:415
+#: Webservices.xml:410
#, no-c-format
msgid ""
"<![CDATA[<filter>\n"
@@ -885,7 +870,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:417
+#: Webservices.xml:412
#, no-c-format
msgid ""
"To convert the unchecked <literal>UnsupportedOperationException</literal> "
@@ -895,7 +880,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:423
+#: Webservices.xml:418
#, no-c-format
msgid ""
"<![CDATA[<exception class=\"java.lang.UnsupportedOperationException\">\n"
@@ -906,13 +891,13 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:425
+#: Webservices.xml:420
#, no-c-format
msgid "Custom or checked exceptions are handled the same:"
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:429
+#: Webservices.xml:424
#, no-c-format
msgid ""
"<![CDATA[<exception class=\"my.CustomException\" log=\"false\">\n"
@@ -924,7 +909,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:431
+#: Webservices.xml:426
#, no-c-format
msgid ""
"You do not have to send an HTTP error to the client if an exception occurs. "
@@ -935,7 +920,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:438
+#: Webservices.xml:433
#, no-c-format
msgid ""
"Note that the HTTP response still passes through the servlet container, so "
@@ -946,13 +931,13 @@
msgstr ""
#. Tag: title
-#: Webservices.xml:447
+#: Webservices.xml:442
#, no-c-format
msgid "Testing resources and providers"
msgstr ""
#. Tag: para
-#: Webservices.xml:449
+#: Webservices.xml:444
#, no-c-format
msgid ""
"Seam includes a unit testing utility class that helps you create unit tests "
@@ -962,7 +947,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:455
+#: Webservices.xml:450
#, no-c-format
msgid ""
"<![CDATA[import org.jboss.seam.mock.ResourceRequestEnvironment;\n"
@@ -1019,7 +1004,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:457
+#: Webservices.xml:452
#, no-c-format
msgid ""
"This test only executes local calls, it does not communicate with the "
@@ -1032,7 +1017,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:465
+#: Webservices.xml:460
#, no-c-format
msgid ""
"Note that a <literal>ResourceRequest</literal> has to be executed in a "
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/bn-IN/Websphere.po
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/bn-IN/Websphere.po 2009-08-26 19:14:02 UTC (rev 11432)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/bn-IN/Websphere.po 2009-08-26 19:19:33 UTC (rev 11433)
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-08-22 13:17+0000\n"
+"POT-Creation-Date: 2009-08-26 18:48+0000\n"
"PO-Revision-Date: 2008-04-04 01:24+0000\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
@@ -76,25 +76,27 @@
#, no-c-format
msgid ""
"The following sections in this chapter assume that WebSphere is correctly "
-"installed and is functional, and a profile has been successfully created."
+"installed and is functional, and a WebSphere \"profile\" has been "
+"successfully created."
msgstr ""
#. Tag: para
#: Websphere.xml:40
#, no-c-format
msgid ""
-"This chapter explain how to compile, deploy and run some sample applications "
-"in WebSphere. These sample applications require a database. WebSphere comes "
-"by default with a set of sample applications called \"Default Application\". "
-"This set of sample applications use a Derby database running on the Derby "
-"instance installed with WebSphere. In order to keep this simple we'll use "
-"this Derby database created for the \"Default Applications\". However, to "
-"run the sample application with the Derby database \"as-is\", a patched "
-"Hibernate dialect must be used (The patch changes the default \"auto\" key "
-"generation strategy) as explained in <xref linkend=\"glassfish\"/>. If you "
-"want to use another database, it's just a matter of creating a connection "
-"pool in WebSphere pointing to this database, declare the correct Hibernate "
-"dialect and set the correct JNDI name in <literal>persistence.xml</literal>."
+"This chapter explains how to compile, deploy and run some sample "
+"applications in WebSphere. These sample applications require a database. "
+"WebSphere comes by default with a set of sample applications called "
+"\"Default Application\". This set of sample applications use a Derby "
+"database running on the Derby instance installed within WebSphere. In order "
+"to keep this simple we'll use this Derby database created for the \"Default "
+"Applications\". However, to run the sample application with the Derby "
+"database \"as-is\", a patched Hibernate dialect must be used (The patch "
+"changes the default \"auto\" key generation strategy) as explained in <xref "
+"linkend=\"glassfish\"/>. If you want to use another database, it's just a "
+"matter of creating a connection pool in WebSphere pointing to this database, "
+"declare the correct Hibernate dialect and set the correct JNDI name in "
+"<literal>persistence.xml</literal>."
msgstr ""
#. Tag: title
@@ -144,14 +146,14 @@
#, no-c-format
msgid ""
"On the right navigation menu, select <literal>Web Container Settings/Web "
-"container</literal>)"
+"container</literal>"
msgstr ""
#. Tag: listitem
#: Websphere.xml:73
#, no-c-format
msgid ""
-"On the right navigation menu, select <literal>custom properties</literal>) "
+"On the right navigation menu, select <literal>custom properties</literal> "
"and add the following properties:"
msgstr ""
@@ -170,7 +172,7 @@
#. Tag: listitem
#: Websphere.xml:84
#, no-c-format
-msgid "Save and restart the server"
+msgid "Save the configuration and restart the server"
msgstr ""
#. Tag: title
@@ -189,38 +191,38 @@
msgstr ""
#. Tag: listitem
-#: Websphere.xml:97
+#: Websphere.xml:96
#, no-c-format
msgid ""
"The global <literal>jndi-pattern</literal> switch on the <literal><core:"
-"init></literal>. in <literal>components.xml</literal>. The switch can use "
-"a special placeholder \"<literal>#{ejbName}</literal>\" that resolves to the "
-"unqualified name of the EJB"
+"init></literal>tag in <literal>components.xml</literal>. The switch can "
+"use a special placeholder \"<literal>#{ejbName}</literal>\" that resolves to "
+"the unqualified name of the EJB"
msgstr ""
#. Tag: para
-#: Websphere.xml:102
+#: Websphere.xml:100
#, no-c-format
msgid "The <literal>@JndiName</literal> annotation"
msgstr ""
#. Tag: para
-#: Websphere.xml:108
+#: Websphere.xml:106
#, no-c-format
msgid "gives detailed explanations on how those mechanisms work."
msgstr ""
#. Tag: para
-#: Websphere.xml:112
+#: Websphere.xml:110
#, no-c-format
msgid ""
-"By default, WebSphere will bind the session bean in its local JNDI name "
-"space under a \"short\" binding name that adheres to the following pattern "
+"By default, WebSphere will bind session beans in its local JNDI name space "
+"under a \"short\" binding name that adheres to the following pattern "
"<literal>ejblocal:<package.qualified.local.interface.name></literal>."
msgstr ""
#. Tag: para
-#: Websphere.xml:117
+#: Websphere.xml:115
#, no-c-format
msgid ""
"For a detailed description on how WebSphere v7 organizes and binds EJBs in "
@@ -228,7 +230,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:120
+#: Websphere.xml:118
#, no-c-format
msgid ""
"As explained before, Seam needs to lookup for session bean as they appear in "
@@ -236,35 +238,35 @@
msgstr ""
#. Tag: listitem
-#: Websphere.xml:124
+#: Websphere.xml:121
#, no-c-format
msgid ""
"Specify which JNDI name Seam must use for each session bean using the "
-"<literal>@JndiName</literal> annotation in the java source file"
+"<literal>@JndiName</literal> annotation in the java source file,"
msgstr ""
#. Tag: listitem
-#: Websphere.xml:127
+#: Websphere.xml:123
#, no-c-format
msgid ""
"Override the default session bean names generated by WebSphere to conform to "
-"the <literal>jndi-pattern</literal> attribute"
+"the <literal>jndi-pattern</literal> attribute,"
msgstr ""
#. Tag: listitem
-#: Websphere.xml:130
+#: Websphere.xml:126
#, no-c-format
-msgid "Use EJB references"
+msgid "Use EJB references."
msgstr ""
#. Tag: title
-#: Websphere.xml:137
+#: Websphere.xml:133
#, no-c-format
msgid "Strategy 1: Specify which JNDI name Seam must use for each Session Bean"
msgstr ""
#. Tag: para
-#: Websphere.xml:138
+#: Websphere.xml:134
#, no-c-format
msgid ""
"This strategy is the simplest and fastest one regarding development. It uses "
@@ -272,7 +274,7 @@
msgstr ""
#. Tag: listitem
-#: Websphere.xml:141
+#: Websphere.xml:137
#, no-c-format
msgid ""
"Add a <literal>@JndiName(\"ejblocal:<package.qualified.local.interface."
@@ -280,20 +282,20 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:145 Websphere.xml:188
+#: Websphere.xml:141 Websphere.xml:184
#, no-c-format
msgid ""
"<para>In <literal>components.xml</literal>, add the following line:</para>"
msgstr ""
#. Tag: programlisting
-#: Websphere.xml:147 Websphere.xml:220
+#: Websphere.xml:143 Websphere.xml:216
#, no-c-format
msgid "<![CDATA[<core:init jndi-name=\"java:comp/env/#{ejbName}\" />]]>"
msgstr ""
#. Tag: para
-#: Websphere.xml:151
+#: Websphere.xml:147
#, no-c-format
msgid ""
"Add a file named <literal>WEB-INF/classes/seam-jndi.properties</literal> in "
@@ -301,7 +303,7 @@
msgstr ""
#. Tag: programlisting
-#: Websphere.xml:153
+#: Websphere.xml:149
#, no-c-format
msgid ""
"com.ibm.websphere.naming.hostname.normalizer=com.ibm.ws.naming.util."
@@ -323,13 +325,13 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:157
+#: Websphere.xml:153
#, no-c-format
msgid "At the end of <literal>web.xml</literal>, add the following lines:"
msgstr ""
#. Tag: programlisting
-#: Websphere.xml:159
+#: Websphere.xml:155
#, no-c-format
msgid ""
"<![CDATA[<ejb-local-ref>\n"
@@ -341,7 +343,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:164
+#: Websphere.xml:160
#, no-c-format
msgid ""
"That's all folks! No need to update any file during the development, nor to "
@@ -349,23 +351,23 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:167
+#: Websphere.xml:163
#, no-c-format
msgid ""
-"Compared to the other strategies, this strategy has the advantage not to "
-"have to manage any EJBs reference and also not to have to maintain extra "
+"Compared to the other strategies, this strategy has the advantage to not "
+"have to manage any EJBs reference and also to not have to maintain extra "
"files. The only drawback is one extra line in the java source code with the "
"<literal>@JndiName</literal> annotation"
msgstr ""
#. Tag: title
-#: Websphere.xml:174
+#: Websphere.xml:170
#, no-c-format
msgid "Strategy 2: Override the default names generated by WebSphere"
msgstr ""
#. Tag: section
-#: Websphere.xml:174
+#: Websphere.xml:170
#, no-c-format
msgid ""
"There is no simple way to globally override the default naming strategy for "
@@ -374,13 +376,13 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:177
+#: Websphere.xml:173
#, no-c-format
msgid "To use this strategy:"
msgstr ""
#. Tag: para
-#: Websphere.xml:181
+#: Websphere.xml:177
#, no-c-format
msgid ""
"Add a file named <literal>META-INF/ibm-ejb-jar-ext.xml</literal> in the EJB "
@@ -405,13 +407,13 @@
msgstr ""
#. Tag: programlisting
-#: Websphere.xml:190
+#: Websphere.xml:186
#, no-c-format
msgid "<![CDATA[<core:init jndi-name=\"ejblocal:#{ejbName}\" />]]>"
msgstr ""
#. Tag: para
-#: Websphere.xml:194
+#: Websphere.xml:190
#, no-c-format
msgid ""
"Add a file named <literal>WEB-INF/classes/seam-jndi.properties</literal> as "
@@ -419,7 +421,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:199
+#: Websphere.xml:195
#, no-c-format
msgid ""
"In <literal>web.xml</literal>, add the following lines (Note the different "
@@ -427,7 +429,7 @@
msgstr ""
#. Tag: programlisting
-#: Websphere.xml:201
+#: Websphere.xml:197
#, no-c-format
msgid ""
"<![CDATA[<ejb-local-ref>\n"
@@ -439,7 +441,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:206
+#: Websphere.xml:202
#, no-c-format
msgid ""
"Compared to the first strategy, this strategy requires to maintain an extra "
@@ -449,13 +451,13 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:215
+#: Websphere.xml:211
#, no-c-format
msgid "Strategy 3: Use EJB references"
msgstr ""
#. Tag: section
-#: Websphere.xml:215
+#: Websphere.xml:211
#, no-c-format
msgid ""
"This strategy is based on the usage of EJB references, from EJB to EJB and "
@@ -463,7 +465,7 @@
msgstr ""
#. Tag: listitem
-#: Websphere.xml:218
+#: Websphere.xml:214
#, no-c-format
msgid ""
"<listitem>In <literal>components.xml</literal>, add the following line:</"
@@ -471,7 +473,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:223
+#: Websphere.xml:219
#, no-c-format
msgid ""
"Follow the instructions in <xref linkend=\"config.integration.ejb.container"
@@ -479,7 +481,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:228
+#: Websphere.xml:224
#, no-c-format
msgid ""
"This is the most tedious strategy as each session bean referenced by another "
@@ -489,27 +491,27 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:239
+#: Websphere.xml:235
#, no-c-format
msgid "Configuring timeouts for Stateful Session Beans"
msgstr ""
#. Tag: para
-#: Websphere.xml:240
+#: Websphere.xml:236
#, no-c-format
msgid ""
"A timeout value has to be set for each stateful session bean used in the "
"application because stateful bean must not expire in WebSphere while Seam "
-"might still need thenm. At the time of writing this document, WebSphere does "
+"might still need them. At the time of writing this document, WebSphere does "
"not provide a way to configure a global timeout at neither the cluster, "
"server, application nor ejb-jar level. It has to be done for each stateful "
-"bean individually. This is done by adding a file named <literal>META-INF/ibm-"
-"ejb-jar-ext.xml</literal> in the EJB module, and declare the timeout value "
-"for each bean:"
+"bean individually. By default, the default timeout is 10 minutes. This is "
+"done by adding a file named <literal>META-INF/ibm-ejb-jar-ext.xml</literal> "
+"in the EJB module, and declare the timeout value for each bean:"
msgstr ""
#. Tag: programlisting
-#: Websphere.xml:246
+#: Websphere.xml:242
#, no-c-format
msgid ""
"<![CDATA[<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
@@ -529,24 +531,24 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:248
+#: Websphere.xml:244
#, no-c-format
msgid ""
"The <literal>time-out</literal> is expressed in seconds and must be higher "
"than the Seam conversation expiration timeout and a few minutes higher than "
"the user's HTTP session timeout (The session expiration timeout can trigger "
-"a few minutes after the number of minutes declared to expire s for the HTTP "
-"session expiration)."
+"a few minutes after the number of minutes declared to expire the HTTP "
+"session)."
msgstr ""
#. Tag: title
-#: Websphere.xml:257
+#: Websphere.xml:253
#, no-c-format
msgid "The <literal>jee5/booking</literal> example"
msgstr ""
#. Tag: para
-#: Websphere.xml:259
+#: Websphere.xml:255
#, no-c-format
msgid ""
"The<literal>jee5/booking</literal>example is based on the Hotel Booking "
@@ -557,23 +559,32 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:265
+#: Websphere.xml:261
#, no-c-format
msgid ""
-"For running this example, we'll use the second JNDI mapping strategy "
-"(\"Override the default names generated by WebSphere\") as we don't want to "
-"change the java code to add the <literal>@JndiName</literal> annotation as "
-"in the first strategy."
+"The example already has a breakout of configurations and build scripts for "
+"WebSphere. First thing, we are going to do is build and deploy this example. "
+"Then we'll go over some key changes that we needed."
msgstr ""
+#. Tag: para
+#: Websphere.xml:266
+#, no-c-format
+msgid ""
+"The tailored configuration files for WebSphere use the second JNDI mapping "
+"strategy (\"Override the default names generated by WebSphere\") as the goal "
+"was to not change any java code to add the <literal>@JndiName</literal> "
+"annotation as in the first strategy."
+msgstr ""
+
#. Tag: title
-#: Websphere.xml:271
+#: Websphere.xml:272
#, no-c-format
msgid "Building the <literal>jee5/booking</literal> example"
msgstr ""
#. Tag: para
-#: Websphere.xml:273
+#: Websphere.xml:274
#, no-c-format
msgid ""
"Building it only requires running the correct ant command: "
@@ -583,21 +594,21 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:280
+#: Websphere.xml:281
#, no-c-format
msgid "Deploying the <literal>jee5/booking</literal> example"
msgstr ""
#. Tag: para
-#: Websphere.xml:281
+#: Websphere.xml:282
#, no-c-format
msgid ""
-"The steps below are for the WAS version stated above.The ports are default "
-"values, if you changed them, you must substitute the values."
+"The steps below are for the WAS version stated above.The ports are the "
+"default values, if you changed them, you must substitute the values."
msgstr ""
#. Tag: listitem
-#: Websphere.xml:284
+#: Websphere.xml:285
#, no-c-format
msgid ""
"Log in to the administration console <programlisting><![CDATA[http://"
@@ -606,7 +617,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:291
+#: Websphere.xml:292
#, no-c-format
msgid ""
"Go to the <literal>WebSphere enterprise applications</literal> menu option "
@@ -615,7 +626,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:298
+#: Websphere.xml:299
#, no-c-format
msgid ""
"At the top of the <literal>Enterprise Applications</literal> table select "
@@ -624,13 +635,13 @@
msgstr ""
#. Tag: literal
-#: Websphere.xml:304
+#: Websphere.xml:305
#, no-c-format
msgid "Preparing for the application installation"
msgstr ""
#. Tag: para
-#: Websphere.xml:307
+#: Websphere.xml:308
#, no-c-format
msgid ""
"Browse to the <literal>examples/jee5/booking/dist-websphere7/jboss-seam-jee5."
@@ -638,25 +649,25 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:313 Websphere.xml:323 Websphere.xml:341
+#: Websphere.xml:314 Websphere.xml:324 Websphere.xml:342
#, no-c-format
msgid "Select the <literal>Next</literal> button."
msgstr ""
#. Tag: para
-#: Websphere.xml:318
+#: Websphere.xml:319
#, no-c-format
msgid "Select the <literal>Fast Path</literal> button."
msgstr ""
#. Tag: literal
-#: Websphere.xml:332
+#: Websphere.xml:333
#, no-c-format
msgid "Select installation options"
msgstr ""
#. Tag: para
-#: Websphere.xml:335
+#: Websphere.xml:336
#, no-c-format
msgid ""
"Select the <literal>Deploy enterprise beans and Allow EJB reference targets "
@@ -665,13 +676,13 @@
msgstr ""
#. Tag: literal
-#: Websphere.xml:350
+#: Websphere.xml:351
#, no-c-format
msgid "Map modules to servers"
msgstr ""
#. Tag: para
-#: Websphere.xml:353
+#: Websphere.xml:354
#, no-c-format
msgid ""
"No changes needed here as we only have one server. Select the <literal>Next</"
@@ -679,13 +690,13 @@
msgstr ""
#. Tag: literal
-#: Websphere.xml:362
+#: Websphere.xml:363
#, no-c-format
msgid "Map virtual hosts for Web modules"
msgstr ""
#. Tag: para
-#: Websphere.xml:365
+#: Websphere.xml:366
#, no-c-format
msgid ""
"No changes needed here as we only have one virtual host. Select the "
@@ -693,31 +704,31 @@
msgstr ""
#. Tag: literal
-#: Websphere.xml:374
+#: Websphere.xml:375
#, no-c-format
msgid "Summary"
msgstr ""
#. Tag: para
-#: Websphere.xml:377
+#: Websphere.xml:378
#, no-c-format
msgid "No changes needed here. Select the <literal>Finish</literal> button."
msgstr ""
#. Tag: literal
-#: Websphere.xml:384
+#: Websphere.xml:385
#, no-c-format
msgid "Installation"
msgstr ""
#. Tag: para
-#: Websphere.xml:387
+#: Websphere.xml:388
#, no-c-format
msgid "Now you will see WebSphere installing and deploying your application."
msgstr ""
#. Tag: para
-#: Websphere.xml:390
+#: Websphere.xml:391
#, no-c-format
msgid ""
"When done, select the <literal>Save</literal> link and you will be returned "
@@ -725,15 +736,15 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:399
+#: Websphere.xml:400
#, no-c-format
msgid ""
-"To start the application select our application in the list, then click on "
+"To start the application, select the application in the list, then click on "
"the <literal>Start</literal> button at the top of the table."
msgstr ""
#. Tag: para
-#: Websphere.xml:409
+#: Websphere.xml:410
#, no-c-format
msgid ""
"You can now access the application at <literal>http://localhost:9080/seam-"
@@ -741,13 +752,13 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:418
+#: Websphere.xml:419
#, no-c-format
msgid "Deviation from the original base files"
msgstr ""
#. Tag: section
-#: Websphere.xml:418
+#: Websphere.xml:419
#, no-c-format
msgid ""
"Below are the differences between the base configuration files and the "
@@ -756,7 +767,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:422
+#: Websphere.xml:423
#, no-c-format
msgid ""
"<literal>META-INF/ejb-jar.xml</literal> — Removed all the EJB "
@@ -764,37 +775,37 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:428
+#: Websphere.xml:429
#, no-c-format
msgid ""
"<literal>META-INF/ibm-ejb-jar-bnd.xml</literal> — This WebSphere "
"specific file has been added as we use the second JNDI mapping strategy. It "
-"defines, for each session bean, the name WebSphere will use to bind it its "
-"JNDI name space"
+"defines, for each session bean, the name WebSphere will use to bind it in "
+"its JNDI name space"
msgstr ""
#. Tag: para
-#: Websphere.xml:435
+#: Websphere.xml:436
#, no-c-format
msgid ""
"<literal>META-INF/ibm-ejb-jar-ext.xml</literal> — This WebSphere "
-"specific file defines to WebSphere, the timeout value for each stateful bean"
+"specific file defines the timeout value for each stateful bean"
msgstr ""
#. Tag: para
-#: Websphere.xml:441
+#: Websphere.xml:442
#, no-c-format
msgid ""
"<literal>META-INF/persistence.xml</literal> — The main changes here "
"are for the datasource JNDI path, switching to the WebSphere transaction "
"manager lookup class, turning off the <literal>hibernate.transaction."
"flush_before_completion</literal> toggle, and forcing the Hibernate dialect "
-"to be <literal>GlassfishDerbyDialect</literal> how as using the integrated "
-"Derby database"
+"to be <literal>GlassfishDerbyDialect</literal> as we are using the "
+"integrated Derby database"
msgstr ""
#. Tag: para
-#: Websphere.xml:451
+#: Websphere.xml:452
#, no-c-format
msgid ""
"<literal>WEB-INF/components.xml</literal> — the change here is "
@@ -803,7 +814,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:459
+#: Websphere.xml:460
#, no-c-format
msgid ""
"<literal>WEB-INF/web.xml</literal> — Remove all the <literal>ejb-local "
@@ -813,7 +824,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:467 Websphere.xml:549
+#: Websphere.xml:468
#, no-c-format
msgid ""
"<literal>import.sql</literal> — due to the cutomized hibernate Derby "
@@ -822,7 +833,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:474
+#: Websphere.xml:475
#, no-c-format
msgid ""
"Also the build procedure has been changed to include the <literal>log4j.jar</"
@@ -831,13 +842,13 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:486
+#: Websphere.xml:487
#, no-c-format
msgid "The <literal>jpa</literal> booking example"
msgstr ""
#. Tag: para
-#: Websphere.xml:488
+#: Websphere.xml:489
#, no-c-format
msgid ""
"This is the Hotel Booking example implemented in Seam POJOs and using "
@@ -845,7 +856,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:493
+#: Websphere.xml:494
#, no-c-format
msgid ""
"The example already has a breakout of configurations and build scripts for "
@@ -853,7 +864,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:498
+#: Websphere.xml:499
#, no-c-format
msgid ""
"First thing, we are going to do is build and deploy that example. Then we'll "
@@ -861,13 +872,13 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:504
+#: Websphere.xml:505
#, no-c-format
msgid "Building the <literal>jpa</literal> example"
msgstr ""
#. Tag: para
-#: Websphere.xml:505
+#: Websphere.xml:506
#, no-c-format
msgid ""
"Building it only requires running the correct ant command: "
@@ -877,13 +888,13 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:514
+#: Websphere.xml:515
#, no-c-format
msgid "Deploying the <literal>jpa</literal> example"
msgstr ""
#. Tag: para
-#: Websphere.xml:515
+#: Websphere.xml:516
#, no-c-format
msgid ""
"Deploying <literal>jpa</literal> application is very similar to the "
@@ -894,7 +905,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:521
+#: Websphere.xml:522
#, no-c-format
msgid ""
"Follow the same instructions as for the <literal>jee5/booking</literal> "
@@ -902,11 +913,11 @@
"literal> file on the first page and on the <literal>Map context roots for "
"Web modules</literal> page (after the <literal>Map virtual host for Web "
"module</literal>), enter the context root you want to use for your "
-"application in the <literal>Contect Root</literal> input field."
+"application in the <literal>Context Root</literal> input field."
msgstr ""
#. Tag: para
-#: Websphere.xml:528
+#: Websphere.xml:529
#, no-c-format
msgid ""
"When started, you can now access the application at the <literal>http://"
@@ -914,13 +925,13 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:534
+#: Websphere.xml:535
#, no-c-format
msgid "Deviation from the generic base files"
msgstr ""
#. Tag: section
-#: Websphere.xml:534
+#: Websphere.xml:535
#, no-c-format
msgid ""
"Below are the configuration file differences between the base configuration "
@@ -929,7 +940,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:539
+#: Websphere.xml:540
#, no-c-format
msgid ""
"<literal>META-INF/persistence.xml</literal> — The main changes here "
@@ -941,9 +952,18 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:556
+#: Websphere.xml:550
#, no-c-format
msgid ""
+"<literal>import.sql</literal> — due to the customized hibernate Derby "
+"dialect, the <literal>ID</literal> column can not be populated by this file "
+"and was removed."
+msgstr ""
+
+#. Tag: para
+#: Websphere.xml:557
+#, no-c-format
+msgid ""
"Also the build procedure have been changed to include the <literal>log4j."
"jar</literal> file and exclude the <literal>concurrent.jar</literal> and "
"<literal>jboss-common-core.jar</literal> files."
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/de-DE/Configuration.po
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/de-DE/Configuration.po 2009-08-26 19:14:02 UTC (rev 11432)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/de-DE/Configuration.po 2009-08-26 19:19:33 UTC (rev 11433)
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-05-05 12:31+0000\n"
+"POT-Creation-Date: 2009-08-26 18:47+0000\n"
"PO-Revision-Date: 2008-04-04 01:24+0000\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
@@ -677,13 +677,63 @@
msgstr ""
#. Tag: title
+#: Configuration.xml:325
+#, no-c-format
+msgid "Enabling HTTP cache-control headers"
+msgstr ""
+
+#. Tag: para
#: Configuration.xml:326
#, no-c-format
+msgid ""
+"Seam does <emphasis>not</emphasis> automatically add <literal>cache-control</"
+"literal> HTTP headers to any resources served by the Seam resource servlet, "
+"or directly from your view directory by the servlet container. This means "
+"that your images, Javascript and CSS files, and resource representations "
+"from Seam resource servlet such as Seam Remoting Javascript interfaces are "
+"usually not cached by the browser. This is convenient in development but "
+"should be changed in production when optimizing the application."
+msgstr ""
+
+#. Tag: para
+#: Configuration.xml:334
+#, no-c-format
+msgid ""
+"You can configure a Seam filter to enable automatic addition of "
+"<literal>cache-control</literal> headers depending on the requested URI in "
+"<literal>components.xml</literal>:"
+msgstr ""
+
+#. Tag: programlisting
+#: Configuration.xml:339
+#, no-c-format
+msgid ""
+"<![CDATA[<web:cache-control-filter name=\"commonTypesCacheControlFilter\"\n"
+" regex-url-pattern=\".*(\\.gif|\\.png|\\.jpg|\\."
+"jpeg|\\.css|\\.js)\"\n"
+" value=\"max-age=86400\"/> <!-- 1 day -->\n"
+"\n"
+"<web:cache-control-filter name=\"anotherCacheControlFilter\"\n"
+" url-pattern=\"/my/cachable/resources/*\"\n"
+" value=\"max-age=432000\"/> <!-- 5 days -->]]>"
+msgstr ""
+
+#. Tag: para
+#: Configuration.xml:341
+#, no-c-format
+msgid ""
+"You do not have to name the filters unless you have more than one filter "
+"enabled."
+msgstr ""
+
+#. Tag: title
+#: Configuration.xml:348
+#, no-c-format
msgid "Adding custom filters"
msgstr ""
#. Tag: para
-#: Configuration.xml:327
+#: Configuration.xml:349
#, no-c-format
msgid ""
"Seam can install your filters for you, allowing you to specify "
@@ -695,7 +745,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:332
+#: Configuration.xml:354
#, no-c-format
msgid ""
"<![CDATA[@Startup\n"
@@ -707,7 +757,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:334
+#: Configuration.xml:356
#, no-c-format
msgid ""
"Adding the <literal>@Startup</literal> annotation means thar the component "
@@ -718,13 +768,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:343
+#: Configuration.xml:365
#, no-c-format
msgid "Integrating Seam with your EJB container"
msgstr ""
#. Tag: para
-#: Configuration.xml:345
+#: Configuration.xml:367
#, no-c-format
msgid ""
"In a Seam application, EJB components have a certain duality, as they are "
@@ -735,7 +785,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:350
+#: Configuration.xml:372
#, no-c-format
msgid ""
"We need to apply the <literal>SeamInterceptor</literal> to our Seam EJB "
@@ -747,7 +797,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:355
+#: Configuration.xml:377
#, no-c-format
msgid ""
"<![CDATA[<interceptors>\n"
@@ -768,7 +818,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:357
+#: Configuration.xml:379
#, no-c-format
msgid ""
"Seam needs to know where to go to find session beans in JNDI. One way to do "
@@ -782,19 +832,19 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:364
+#: Configuration.xml:386
#, no-c-format
msgid "For JBoss AS, the following pattern is correct:"
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:366
+#: Configuration.xml:388
#, no-c-format
msgid "<![CDATA[<core:init jndi-name=\"earName/#{ejbName}/local\" />]]>"
msgstr ""
#. Tag: para
-#: Configuration.xml:368
+#: Configuration.xml:390
#, no-c-format
msgid ""
"In this case, <literal>earName</literal> is the name of the EAR in which the "
@@ -804,7 +854,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:372
+#: Configuration.xml:394
#, no-c-format
msgid ""
"Outside the context of an EAR (when using the JBoss Embeddable EJB3 "
@@ -813,13 +863,13 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:375
+#: Configuration.xml:397
#, no-c-format
msgid "<![CDATA[<core:init jndi-name=\"#{ejbName}/local\" />]]>"
msgstr ""
#. Tag: para
-#: Configuration.xml:377
+#: Configuration.xml:399
#, no-c-format
msgid ""
"How these JNDI names are resolved and somehow locate an EJB component might "
@@ -828,7 +878,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:381
+#: Configuration.xml:403
#, no-c-format
msgid ""
"The folks at JBoss don't care much for XML, if you can't tell. So when they "
@@ -839,14 +889,14 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:387
+#: Configuration.xml:409
#, no-c-format
msgid ""
"The value of the <literal><ejb-name></literal> element in ejb-jar.xml"
msgstr ""
#. Tag: para
-#: Configuration.xml:390
+#: Configuration.xml:412
#, no-c-format
msgid ""
"The value of the <literal>name</literal> attribute in the @Stateless or "
@@ -854,13 +904,13 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:393
+#: Configuration.xml:415
#, no-c-format
msgid "The simple name of the bean class"
msgstr ""
#. Tag: para
-#: Configuration.xml:397
+#: Configuration.xml:419
#, no-c-format
msgid ""
"Let's look at an example. Assume that you have the following EJB bean and "
@@ -868,7 +918,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:399
+#: Configuration.xml:421
#, no-c-format
msgid ""
"<![CDATA[package com.example.myapp;\n"
@@ -895,7 +945,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:401
+#: Configuration.xml:423
#, no-c-format
msgid ""
"Assuming your EJB bean class is deployed in an EAR named myapp, the global "
@@ -907,7 +957,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:407
+#: Configuration.xml:429
#, no-c-format
msgid ""
"So what about the rest of the application servers? Well, according to the "
@@ -919,7 +969,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:413
+#: Configuration.xml:435
#, no-c-format
msgid ""
"There are two places you have to define the EJB reference when using Seam on "
@@ -930,7 +980,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:418
+#: Configuration.xml:440
#, no-c-format
msgid ""
"<![CDATA[<ejb-local-ref>\n"
@@ -942,7 +992,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:420
+#: Configuration.xml:442
#, no-c-format
msgid ""
"This reference will cover most uses of the component in a Seam application. "
@@ -953,7 +1003,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:425
+#: Configuration.xml:447
#, no-c-format
msgid ""
"Within the context of an EJB method call, you have to deal with a somewhat "
@@ -970,7 +1020,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:434
+#: Configuration.xml:456
#, no-c-format
msgid ""
"For application servers that stubbornly adhere to the EJB specification, EJB "
@@ -982,7 +1032,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:439
+#: Configuration.xml:461
#, no-c-format
msgid ""
"Let's assume that we have an EJB named RegisterAction (the name is resolved "
@@ -991,7 +1041,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:442
+#: Configuration.xml:464
#, no-c-format
msgid ""
"<![CDATA[@In(create = true)\n"
@@ -1000,7 +1050,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:444
+#: Configuration.xml:466
#, no-c-format
msgid ""
"In order for this injection to work, the link must be established in the ejb-"
@@ -1008,7 +1058,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:446
+#: Configuration.xml:468
#, no-c-format
msgid ""
"<![CDATA[<ejb-jar>\n"
@@ -1031,7 +1081,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:448
+#: Configuration.xml:470
#, no-c-format
msgid ""
"Notice that the contents of the <literal><ejb-local-ref></literal> are "
@@ -1043,7 +1093,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:454
+#: Configuration.xml:476
#, no-c-format
msgid ""
"But what about <literal>@EJB</literal>? It's true that you can inject one "
@@ -1061,7 +1111,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:464
+#: Configuration.xml:486
#, no-c-format
msgid ""
"That covers how JNDI names are defined and used. The lesson is that with "
@@ -1074,7 +1124,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:470
+#: Configuration.xml:492
#, no-c-format
msgid ""
"<![CDATA[<core:init jndi-name=\"java:comp/env/earName/#{ejbName}/local\" />]]"
@@ -1082,7 +1132,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:472
+#: Configuration.xml:494
#, no-c-format
msgid ""
"Finally, let's talk about transactions. In an EJB3 environment, we recommend "
@@ -1094,19 +1144,19 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:479
+#: Configuration.xml:501
#, no-c-format
msgid "<![CDATA[<transaction:ejb-transaction/>]]>"
msgstr ""
#. Tag: title
-#: Configuration.xml:484
+#: Configuration.xml:506
#, no-c-format
msgid "Don't forget!"
msgstr ""
#. Tag: para
-#: Configuration.xml:486
+#: Configuration.xml:508
#, no-c-format
msgid ""
"There is one final item you need to know about. You must place a "
@@ -1118,7 +1168,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:491
+#: Configuration.xml:513
#, no-c-format
msgid ""
"In a web archive (WAR) file, you must place a <literal>seam.properties</"
@@ -1127,7 +1177,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:494
+#: Configuration.xml:516
#, no-c-format
msgid ""
"That's why all the Seam examples have an empty <literal>seam.properties</"
@@ -1136,7 +1186,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:497
+#: Configuration.xml:519
#, no-c-format
msgid ""
"You might think this is silly and what kind of idiot framework designers "
@@ -1148,13 +1198,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:508
+#: Configuration.xml:530
#, no-c-format
msgid "Using Alternate JPA Providers"
msgstr ""
#. Tag: para
-#: Configuration.xml:510
+#: Configuration.xml:532
#, no-c-format
msgid ""
"Seam comes packaged and configured with Hibernate as the default JPA "
@@ -1163,13 +1213,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:516
+#: Configuration.xml:538
#, no-c-format
msgid "This is a workaround"
msgstr ""
#. Tag: para
-#: Configuration.xml:517
+#: Configuration.xml:539
#, no-c-format
msgid ""
"Configuration of the JPA provider will be easier in the future and will not "
@@ -1178,7 +1228,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:524
+#: Configuration.xml:546
#, no-c-format
msgid ""
"Telling seam about a different JPA provider can be be done in one of two "
@@ -1186,7 +1236,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:525
+#: Configuration.xml:547
#, no-c-format
msgid ""
"Update your application's <literal>components.xml</literal> so that the "
@@ -1195,7 +1245,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:530
+#: Configuration.xml:552
#, no-c-format
msgid ""
"<![CDATA[<component name=\"org.jboss.seam.persistence.persistenceProvider"
@@ -1206,7 +1256,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:531
+#: Configuration.xml:553
#, no-c-format
msgid ""
"If you want to take advantage of your JPA provider's non-standard features "
@@ -1218,7 +1268,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:538
+#: Configuration.xml:560
#, no-c-format
msgid ""
"<![CDATA[<component name=\"org.jboss.seam.persistence.persistenceProvider"
@@ -1228,7 +1278,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:539
+#: Configuration.xml:561
#, no-c-format
msgid ""
"All that is left is updating the <literal>persistence.xml</literal> file "
@@ -1238,13 +1288,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:547
+#: Configuration.xml:569
#, no-c-format
msgid "Configuring Seam in Java EE 5"
msgstr ""
#. Tag: para
-#: Configuration.xml:558
+#: Configuration.xml:580
#, no-c-format
msgid ""
"If you're running in a Java EE 5 environment, this is all the configuration "
@@ -1252,14 +1302,14 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:561 Configuration.xml:656 Configuration.xml:794
-#: Configuration.xml:827
+#: Configuration.xml:583 Configuration.xml:678 Configuration.xml:816
+#: Configuration.xml:849
#, no-c-format
msgid "Packaging"
msgstr ""
#. Tag: para
-#: Configuration.xml:563
+#: Configuration.xml:585
#, no-c-format
msgid ""
"Once you've packaged all this stuff together into an EAR, the archive "
@@ -1267,7 +1317,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:566
+#: Configuration.xml:588
#, no-c-format
msgid ""
"<![CDATA[my-application.ear/\n"
@@ -1307,7 +1357,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:568
+#: Configuration.xml:590
#, no-c-format
msgid ""
"You should declare <literal>jboss-seam.jar</literal> as an ejb module in "
@@ -1316,7 +1366,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:573
+#: Configuration.xml:595
#, no-c-format
msgid ""
"If you want to use jBPM or Drools, you must include the needed jars in the "
@@ -1324,7 +1374,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:575
+#: Configuration.xml:597
#, no-c-format
msgid ""
"If you want to use facelets (our recommendation), you must include "
@@ -1333,7 +1383,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:578
+#: Configuration.xml:600
#, no-c-format
msgid ""
"If you want to use the Seam tag library (most Seam applications do), you "
@@ -1344,7 +1394,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:583
+#: Configuration.xml:605
#, no-c-format
msgid ""
"If you want to use the Seam debug page (only works for applications using "
@@ -1353,7 +1403,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:586
+#: Configuration.xml:608
#, no-c-format
msgid ""
"Seam ships with several example applications that are deployable in any Java "
@@ -1361,7 +1411,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:589
+#: Configuration.xml:611
#, no-c-format
msgid ""
"I really wish that was all there was to say on the topic of configuration "
@@ -1371,13 +1421,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:598
+#: Configuration.xml:620
#, no-c-format
msgid "Configuring Seam in J2EE"
msgstr ""
#. Tag: para
-#: Configuration.xml:600
+#: Configuration.xml:622
#, no-c-format
msgid ""
"Seam is useful even if you're not yet ready to take the plunge into EJB 3.0. "
@@ -1389,7 +1439,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:615
+#: Configuration.xml:637
#, no-c-format
msgid ""
"Seam JavaBean components do not provide declarative transaction demarcation "
@@ -1401,7 +1451,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:621
+#: Configuration.xml:643
#, no-c-format
msgid ""
"The Seam distribution includes a version of the booking example application "
@@ -1411,13 +1461,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:626
+#: Configuration.xml:648
#, no-c-format
msgid "Boostrapping Hibernate in Seam"
msgstr ""
#. Tag: para
-#: Configuration.xml:628
+#: Configuration.xml:650
#, no-c-format
msgid ""
"Seam will bootstrap a Hibernate <literal>SessionFactory</literal> from your "
@@ -1426,7 +1476,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:631
+#: Configuration.xml:653
#, no-c-format
msgid ""
"<![CDATA[<persistence:hibernate-session-factory name="
@@ -1434,7 +1484,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:633
+#: Configuration.xml:655
#, no-c-format
msgid ""
"You will also need to configure a <emphasis>managed session</emphasis> if "
@@ -1443,7 +1493,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:636
+#: Configuration.xml:658
#, no-c-format
msgid ""
"<![CDATA[<persistence:managed-hibernate-session name=\"hibernateSession\"\n"
@@ -1452,13 +1502,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:641
+#: Configuration.xml:663
#, no-c-format
msgid "Boostrapping JPA in Seam"
msgstr ""
#. Tag: para
-#: Configuration.xml:643
+#: Configuration.xml:665
#, no-c-format
msgid ""
"Seam will bootstrap a JPA <literal>EntityManagerFactory</literal> from your "
@@ -1467,7 +1517,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:646
+#: Configuration.xml:668
#, no-c-format
msgid ""
"<![CDATA[<persistence:entity-manager-factory name=\"entityManagerFactory\"/"
@@ -1475,7 +1525,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:648
+#: Configuration.xml:670
#, no-c-format
msgid ""
"You will also need to configure a <emphasis>managed persistence context</"
@@ -1484,7 +1534,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:651
+#: Configuration.xml:673
#, no-c-format
msgid ""
"<![CDATA[<persistence:managed-persistence-context name=\"entityManager\"\n"
@@ -1493,13 +1543,13 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:658
+#: Configuration.xml:680
#, no-c-format
msgid "We can package our application as a WAR, in the following structure:"
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:660
+#: Configuration.xml:682
#, no-c-format
msgid ""
"<![CDATA[my-application.war/\n"
@@ -1536,7 +1586,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:662
+#: Configuration.xml:684
#, no-c-format
msgid ""
"If we want to deploy Hibernate in a non-EE environment like Tomcat or "
@@ -1544,13 +1594,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:669
+#: Configuration.xml:691
#, no-c-format
msgid "Configuring Seam in Java SE, without JBoss Embedded"
msgstr ""
#. Tag: para
-#: Configuration.xml:671
+#: Configuration.xml:693
#, no-c-format
msgid ""
"It is possible to use Seam completely outside of an EE environment. In this "
@@ -1560,7 +1610,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:675
+#: Configuration.xml:697
#, no-c-format
msgid ""
"<![CDATA[<transaction:entity-transaction entity-manager=\"#{entityManager}\"/"
@@ -1568,7 +1618,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:677
+#: Configuration.xml:699
#, no-c-format
msgid ""
"If you're using Hibernate, you can tell Seam to use the Hibernate "
@@ -1576,32 +1626,32 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:679
+#: Configuration.xml:701
#, no-c-format
msgid "<![CDATA[<transaction:hibernate-transaction session=\"#{session}\"/>]]>"
msgstr ""
#. Tag: para
-#: Configuration.xml:681
+#: Configuration.xml:703
#, no-c-format
msgid "Of course, you'll also need to define a datasource."
msgstr ""
#. Tag: para
-#: Configuration.xml:683
+#: Configuration.xml:705
#, no-c-format
msgid ""
"A better alternative is to use JBoss Embedded to get access to the EE APIs."
msgstr ""
#. Tag: title
-#: Configuration.xml:688
+#: Configuration.xml:710
#, no-c-format
msgid "Configuring Seam in Java SE, with JBoss Embedded"
msgstr ""
#. Tag: para
-#: Configuration.xml:690
+#: Configuration.xml:712
#, no-c-format
msgid ""
"JBoss Embedded lets you run EJB3 components outside the context of the Java "
@@ -1610,7 +1660,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:693
+#: Configuration.xml:715
#, no-c-format
msgid ""
"The Seam booking example application includes a TestNG integration test "
@@ -1618,19 +1668,19 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:705
+#: Configuration.xml:727
#, no-c-format
msgid "The booking example application may even be deployed to Tomcat."
msgstr ""
#. Tag: title
-#: Configuration.xml:717
+#: Configuration.xml:739
#, no-c-format
msgid "Installing Embedded JBoss"
msgstr ""
#. Tag: para
-#: Configuration.xml:720
+#: Configuration.xml:742
#, no-c-format
msgid ""
"Embedded JBoss must by installed into Tomcat for Seam applications to run "
@@ -1643,7 +1693,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:734
+#: Configuration.xml:756
#, no-c-format
msgid ""
"Copy all files and directories under the Embedded JBoss <literal>bootstrap</"
@@ -1653,7 +1703,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:741
+#: Configuration.xml:763
#, no-c-format
msgid ""
"Remove the <literal>annotations-api.jar</literal> file from the Tomcat "
@@ -1661,7 +1711,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:747
+#: Configuration.xml:769
#, no-c-format
msgid ""
"Next, two configuration files need to be updated to add Embedded JBoss-"
@@ -1669,7 +1719,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:753
+#: Configuration.xml:775
#, no-c-format
msgid ""
"Add the Embedded JBoss listener <literal>EmbeddedJBossBootstrapListener</"
@@ -1678,7 +1728,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:756
+#: Configuration.xml:778
#, no-c-format
msgid ""
"<![CDATA[<Server port=\"8005\" shutdown=\"SHUTDOWN\">\n"
@@ -1696,7 +1746,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:757
+#: Configuration.xml:779
#, no-c-format
msgid ""
"<![CDATA[ <!-- Add this listener -->\n"
@@ -1705,7 +1755,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:761
+#: Configuration.xml:783
#, no-c-format
msgid ""
"WAR file scanning should be enabled by adding the <literal>WebinfScanner</"
@@ -1713,7 +1763,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:764
+#: Configuration.xml:786
#, no-c-format
msgid ""
"<![CDATA[<Context>\n"
@@ -1728,7 +1778,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:765
+#: Configuration.xml:787
#, no-c-format
msgid ""
"<![CDATA[ <!-- Add this listener -->\n"
@@ -1736,13 +1786,13 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:766
+#: Configuration.xml:788
#, no-c-format
msgid "<![CDATA[</Context>]]>"
msgstr ""
#. Tag: para
-#: Configuration.xml:770
+#: Configuration.xml:792
#, no-c-format
msgid ""
"If you are using Sun JDK 6, you need to set the Java option <literal>sun."
@@ -1752,7 +1802,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:775
+#: Configuration.xml:797
#, no-c-format
msgid ""
"Open the script appropriate for your operating system in a text editor. Add "
@@ -1762,7 +1812,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:779
+#: Configuration.xml:801
#, no-c-format
msgid ""
"<![CDATA[set JAVA_OPTS=%JAVA_OPTS% -Dsun.lang.ClassLoader."
@@ -1770,13 +1820,13 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:781
+#: Configuration.xml:803
#, no-c-format
msgid "On Unix, use this syntax instead:"
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:783
+#: Configuration.xml:805
#, no-c-format
msgid ""
"<![CDATA[JAVA_OPTS=\"$JAVA_OPTS -Dsun.lang.ClassLoader.allowArraySyntax=true"
@@ -1784,7 +1834,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:788
+#: Configuration.xml:810
#, no-c-format
msgid ""
"For more configuration options, please see the Embedded JBoss Tomcat "
@@ -1793,7 +1843,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:796
+#: Configuration.xml:818
#, no-c-format
msgid ""
"The archive structure of a WAR-based deployment on an servlet engine like "
@@ -1801,7 +1851,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:799
+#: Configuration.xml:821
#, no-c-format
msgid ""
"<![CDATA[my-application.war/\n"
@@ -1839,7 +1889,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:801
+#: Configuration.xml:823
#, no-c-format
msgid ""
"Most of the Seam example applications may be deployed to Tomcat by running "
@@ -1847,13 +1897,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:809
+#: Configuration.xml:831
#, no-c-format
msgid "Configuring jBPM in Seam"
msgstr ""
#. Tag: para
-#: Configuration.xml:810
+#: Configuration.xml:832
#, no-c-format
msgid ""
"Seam's jBPM integration is not installed by default, so you'll need to "
@@ -1863,7 +1913,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:814
+#: Configuration.xml:836
#, no-c-format
msgid ""
"<![CDATA[<bpm:jbpm>\n"
@@ -1879,7 +1929,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:816
+#: Configuration.xml:838
#, no-c-format
msgid ""
"No further special configuration is needed if you only have pageflows. If "
@@ -1890,7 +1940,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:821
+#: Configuration.xml:843
#, no-c-format
msgid ""
"<![CDATA[<jbpm-configuration>\n"
@@ -1920,7 +1970,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:823
+#: Configuration.xml:845
#, no-c-format
msgid ""
"The most important thing to notice here is that jBPM transaction control is "
@@ -1928,7 +1978,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:829
+#: Configuration.xml:851
#, no-c-format
msgid ""
"There is not yet any well-defined packaging format for jBPM configuration "
@@ -1939,7 +1989,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:834
+#: Configuration.xml:856
#, no-c-format
msgid ""
"<![CDATA[my-application.ear/\n"
@@ -1986,13 +2036,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:841
+#: Configuration.xml:863
#, no-c-format
msgid "Configuring SFSB and Session Timeouts in JBoss AS"
msgstr ""
#. Tag: para
-#: Configuration.xml:843
+#: Configuration.xml:865
#, no-c-format
msgid ""
"It is very important that the timeout for Stateful Session Beans is set "
@@ -2004,7 +2054,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:849
+#: Configuration.xml:871
#, no-c-format
msgid ""
"The default SFSB timeout can be adjusted by modifying the value of "
@@ -2013,7 +2063,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:852
+#: Configuration.xml:874
#, no-c-format
msgid ""
"<![CDATA[<container-cache-conf>\n"
@@ -2038,7 +2088,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:854
+#: Configuration.xml:876
#, no-c-format
msgid ""
"The default HTTP session timeout can be modified in <literal>server/default/"
@@ -2049,7 +2099,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:859
+#: Configuration.xml:881
#, no-c-format
msgid ""
"<![CDATA[<session-config>\n"
@@ -2059,7 +2109,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:861
+#: Configuration.xml:883
#, no-c-format
msgid ""
"To override this value for your own application, simply include this entry "
@@ -2067,13 +2117,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:867
+#: Configuration.xml:889
#, no-c-format
msgid "Running Seam in a Portlet"
msgstr ""
#. Tag: para
-#: Configuration.xml:869
+#: Configuration.xml:891
#, no-c-format
msgid ""
"If you want to run your Seam application in a portlet, take a look at the "
@@ -2084,13 +2134,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:880
+#: Configuration.xml:902
#, no-c-format
msgid "Deploying custom resources"
msgstr ""
#. Tag: para
-#: Configuration.xml:882
+#: Configuration.xml:904
#, no-c-format
msgid ""
"Seam scans all jars containing <literal>/seam.properties</literal>, "
@@ -2101,7 +2151,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:889
+#: Configuration.xml:911
#, no-c-format
msgid ""
"You may also want Seam to handle custom resources. A common use case is to "
@@ -2111,7 +2161,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:896
+#: Configuration.xml:918
#, no-c-format
msgid ""
"<![CDATA[# A colon-separated list of annotation types to handle\n"
@@ -2119,7 +2169,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:898
+#: Configuration.xml:920
#, no-c-format
msgid ""
"Then, during application startup you can get hold of all classes annotated "
@@ -2127,7 +2177,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:903
+#: Configuration.xml:925
#, no-c-format
msgid ""
"<![CDATA[@Name(\"fooStartup\")\n"
@@ -2159,7 +2209,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:905
+#: Configuration.xml:927
#, no-c-format
msgid ""
"You can also handle <emphasis>any</emphasis> resource. For example, you "
@@ -2168,7 +2218,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:911
+#: Configuration.xml:933
#, no-c-format
msgid ""
"<![CDATA[public class FooDeploymentHandler implements DeploymentHandler {\n"
@@ -2192,7 +2242,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:913
+#: Configuration.xml:935
#, no-c-format
msgid ""
"Here we are just building a list of any files with the suffix <literal>.foo."
@@ -2200,7 +2250,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:918
+#: Configuration.xml:940
#, no-c-format
msgid ""
"Then, we need to register the deployment handler with Seam in <literal>/META-"
@@ -2209,7 +2259,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:925
+#: Configuration.xml:947
#, no-c-format
msgid ""
"<![CDATA[# For standard deployment\n"
@@ -2220,7 +2270,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:931
+#: Configuration.xml:953
#, no-c-format
msgid ""
"Seam uses deployment handlers internally to install components and "
@@ -2229,7 +2279,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:937
+#: Configuration.xml:959
#, no-c-format
msgid ""
"<![CDATA[@Name(\"fooStartup\")\n"
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/de-DE/Webservices.po
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/de-DE/Webservices.po 2009-08-26 19:14:02 UTC (rev 11432)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/de-DE/Webservices.po 2009-08-26 19:19:33 UTC (rev 11433)
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-07-08 14:32+0000\n"
+"POT-Creation-Date: 2009-08-26 18:48+0000\n"
"PO-Revision-Date: 2008-04-04 01:24+0000\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
@@ -392,48 +392,56 @@
#: Webservices.xml:186
#, no-c-format
msgid ""
-"The URI starts with the pattern mapped in <literal>web.xml</literal> for the "
+"The URI starts with the host and context path of your application, e.g. "
+"<literal>http://your.hostname/myapp</literal>."
+msgstr ""
+
+#. Tag: para
+#: Webservices.xml:192
+#, no-c-format
+msgid ""
+"Then the pattern mapped in <literal>web.xml</literal> for the "
"<literal>SeamResourceServlet</literal>, e.g <literal>/seam/resource</"
-"literal> if you follow the common examples. Change this setting to expose "
-"your RESTful resources under a different base. Note that this is a global "
-"change and other Seam resources (e.g. <literal>s:graphicImage</literal>) are "
-"then also served under that base path."
+"literal> if you follow the common examples, is appended. Change this setting "
+"to expose your RESTful resources under a different base. Note that this is a "
+"global change and other Seam resources (e.g. <literal>s:graphicImage</"
+"literal>) are then also served under that base path."
msgstr ""
#. Tag: para
-#: Webservices.xml:195
+#: Webservices.xml:201
#, no-c-format
msgid ""
"The RESTEasy integration for Seam then appends a configurable string to the "
"base path, by default this is <literal>/rest</literal>. Hence, the full base "
-"path of your resources would e.g. be <literal>/seam/resource/rest</literal>. "
-"We recommend that you change this string in your application, you could for "
-"example add a version number to prepare for a future REST API upgrade of "
-"your services (old clients would keep the old URI base): <literal>/seam/"
-"resource/restv1</literal>."
+"path of your resources would e.g. be <literal>/myapp/seam/resource/rest</"
+"literal>. We recommend that you change this string in your application, you "
+"could for example add a version number to prepare for a future REST API "
+"upgrade of your services (old clients would keep the old URI base): "
+"<literal>/myapp/seam/resource/restv1</literal>."
msgstr ""
#. Tag: para
-#: Webservices.xml:204
+#: Webservices.xml:210
#, no-c-format
msgid ""
"Finally, the actual resource is available under the defined <literal>@Path</"
"literal>, e.g. a resource mapped with <literal>@Path(\"/customer\")</"
-"literal> would be available under <literal>/seam/resource/rest/customer</"
-"literal>."
+"literal> would be available under <literal>/myapp/seam/resource/rest/"
+"customer</literal>."
msgstr ""
#. Tag: para
-#: Webservices.xml:212
+#: Webservices.xml:218
#, no-c-format
msgid ""
"As an example, the following resource definition would return a plaintext "
"representation for any GET requests using the URI <literal>http://your."
-"hostname/seam/resource/rest/customer/123</literal>:"
+"hostname/myapp/seam/resource/rest/customer/123</literal>:"
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:217
+#: Webservices.xml:223
#, no-c-format
msgid ""
"<![CDATA[@Path(\"/customer\")\n"
@@ -450,7 +458,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:219
+#: Webservices.xml:225
#, no-c-format
msgid ""
"No additional configuration is required, you do not have to edit "
@@ -461,7 +469,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:225
+#: Webservices.xml:231
#, no-c-format
msgid ""
"<![CDATA[<components\n"
@@ -476,63 +484,39 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:227
+#: Webservices.xml:233
#, no-c-format
msgid ""
"You can then change the <literal>/rest</literal> prefix as mentioned earlier:"
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:231
+#: Webservices.xml:237
#, no-c-format
msgid "<![CDATA[<resteasy:application resource-path-prefix=\"/restv1\"/>]]>"
msgstr ""
#. Tag: para
-#: Webservices.xml:233
-#, no-c-format
-msgid ""
-"The full base path to your resources is now <literal>/seam/resource/restv1/"
-"{resource}</literal> - note that your <literal>@Path</literal> definitions "
-"and mappings do NOT change. This is an application-wide switch usually used "
-"for versioning of the HTTP API."
-msgstr ""
-
-#. Tag: para
#: Webservices.xml:239
#, no-c-format
msgid ""
-"You can disable stripping of the base path if you'd like to map the full "
-"path in your resources:"
+"The full base path to your resources is now <literal>/myapp/seam/resource/"
+"restv1/{resource}</literal> - note that your <literal>@Path</literal> "
+"definitions and mappings do NOT change. This is an application-wide switch "
+"usually used for versioning of the HTTP interface."
msgstr ""
-#. Tag: programlisting
-#: Webservices.xml:243
-#, no-c-format
-msgid "<![CDATA[<resteasy:application strip-seam-resource-path=\"false\"/>]]>"
-msgstr ""
-
#. Tag: para
#: Webservices.xml:245
#, no-c-format
msgid ""
-"The path of a resource is now mapped with e.g. <literal>@Path(\"/seam/"
-"resource/rest/customer\")</literal>. We do not recommend disabling this "
-"feature, as your resource class mappings are then bound to a particular "
-"deployment scenario."
-msgstr ""
-
-#. Tag: para
-#: Webservices.xml:251
-#, no-c-format
-msgid ""
"Seam will scan your classpath for any deployed <literal>@javax.ws.rs.Path</"
"literal> resources and any <literal>@javax.ws.rs.ext.Provider</literal> "
"classes. You can disable scanning and configure these classes manually:"
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:257
+#: Webservices.xml:251
#, no-c-format
msgid ""
"<![CDATA[<resteasy:application\n"
@@ -554,7 +538,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:259
+#: Webservices.xml:253
#, no-c-format
msgid ""
"The <literal>use-built-in-providers</literal> switch enables (default) or "
@@ -564,7 +548,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:265
+#: Webservices.xml:259
#, no-c-format
msgid ""
"RESTEasy supports plain EJBs (EJBs that are not Seam components) as "
@@ -576,20 +560,21 @@
"<literal>@Path</literal>, <literal>@GET</literal>, and so on - not the bean "
"implementation class. This allows you to keep your application deployment-"
"portable with the global Seam <literal>jndi-pattern</literal> switch on "
-"<literal><core:init/></literal>. Note that EJB resources will not be "
-"found even if scanning of resources is enabled, you always have to list them "
-"manually. Again, this is only relevant for EJB resources that are not also "
-"Seam components and that do not have a <literal>@Name</literal> annotation."
+"<literal><core:init/></literal>. Note that plain (non-Seam component) "
+"EJB resources will not be found even if scanning of resources is enabled, "
+"you always have to list them manually. Again, this whole paragraph is only "
+"relevant for EJB resources that are not also Seam components and that do not "
+"have an <literal>@Name</literal> annotation."
msgstr ""
#. Tag: para
-#: Webservices.xml:277
+#: Webservices.xml:272
#, no-c-format
msgid "Finally, you can configure media type and language URI extensions:"
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:281
+#: Webservices.xml:276
#, no-c-format
msgid ""
"<![CDATA[<resteasy:application>\n"
@@ -606,7 +591,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:283
+#: Webservices.xml:278
#, no-c-format
msgid ""
"This definition would map the URI suffix of <literal>.txt.deutsch</literal> "
@@ -616,13 +601,13 @@
msgstr ""
#. Tag: title
-#: Webservices.xml:292
+#: Webservices.xml:287
#, no-c-format
msgid "Resources and providers as Seam components"
msgstr ""
#. Tag: para
-#: Webservices.xml:294
+#: Webservices.xml:289
#, no-c-format
msgid ""
"Any resource and provider instances are managed by RESTEasy by default. That "
@@ -633,7 +618,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:301
+#: Webservices.xml:296
#, no-c-format
msgid ""
"You can write resources and providers as Seam components and benefit from "
@@ -642,7 +627,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:307
+#: Webservices.xml:302
#, no-c-format
msgid ""
"<![CDATA[@Name(\"customerResource\")\n"
@@ -663,7 +648,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:309
+#: Webservices.xml:304
#, no-c-format
msgid ""
"An instance of <literal>customerResource</literal> is now handled by Seam "
@@ -677,7 +662,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:318
+#: Webservices.xml:313
#, no-c-format
msgid ""
"You can annotate an interface and keep the implementation free from JAX-RS "
@@ -685,7 +670,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:322
+#: Webservices.xml:317
#, no-c-format
msgid ""
"<![CDATA[@Path(\"/customer\")\n"
@@ -700,7 +685,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:324
+#: Webservices.xml:319
#, no-c-format
msgid ""
"<![CDATA[@Name(\"customerResource\")\n"
@@ -718,7 +703,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:326
+#: Webservices.xml:321
#, no-c-format
msgid ""
"You can use <literal>SESSION</literal>-scoped Seam components. By default, "
@@ -733,7 +718,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:335
+#: Webservices.xml:330
#, no-c-format
msgid ""
"Assuming that your Seam application only uses event, application, or "
@@ -745,7 +730,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:342
+#: Webservices.xml:337
#, no-c-format
msgid ""
"If your RESTful Seam application has to preserve session state across REST "
@@ -753,14 +738,14 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:347
+#: Webservices.xml:342
#, no-c-format
msgid ""
"<![CDATA[<resteasy:application destroy-session-after-request=\"false\"/>]]>"
msgstr ""
#. Tag: para
-#: Webservices.xml:349
+#: Webservices.xml:344
#, no-c-format
msgid ""
"Every REST HTTP request will now create a new session that will only be "
@@ -771,7 +756,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:356
+#: Webservices.xml:351
#, no-c-format
msgid ""
"<literal>CONVERSATION</literal>-scoped resource components and mapping of "
@@ -780,7 +765,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:361
+#: Webservices.xml:356
#, no-c-format
msgid ""
"EJB Seam components are supported. Always annotate the local business "
@@ -789,7 +774,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:366
+#: Webservices.xml:361
#, no-c-format
msgid ""
"Provider classes can also be Seam components, only <literal>APPLICATION</"
@@ -799,13 +784,13 @@
msgstr ""
#. Tag: title
-#: Webservices.xml:375
+#: Webservices.xml:370
#, no-c-format
msgid "Securing resources"
msgstr ""
#. Tag: para
-#: Webservices.xml:377
+#: Webservices.xml:372
#, no-c-format
msgid ""
"You can enable the Seam authentication filter for HTTP Basic and Digest "
@@ -813,7 +798,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:382
+#: Webservices.xml:377
#, no-c-format
msgid ""
"<![CDATA[<web:authentication-filter url-pattern=\"/seam/resource/rest/*\" "
@@ -821,14 +806,14 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:384
+#: Webservices.xml:379
#, no-c-format
msgid ""
"See the Seam security chapter on how to write an authentication routine."
msgstr ""
#. Tag: para
-#: Webservices.xml:388
+#: Webservices.xml:383
#, no-c-format
msgid ""
"After successful authentication, authorization rules with the common "
@@ -839,13 +824,13 @@
msgstr ""
#. Tag: title
-#: Webservices.xml:398
+#: Webservices.xml:393
#, no-c-format
msgid "Mapping exceptions to HTTP responses"
msgstr ""
#. Tag: para
-#: Webservices.xml:400
+#: Webservices.xml:395
#, no-c-format
msgid ""
"Section 3.3.4 of the JAX-RS specification defines how checked or unchecked "
@@ -858,7 +843,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:408
+#: Webservices.xml:403
#, no-c-format
msgid ""
"Exception handling within Seam requires that the Seam filter is executed for "
@@ -870,7 +855,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:415
+#: Webservices.xml:410
#, no-c-format
msgid ""
"<![CDATA[<filter>\n"
@@ -885,7 +870,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:417
+#: Webservices.xml:412
#, no-c-format
msgid ""
"To convert the unchecked <literal>UnsupportedOperationException</literal> "
@@ -895,7 +880,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:423
+#: Webservices.xml:418
#, no-c-format
msgid ""
"<![CDATA[<exception class=\"java.lang.UnsupportedOperationException\">\n"
@@ -906,13 +891,13 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:425
+#: Webservices.xml:420
#, no-c-format
msgid "Custom or checked exceptions are handled the same:"
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:429
+#: Webservices.xml:424
#, no-c-format
msgid ""
"<![CDATA[<exception class=\"my.CustomException\" log=\"false\">\n"
@@ -924,7 +909,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:431
+#: Webservices.xml:426
#, no-c-format
msgid ""
"You do not have to send an HTTP error to the client if an exception occurs. "
@@ -935,7 +920,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:438
+#: Webservices.xml:433
#, no-c-format
msgid ""
"Note that the HTTP response still passes through the servlet container, so "
@@ -946,13 +931,13 @@
msgstr ""
#. Tag: title
-#: Webservices.xml:447
+#: Webservices.xml:442
#, no-c-format
msgid "Testing resources and providers"
msgstr ""
#. Tag: para
-#: Webservices.xml:449
+#: Webservices.xml:444
#, no-c-format
msgid ""
"Seam includes a unit testing utility class that helps you create unit tests "
@@ -962,7 +947,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:455
+#: Webservices.xml:450
#, no-c-format
msgid ""
"<![CDATA[import org.jboss.seam.mock.ResourceRequestEnvironment;\n"
@@ -1019,7 +1004,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:457
+#: Webservices.xml:452
#, no-c-format
msgid ""
"This test only executes local calls, it does not communicate with the "
@@ -1032,7 +1017,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:465
+#: Webservices.xml:460
#, no-c-format
msgid ""
"Note that a <literal>ResourceRequest</literal> has to be executed in a "
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/de-DE/Websphere.po
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/de-DE/Websphere.po 2009-08-26 19:14:02 UTC (rev 11432)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/de-DE/Websphere.po 2009-08-26 19:19:33 UTC (rev 11433)
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-08-22 13:17+0000\n"
+"POT-Creation-Date: 2009-08-26 18:48+0000\n"
"PO-Revision-Date: 2008-04-04 01:24+0000\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
@@ -76,25 +76,27 @@
#, no-c-format
msgid ""
"The following sections in this chapter assume that WebSphere is correctly "
-"installed and is functional, and a profile has been successfully created."
+"installed and is functional, and a WebSphere \"profile\" has been "
+"successfully created."
msgstr ""
#. Tag: para
#: Websphere.xml:40
#, no-c-format
msgid ""
-"This chapter explain how to compile, deploy and run some sample applications "
-"in WebSphere. These sample applications require a database. WebSphere comes "
-"by default with a set of sample applications called \"Default Application\". "
-"This set of sample applications use a Derby database running on the Derby "
-"instance installed with WebSphere. In order to keep this simple we'll use "
-"this Derby database created for the \"Default Applications\". However, to "
-"run the sample application with the Derby database \"as-is\", a patched "
-"Hibernate dialect must be used (The patch changes the default \"auto\" key "
-"generation strategy) as explained in <xref linkend=\"glassfish\"/>. If you "
-"want to use another database, it's just a matter of creating a connection "
-"pool in WebSphere pointing to this database, declare the correct Hibernate "
-"dialect and set the correct JNDI name in <literal>persistence.xml</literal>."
+"This chapter explains how to compile, deploy and run some sample "
+"applications in WebSphere. These sample applications require a database. "
+"WebSphere comes by default with a set of sample applications called "
+"\"Default Application\". This set of sample applications use a Derby "
+"database running on the Derby instance installed within WebSphere. In order "
+"to keep this simple we'll use this Derby database created for the \"Default "
+"Applications\". However, to run the sample application with the Derby "
+"database \"as-is\", a patched Hibernate dialect must be used (The patch "
+"changes the default \"auto\" key generation strategy) as explained in <xref "
+"linkend=\"glassfish\"/>. If you want to use another database, it's just a "
+"matter of creating a connection pool in WebSphere pointing to this database, "
+"declare the correct Hibernate dialect and set the correct JNDI name in "
+"<literal>persistence.xml</literal>."
msgstr ""
#. Tag: title
@@ -144,14 +146,14 @@
#, no-c-format
msgid ""
"On the right navigation menu, select <literal>Web Container Settings/Web "
-"container</literal>)"
+"container</literal>"
msgstr ""
#. Tag: listitem
#: Websphere.xml:73
#, no-c-format
msgid ""
-"On the right navigation menu, select <literal>custom properties</literal>) "
+"On the right navigation menu, select <literal>custom properties</literal> "
"and add the following properties:"
msgstr ""
@@ -170,7 +172,7 @@
#. Tag: listitem
#: Websphere.xml:84
#, no-c-format
-msgid "Save and restart the server"
+msgid "Save the configuration and restart the server"
msgstr ""
#. Tag: title
@@ -189,38 +191,38 @@
msgstr ""
#. Tag: listitem
-#: Websphere.xml:97
+#: Websphere.xml:96
#, no-c-format
msgid ""
"The global <literal>jndi-pattern</literal> switch on the <literal><core:"
-"init></literal>. in <literal>components.xml</literal>. The switch can use "
-"a special placeholder \"<literal>#{ejbName}</literal>\" that resolves to the "
-"unqualified name of the EJB"
+"init></literal>tag in <literal>components.xml</literal>. The switch can "
+"use a special placeholder \"<literal>#{ejbName}</literal>\" that resolves to "
+"the unqualified name of the EJB"
msgstr ""
#. Tag: para
-#: Websphere.xml:102
+#: Websphere.xml:100
#, no-c-format
msgid "The <literal>@JndiName</literal> annotation"
msgstr ""
#. Tag: para
-#: Websphere.xml:108
+#: Websphere.xml:106
#, no-c-format
msgid "gives detailed explanations on how those mechanisms work."
msgstr ""
#. Tag: para
-#: Websphere.xml:112
+#: Websphere.xml:110
#, no-c-format
msgid ""
-"By default, WebSphere will bind the session bean in its local JNDI name "
-"space under a \"short\" binding name that adheres to the following pattern "
+"By default, WebSphere will bind session beans in its local JNDI name space "
+"under a \"short\" binding name that adheres to the following pattern "
"<literal>ejblocal:<package.qualified.local.interface.name></literal>."
msgstr ""
#. Tag: para
-#: Websphere.xml:117
+#: Websphere.xml:115
#, no-c-format
msgid ""
"For a detailed description on how WebSphere v7 organizes and binds EJBs in "
@@ -228,7 +230,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:120
+#: Websphere.xml:118
#, no-c-format
msgid ""
"As explained before, Seam needs to lookup for session bean as they appear in "
@@ -236,35 +238,35 @@
msgstr ""
#. Tag: listitem
-#: Websphere.xml:124
+#: Websphere.xml:121
#, no-c-format
msgid ""
"Specify which JNDI name Seam must use for each session bean using the "
-"<literal>@JndiName</literal> annotation in the java source file"
+"<literal>@JndiName</literal> annotation in the java source file,"
msgstr ""
#. Tag: listitem
-#: Websphere.xml:127
+#: Websphere.xml:123
#, no-c-format
msgid ""
"Override the default session bean names generated by WebSphere to conform to "
-"the <literal>jndi-pattern</literal> attribute"
+"the <literal>jndi-pattern</literal> attribute,"
msgstr ""
#. Tag: listitem
-#: Websphere.xml:130
+#: Websphere.xml:126
#, no-c-format
-msgid "Use EJB references"
+msgid "Use EJB references."
msgstr ""
#. Tag: title
-#: Websphere.xml:137
+#: Websphere.xml:133
#, no-c-format
msgid "Strategy 1: Specify which JNDI name Seam must use for each Session Bean"
msgstr ""
#. Tag: para
-#: Websphere.xml:138
+#: Websphere.xml:134
#, no-c-format
msgid ""
"This strategy is the simplest and fastest one regarding development. It uses "
@@ -272,7 +274,7 @@
msgstr ""
#. Tag: listitem
-#: Websphere.xml:141
+#: Websphere.xml:137
#, no-c-format
msgid ""
"Add a <literal>@JndiName(\"ejblocal:<package.qualified.local.interface."
@@ -280,20 +282,20 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:145 Websphere.xml:188
+#: Websphere.xml:141 Websphere.xml:184
#, no-c-format
msgid ""
"<para>In <literal>components.xml</literal>, add the following line:</para>"
msgstr ""
#. Tag: programlisting
-#: Websphere.xml:147 Websphere.xml:220
+#: Websphere.xml:143 Websphere.xml:216
#, no-c-format
msgid "<![CDATA[<core:init jndi-name=\"java:comp/env/#{ejbName}\" />]]>"
msgstr ""
#. Tag: para
-#: Websphere.xml:151
+#: Websphere.xml:147
#, no-c-format
msgid ""
"Add a file named <literal>WEB-INF/classes/seam-jndi.properties</literal> in "
@@ -301,7 +303,7 @@
msgstr ""
#. Tag: programlisting
-#: Websphere.xml:153
+#: Websphere.xml:149
#, no-c-format
msgid ""
"com.ibm.websphere.naming.hostname.normalizer=com.ibm.ws.naming.util."
@@ -323,13 +325,13 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:157
+#: Websphere.xml:153
#, no-c-format
msgid "At the end of <literal>web.xml</literal>, add the following lines:"
msgstr ""
#. Tag: programlisting
-#: Websphere.xml:159
+#: Websphere.xml:155
#, no-c-format
msgid ""
"<![CDATA[<ejb-local-ref>\n"
@@ -341,7 +343,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:164
+#: Websphere.xml:160
#, no-c-format
msgid ""
"That's all folks! No need to update any file during the development, nor to "
@@ -349,23 +351,23 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:167
+#: Websphere.xml:163
#, no-c-format
msgid ""
-"Compared to the other strategies, this strategy has the advantage not to "
-"have to manage any EJBs reference and also not to have to maintain extra "
+"Compared to the other strategies, this strategy has the advantage to not "
+"have to manage any EJBs reference and also to not have to maintain extra "
"files. The only drawback is one extra line in the java source code with the "
"<literal>@JndiName</literal> annotation"
msgstr ""
#. Tag: title
-#: Websphere.xml:174
+#: Websphere.xml:170
#, no-c-format
msgid "Strategy 2: Override the default names generated by WebSphere"
msgstr ""
#. Tag: section
-#: Websphere.xml:174
+#: Websphere.xml:170
#, no-c-format
msgid ""
"There is no simple way to globally override the default naming strategy for "
@@ -374,13 +376,13 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:177
+#: Websphere.xml:173
#, no-c-format
msgid "To use this strategy:"
msgstr ""
#. Tag: para
-#: Websphere.xml:181
+#: Websphere.xml:177
#, no-c-format
msgid ""
"Add a file named <literal>META-INF/ibm-ejb-jar-ext.xml</literal> in the EJB "
@@ -405,13 +407,13 @@
msgstr ""
#. Tag: programlisting
-#: Websphere.xml:190
+#: Websphere.xml:186
#, no-c-format
msgid "<![CDATA[<core:init jndi-name=\"ejblocal:#{ejbName}\" />]]>"
msgstr ""
#. Tag: para
-#: Websphere.xml:194
+#: Websphere.xml:190
#, no-c-format
msgid ""
"Add a file named <literal>WEB-INF/classes/seam-jndi.properties</literal> as "
@@ -419,7 +421,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:199
+#: Websphere.xml:195
#, no-c-format
msgid ""
"In <literal>web.xml</literal>, add the following lines (Note the different "
@@ -427,7 +429,7 @@
msgstr ""
#. Tag: programlisting
-#: Websphere.xml:201
+#: Websphere.xml:197
#, no-c-format
msgid ""
"<![CDATA[<ejb-local-ref>\n"
@@ -439,7 +441,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:206
+#: Websphere.xml:202
#, no-c-format
msgid ""
"Compared to the first strategy, this strategy requires to maintain an extra "
@@ -449,13 +451,13 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:215
+#: Websphere.xml:211
#, no-c-format
msgid "Strategy 3: Use EJB references"
msgstr ""
#. Tag: section
-#: Websphere.xml:215
+#: Websphere.xml:211
#, no-c-format
msgid ""
"This strategy is based on the usage of EJB references, from EJB to EJB and "
@@ -463,7 +465,7 @@
msgstr ""
#. Tag: listitem
-#: Websphere.xml:218
+#: Websphere.xml:214
#, no-c-format
msgid ""
"<listitem>In <literal>components.xml</literal>, add the following line:</"
@@ -471,7 +473,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:223
+#: Websphere.xml:219
#, no-c-format
msgid ""
"Follow the instructions in <xref linkend=\"config.integration.ejb.container"
@@ -479,7 +481,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:228
+#: Websphere.xml:224
#, no-c-format
msgid ""
"This is the most tedious strategy as each session bean referenced by another "
@@ -489,27 +491,27 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:239
+#: Websphere.xml:235
#, no-c-format
msgid "Configuring timeouts for Stateful Session Beans"
msgstr ""
#. Tag: para
-#: Websphere.xml:240
+#: Websphere.xml:236
#, no-c-format
msgid ""
"A timeout value has to be set for each stateful session bean used in the "
"application because stateful bean must not expire in WebSphere while Seam "
-"might still need thenm. At the time of writing this document, WebSphere does "
+"might still need them. At the time of writing this document, WebSphere does "
"not provide a way to configure a global timeout at neither the cluster, "
"server, application nor ejb-jar level. It has to be done for each stateful "
-"bean individually. This is done by adding a file named <literal>META-INF/ibm-"
-"ejb-jar-ext.xml</literal> in the EJB module, and declare the timeout value "
-"for each bean:"
+"bean individually. By default, the default timeout is 10 minutes. This is "
+"done by adding a file named <literal>META-INF/ibm-ejb-jar-ext.xml</literal> "
+"in the EJB module, and declare the timeout value for each bean:"
msgstr ""
#. Tag: programlisting
-#: Websphere.xml:246
+#: Websphere.xml:242
#, no-c-format
msgid ""
"<![CDATA[<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
@@ -529,24 +531,24 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:248
+#: Websphere.xml:244
#, no-c-format
msgid ""
"The <literal>time-out</literal> is expressed in seconds and must be higher "
"than the Seam conversation expiration timeout and a few minutes higher than "
"the user's HTTP session timeout (The session expiration timeout can trigger "
-"a few minutes after the number of minutes declared to expire s for the HTTP "
-"session expiration)."
+"a few minutes after the number of minutes declared to expire the HTTP "
+"session)."
msgstr ""
#. Tag: title
-#: Websphere.xml:257
+#: Websphere.xml:253
#, no-c-format
msgid "The <literal>jee5/booking</literal> example"
msgstr ""
#. Tag: para
-#: Websphere.xml:259
+#: Websphere.xml:255
#, no-c-format
msgid ""
"The<literal>jee5/booking</literal>example is based on the Hotel Booking "
@@ -557,23 +559,32 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:265
+#: Websphere.xml:261
#, no-c-format
msgid ""
-"For running this example, we'll use the second JNDI mapping strategy "
-"(\"Override the default names generated by WebSphere\") as we don't want to "
-"change the java code to add the <literal>@JndiName</literal> annotation as "
-"in the first strategy."
+"The example already has a breakout of configurations and build scripts for "
+"WebSphere. First thing, we are going to do is build and deploy this example. "
+"Then we'll go over some key changes that we needed."
msgstr ""
+#. Tag: para
+#: Websphere.xml:266
+#, no-c-format
+msgid ""
+"The tailored configuration files for WebSphere use the second JNDI mapping "
+"strategy (\"Override the default names generated by WebSphere\") as the goal "
+"was to not change any java code to add the <literal>@JndiName</literal> "
+"annotation as in the first strategy."
+msgstr ""
+
#. Tag: title
-#: Websphere.xml:271
+#: Websphere.xml:272
#, no-c-format
msgid "Building the <literal>jee5/booking</literal> example"
msgstr ""
#. Tag: para
-#: Websphere.xml:273
+#: Websphere.xml:274
#, no-c-format
msgid ""
"Building it only requires running the correct ant command: "
@@ -583,21 +594,21 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:280
+#: Websphere.xml:281
#, no-c-format
msgid "Deploying the <literal>jee5/booking</literal> example"
msgstr ""
#. Tag: para
-#: Websphere.xml:281
+#: Websphere.xml:282
#, no-c-format
msgid ""
-"The steps below are for the WAS version stated above.The ports are default "
-"values, if you changed them, you must substitute the values."
+"The steps below are for the WAS version stated above.The ports are the "
+"default values, if you changed them, you must substitute the values."
msgstr ""
#. Tag: listitem
-#: Websphere.xml:284
+#: Websphere.xml:285
#, no-c-format
msgid ""
"Log in to the administration console <programlisting><![CDATA[http://"
@@ -606,7 +617,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:291
+#: Websphere.xml:292
#, no-c-format
msgid ""
"Go to the <literal>WebSphere enterprise applications</literal> menu option "
@@ -615,7 +626,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:298
+#: Websphere.xml:299
#, no-c-format
msgid ""
"At the top of the <literal>Enterprise Applications</literal> table select "
@@ -624,13 +635,13 @@
msgstr ""
#. Tag: literal
-#: Websphere.xml:304
+#: Websphere.xml:305
#, no-c-format
msgid "Preparing for the application installation"
msgstr ""
#. Tag: para
-#: Websphere.xml:307
+#: Websphere.xml:308
#, no-c-format
msgid ""
"Browse to the <literal>examples/jee5/booking/dist-websphere7/jboss-seam-jee5."
@@ -638,25 +649,25 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:313 Websphere.xml:323 Websphere.xml:341
+#: Websphere.xml:314 Websphere.xml:324 Websphere.xml:342
#, no-c-format
msgid "Select the <literal>Next</literal> button."
msgstr ""
#. Tag: para
-#: Websphere.xml:318
+#: Websphere.xml:319
#, no-c-format
msgid "Select the <literal>Fast Path</literal> button."
msgstr ""
#. Tag: literal
-#: Websphere.xml:332
+#: Websphere.xml:333
#, no-c-format
msgid "Select installation options"
msgstr ""
#. Tag: para
-#: Websphere.xml:335
+#: Websphere.xml:336
#, no-c-format
msgid ""
"Select the <literal>Deploy enterprise beans and Allow EJB reference targets "
@@ -665,13 +676,13 @@
msgstr ""
#. Tag: literal
-#: Websphere.xml:350
+#: Websphere.xml:351
#, no-c-format
msgid "Map modules to servers"
msgstr ""
#. Tag: para
-#: Websphere.xml:353
+#: Websphere.xml:354
#, no-c-format
msgid ""
"No changes needed here as we only have one server. Select the <literal>Next</"
@@ -679,13 +690,13 @@
msgstr ""
#. Tag: literal
-#: Websphere.xml:362
+#: Websphere.xml:363
#, no-c-format
msgid "Map virtual hosts for Web modules"
msgstr ""
#. Tag: para
-#: Websphere.xml:365
+#: Websphere.xml:366
#, no-c-format
msgid ""
"No changes needed here as we only have one virtual host. Select the "
@@ -693,31 +704,31 @@
msgstr ""
#. Tag: literal
-#: Websphere.xml:374
+#: Websphere.xml:375
#, no-c-format
msgid "Summary"
msgstr ""
#. Tag: para
-#: Websphere.xml:377
+#: Websphere.xml:378
#, no-c-format
msgid "No changes needed here. Select the <literal>Finish</literal> button."
msgstr ""
#. Tag: literal
-#: Websphere.xml:384
+#: Websphere.xml:385
#, no-c-format
msgid "Installation"
msgstr ""
#. Tag: para
-#: Websphere.xml:387
+#: Websphere.xml:388
#, no-c-format
msgid "Now you will see WebSphere installing and deploying your application."
msgstr ""
#. Tag: para
-#: Websphere.xml:390
+#: Websphere.xml:391
#, no-c-format
msgid ""
"When done, select the <literal>Save</literal> link and you will be returned "
@@ -725,15 +736,15 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:399
+#: Websphere.xml:400
#, no-c-format
msgid ""
-"To start the application select our application in the list, then click on "
+"To start the application, select the application in the list, then click on "
"the <literal>Start</literal> button at the top of the table."
msgstr ""
#. Tag: para
-#: Websphere.xml:409
+#: Websphere.xml:410
#, no-c-format
msgid ""
"You can now access the application at <literal>http://localhost:9080/seam-"
@@ -741,13 +752,13 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:418
+#: Websphere.xml:419
#, no-c-format
msgid "Deviation from the original base files"
msgstr ""
#. Tag: section
-#: Websphere.xml:418
+#: Websphere.xml:419
#, no-c-format
msgid ""
"Below are the differences between the base configuration files and the "
@@ -756,7 +767,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:422
+#: Websphere.xml:423
#, no-c-format
msgid ""
"<literal>META-INF/ejb-jar.xml</literal> — Removed all the EJB "
@@ -764,37 +775,37 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:428
+#: Websphere.xml:429
#, no-c-format
msgid ""
"<literal>META-INF/ibm-ejb-jar-bnd.xml</literal> — This WebSphere "
"specific file has been added as we use the second JNDI mapping strategy. It "
-"defines, for each session bean, the name WebSphere will use to bind it its "
-"JNDI name space"
+"defines, for each session bean, the name WebSphere will use to bind it in "
+"its JNDI name space"
msgstr ""
#. Tag: para
-#: Websphere.xml:435
+#: Websphere.xml:436
#, no-c-format
msgid ""
"<literal>META-INF/ibm-ejb-jar-ext.xml</literal> — This WebSphere "
-"specific file defines to WebSphere, the timeout value for each stateful bean"
+"specific file defines the timeout value for each stateful bean"
msgstr ""
#. Tag: para
-#: Websphere.xml:441
+#: Websphere.xml:442
#, no-c-format
msgid ""
"<literal>META-INF/persistence.xml</literal> — The main changes here "
"are for the datasource JNDI path, switching to the WebSphere transaction "
"manager lookup class, turning off the <literal>hibernate.transaction."
"flush_before_completion</literal> toggle, and forcing the Hibernate dialect "
-"to be <literal>GlassfishDerbyDialect</literal> how as using the integrated "
-"Derby database"
+"to be <literal>GlassfishDerbyDialect</literal> as we are using the "
+"integrated Derby database"
msgstr ""
#. Tag: para
-#: Websphere.xml:451
+#: Websphere.xml:452
#, no-c-format
msgid ""
"<literal>WEB-INF/components.xml</literal> — the change here is "
@@ -803,7 +814,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:459
+#: Websphere.xml:460
#, no-c-format
msgid ""
"<literal>WEB-INF/web.xml</literal> — Remove all the <literal>ejb-local "
@@ -813,7 +824,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:467 Websphere.xml:549
+#: Websphere.xml:468
#, no-c-format
msgid ""
"<literal>import.sql</literal> — due to the cutomized hibernate Derby "
@@ -822,7 +833,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:474
+#: Websphere.xml:475
#, no-c-format
msgid ""
"Also the build procedure has been changed to include the <literal>log4j.jar</"
@@ -831,13 +842,13 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:486
+#: Websphere.xml:487
#, no-c-format
msgid "The <literal>jpa</literal> booking example"
msgstr ""
#. Tag: para
-#: Websphere.xml:488
+#: Websphere.xml:489
#, no-c-format
msgid ""
"This is the Hotel Booking example implemented in Seam POJOs and using "
@@ -845,7 +856,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:493
+#: Websphere.xml:494
#, no-c-format
msgid ""
"The example already has a breakout of configurations and build scripts for "
@@ -853,7 +864,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:498
+#: Websphere.xml:499
#, no-c-format
msgid ""
"First thing, we are going to do is build and deploy that example. Then we'll "
@@ -861,13 +872,13 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:504
+#: Websphere.xml:505
#, no-c-format
msgid "Building the <literal>jpa</literal> example"
msgstr ""
#. Tag: para
-#: Websphere.xml:505
+#: Websphere.xml:506
#, no-c-format
msgid ""
"Building it only requires running the correct ant command: "
@@ -877,13 +888,13 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:514
+#: Websphere.xml:515
#, no-c-format
msgid "Deploying the <literal>jpa</literal> example"
msgstr ""
#. Tag: para
-#: Websphere.xml:515
+#: Websphere.xml:516
#, no-c-format
msgid ""
"Deploying <literal>jpa</literal> application is very similar to the "
@@ -894,7 +905,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:521
+#: Websphere.xml:522
#, no-c-format
msgid ""
"Follow the same instructions as for the <literal>jee5/booking</literal> "
@@ -902,11 +913,11 @@
"literal> file on the first page and on the <literal>Map context roots for "
"Web modules</literal> page (after the <literal>Map virtual host for Web "
"module</literal>), enter the context root you want to use for your "
-"application in the <literal>Contect Root</literal> input field."
+"application in the <literal>Context Root</literal> input field."
msgstr ""
#. Tag: para
-#: Websphere.xml:528
+#: Websphere.xml:529
#, no-c-format
msgid ""
"When started, you can now access the application at the <literal>http://"
@@ -914,13 +925,13 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:534
+#: Websphere.xml:535
#, no-c-format
msgid "Deviation from the generic base files"
msgstr ""
#. Tag: section
-#: Websphere.xml:534
+#: Websphere.xml:535
#, no-c-format
msgid ""
"Below are the configuration file differences between the base configuration "
@@ -929,7 +940,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:539
+#: Websphere.xml:540
#, no-c-format
msgid ""
"<literal>META-INF/persistence.xml</literal> — The main changes here "
@@ -941,9 +952,18 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:556
+#: Websphere.xml:550
#, no-c-format
msgid ""
+"<literal>import.sql</literal> — due to the customized hibernate Derby "
+"dialect, the <literal>ID</literal> column can not be populated by this file "
+"and was removed."
+msgstr ""
+
+#. Tag: para
+#: Websphere.xml:557
+#, no-c-format
+msgid ""
"Also the build procedure have been changed to include the <literal>log4j."
"jar</literal> file and exclude the <literal>concurrent.jar</literal> and "
"<literal>jboss-common-core.jar</literal> files."
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/es-ES/Configuration.po
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/es-ES/Configuration.po 2009-08-26 19:14:02 UTC (rev 11432)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/es-ES/Configuration.po 2009-08-26 19:19:33 UTC (rev 11433)
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-05-05 12:31+0000\n"
+"POT-Creation-Date: 2009-08-26 18:47+0000\n"
"PO-Revision-Date: 2008-04-04 01:24+0000\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
@@ -677,13 +677,63 @@
msgstr ""
#. Tag: title
+#: Configuration.xml:325
+#, no-c-format
+msgid "Enabling HTTP cache-control headers"
+msgstr ""
+
+#. Tag: para
#: Configuration.xml:326
#, no-c-format
+msgid ""
+"Seam does <emphasis>not</emphasis> automatically add <literal>cache-control</"
+"literal> HTTP headers to any resources served by the Seam resource servlet, "
+"or directly from your view directory by the servlet container. This means "
+"that your images, Javascript and CSS files, and resource representations "
+"from Seam resource servlet such as Seam Remoting Javascript interfaces are "
+"usually not cached by the browser. This is convenient in development but "
+"should be changed in production when optimizing the application."
+msgstr ""
+
+#. Tag: para
+#: Configuration.xml:334
+#, no-c-format
+msgid ""
+"You can configure a Seam filter to enable automatic addition of "
+"<literal>cache-control</literal> headers depending on the requested URI in "
+"<literal>components.xml</literal>:"
+msgstr ""
+
+#. Tag: programlisting
+#: Configuration.xml:339
+#, no-c-format
+msgid ""
+"<![CDATA[<web:cache-control-filter name=\"commonTypesCacheControlFilter\"\n"
+" regex-url-pattern=\".*(\\.gif|\\.png|\\.jpg|\\."
+"jpeg|\\.css|\\.js)\"\n"
+" value=\"max-age=86400\"/> <!-- 1 day -->\n"
+"\n"
+"<web:cache-control-filter name=\"anotherCacheControlFilter\"\n"
+" url-pattern=\"/my/cachable/resources/*\"\n"
+" value=\"max-age=432000\"/> <!-- 5 days -->]]>"
+msgstr ""
+
+#. Tag: para
+#: Configuration.xml:341
+#, no-c-format
+msgid ""
+"You do not have to name the filters unless you have more than one filter "
+"enabled."
+msgstr ""
+
+#. Tag: title
+#: Configuration.xml:348
+#, no-c-format
msgid "Adding custom filters"
msgstr ""
#. Tag: para
-#: Configuration.xml:327
+#: Configuration.xml:349
#, no-c-format
msgid ""
"Seam can install your filters for you, allowing you to specify "
@@ -695,7 +745,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:332
+#: Configuration.xml:354
#, no-c-format
msgid ""
"<![CDATA[@Startup\n"
@@ -707,7 +757,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:334
+#: Configuration.xml:356
#, no-c-format
msgid ""
"Adding the <literal>@Startup</literal> annotation means thar the component "
@@ -718,13 +768,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:343
+#: Configuration.xml:365
#, no-c-format
msgid "Integrating Seam with your EJB container"
msgstr ""
#. Tag: para
-#: Configuration.xml:345
+#: Configuration.xml:367
#, no-c-format
msgid ""
"In a Seam application, EJB components have a certain duality, as they are "
@@ -735,7 +785,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:350
+#: Configuration.xml:372
#, no-c-format
msgid ""
"We need to apply the <literal>SeamInterceptor</literal> to our Seam EJB "
@@ -747,7 +797,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:355
+#: Configuration.xml:377
#, no-c-format
msgid ""
"<![CDATA[<interceptors>\n"
@@ -768,7 +818,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:357
+#: Configuration.xml:379
#, no-c-format
msgid ""
"Seam needs to know where to go to find session beans in JNDI. One way to do "
@@ -782,19 +832,19 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:364
+#: Configuration.xml:386
#, no-c-format
msgid "For JBoss AS, the following pattern is correct:"
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:366
+#: Configuration.xml:388
#, no-c-format
msgid "<![CDATA[<core:init jndi-name=\"earName/#{ejbName}/local\" />]]>"
msgstr ""
#. Tag: para
-#: Configuration.xml:368
+#: Configuration.xml:390
#, no-c-format
msgid ""
"In this case, <literal>earName</literal> is the name of the EAR in which the "
@@ -804,7 +854,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:372
+#: Configuration.xml:394
#, no-c-format
msgid ""
"Outside the context of an EAR (when using the JBoss Embeddable EJB3 "
@@ -813,13 +863,13 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:375
+#: Configuration.xml:397
#, no-c-format
msgid "<![CDATA[<core:init jndi-name=\"#{ejbName}/local\" />]]>"
msgstr ""
#. Tag: para
-#: Configuration.xml:377
+#: Configuration.xml:399
#, no-c-format
msgid ""
"How these JNDI names are resolved and somehow locate an EJB component might "
@@ -828,7 +878,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:381
+#: Configuration.xml:403
#, no-c-format
msgid ""
"The folks at JBoss don't care much for XML, if you can't tell. So when they "
@@ -839,14 +889,14 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:387
+#: Configuration.xml:409
#, no-c-format
msgid ""
"The value of the <literal><ejb-name></literal> element in ejb-jar.xml"
msgstr ""
#. Tag: para
-#: Configuration.xml:390
+#: Configuration.xml:412
#, no-c-format
msgid ""
"The value of the <literal>name</literal> attribute in the @Stateless or "
@@ -854,13 +904,13 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:393
+#: Configuration.xml:415
#, no-c-format
msgid "The simple name of the bean class"
msgstr ""
#. Tag: para
-#: Configuration.xml:397
+#: Configuration.xml:419
#, no-c-format
msgid ""
"Let's look at an example. Assume that you have the following EJB bean and "
@@ -868,7 +918,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:399
+#: Configuration.xml:421
#, no-c-format
msgid ""
"<![CDATA[package com.example.myapp;\n"
@@ -895,7 +945,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:401
+#: Configuration.xml:423
#, no-c-format
msgid ""
"Assuming your EJB bean class is deployed in an EAR named myapp, the global "
@@ -907,7 +957,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:407
+#: Configuration.xml:429
#, no-c-format
msgid ""
"So what about the rest of the application servers? Well, according to the "
@@ -919,7 +969,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:413
+#: Configuration.xml:435
#, no-c-format
msgid ""
"There are two places you have to define the EJB reference when using Seam on "
@@ -930,7 +980,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:418
+#: Configuration.xml:440
#, no-c-format
msgid ""
"<![CDATA[<ejb-local-ref>\n"
@@ -942,7 +992,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:420
+#: Configuration.xml:442
#, no-c-format
msgid ""
"This reference will cover most uses of the component in a Seam application. "
@@ -953,7 +1003,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:425
+#: Configuration.xml:447
#, no-c-format
msgid ""
"Within the context of an EJB method call, you have to deal with a somewhat "
@@ -970,7 +1020,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:434
+#: Configuration.xml:456
#, no-c-format
msgid ""
"For application servers that stubbornly adhere to the EJB specification, EJB "
@@ -982,7 +1032,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:439
+#: Configuration.xml:461
#, no-c-format
msgid ""
"Let's assume that we have an EJB named RegisterAction (the name is resolved "
@@ -991,7 +1041,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:442
+#: Configuration.xml:464
#, no-c-format
msgid ""
"<![CDATA[@In(create = true)\n"
@@ -1000,7 +1050,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:444
+#: Configuration.xml:466
#, no-c-format
msgid ""
"In order for this injection to work, the link must be established in the ejb-"
@@ -1008,7 +1058,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:446
+#: Configuration.xml:468
#, no-c-format
msgid ""
"<![CDATA[<ejb-jar>\n"
@@ -1031,7 +1081,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:448
+#: Configuration.xml:470
#, no-c-format
msgid ""
"Notice that the contents of the <literal><ejb-local-ref></literal> are "
@@ -1043,7 +1093,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:454
+#: Configuration.xml:476
#, no-c-format
msgid ""
"But what about <literal>@EJB</literal>? It's true that you can inject one "
@@ -1061,7 +1111,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:464
+#: Configuration.xml:486
#, no-c-format
msgid ""
"That covers how JNDI names are defined and used. The lesson is that with "
@@ -1074,7 +1124,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:470
+#: Configuration.xml:492
#, no-c-format
msgid ""
"<![CDATA[<core:init jndi-name=\"java:comp/env/earName/#{ejbName}/local\" />]]"
@@ -1082,7 +1132,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:472
+#: Configuration.xml:494
#, no-c-format
msgid ""
"Finally, let's talk about transactions. In an EJB3 environment, we recommend "
@@ -1094,19 +1144,19 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:479
+#: Configuration.xml:501
#, no-c-format
msgid "<![CDATA[<transaction:ejb-transaction/>]]>"
msgstr ""
#. Tag: title
-#: Configuration.xml:484
+#: Configuration.xml:506
#, no-c-format
msgid "Don't forget!"
msgstr ""
#. Tag: para
-#: Configuration.xml:486
+#: Configuration.xml:508
#, no-c-format
msgid ""
"There is one final item you need to know about. You must place a "
@@ -1118,7 +1168,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:491
+#: Configuration.xml:513
#, no-c-format
msgid ""
"In a web archive (WAR) file, you must place a <literal>seam.properties</"
@@ -1127,7 +1177,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:494
+#: Configuration.xml:516
#, no-c-format
msgid ""
"That's why all the Seam examples have an empty <literal>seam.properties</"
@@ -1136,7 +1186,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:497
+#: Configuration.xml:519
#, no-c-format
msgid ""
"You might think this is silly and what kind of idiot framework designers "
@@ -1148,13 +1198,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:508
+#: Configuration.xml:530
#, no-c-format
msgid "Using Alternate JPA Providers"
msgstr ""
#. Tag: para
-#: Configuration.xml:510
+#: Configuration.xml:532
#, no-c-format
msgid ""
"Seam comes packaged and configured with Hibernate as the default JPA "
@@ -1163,13 +1213,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:516
+#: Configuration.xml:538
#, no-c-format
msgid "This is a workaround"
msgstr ""
#. Tag: para
-#: Configuration.xml:517
+#: Configuration.xml:539
#, no-c-format
msgid ""
"Configuration of the JPA provider will be easier in the future and will not "
@@ -1178,7 +1228,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:524
+#: Configuration.xml:546
#, no-c-format
msgid ""
"Telling seam about a different JPA provider can be be done in one of two "
@@ -1186,7 +1236,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:525
+#: Configuration.xml:547
#, no-c-format
msgid ""
"Update your application's <literal>components.xml</literal> so that the "
@@ -1195,7 +1245,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:530
+#: Configuration.xml:552
#, no-c-format
msgid ""
"<![CDATA[<component name=\"org.jboss.seam.persistence.persistenceProvider"
@@ -1206,7 +1256,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:531
+#: Configuration.xml:553
#, no-c-format
msgid ""
"If you want to take advantage of your JPA provider's non-standard features "
@@ -1218,7 +1268,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:538
+#: Configuration.xml:560
#, no-c-format
msgid ""
"<![CDATA[<component name=\"org.jboss.seam.persistence.persistenceProvider"
@@ -1228,7 +1278,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:539
+#: Configuration.xml:561
#, no-c-format
msgid ""
"All that is left is updating the <literal>persistence.xml</literal> file "
@@ -1238,13 +1288,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:547
+#: Configuration.xml:569
#, no-c-format
msgid "Configuring Seam in Java EE 5"
msgstr ""
#. Tag: para
-#: Configuration.xml:558
+#: Configuration.xml:580
#, no-c-format
msgid ""
"If you're running in a Java EE 5 environment, this is all the configuration "
@@ -1252,14 +1302,14 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:561 Configuration.xml:656 Configuration.xml:794
-#: Configuration.xml:827
+#: Configuration.xml:583 Configuration.xml:678 Configuration.xml:816
+#: Configuration.xml:849
#, no-c-format
msgid "Packaging"
msgstr ""
#. Tag: para
-#: Configuration.xml:563
+#: Configuration.xml:585
#, no-c-format
msgid ""
"Once you've packaged all this stuff together into an EAR, the archive "
@@ -1267,7 +1317,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:566
+#: Configuration.xml:588
#, no-c-format
msgid ""
"<![CDATA[my-application.ear/\n"
@@ -1307,7 +1357,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:568
+#: Configuration.xml:590
#, no-c-format
msgid ""
"You should declare <literal>jboss-seam.jar</literal> as an ejb module in "
@@ -1316,7 +1366,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:573
+#: Configuration.xml:595
#, no-c-format
msgid ""
"If you want to use jBPM or Drools, you must include the needed jars in the "
@@ -1324,7 +1374,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:575
+#: Configuration.xml:597
#, no-c-format
msgid ""
"If you want to use facelets (our recommendation), you must include "
@@ -1333,7 +1383,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:578
+#: Configuration.xml:600
#, no-c-format
msgid ""
"If you want to use the Seam tag library (most Seam applications do), you "
@@ -1344,7 +1394,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:583
+#: Configuration.xml:605
#, no-c-format
msgid ""
"If you want to use the Seam debug page (only works for applications using "
@@ -1353,7 +1403,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:586
+#: Configuration.xml:608
#, no-c-format
msgid ""
"Seam ships with several example applications that are deployable in any Java "
@@ -1361,7 +1411,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:589
+#: Configuration.xml:611
#, no-c-format
msgid ""
"I really wish that was all there was to say on the topic of configuration "
@@ -1371,13 +1421,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:598
+#: Configuration.xml:620
#, no-c-format
msgid "Configuring Seam in J2EE"
msgstr ""
#. Tag: para
-#: Configuration.xml:600
+#: Configuration.xml:622
#, no-c-format
msgid ""
"Seam is useful even if you're not yet ready to take the plunge into EJB 3.0. "
@@ -1389,7 +1439,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:615
+#: Configuration.xml:637
#, no-c-format
msgid ""
"Seam JavaBean components do not provide declarative transaction demarcation "
@@ -1401,7 +1451,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:621
+#: Configuration.xml:643
#, no-c-format
msgid ""
"The Seam distribution includes a version of the booking example application "
@@ -1411,13 +1461,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:626
+#: Configuration.xml:648
#, no-c-format
msgid "Boostrapping Hibernate in Seam"
msgstr ""
#. Tag: para
-#: Configuration.xml:628
+#: Configuration.xml:650
#, no-c-format
msgid ""
"Seam will bootstrap a Hibernate <literal>SessionFactory</literal> from your "
@@ -1426,7 +1476,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:631
+#: Configuration.xml:653
#, no-c-format
msgid ""
"<![CDATA[<persistence:hibernate-session-factory name="
@@ -1434,7 +1484,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:633
+#: Configuration.xml:655
#, no-c-format
msgid ""
"You will also need to configure a <emphasis>managed session</emphasis> if "
@@ -1443,7 +1493,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:636
+#: Configuration.xml:658
#, no-c-format
msgid ""
"<![CDATA[<persistence:managed-hibernate-session name=\"hibernateSession\"\n"
@@ -1452,13 +1502,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:641
+#: Configuration.xml:663
#, no-c-format
msgid "Boostrapping JPA in Seam"
msgstr ""
#. Tag: para
-#: Configuration.xml:643
+#: Configuration.xml:665
#, no-c-format
msgid ""
"Seam will bootstrap a JPA <literal>EntityManagerFactory</literal> from your "
@@ -1467,7 +1517,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:646
+#: Configuration.xml:668
#, no-c-format
msgid ""
"<![CDATA[<persistence:entity-manager-factory name=\"entityManagerFactory\"/"
@@ -1475,7 +1525,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:648
+#: Configuration.xml:670
#, no-c-format
msgid ""
"You will also need to configure a <emphasis>managed persistence context</"
@@ -1484,7 +1534,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:651
+#: Configuration.xml:673
#, no-c-format
msgid ""
"<![CDATA[<persistence:managed-persistence-context name=\"entityManager\"\n"
@@ -1493,13 +1543,13 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:658
+#: Configuration.xml:680
#, no-c-format
msgid "We can package our application as a WAR, in the following structure:"
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:660
+#: Configuration.xml:682
#, no-c-format
msgid ""
"<![CDATA[my-application.war/\n"
@@ -1536,7 +1586,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:662
+#: Configuration.xml:684
#, no-c-format
msgid ""
"If we want to deploy Hibernate in a non-EE environment like Tomcat or "
@@ -1544,13 +1594,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:669
+#: Configuration.xml:691
#, no-c-format
msgid "Configuring Seam in Java SE, without JBoss Embedded"
msgstr ""
#. Tag: para
-#: Configuration.xml:671
+#: Configuration.xml:693
#, no-c-format
msgid ""
"It is possible to use Seam completely outside of an EE environment. In this "
@@ -1560,7 +1610,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:675
+#: Configuration.xml:697
#, no-c-format
msgid ""
"<![CDATA[<transaction:entity-transaction entity-manager=\"#{entityManager}\"/"
@@ -1568,7 +1618,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:677
+#: Configuration.xml:699
#, no-c-format
msgid ""
"If you're using Hibernate, you can tell Seam to use the Hibernate "
@@ -1576,32 +1626,32 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:679
+#: Configuration.xml:701
#, no-c-format
msgid "<![CDATA[<transaction:hibernate-transaction session=\"#{session}\"/>]]>"
msgstr ""
#. Tag: para
-#: Configuration.xml:681
+#: Configuration.xml:703
#, no-c-format
msgid "Of course, you'll also need to define a datasource."
msgstr ""
#. Tag: para
-#: Configuration.xml:683
+#: Configuration.xml:705
#, no-c-format
msgid ""
"A better alternative is to use JBoss Embedded to get access to the EE APIs."
msgstr ""
#. Tag: title
-#: Configuration.xml:688
+#: Configuration.xml:710
#, no-c-format
msgid "Configuring Seam in Java SE, with JBoss Embedded"
msgstr ""
#. Tag: para
-#: Configuration.xml:690
+#: Configuration.xml:712
#, no-c-format
msgid ""
"JBoss Embedded lets you run EJB3 components outside the context of the Java "
@@ -1610,7 +1660,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:693
+#: Configuration.xml:715
#, no-c-format
msgid ""
"The Seam booking example application includes a TestNG integration test "
@@ -1618,19 +1668,19 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:705
+#: Configuration.xml:727
#, no-c-format
msgid "The booking example application may even be deployed to Tomcat."
msgstr ""
#. Tag: title
-#: Configuration.xml:717
+#: Configuration.xml:739
#, no-c-format
msgid "Installing Embedded JBoss"
msgstr ""
#. Tag: para
-#: Configuration.xml:720
+#: Configuration.xml:742
#, no-c-format
msgid ""
"Embedded JBoss must by installed into Tomcat for Seam applications to run "
@@ -1643,7 +1693,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:734
+#: Configuration.xml:756
#, no-c-format
msgid ""
"Copy all files and directories under the Embedded JBoss <literal>bootstrap</"
@@ -1653,7 +1703,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:741
+#: Configuration.xml:763
#, no-c-format
msgid ""
"Remove the <literal>annotations-api.jar</literal> file from the Tomcat "
@@ -1661,7 +1711,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:747
+#: Configuration.xml:769
#, no-c-format
msgid ""
"Next, two configuration files need to be updated to add Embedded JBoss-"
@@ -1669,7 +1719,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:753
+#: Configuration.xml:775
#, no-c-format
msgid ""
"Add the Embedded JBoss listener <literal>EmbeddedJBossBootstrapListener</"
@@ -1678,7 +1728,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:756
+#: Configuration.xml:778
#, no-c-format
msgid ""
"<![CDATA[<Server port=\"8005\" shutdown=\"SHUTDOWN\">\n"
@@ -1696,7 +1746,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:757
+#: Configuration.xml:779
#, no-c-format
msgid ""
"<![CDATA[ <!-- Add this listener -->\n"
@@ -1705,7 +1755,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:761
+#: Configuration.xml:783
#, no-c-format
msgid ""
"WAR file scanning should be enabled by adding the <literal>WebinfScanner</"
@@ -1713,7 +1763,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:764
+#: Configuration.xml:786
#, no-c-format
msgid ""
"<![CDATA[<Context>\n"
@@ -1728,7 +1778,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:765
+#: Configuration.xml:787
#, no-c-format
msgid ""
"<![CDATA[ <!-- Add this listener -->\n"
@@ -1736,13 +1786,13 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:766
+#: Configuration.xml:788
#, no-c-format
msgid "<![CDATA[</Context>]]>"
msgstr ""
#. Tag: para
-#: Configuration.xml:770
+#: Configuration.xml:792
#, no-c-format
msgid ""
"If you are using Sun JDK 6, you need to set the Java option <literal>sun."
@@ -1752,7 +1802,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:775
+#: Configuration.xml:797
#, no-c-format
msgid ""
"Open the script appropriate for your operating system in a text editor. Add "
@@ -1762,7 +1812,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:779
+#: Configuration.xml:801
#, no-c-format
msgid ""
"<![CDATA[set JAVA_OPTS=%JAVA_OPTS% -Dsun.lang.ClassLoader."
@@ -1770,13 +1820,13 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:781
+#: Configuration.xml:803
#, no-c-format
msgid "On Unix, use this syntax instead:"
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:783
+#: Configuration.xml:805
#, no-c-format
msgid ""
"<![CDATA[JAVA_OPTS=\"$JAVA_OPTS -Dsun.lang.ClassLoader.allowArraySyntax=true"
@@ -1784,7 +1834,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:788
+#: Configuration.xml:810
#, no-c-format
msgid ""
"For more configuration options, please see the Embedded JBoss Tomcat "
@@ -1793,7 +1843,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:796
+#: Configuration.xml:818
#, no-c-format
msgid ""
"The archive structure of a WAR-based deployment on an servlet engine like "
@@ -1801,7 +1851,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:799
+#: Configuration.xml:821
#, no-c-format
msgid ""
"<![CDATA[my-application.war/\n"
@@ -1839,7 +1889,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:801
+#: Configuration.xml:823
#, no-c-format
msgid ""
"Most of the Seam example applications may be deployed to Tomcat by running "
@@ -1847,13 +1897,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:809
+#: Configuration.xml:831
#, no-c-format
msgid "Configuring jBPM in Seam"
msgstr ""
#. Tag: para
-#: Configuration.xml:810
+#: Configuration.xml:832
#, no-c-format
msgid ""
"Seam's jBPM integration is not installed by default, so you'll need to "
@@ -1863,7 +1913,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:814
+#: Configuration.xml:836
#, no-c-format
msgid ""
"<![CDATA[<bpm:jbpm>\n"
@@ -1879,7 +1929,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:816
+#: Configuration.xml:838
#, no-c-format
msgid ""
"No further special configuration is needed if you only have pageflows. If "
@@ -1890,7 +1940,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:821
+#: Configuration.xml:843
#, no-c-format
msgid ""
"<![CDATA[<jbpm-configuration>\n"
@@ -1920,7 +1970,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:823
+#: Configuration.xml:845
#, no-c-format
msgid ""
"The most important thing to notice here is that jBPM transaction control is "
@@ -1928,7 +1978,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:829
+#: Configuration.xml:851
#, no-c-format
msgid ""
"There is not yet any well-defined packaging format for jBPM configuration "
@@ -1939,7 +1989,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:834
+#: Configuration.xml:856
#, no-c-format
msgid ""
"<![CDATA[my-application.ear/\n"
@@ -1986,13 +2036,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:841
+#: Configuration.xml:863
#, no-c-format
msgid "Configuring SFSB and Session Timeouts in JBoss AS"
msgstr ""
#. Tag: para
-#: Configuration.xml:843
+#: Configuration.xml:865
#, no-c-format
msgid ""
"It is very important that the timeout for Stateful Session Beans is set "
@@ -2004,7 +2054,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:849
+#: Configuration.xml:871
#, no-c-format
msgid ""
"The default SFSB timeout can be adjusted by modifying the value of "
@@ -2013,7 +2063,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:852
+#: Configuration.xml:874
#, no-c-format
msgid ""
"<![CDATA[<container-cache-conf>\n"
@@ -2038,7 +2088,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:854
+#: Configuration.xml:876
#, no-c-format
msgid ""
"The default HTTP session timeout can be modified in <literal>server/default/"
@@ -2049,7 +2099,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:859
+#: Configuration.xml:881
#, no-c-format
msgid ""
"<![CDATA[<session-config>\n"
@@ -2059,7 +2109,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:861
+#: Configuration.xml:883
#, no-c-format
msgid ""
"To override this value for your own application, simply include this entry "
@@ -2067,13 +2117,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:867
+#: Configuration.xml:889
#, no-c-format
msgid "Running Seam in a Portlet"
msgstr ""
#. Tag: para
-#: Configuration.xml:869
+#: Configuration.xml:891
#, no-c-format
msgid ""
"If you want to run your Seam application in a portlet, take a look at the "
@@ -2084,13 +2134,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:880
+#: Configuration.xml:902
#, no-c-format
msgid "Deploying custom resources"
msgstr ""
#. Tag: para
-#: Configuration.xml:882
+#: Configuration.xml:904
#, no-c-format
msgid ""
"Seam scans all jars containing <literal>/seam.properties</literal>, "
@@ -2101,7 +2151,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:889
+#: Configuration.xml:911
#, no-c-format
msgid ""
"You may also want Seam to handle custom resources. A common use case is to "
@@ -2111,7 +2161,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:896
+#: Configuration.xml:918
#, no-c-format
msgid ""
"<![CDATA[# A colon-separated list of annotation types to handle\n"
@@ -2119,7 +2169,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:898
+#: Configuration.xml:920
#, no-c-format
msgid ""
"Then, during application startup you can get hold of all classes annotated "
@@ -2127,7 +2177,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:903
+#: Configuration.xml:925
#, no-c-format
msgid ""
"<![CDATA[@Name(\"fooStartup\")\n"
@@ -2159,7 +2209,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:905
+#: Configuration.xml:927
#, no-c-format
msgid ""
"You can also handle <emphasis>any</emphasis> resource. For example, you "
@@ -2168,7 +2218,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:911
+#: Configuration.xml:933
#, no-c-format
msgid ""
"<![CDATA[public class FooDeploymentHandler implements DeploymentHandler {\n"
@@ -2192,7 +2242,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:913
+#: Configuration.xml:935
#, no-c-format
msgid ""
"Here we are just building a list of any files with the suffix <literal>.foo."
@@ -2200,7 +2250,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:918
+#: Configuration.xml:940
#, no-c-format
msgid ""
"Then, we need to register the deployment handler with Seam in <literal>/META-"
@@ -2209,7 +2259,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:925
+#: Configuration.xml:947
#, no-c-format
msgid ""
"<![CDATA[# For standard deployment\n"
@@ -2220,7 +2270,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:931
+#: Configuration.xml:953
#, no-c-format
msgid ""
"Seam uses deployment handlers internally to install components and "
@@ -2229,7 +2279,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:937
+#: Configuration.xml:959
#, no-c-format
msgid ""
"<![CDATA[@Name(\"fooStartup\")\n"
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/es-ES/Webservices.po
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/es-ES/Webservices.po 2009-08-26 19:14:02 UTC (rev 11432)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/es-ES/Webservices.po 2009-08-26 19:19:33 UTC (rev 11433)
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-07-08 14:32+0000\n"
+"POT-Creation-Date: 2009-08-26 18:48+0000\n"
"PO-Revision-Date: 2008-04-04 01:24+0000\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
@@ -392,48 +392,56 @@
#: Webservices.xml:186
#, no-c-format
msgid ""
-"The URI starts with the pattern mapped in <literal>web.xml</literal> for the "
+"The URI starts with the host and context path of your application, e.g. "
+"<literal>http://your.hostname/myapp</literal>."
+msgstr ""
+
+#. Tag: para
+#: Webservices.xml:192
+#, no-c-format
+msgid ""
+"Then the pattern mapped in <literal>web.xml</literal> for the "
"<literal>SeamResourceServlet</literal>, e.g <literal>/seam/resource</"
-"literal> if you follow the common examples. Change this setting to expose "
-"your RESTful resources under a different base. Note that this is a global "
-"change and other Seam resources (e.g. <literal>s:graphicImage</literal>) are "
-"then also served under that base path."
+"literal> if you follow the common examples, is appended. Change this setting "
+"to expose your RESTful resources under a different base. Note that this is a "
+"global change and other Seam resources (e.g. <literal>s:graphicImage</"
+"literal>) are then also served under that base path."
msgstr ""
#. Tag: para
-#: Webservices.xml:195
+#: Webservices.xml:201
#, no-c-format
msgid ""
"The RESTEasy integration for Seam then appends a configurable string to the "
"base path, by default this is <literal>/rest</literal>. Hence, the full base "
-"path of your resources would e.g. be <literal>/seam/resource/rest</literal>. "
-"We recommend that you change this string in your application, you could for "
-"example add a version number to prepare for a future REST API upgrade of "
-"your services (old clients would keep the old URI base): <literal>/seam/"
-"resource/restv1</literal>."
+"path of your resources would e.g. be <literal>/myapp/seam/resource/rest</"
+"literal>. We recommend that you change this string in your application, you "
+"could for example add a version number to prepare for a future REST API "
+"upgrade of your services (old clients would keep the old URI base): "
+"<literal>/myapp/seam/resource/restv1</literal>."
msgstr ""
#. Tag: para
-#: Webservices.xml:204
+#: Webservices.xml:210
#, no-c-format
msgid ""
"Finally, the actual resource is available under the defined <literal>@Path</"
"literal>, e.g. a resource mapped with <literal>@Path(\"/customer\")</"
-"literal> would be available under <literal>/seam/resource/rest/customer</"
-"literal>."
+"literal> would be available under <literal>/myapp/seam/resource/rest/"
+"customer</literal>."
msgstr ""
#. Tag: para
-#: Webservices.xml:212
+#: Webservices.xml:218
#, no-c-format
msgid ""
"As an example, the following resource definition would return a plaintext "
"representation for any GET requests using the URI <literal>http://your."
-"hostname/seam/resource/rest/customer/123</literal>:"
+"hostname/myapp/seam/resource/rest/customer/123</literal>:"
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:217
+#: Webservices.xml:223
#, no-c-format
msgid ""
"<![CDATA[@Path(\"/customer\")\n"
@@ -450,7 +458,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:219
+#: Webservices.xml:225
#, no-c-format
msgid ""
"No additional configuration is required, you do not have to edit "
@@ -461,7 +469,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:225
+#: Webservices.xml:231
#, no-c-format
msgid ""
"<![CDATA[<components\n"
@@ -476,63 +484,39 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:227
+#: Webservices.xml:233
#, no-c-format
msgid ""
"You can then change the <literal>/rest</literal> prefix as mentioned earlier:"
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:231
+#: Webservices.xml:237
#, no-c-format
msgid "<![CDATA[<resteasy:application resource-path-prefix=\"/restv1\"/>]]>"
msgstr ""
#. Tag: para
-#: Webservices.xml:233
-#, no-c-format
-msgid ""
-"The full base path to your resources is now <literal>/seam/resource/restv1/"
-"{resource}</literal> - note that your <literal>@Path</literal> definitions "
-"and mappings do NOT change. This is an application-wide switch usually used "
-"for versioning of the HTTP API."
-msgstr ""
-
-#. Tag: para
#: Webservices.xml:239
#, no-c-format
msgid ""
-"You can disable stripping of the base path if you'd like to map the full "
-"path in your resources:"
+"The full base path to your resources is now <literal>/myapp/seam/resource/"
+"restv1/{resource}</literal> - note that your <literal>@Path</literal> "
+"definitions and mappings do NOT change. This is an application-wide switch "
+"usually used for versioning of the HTTP interface."
msgstr ""
-#. Tag: programlisting
-#: Webservices.xml:243
-#, no-c-format
-msgid "<![CDATA[<resteasy:application strip-seam-resource-path=\"false\"/>]]>"
-msgstr ""
-
#. Tag: para
#: Webservices.xml:245
#, no-c-format
msgid ""
-"The path of a resource is now mapped with e.g. <literal>@Path(\"/seam/"
-"resource/rest/customer\")</literal>. We do not recommend disabling this "
-"feature, as your resource class mappings are then bound to a particular "
-"deployment scenario."
-msgstr ""
-
-#. Tag: para
-#: Webservices.xml:251
-#, no-c-format
-msgid ""
"Seam will scan your classpath for any deployed <literal>@javax.ws.rs.Path</"
"literal> resources and any <literal>@javax.ws.rs.ext.Provider</literal> "
"classes. You can disable scanning and configure these classes manually:"
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:257
+#: Webservices.xml:251
#, no-c-format
msgid ""
"<![CDATA[<resteasy:application\n"
@@ -554,7 +538,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:259
+#: Webservices.xml:253
#, no-c-format
msgid ""
"The <literal>use-built-in-providers</literal> switch enables (default) or "
@@ -564,7 +548,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:265
+#: Webservices.xml:259
#, no-c-format
msgid ""
"RESTEasy supports plain EJBs (EJBs that are not Seam components) as "
@@ -576,20 +560,21 @@
"<literal>@Path</literal>, <literal>@GET</literal>, and so on - not the bean "
"implementation class. This allows you to keep your application deployment-"
"portable with the global Seam <literal>jndi-pattern</literal> switch on "
-"<literal><core:init/></literal>. Note that EJB resources will not be "
-"found even if scanning of resources is enabled, you always have to list them "
-"manually. Again, this is only relevant for EJB resources that are not also "
-"Seam components and that do not have a <literal>@Name</literal> annotation."
+"<literal><core:init/></literal>. Note that plain (non-Seam component) "
+"EJB resources will not be found even if scanning of resources is enabled, "
+"you always have to list them manually. Again, this whole paragraph is only "
+"relevant for EJB resources that are not also Seam components and that do not "
+"have an <literal>@Name</literal> annotation."
msgstr ""
#. Tag: para
-#: Webservices.xml:277
+#: Webservices.xml:272
#, no-c-format
msgid "Finally, you can configure media type and language URI extensions:"
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:281
+#: Webservices.xml:276
#, no-c-format
msgid ""
"<![CDATA[<resteasy:application>\n"
@@ -606,7 +591,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:283
+#: Webservices.xml:278
#, no-c-format
msgid ""
"This definition would map the URI suffix of <literal>.txt.deutsch</literal> "
@@ -616,13 +601,13 @@
msgstr ""
#. Tag: title
-#: Webservices.xml:292
+#: Webservices.xml:287
#, no-c-format
msgid "Resources and providers as Seam components"
msgstr ""
#. Tag: para
-#: Webservices.xml:294
+#: Webservices.xml:289
#, no-c-format
msgid ""
"Any resource and provider instances are managed by RESTEasy by default. That "
@@ -633,7 +618,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:301
+#: Webservices.xml:296
#, no-c-format
msgid ""
"You can write resources and providers as Seam components and benefit from "
@@ -642,7 +627,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:307
+#: Webservices.xml:302
#, no-c-format
msgid ""
"<![CDATA[@Name(\"customerResource\")\n"
@@ -663,7 +648,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:309
+#: Webservices.xml:304
#, no-c-format
msgid ""
"An instance of <literal>customerResource</literal> is now handled by Seam "
@@ -677,7 +662,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:318
+#: Webservices.xml:313
#, no-c-format
msgid ""
"You can annotate an interface and keep the implementation free from JAX-RS "
@@ -685,7 +670,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:322
+#: Webservices.xml:317
#, no-c-format
msgid ""
"<![CDATA[@Path(\"/customer\")\n"
@@ -700,7 +685,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:324
+#: Webservices.xml:319
#, no-c-format
msgid ""
"<![CDATA[@Name(\"customerResource\")\n"
@@ -718,7 +703,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:326
+#: Webservices.xml:321
#, no-c-format
msgid ""
"You can use <literal>SESSION</literal>-scoped Seam components. By default, "
@@ -733,7 +718,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:335
+#: Webservices.xml:330
#, no-c-format
msgid ""
"Assuming that your Seam application only uses event, application, or "
@@ -745,7 +730,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:342
+#: Webservices.xml:337
#, no-c-format
msgid ""
"If your RESTful Seam application has to preserve session state across REST "
@@ -753,14 +738,14 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:347
+#: Webservices.xml:342
#, no-c-format
msgid ""
"<![CDATA[<resteasy:application destroy-session-after-request=\"false\"/>]]>"
msgstr ""
#. Tag: para
-#: Webservices.xml:349
+#: Webservices.xml:344
#, no-c-format
msgid ""
"Every REST HTTP request will now create a new session that will only be "
@@ -771,7 +756,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:356
+#: Webservices.xml:351
#, no-c-format
msgid ""
"<literal>CONVERSATION</literal>-scoped resource components and mapping of "
@@ -780,7 +765,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:361
+#: Webservices.xml:356
#, no-c-format
msgid ""
"EJB Seam components are supported. Always annotate the local business "
@@ -789,7 +774,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:366
+#: Webservices.xml:361
#, no-c-format
msgid ""
"Provider classes can also be Seam components, only <literal>APPLICATION</"
@@ -799,13 +784,13 @@
msgstr ""
#. Tag: title
-#: Webservices.xml:375
+#: Webservices.xml:370
#, no-c-format
msgid "Securing resources"
msgstr ""
#. Tag: para
-#: Webservices.xml:377
+#: Webservices.xml:372
#, no-c-format
msgid ""
"You can enable the Seam authentication filter for HTTP Basic and Digest "
@@ -813,7 +798,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:382
+#: Webservices.xml:377
#, no-c-format
msgid ""
"<![CDATA[<web:authentication-filter url-pattern=\"/seam/resource/rest/*\" "
@@ -821,14 +806,14 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:384
+#: Webservices.xml:379
#, no-c-format
msgid ""
"See the Seam security chapter on how to write an authentication routine."
msgstr ""
#. Tag: para
-#: Webservices.xml:388
+#: Webservices.xml:383
#, no-c-format
msgid ""
"After successful authentication, authorization rules with the common "
@@ -839,13 +824,13 @@
msgstr ""
#. Tag: title
-#: Webservices.xml:398
+#: Webservices.xml:393
#, no-c-format
msgid "Mapping exceptions to HTTP responses"
msgstr ""
#. Tag: para
-#: Webservices.xml:400
+#: Webservices.xml:395
#, no-c-format
msgid ""
"Section 3.3.4 of the JAX-RS specification defines how checked or unchecked "
@@ -858,7 +843,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:408
+#: Webservices.xml:403
#, no-c-format
msgid ""
"Exception handling within Seam requires that the Seam filter is executed for "
@@ -870,7 +855,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:415
+#: Webservices.xml:410
#, no-c-format
msgid ""
"<![CDATA[<filter>\n"
@@ -885,7 +870,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:417
+#: Webservices.xml:412
#, no-c-format
msgid ""
"To convert the unchecked <literal>UnsupportedOperationException</literal> "
@@ -895,7 +880,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:423
+#: Webservices.xml:418
#, no-c-format
msgid ""
"<![CDATA[<exception class=\"java.lang.UnsupportedOperationException\">\n"
@@ -906,13 +891,13 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:425
+#: Webservices.xml:420
#, no-c-format
msgid "Custom or checked exceptions are handled the same:"
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:429
+#: Webservices.xml:424
#, no-c-format
msgid ""
"<![CDATA[<exception class=\"my.CustomException\" log=\"false\">\n"
@@ -924,7 +909,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:431
+#: Webservices.xml:426
#, no-c-format
msgid ""
"You do not have to send an HTTP error to the client if an exception occurs. "
@@ -935,7 +920,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:438
+#: Webservices.xml:433
#, no-c-format
msgid ""
"Note that the HTTP response still passes through the servlet container, so "
@@ -946,13 +931,13 @@
msgstr ""
#. Tag: title
-#: Webservices.xml:447
+#: Webservices.xml:442
#, no-c-format
msgid "Testing resources and providers"
msgstr ""
#. Tag: para
-#: Webservices.xml:449
+#: Webservices.xml:444
#, no-c-format
msgid ""
"Seam includes a unit testing utility class that helps you create unit tests "
@@ -962,7 +947,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:455
+#: Webservices.xml:450
#, no-c-format
msgid ""
"<![CDATA[import org.jboss.seam.mock.ResourceRequestEnvironment;\n"
@@ -1019,7 +1004,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:457
+#: Webservices.xml:452
#, no-c-format
msgid ""
"This test only executes local calls, it does not communicate with the "
@@ -1032,7 +1017,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:465
+#: Webservices.xml:460
#, no-c-format
msgid ""
"Note that a <literal>ResourceRequest</literal> has to be executed in a "
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/es-ES/Websphere.po
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/es-ES/Websphere.po 2009-08-26 19:14:02 UTC (rev 11432)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/es-ES/Websphere.po 2009-08-26 19:19:33 UTC (rev 11433)
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-08-22 13:17+0000\n"
+"POT-Creation-Date: 2009-08-26 18:48+0000\n"
"PO-Revision-Date: 2008-04-04 01:24+0000\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
@@ -76,25 +76,27 @@
#, no-c-format
msgid ""
"The following sections in this chapter assume that WebSphere is correctly "
-"installed and is functional, and a profile has been successfully created."
+"installed and is functional, and a WebSphere \"profile\" has been "
+"successfully created."
msgstr ""
#. Tag: para
#: Websphere.xml:40
#, no-c-format
msgid ""
-"This chapter explain how to compile, deploy and run some sample applications "
-"in WebSphere. These sample applications require a database. WebSphere comes "
-"by default with a set of sample applications called \"Default Application\". "
-"This set of sample applications use a Derby database running on the Derby "
-"instance installed with WebSphere. In order to keep this simple we'll use "
-"this Derby database created for the \"Default Applications\". However, to "
-"run the sample application with the Derby database \"as-is\", a patched "
-"Hibernate dialect must be used (The patch changes the default \"auto\" key "
-"generation strategy) as explained in <xref linkend=\"glassfish\"/>. If you "
-"want to use another database, it's just a matter of creating a connection "
-"pool in WebSphere pointing to this database, declare the correct Hibernate "
-"dialect and set the correct JNDI name in <literal>persistence.xml</literal>."
+"This chapter explains how to compile, deploy and run some sample "
+"applications in WebSphere. These sample applications require a database. "
+"WebSphere comes by default with a set of sample applications called "
+"\"Default Application\". This set of sample applications use a Derby "
+"database running on the Derby instance installed within WebSphere. In order "
+"to keep this simple we'll use this Derby database created for the \"Default "
+"Applications\". However, to run the sample application with the Derby "
+"database \"as-is\", a patched Hibernate dialect must be used (The patch "
+"changes the default \"auto\" key generation strategy) as explained in <xref "
+"linkend=\"glassfish\"/>. If you want to use another database, it's just a "
+"matter of creating a connection pool in WebSphere pointing to this database, "
+"declare the correct Hibernate dialect and set the correct JNDI name in "
+"<literal>persistence.xml</literal>."
msgstr ""
#. Tag: title
@@ -144,14 +146,14 @@
#, no-c-format
msgid ""
"On the right navigation menu, select <literal>Web Container Settings/Web "
-"container</literal>)"
+"container</literal>"
msgstr ""
#. Tag: listitem
#: Websphere.xml:73
#, no-c-format
msgid ""
-"On the right navigation menu, select <literal>custom properties</literal>) "
+"On the right navigation menu, select <literal>custom properties</literal> "
"and add the following properties:"
msgstr ""
@@ -170,7 +172,7 @@
#. Tag: listitem
#: Websphere.xml:84
#, no-c-format
-msgid "Save and restart the server"
+msgid "Save the configuration and restart the server"
msgstr ""
#. Tag: title
@@ -189,38 +191,38 @@
msgstr ""
#. Tag: listitem
-#: Websphere.xml:97
+#: Websphere.xml:96
#, no-c-format
msgid ""
"The global <literal>jndi-pattern</literal> switch on the <literal><core:"
-"init></literal>. in <literal>components.xml</literal>. The switch can use "
-"a special placeholder \"<literal>#{ejbName}</literal>\" that resolves to the "
-"unqualified name of the EJB"
+"init></literal>tag in <literal>components.xml</literal>. The switch can "
+"use a special placeholder \"<literal>#{ejbName}</literal>\" that resolves to "
+"the unqualified name of the EJB"
msgstr ""
#. Tag: para
-#: Websphere.xml:102
+#: Websphere.xml:100
#, no-c-format
msgid "The <literal>@JndiName</literal> annotation"
msgstr ""
#. Tag: para
-#: Websphere.xml:108
+#: Websphere.xml:106
#, no-c-format
msgid "gives detailed explanations on how those mechanisms work."
msgstr ""
#. Tag: para
-#: Websphere.xml:112
+#: Websphere.xml:110
#, no-c-format
msgid ""
-"By default, WebSphere will bind the session bean in its local JNDI name "
-"space under a \"short\" binding name that adheres to the following pattern "
+"By default, WebSphere will bind session beans in its local JNDI name space "
+"under a \"short\" binding name that adheres to the following pattern "
"<literal>ejblocal:<package.qualified.local.interface.name></literal>."
msgstr ""
#. Tag: para
-#: Websphere.xml:117
+#: Websphere.xml:115
#, no-c-format
msgid ""
"For a detailed description on how WebSphere v7 organizes and binds EJBs in "
@@ -228,7 +230,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:120
+#: Websphere.xml:118
#, no-c-format
msgid ""
"As explained before, Seam needs to lookup for session bean as they appear in "
@@ -236,35 +238,35 @@
msgstr ""
#. Tag: listitem
-#: Websphere.xml:124
+#: Websphere.xml:121
#, no-c-format
msgid ""
"Specify which JNDI name Seam must use for each session bean using the "
-"<literal>@JndiName</literal> annotation in the java source file"
+"<literal>@JndiName</literal> annotation in the java source file,"
msgstr ""
#. Tag: listitem
-#: Websphere.xml:127
+#: Websphere.xml:123
#, no-c-format
msgid ""
"Override the default session bean names generated by WebSphere to conform to "
-"the <literal>jndi-pattern</literal> attribute"
+"the <literal>jndi-pattern</literal> attribute,"
msgstr ""
#. Tag: listitem
-#: Websphere.xml:130
+#: Websphere.xml:126
#, no-c-format
-msgid "Use EJB references"
+msgid "Use EJB references."
msgstr ""
#. Tag: title
-#: Websphere.xml:137
+#: Websphere.xml:133
#, no-c-format
msgid "Strategy 1: Specify which JNDI name Seam must use for each Session Bean"
msgstr ""
#. Tag: para
-#: Websphere.xml:138
+#: Websphere.xml:134
#, no-c-format
msgid ""
"This strategy is the simplest and fastest one regarding development. It uses "
@@ -272,7 +274,7 @@
msgstr ""
#. Tag: listitem
-#: Websphere.xml:141
+#: Websphere.xml:137
#, no-c-format
msgid ""
"Add a <literal>@JndiName(\"ejblocal:<package.qualified.local.interface."
@@ -280,20 +282,20 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:145 Websphere.xml:188
+#: Websphere.xml:141 Websphere.xml:184
#, no-c-format
msgid ""
"<para>In <literal>components.xml</literal>, add the following line:</para>"
msgstr ""
#. Tag: programlisting
-#: Websphere.xml:147 Websphere.xml:220
+#: Websphere.xml:143 Websphere.xml:216
#, no-c-format
msgid "<![CDATA[<core:init jndi-name=\"java:comp/env/#{ejbName}\" />]]>"
msgstr ""
#. Tag: para
-#: Websphere.xml:151
+#: Websphere.xml:147
#, no-c-format
msgid ""
"Add a file named <literal>WEB-INF/classes/seam-jndi.properties</literal> in "
@@ -301,7 +303,7 @@
msgstr ""
#. Tag: programlisting
-#: Websphere.xml:153
+#: Websphere.xml:149
#, no-c-format
msgid ""
"com.ibm.websphere.naming.hostname.normalizer=com.ibm.ws.naming.util."
@@ -323,13 +325,13 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:157
+#: Websphere.xml:153
#, no-c-format
msgid "At the end of <literal>web.xml</literal>, add the following lines:"
msgstr ""
#. Tag: programlisting
-#: Websphere.xml:159
+#: Websphere.xml:155
#, no-c-format
msgid ""
"<![CDATA[<ejb-local-ref>\n"
@@ -341,7 +343,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:164
+#: Websphere.xml:160
#, no-c-format
msgid ""
"That's all folks! No need to update any file during the development, nor to "
@@ -349,23 +351,23 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:167
+#: Websphere.xml:163
#, no-c-format
msgid ""
-"Compared to the other strategies, this strategy has the advantage not to "
-"have to manage any EJBs reference and also not to have to maintain extra "
+"Compared to the other strategies, this strategy has the advantage to not "
+"have to manage any EJBs reference and also to not have to maintain extra "
"files. The only drawback is one extra line in the java source code with the "
"<literal>@JndiName</literal> annotation"
msgstr ""
#. Tag: title
-#: Websphere.xml:174
+#: Websphere.xml:170
#, no-c-format
msgid "Strategy 2: Override the default names generated by WebSphere"
msgstr ""
#. Tag: section
-#: Websphere.xml:174
+#: Websphere.xml:170
#, no-c-format
msgid ""
"There is no simple way to globally override the default naming strategy for "
@@ -374,13 +376,13 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:177
+#: Websphere.xml:173
#, no-c-format
msgid "To use this strategy:"
msgstr ""
#. Tag: para
-#: Websphere.xml:181
+#: Websphere.xml:177
#, no-c-format
msgid ""
"Add a file named <literal>META-INF/ibm-ejb-jar-ext.xml</literal> in the EJB "
@@ -405,13 +407,13 @@
msgstr ""
#. Tag: programlisting
-#: Websphere.xml:190
+#: Websphere.xml:186
#, no-c-format
msgid "<![CDATA[<core:init jndi-name=\"ejblocal:#{ejbName}\" />]]>"
msgstr ""
#. Tag: para
-#: Websphere.xml:194
+#: Websphere.xml:190
#, no-c-format
msgid ""
"Add a file named <literal>WEB-INF/classes/seam-jndi.properties</literal> as "
@@ -419,7 +421,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:199
+#: Websphere.xml:195
#, no-c-format
msgid ""
"In <literal>web.xml</literal>, add the following lines (Note the different "
@@ -427,7 +429,7 @@
msgstr ""
#. Tag: programlisting
-#: Websphere.xml:201
+#: Websphere.xml:197
#, no-c-format
msgid ""
"<![CDATA[<ejb-local-ref>\n"
@@ -439,7 +441,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:206
+#: Websphere.xml:202
#, no-c-format
msgid ""
"Compared to the first strategy, this strategy requires to maintain an extra "
@@ -449,13 +451,13 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:215
+#: Websphere.xml:211
#, no-c-format
msgid "Strategy 3: Use EJB references"
msgstr ""
#. Tag: section
-#: Websphere.xml:215
+#: Websphere.xml:211
#, no-c-format
msgid ""
"This strategy is based on the usage of EJB references, from EJB to EJB and "
@@ -463,7 +465,7 @@
msgstr ""
#. Tag: listitem
-#: Websphere.xml:218
+#: Websphere.xml:214
#, no-c-format
msgid ""
"<listitem>In <literal>components.xml</literal>, add the following line:</"
@@ -471,7 +473,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:223
+#: Websphere.xml:219
#, no-c-format
msgid ""
"Follow the instructions in <xref linkend=\"config.integration.ejb.container"
@@ -479,7 +481,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:228
+#: Websphere.xml:224
#, no-c-format
msgid ""
"This is the most tedious strategy as each session bean referenced by another "
@@ -489,27 +491,27 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:239
+#: Websphere.xml:235
#, no-c-format
msgid "Configuring timeouts for Stateful Session Beans"
msgstr ""
#. Tag: para
-#: Websphere.xml:240
+#: Websphere.xml:236
#, no-c-format
msgid ""
"A timeout value has to be set for each stateful session bean used in the "
"application because stateful bean must not expire in WebSphere while Seam "
-"might still need thenm. At the time of writing this document, WebSphere does "
+"might still need them. At the time of writing this document, WebSphere does "
"not provide a way to configure a global timeout at neither the cluster, "
"server, application nor ejb-jar level. It has to be done for each stateful "
-"bean individually. This is done by adding a file named <literal>META-INF/ibm-"
-"ejb-jar-ext.xml</literal> in the EJB module, and declare the timeout value "
-"for each bean:"
+"bean individually. By default, the default timeout is 10 minutes. This is "
+"done by adding a file named <literal>META-INF/ibm-ejb-jar-ext.xml</literal> "
+"in the EJB module, and declare the timeout value for each bean:"
msgstr ""
#. Tag: programlisting
-#: Websphere.xml:246
+#: Websphere.xml:242
#, no-c-format
msgid ""
"<![CDATA[<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
@@ -529,24 +531,24 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:248
+#: Websphere.xml:244
#, no-c-format
msgid ""
"The <literal>time-out</literal> is expressed in seconds and must be higher "
"than the Seam conversation expiration timeout and a few minutes higher than "
"the user's HTTP session timeout (The session expiration timeout can trigger "
-"a few minutes after the number of minutes declared to expire s for the HTTP "
-"session expiration)."
+"a few minutes after the number of minutes declared to expire the HTTP "
+"session)."
msgstr ""
#. Tag: title
-#: Websphere.xml:257
+#: Websphere.xml:253
#, no-c-format
msgid "The <literal>jee5/booking</literal> example"
msgstr ""
#. Tag: para
-#: Websphere.xml:259
+#: Websphere.xml:255
#, no-c-format
msgid ""
"The<literal>jee5/booking</literal>example is based on the Hotel Booking "
@@ -557,23 +559,32 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:265
+#: Websphere.xml:261
#, no-c-format
msgid ""
-"For running this example, we'll use the second JNDI mapping strategy "
-"(\"Override the default names generated by WebSphere\") as we don't want to "
-"change the java code to add the <literal>@JndiName</literal> annotation as "
-"in the first strategy."
+"The example already has a breakout of configurations and build scripts for "
+"WebSphere. First thing, we are going to do is build and deploy this example. "
+"Then we'll go over some key changes that we needed."
msgstr ""
+#. Tag: para
+#: Websphere.xml:266
+#, no-c-format
+msgid ""
+"The tailored configuration files for WebSphere use the second JNDI mapping "
+"strategy (\"Override the default names generated by WebSphere\") as the goal "
+"was to not change any java code to add the <literal>@JndiName</literal> "
+"annotation as in the first strategy."
+msgstr ""
+
#. Tag: title
-#: Websphere.xml:271
+#: Websphere.xml:272
#, no-c-format
msgid "Building the <literal>jee5/booking</literal> example"
msgstr ""
#. Tag: para
-#: Websphere.xml:273
+#: Websphere.xml:274
#, no-c-format
msgid ""
"Building it only requires running the correct ant command: "
@@ -583,21 +594,21 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:280
+#: Websphere.xml:281
#, no-c-format
msgid "Deploying the <literal>jee5/booking</literal> example"
msgstr ""
#. Tag: para
-#: Websphere.xml:281
+#: Websphere.xml:282
#, no-c-format
msgid ""
-"The steps below are for the WAS version stated above.The ports are default "
-"values, if you changed them, you must substitute the values."
+"The steps below are for the WAS version stated above.The ports are the "
+"default values, if you changed them, you must substitute the values."
msgstr ""
#. Tag: listitem
-#: Websphere.xml:284
+#: Websphere.xml:285
#, no-c-format
msgid ""
"Log in to the administration console <programlisting><![CDATA[http://"
@@ -606,7 +617,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:291
+#: Websphere.xml:292
#, no-c-format
msgid ""
"Go to the <literal>WebSphere enterprise applications</literal> menu option "
@@ -615,7 +626,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:298
+#: Websphere.xml:299
#, no-c-format
msgid ""
"At the top of the <literal>Enterprise Applications</literal> table select "
@@ -624,13 +635,13 @@
msgstr ""
#. Tag: literal
-#: Websphere.xml:304
+#: Websphere.xml:305
#, no-c-format
msgid "Preparing for the application installation"
msgstr ""
#. Tag: para
-#: Websphere.xml:307
+#: Websphere.xml:308
#, no-c-format
msgid ""
"Browse to the <literal>examples/jee5/booking/dist-websphere7/jboss-seam-jee5."
@@ -638,25 +649,25 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:313 Websphere.xml:323 Websphere.xml:341
+#: Websphere.xml:314 Websphere.xml:324 Websphere.xml:342
#, no-c-format
msgid "Select the <literal>Next</literal> button."
msgstr ""
#. Tag: para
-#: Websphere.xml:318
+#: Websphere.xml:319
#, no-c-format
msgid "Select the <literal>Fast Path</literal> button."
msgstr ""
#. Tag: literal
-#: Websphere.xml:332
+#: Websphere.xml:333
#, no-c-format
msgid "Select installation options"
msgstr ""
#. Tag: para
-#: Websphere.xml:335
+#: Websphere.xml:336
#, no-c-format
msgid ""
"Select the <literal>Deploy enterprise beans and Allow EJB reference targets "
@@ -665,13 +676,13 @@
msgstr ""
#. Tag: literal
-#: Websphere.xml:350
+#: Websphere.xml:351
#, no-c-format
msgid "Map modules to servers"
msgstr ""
#. Tag: para
-#: Websphere.xml:353
+#: Websphere.xml:354
#, no-c-format
msgid ""
"No changes needed here as we only have one server. Select the <literal>Next</"
@@ -679,13 +690,13 @@
msgstr ""
#. Tag: literal
-#: Websphere.xml:362
+#: Websphere.xml:363
#, no-c-format
msgid "Map virtual hosts for Web modules"
msgstr ""
#. Tag: para
-#: Websphere.xml:365
+#: Websphere.xml:366
#, no-c-format
msgid ""
"No changes needed here as we only have one virtual host. Select the "
@@ -693,31 +704,31 @@
msgstr ""
#. Tag: literal
-#: Websphere.xml:374
+#: Websphere.xml:375
#, no-c-format
msgid "Summary"
msgstr ""
#. Tag: para
-#: Websphere.xml:377
+#: Websphere.xml:378
#, no-c-format
msgid "No changes needed here. Select the <literal>Finish</literal> button."
msgstr ""
#. Tag: literal
-#: Websphere.xml:384
+#: Websphere.xml:385
#, no-c-format
msgid "Installation"
msgstr ""
#. Tag: para
-#: Websphere.xml:387
+#: Websphere.xml:388
#, no-c-format
msgid "Now you will see WebSphere installing and deploying your application."
msgstr ""
#. Tag: para
-#: Websphere.xml:390
+#: Websphere.xml:391
#, no-c-format
msgid ""
"When done, select the <literal>Save</literal> link and you will be returned "
@@ -725,15 +736,15 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:399
+#: Websphere.xml:400
#, no-c-format
msgid ""
-"To start the application select our application in the list, then click on "
+"To start the application, select the application in the list, then click on "
"the <literal>Start</literal> button at the top of the table."
msgstr ""
#. Tag: para
-#: Websphere.xml:409
+#: Websphere.xml:410
#, no-c-format
msgid ""
"You can now access the application at <literal>http://localhost:9080/seam-"
@@ -741,13 +752,13 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:418
+#: Websphere.xml:419
#, no-c-format
msgid "Deviation from the original base files"
msgstr ""
#. Tag: section
-#: Websphere.xml:418
+#: Websphere.xml:419
#, no-c-format
msgid ""
"Below are the differences between the base configuration files and the "
@@ -756,7 +767,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:422
+#: Websphere.xml:423
#, no-c-format
msgid ""
"<literal>META-INF/ejb-jar.xml</literal> — Removed all the EJB "
@@ -764,37 +775,37 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:428
+#: Websphere.xml:429
#, no-c-format
msgid ""
"<literal>META-INF/ibm-ejb-jar-bnd.xml</literal> — This WebSphere "
"specific file has been added as we use the second JNDI mapping strategy. It "
-"defines, for each session bean, the name WebSphere will use to bind it its "
-"JNDI name space"
+"defines, for each session bean, the name WebSphere will use to bind it in "
+"its JNDI name space"
msgstr ""
#. Tag: para
-#: Websphere.xml:435
+#: Websphere.xml:436
#, no-c-format
msgid ""
"<literal>META-INF/ibm-ejb-jar-ext.xml</literal> — This WebSphere "
-"specific file defines to WebSphere, the timeout value for each stateful bean"
+"specific file defines the timeout value for each stateful bean"
msgstr ""
#. Tag: para
-#: Websphere.xml:441
+#: Websphere.xml:442
#, no-c-format
msgid ""
"<literal>META-INF/persistence.xml</literal> — The main changes here "
"are for the datasource JNDI path, switching to the WebSphere transaction "
"manager lookup class, turning off the <literal>hibernate.transaction."
"flush_before_completion</literal> toggle, and forcing the Hibernate dialect "
-"to be <literal>GlassfishDerbyDialect</literal> how as using the integrated "
-"Derby database"
+"to be <literal>GlassfishDerbyDialect</literal> as we are using the "
+"integrated Derby database"
msgstr ""
#. Tag: para
-#: Websphere.xml:451
+#: Websphere.xml:452
#, no-c-format
msgid ""
"<literal>WEB-INF/components.xml</literal> — the change here is "
@@ -803,7 +814,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:459
+#: Websphere.xml:460
#, no-c-format
msgid ""
"<literal>WEB-INF/web.xml</literal> — Remove all the <literal>ejb-local "
@@ -813,7 +824,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:467 Websphere.xml:549
+#: Websphere.xml:468
#, no-c-format
msgid ""
"<literal>import.sql</literal> — due to the cutomized hibernate Derby "
@@ -822,7 +833,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:474
+#: Websphere.xml:475
#, no-c-format
msgid ""
"Also the build procedure has been changed to include the <literal>log4j.jar</"
@@ -831,13 +842,13 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:486
+#: Websphere.xml:487
#, no-c-format
msgid "The <literal>jpa</literal> booking example"
msgstr ""
#. Tag: para
-#: Websphere.xml:488
+#: Websphere.xml:489
#, no-c-format
msgid ""
"This is the Hotel Booking example implemented in Seam POJOs and using "
@@ -845,7 +856,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:493
+#: Websphere.xml:494
#, no-c-format
msgid ""
"The example already has a breakout of configurations and build scripts for "
@@ -853,7 +864,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:498
+#: Websphere.xml:499
#, no-c-format
msgid ""
"First thing, we are going to do is build and deploy that example. Then we'll "
@@ -861,13 +872,13 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:504
+#: Websphere.xml:505
#, no-c-format
msgid "Building the <literal>jpa</literal> example"
msgstr ""
#. Tag: para
-#: Websphere.xml:505
+#: Websphere.xml:506
#, no-c-format
msgid ""
"Building it only requires running the correct ant command: "
@@ -877,13 +888,13 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:514
+#: Websphere.xml:515
#, no-c-format
msgid "Deploying the <literal>jpa</literal> example"
msgstr ""
#. Tag: para
-#: Websphere.xml:515
+#: Websphere.xml:516
#, no-c-format
msgid ""
"Deploying <literal>jpa</literal> application is very similar to the "
@@ -894,7 +905,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:521
+#: Websphere.xml:522
#, no-c-format
msgid ""
"Follow the same instructions as for the <literal>jee5/booking</literal> "
@@ -902,11 +913,11 @@
"literal> file on the first page and on the <literal>Map context roots for "
"Web modules</literal> page (after the <literal>Map virtual host for Web "
"module</literal>), enter the context root you want to use for your "
-"application in the <literal>Contect Root</literal> input field."
+"application in the <literal>Context Root</literal> input field."
msgstr ""
#. Tag: para
-#: Websphere.xml:528
+#: Websphere.xml:529
#, no-c-format
msgid ""
"When started, you can now access the application at the <literal>http://"
@@ -914,13 +925,13 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:534
+#: Websphere.xml:535
#, no-c-format
msgid "Deviation from the generic base files"
msgstr ""
#. Tag: section
-#: Websphere.xml:534
+#: Websphere.xml:535
#, no-c-format
msgid ""
"Below are the configuration file differences between the base configuration "
@@ -929,7 +940,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:539
+#: Websphere.xml:540
#, no-c-format
msgid ""
"<literal>META-INF/persistence.xml</literal> — The main changes here "
@@ -941,9 +952,18 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:556
+#: Websphere.xml:550
#, no-c-format
msgid ""
+"<literal>import.sql</literal> — due to the customized hibernate Derby "
+"dialect, the <literal>ID</literal> column can not be populated by this file "
+"and was removed."
+msgstr ""
+
+#. Tag: para
+#: Websphere.xml:557
+#, no-c-format
+msgid ""
"Also the build procedure have been changed to include the <literal>log4j."
"jar</literal> file and exclude the <literal>concurrent.jar</literal> and "
"<literal>jboss-common-core.jar</literal> files."
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/es-MX/Configuration.po
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/es-MX/Configuration.po 2009-08-26 19:14:02 UTC (rev 11432)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/es-MX/Configuration.po 2009-08-26 19:19:33 UTC (rev 11433)
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: Seam_-_Contextual_Components VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-05-05 12:31+0000\n"
+"POT-Creation-Date: 2009-08-26 18:47+0000\n"
"PO-Revision-Date: 2008-11-06 00:08+0000\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
@@ -677,13 +677,63 @@
msgstr ""
#. Tag: title
+#: Configuration.xml:325
+#, no-c-format
+msgid "Enabling HTTP cache-control headers"
+msgstr ""
+
+#. Tag: para
#: Configuration.xml:326
#, no-c-format
+msgid ""
+"Seam does <emphasis>not</emphasis> automatically add <literal>cache-control</"
+"literal> HTTP headers to any resources served by the Seam resource servlet, "
+"or directly from your view directory by the servlet container. This means "
+"that your images, Javascript and CSS files, and resource representations "
+"from Seam resource servlet such as Seam Remoting Javascript interfaces are "
+"usually not cached by the browser. This is convenient in development but "
+"should be changed in production when optimizing the application."
+msgstr ""
+
+#. Tag: para
+#: Configuration.xml:334
+#, no-c-format
+msgid ""
+"You can configure a Seam filter to enable automatic addition of "
+"<literal>cache-control</literal> headers depending on the requested URI in "
+"<literal>components.xml</literal>:"
+msgstr ""
+
+#. Tag: programlisting
+#: Configuration.xml:339
+#, no-c-format
+msgid ""
+"<![CDATA[<web:cache-control-filter name=\"commonTypesCacheControlFilter\"\n"
+" regex-url-pattern=\".*(\\.gif|\\.png|\\.jpg|\\."
+"jpeg|\\.css|\\.js)\"\n"
+" value=\"max-age=86400\"/> <!-- 1 day -->\n"
+"\n"
+"<web:cache-control-filter name=\"anotherCacheControlFilter\"\n"
+" url-pattern=\"/my/cachable/resources/*\"\n"
+" value=\"max-age=432000\"/> <!-- 5 days -->]]>"
+msgstr ""
+
+#. Tag: para
+#: Configuration.xml:341
+#, no-c-format
+msgid ""
+"You do not have to name the filters unless you have more than one filter "
+"enabled."
+msgstr ""
+
+#. Tag: title
+#: Configuration.xml:348
+#, no-c-format
msgid "Adding custom filters"
msgstr ""
#. Tag: para
-#: Configuration.xml:327
+#: Configuration.xml:349
#, no-c-format
msgid ""
"Seam can install your filters for you, allowing you to specify "
@@ -695,7 +745,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:332
+#: Configuration.xml:354
#, no-c-format
msgid ""
"<![CDATA[@Startup\n"
@@ -707,7 +757,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:334
+#: Configuration.xml:356
#, no-c-format
msgid ""
"Adding the <literal>@Startup</literal> annotation means thar the component "
@@ -718,13 +768,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:343
+#: Configuration.xml:365
#, no-c-format
msgid "Integrating Seam with your EJB container"
msgstr ""
#. Tag: para
-#: Configuration.xml:345
+#: Configuration.xml:367
#, no-c-format
msgid ""
"In a Seam application, EJB components have a certain duality, as they are "
@@ -735,7 +785,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:350
+#: Configuration.xml:372
#, no-c-format
msgid ""
"We need to apply the <literal>SeamInterceptor</literal> to our Seam EJB "
@@ -747,7 +797,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:355
+#: Configuration.xml:377
#, no-c-format
msgid ""
"<![CDATA[<interceptors>\n"
@@ -768,7 +818,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:357
+#: Configuration.xml:379
#, no-c-format
msgid ""
"Seam needs to know where to go to find session beans in JNDI. One way to do "
@@ -782,19 +832,19 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:364
+#: Configuration.xml:386
#, no-c-format
msgid "For JBoss AS, the following pattern is correct:"
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:366
+#: Configuration.xml:388
#, no-c-format
msgid "<![CDATA[<core:init jndi-name=\"earName/#{ejbName}/local\" />]]>"
msgstr ""
#. Tag: para
-#: Configuration.xml:368
+#: Configuration.xml:390
#, no-c-format
msgid ""
"In this case, <literal>earName</literal> is the name of the EAR in which the "
@@ -804,7 +854,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:372
+#: Configuration.xml:394
#, no-c-format
msgid ""
"Outside the context of an EAR (when using the JBoss Embeddable EJB3 "
@@ -813,13 +863,13 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:375
+#: Configuration.xml:397
#, no-c-format
msgid "<![CDATA[<core:init jndi-name=\"#{ejbName}/local\" />]]>"
msgstr ""
#. Tag: para
-#: Configuration.xml:377
+#: Configuration.xml:399
#, no-c-format
msgid ""
"How these JNDI names are resolved and somehow locate an EJB component might "
@@ -828,7 +878,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:381
+#: Configuration.xml:403
#, no-c-format
msgid ""
"The folks at JBoss don't care much for XML, if you can't tell. So when they "
@@ -839,14 +889,14 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:387
+#: Configuration.xml:409
#, no-c-format
msgid ""
"The value of the <literal><ejb-name></literal> element in ejb-jar.xml"
msgstr ""
#. Tag: para
-#: Configuration.xml:390
+#: Configuration.xml:412
#, no-c-format
msgid ""
"The value of the <literal>name</literal> attribute in the @Stateless or "
@@ -854,13 +904,13 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:393
+#: Configuration.xml:415
#, no-c-format
msgid "The simple name of the bean class"
msgstr ""
#. Tag: para
-#: Configuration.xml:397
+#: Configuration.xml:419
#, no-c-format
msgid ""
"Let's look at an example. Assume that you have the following EJB bean and "
@@ -868,7 +918,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:399
+#: Configuration.xml:421
#, no-c-format
msgid ""
"<![CDATA[package com.example.myapp;\n"
@@ -895,7 +945,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:401
+#: Configuration.xml:423
#, no-c-format
msgid ""
"Assuming your EJB bean class is deployed in an EAR named myapp, the global "
@@ -907,7 +957,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:407
+#: Configuration.xml:429
#, no-c-format
msgid ""
"So what about the rest of the application servers? Well, according to the "
@@ -919,7 +969,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:413
+#: Configuration.xml:435
#, no-c-format
msgid ""
"There are two places you have to define the EJB reference when using Seam on "
@@ -930,7 +980,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:418
+#: Configuration.xml:440
#, no-c-format
msgid ""
"<![CDATA[<ejb-local-ref>\n"
@@ -942,7 +992,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:420
+#: Configuration.xml:442
#, no-c-format
msgid ""
"This reference will cover most uses of the component in a Seam application. "
@@ -953,7 +1003,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:425
+#: Configuration.xml:447
#, no-c-format
msgid ""
"Within the context of an EJB method call, you have to deal with a somewhat "
@@ -970,7 +1020,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:434
+#: Configuration.xml:456
#, no-c-format
msgid ""
"For application servers that stubbornly adhere to the EJB specification, EJB "
@@ -982,7 +1032,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:439
+#: Configuration.xml:461
#, no-c-format
msgid ""
"Let's assume that we have an EJB named RegisterAction (the name is resolved "
@@ -991,7 +1041,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:442
+#: Configuration.xml:464
#, no-c-format
msgid ""
"<![CDATA[@In(create = true)\n"
@@ -1000,7 +1050,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:444
+#: Configuration.xml:466
#, no-c-format
msgid ""
"In order for this injection to work, the link must be established in the ejb-"
@@ -1008,7 +1058,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:446
+#: Configuration.xml:468
#, no-c-format
msgid ""
"<![CDATA[<ejb-jar>\n"
@@ -1031,7 +1081,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:448
+#: Configuration.xml:470
#, no-c-format
msgid ""
"Notice that the contents of the <literal><ejb-local-ref></literal> are "
@@ -1043,7 +1093,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:454
+#: Configuration.xml:476
#, no-c-format
msgid ""
"But what about <literal>@EJB</literal>? It's true that you can inject one "
@@ -1061,7 +1111,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:464
+#: Configuration.xml:486
#, no-c-format
msgid ""
"That covers how JNDI names are defined and used. The lesson is that with "
@@ -1074,7 +1124,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:470
+#: Configuration.xml:492
#, no-c-format
msgid ""
"<![CDATA[<core:init jndi-name=\"java:comp/env/earName/#{ejbName}/local\" />]]"
@@ -1082,7 +1132,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:472
+#: Configuration.xml:494
#, no-c-format
msgid ""
"Finally, let's talk about transactions. In an EJB3 environment, we recommend "
@@ -1094,19 +1144,19 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:479
+#: Configuration.xml:501
#, no-c-format
msgid "<![CDATA[<transaction:ejb-transaction/>]]>"
msgstr ""
#. Tag: title
-#: Configuration.xml:484
+#: Configuration.xml:506
#, no-c-format
msgid "Don't forget!"
msgstr ""
#. Tag: para
-#: Configuration.xml:486
+#: Configuration.xml:508
#, no-c-format
msgid ""
"There is one final item you need to know about. You must place a "
@@ -1118,7 +1168,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:491
+#: Configuration.xml:513
#, no-c-format
msgid ""
"In a web archive (WAR) file, you must place a <literal>seam.properties</"
@@ -1127,7 +1177,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:494
+#: Configuration.xml:516
#, no-c-format
msgid ""
"That's why all the Seam examples have an empty <literal>seam.properties</"
@@ -1136,7 +1186,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:497
+#: Configuration.xml:519
#, no-c-format
msgid ""
"You might think this is silly and what kind of idiot framework designers "
@@ -1148,13 +1198,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:508
+#: Configuration.xml:530
#, no-c-format
msgid "Using Alternate JPA Providers"
msgstr ""
#. Tag: para
-#: Configuration.xml:510
+#: Configuration.xml:532
#, no-c-format
msgid ""
"Seam comes packaged and configured with Hibernate as the default JPA "
@@ -1163,13 +1213,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:516
+#: Configuration.xml:538
#, no-c-format
msgid "This is a workaround"
msgstr ""
#. Tag: para
-#: Configuration.xml:517
+#: Configuration.xml:539
#, no-c-format
msgid ""
"Configuration of the JPA provider will be easier in the future and will not "
@@ -1178,7 +1228,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:524
+#: Configuration.xml:546
#, no-c-format
msgid ""
"Telling seam about a different JPA provider can be be done in one of two "
@@ -1186,7 +1236,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:525
+#: Configuration.xml:547
#, no-c-format
msgid ""
"Update your application's <literal>components.xml</literal> so that the "
@@ -1195,7 +1245,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:530
+#: Configuration.xml:552
#, no-c-format
msgid ""
"<![CDATA[<component name=\"org.jboss.seam.persistence.persistenceProvider"
@@ -1206,7 +1256,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:531
+#: Configuration.xml:553
#, no-c-format
msgid ""
"If you want to take advantage of your JPA provider's non-standard features "
@@ -1218,7 +1268,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:538
+#: Configuration.xml:560
#, no-c-format
msgid ""
"<![CDATA[<component name=\"org.jboss.seam.persistence.persistenceProvider"
@@ -1228,7 +1278,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:539
+#: Configuration.xml:561
#, no-c-format
msgid ""
"All that is left is updating the <literal>persistence.xml</literal> file "
@@ -1238,13 +1288,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:547
+#: Configuration.xml:569
#, no-c-format
msgid "Configuring Seam in Java EE 5"
msgstr ""
#. Tag: para
-#: Configuration.xml:558
+#: Configuration.xml:580
#, no-c-format
msgid ""
"If you're running in a Java EE 5 environment, this is all the configuration "
@@ -1252,14 +1302,14 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:561 Configuration.xml:656 Configuration.xml:794
-#: Configuration.xml:827
+#: Configuration.xml:583 Configuration.xml:678 Configuration.xml:816
+#: Configuration.xml:849
#, no-c-format
msgid "Packaging"
msgstr ""
#. Tag: para
-#: Configuration.xml:563
+#: Configuration.xml:585
#, no-c-format
msgid ""
"Once you've packaged all this stuff together into an EAR, the archive "
@@ -1267,7 +1317,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:566
+#: Configuration.xml:588
#, no-c-format
msgid ""
"<![CDATA[my-application.ear/\n"
@@ -1307,7 +1357,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:568
+#: Configuration.xml:590
#, no-c-format
msgid ""
"You should declare <literal>jboss-seam.jar</literal> as an ejb module in "
@@ -1316,7 +1366,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:573
+#: Configuration.xml:595
#, no-c-format
msgid ""
"If you want to use jBPM or Drools, you must include the needed jars in the "
@@ -1324,7 +1374,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:575
+#: Configuration.xml:597
#, no-c-format
msgid ""
"If you want to use facelets (our recommendation), you must include "
@@ -1333,7 +1383,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:578
+#: Configuration.xml:600
#, no-c-format
msgid ""
"If you want to use the Seam tag library (most Seam applications do), you "
@@ -1344,7 +1394,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:583
+#: Configuration.xml:605
#, no-c-format
msgid ""
"If you want to use the Seam debug page (only works for applications using "
@@ -1353,7 +1403,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:586
+#: Configuration.xml:608
#, no-c-format
msgid ""
"Seam ships with several example applications that are deployable in any Java "
@@ -1361,7 +1411,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:589
+#: Configuration.xml:611
#, no-c-format
msgid ""
"I really wish that was all there was to say on the topic of configuration "
@@ -1371,13 +1421,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:598
+#: Configuration.xml:620
#, no-c-format
msgid "Configuring Seam in J2EE"
msgstr ""
#. Tag: para
-#: Configuration.xml:600
+#: Configuration.xml:622
#, no-c-format
msgid ""
"Seam is useful even if you're not yet ready to take the plunge into EJB 3.0. "
@@ -1389,7 +1439,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:615
+#: Configuration.xml:637
#, no-c-format
msgid ""
"Seam JavaBean components do not provide declarative transaction demarcation "
@@ -1401,7 +1451,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:621
+#: Configuration.xml:643
#, no-c-format
msgid ""
"The Seam distribution includes a version of the booking example application "
@@ -1411,13 +1461,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:626
+#: Configuration.xml:648
#, no-c-format
msgid "Boostrapping Hibernate in Seam"
msgstr ""
#. Tag: para
-#: Configuration.xml:628
+#: Configuration.xml:650
#, no-c-format
msgid ""
"Seam will bootstrap a Hibernate <literal>SessionFactory</literal> from your "
@@ -1426,7 +1476,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:631
+#: Configuration.xml:653
#, no-c-format
msgid ""
"<![CDATA[<persistence:hibernate-session-factory name="
@@ -1434,7 +1484,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:633
+#: Configuration.xml:655
#, no-c-format
msgid ""
"You will also need to configure a <emphasis>managed session</emphasis> if "
@@ -1443,7 +1493,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:636
+#: Configuration.xml:658
#, no-c-format
msgid ""
"<![CDATA[<persistence:managed-hibernate-session name=\"hibernateSession\"\n"
@@ -1452,13 +1502,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:641
+#: Configuration.xml:663
#, no-c-format
msgid "Boostrapping JPA in Seam"
msgstr ""
#. Tag: para
-#: Configuration.xml:643
+#: Configuration.xml:665
#, no-c-format
msgid ""
"Seam will bootstrap a JPA <literal>EntityManagerFactory</literal> from your "
@@ -1467,7 +1517,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:646
+#: Configuration.xml:668
#, no-c-format
msgid ""
"<![CDATA[<persistence:entity-manager-factory name=\"entityManagerFactory\"/"
@@ -1475,7 +1525,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:648
+#: Configuration.xml:670
#, no-c-format
msgid ""
"You will also need to configure a <emphasis>managed persistence context</"
@@ -1484,7 +1534,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:651
+#: Configuration.xml:673
#, no-c-format
msgid ""
"<![CDATA[<persistence:managed-persistence-context name=\"entityManager\"\n"
@@ -1493,13 +1543,13 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:658
+#: Configuration.xml:680
#, no-c-format
msgid "We can package our application as a WAR, in the following structure:"
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:660
+#: Configuration.xml:682
#, no-c-format
msgid ""
"<![CDATA[my-application.war/\n"
@@ -1536,7 +1586,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:662
+#: Configuration.xml:684
#, no-c-format
msgid ""
"If we want to deploy Hibernate in a non-EE environment like Tomcat or "
@@ -1544,13 +1594,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:669
+#: Configuration.xml:691
#, no-c-format
msgid "Configuring Seam in Java SE, without JBoss Embedded"
msgstr ""
#. Tag: para
-#: Configuration.xml:671
+#: Configuration.xml:693
#, no-c-format
msgid ""
"It is possible to use Seam completely outside of an EE environment. In this "
@@ -1560,7 +1610,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:675
+#: Configuration.xml:697
#, no-c-format
msgid ""
"<![CDATA[<transaction:entity-transaction entity-manager=\"#{entityManager}\"/"
@@ -1568,7 +1618,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:677
+#: Configuration.xml:699
#, no-c-format
msgid ""
"If you're using Hibernate, you can tell Seam to use the Hibernate "
@@ -1576,32 +1626,32 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:679
+#: Configuration.xml:701
#, no-c-format
msgid "<![CDATA[<transaction:hibernate-transaction session=\"#{session}\"/>]]>"
msgstr ""
#. Tag: para
-#: Configuration.xml:681
+#: Configuration.xml:703
#, no-c-format
msgid "Of course, you'll also need to define a datasource."
msgstr ""
#. Tag: para
-#: Configuration.xml:683
+#: Configuration.xml:705
#, no-c-format
msgid ""
"A better alternative is to use JBoss Embedded to get access to the EE APIs."
msgstr ""
#. Tag: title
-#: Configuration.xml:688
+#: Configuration.xml:710
#, no-c-format
msgid "Configuring Seam in Java SE, with JBoss Embedded"
msgstr ""
#. Tag: para
-#: Configuration.xml:690
+#: Configuration.xml:712
#, no-c-format
msgid ""
"JBoss Embedded lets you run EJB3 components outside the context of the Java "
@@ -1610,7 +1660,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:693
+#: Configuration.xml:715
#, no-c-format
msgid ""
"The Seam booking example application includes a TestNG integration test "
@@ -1618,19 +1668,19 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:705
+#: Configuration.xml:727
#, no-c-format
msgid "The booking example application may even be deployed to Tomcat."
msgstr ""
#. Tag: title
-#: Configuration.xml:717
+#: Configuration.xml:739
#, no-c-format
msgid "Installing Embedded JBoss"
msgstr ""
#. Tag: para
-#: Configuration.xml:720
+#: Configuration.xml:742
#, no-c-format
msgid ""
"Embedded JBoss must by installed into Tomcat for Seam applications to run "
@@ -1643,7 +1693,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:734
+#: Configuration.xml:756
#, no-c-format
msgid ""
"Copy all files and directories under the Embedded JBoss <literal>bootstrap</"
@@ -1653,7 +1703,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:741
+#: Configuration.xml:763
#, no-c-format
msgid ""
"Remove the <literal>annotations-api.jar</literal> file from the Tomcat "
@@ -1661,7 +1711,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:747
+#: Configuration.xml:769
#, no-c-format
msgid ""
"Next, two configuration files need to be updated to add Embedded JBoss-"
@@ -1669,7 +1719,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:753
+#: Configuration.xml:775
#, no-c-format
msgid ""
"Add the Embedded JBoss listener <literal>EmbeddedJBossBootstrapListener</"
@@ -1678,7 +1728,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:756
+#: Configuration.xml:778
#, no-c-format
msgid ""
"<![CDATA[<Server port=\"8005\" shutdown=\"SHUTDOWN\">\n"
@@ -1696,7 +1746,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:757
+#: Configuration.xml:779
#, no-c-format
msgid ""
"<![CDATA[ <!-- Add this listener -->\n"
@@ -1705,7 +1755,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:761
+#: Configuration.xml:783
#, no-c-format
msgid ""
"WAR file scanning should be enabled by adding the <literal>WebinfScanner</"
@@ -1713,7 +1763,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:764
+#: Configuration.xml:786
#, no-c-format
msgid ""
"<![CDATA[<Context>\n"
@@ -1728,7 +1778,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:765
+#: Configuration.xml:787
#, no-c-format
msgid ""
"<![CDATA[ <!-- Add this listener -->\n"
@@ -1736,13 +1786,13 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:766
+#: Configuration.xml:788
#, no-c-format
msgid "<![CDATA[</Context>]]>"
msgstr ""
#. Tag: para
-#: Configuration.xml:770
+#: Configuration.xml:792
#, no-c-format
msgid ""
"If you are using Sun JDK 6, you need to set the Java option <literal>sun."
@@ -1752,7 +1802,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:775
+#: Configuration.xml:797
#, no-c-format
msgid ""
"Open the script appropriate for your operating system in a text editor. Add "
@@ -1762,7 +1812,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:779
+#: Configuration.xml:801
#, no-c-format
msgid ""
"<![CDATA[set JAVA_OPTS=%JAVA_OPTS% -Dsun.lang.ClassLoader."
@@ -1770,13 +1820,13 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:781
+#: Configuration.xml:803
#, no-c-format
msgid "On Unix, use this syntax instead:"
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:783
+#: Configuration.xml:805
#, no-c-format
msgid ""
"<![CDATA[JAVA_OPTS=\"$JAVA_OPTS -Dsun.lang.ClassLoader.allowArraySyntax=true"
@@ -1784,7 +1834,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:788
+#: Configuration.xml:810
#, no-c-format
msgid ""
"For more configuration options, please see the Embedded JBoss Tomcat "
@@ -1793,7 +1843,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:796
+#: Configuration.xml:818
#, no-c-format
msgid ""
"The archive structure of a WAR-based deployment on an servlet engine like "
@@ -1801,7 +1851,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:799
+#: Configuration.xml:821
#, no-c-format
msgid ""
"<![CDATA[my-application.war/\n"
@@ -1839,7 +1889,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:801
+#: Configuration.xml:823
#, no-c-format
msgid ""
"Most of the Seam example applications may be deployed to Tomcat by running "
@@ -1847,13 +1897,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:809
+#: Configuration.xml:831
#, no-c-format
msgid "Configuring jBPM in Seam"
msgstr ""
#. Tag: para
-#: Configuration.xml:810
+#: Configuration.xml:832
#, no-c-format
msgid ""
"Seam's jBPM integration is not installed by default, so you'll need to "
@@ -1863,7 +1913,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:814
+#: Configuration.xml:836
#, no-c-format
msgid ""
"<![CDATA[<bpm:jbpm>\n"
@@ -1879,7 +1929,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:816
+#: Configuration.xml:838
#, no-c-format
msgid ""
"No further special configuration is needed if you only have pageflows. If "
@@ -1890,7 +1940,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:821
+#: Configuration.xml:843
#, no-c-format
msgid ""
"<![CDATA[<jbpm-configuration>\n"
@@ -1920,7 +1970,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:823
+#: Configuration.xml:845
#, no-c-format
msgid ""
"The most important thing to notice here is that jBPM transaction control is "
@@ -1928,7 +1978,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:829
+#: Configuration.xml:851
#, no-c-format
msgid ""
"There is not yet any well-defined packaging format for jBPM configuration "
@@ -1939,7 +1989,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:834
+#: Configuration.xml:856
#, no-c-format
msgid ""
"<![CDATA[my-application.ear/\n"
@@ -1986,13 +2036,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:841
+#: Configuration.xml:863
#, no-c-format
msgid "Configuring SFSB and Session Timeouts in JBoss AS"
msgstr ""
#. Tag: para
-#: Configuration.xml:843
+#: Configuration.xml:865
#, no-c-format
msgid ""
"It is very important that the timeout for Stateful Session Beans is set "
@@ -2004,7 +2054,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:849
+#: Configuration.xml:871
#, no-c-format
msgid ""
"The default SFSB timeout can be adjusted by modifying the value of "
@@ -2013,7 +2063,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:852
+#: Configuration.xml:874
#, no-c-format
msgid ""
"<![CDATA[<container-cache-conf>\n"
@@ -2038,7 +2088,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:854
+#: Configuration.xml:876
#, no-c-format
msgid ""
"The default HTTP session timeout can be modified in <literal>server/default/"
@@ -2049,7 +2099,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:859
+#: Configuration.xml:881
#, no-c-format
msgid ""
"<![CDATA[<session-config>\n"
@@ -2059,7 +2109,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:861
+#: Configuration.xml:883
#, no-c-format
msgid ""
"To override this value for your own application, simply include this entry "
@@ -2067,13 +2117,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:867
+#: Configuration.xml:889
#, no-c-format
msgid "Running Seam in a Portlet"
msgstr ""
#. Tag: para
-#: Configuration.xml:869
+#: Configuration.xml:891
#, no-c-format
msgid ""
"If you want to run your Seam application in a portlet, take a look at the "
@@ -2084,13 +2134,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:880
+#: Configuration.xml:902
#, no-c-format
msgid "Deploying custom resources"
msgstr ""
#. Tag: para
-#: Configuration.xml:882
+#: Configuration.xml:904
#, no-c-format
msgid ""
"Seam scans all jars containing <literal>/seam.properties</literal>, "
@@ -2101,7 +2151,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:889
+#: Configuration.xml:911
#, no-c-format
msgid ""
"You may also want Seam to handle custom resources. A common use case is to "
@@ -2111,7 +2161,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:896
+#: Configuration.xml:918
#, no-c-format
msgid ""
"<![CDATA[# A colon-separated list of annotation types to handle\n"
@@ -2119,7 +2169,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:898
+#: Configuration.xml:920
#, no-c-format
msgid ""
"Then, during application startup you can get hold of all classes annotated "
@@ -2127,7 +2177,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:903
+#: Configuration.xml:925
#, no-c-format
msgid ""
"<![CDATA[@Name(\"fooStartup\")\n"
@@ -2159,7 +2209,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:905
+#: Configuration.xml:927
#, no-c-format
msgid ""
"You can also handle <emphasis>any</emphasis> resource. For example, you "
@@ -2168,7 +2218,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:911
+#: Configuration.xml:933
#, no-c-format
msgid ""
"<![CDATA[public class FooDeploymentHandler implements DeploymentHandler {\n"
@@ -2192,7 +2242,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:913
+#: Configuration.xml:935
#, no-c-format
msgid ""
"Here we are just building a list of any files with the suffix <literal>.foo."
@@ -2200,7 +2250,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:918
+#: Configuration.xml:940
#, no-c-format
msgid ""
"Then, we need to register the deployment handler with Seam in <literal>/META-"
@@ -2209,7 +2259,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:925
+#: Configuration.xml:947
#, no-c-format
msgid ""
"<![CDATA[# For standard deployment\n"
@@ -2220,7 +2270,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:931
+#: Configuration.xml:953
#, no-c-format
msgid ""
"Seam uses deployment handlers internally to install components and "
@@ -2229,7 +2279,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:937
+#: Configuration.xml:959
#, no-c-format
msgid ""
"<![CDATA[@Name(\"fooStartup\")\n"
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/es-MX/Webservices.po
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/es-MX/Webservices.po 2009-08-26 19:14:02 UTC (rev 11432)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/es-MX/Webservices.po 2009-08-26 19:19:33 UTC (rev 11433)
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: Seam_-_Contextual_Components VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-07-08 14:32+0000\n"
+"POT-Creation-Date: 2009-08-26 18:48+0000\n"
"PO-Revision-Date: 2008-11-06 00:10+0000\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
@@ -392,48 +392,56 @@
#: Webservices.xml:186
#, no-c-format
msgid ""
-"The URI starts with the pattern mapped in <literal>web.xml</literal> for the "
+"The URI starts with the host and context path of your application, e.g. "
+"<literal>http://your.hostname/myapp</literal>."
+msgstr ""
+
+#. Tag: para
+#: Webservices.xml:192
+#, no-c-format
+msgid ""
+"Then the pattern mapped in <literal>web.xml</literal> for the "
"<literal>SeamResourceServlet</literal>, e.g <literal>/seam/resource</"
-"literal> if you follow the common examples. Change this setting to expose "
-"your RESTful resources under a different base. Note that this is a global "
-"change and other Seam resources (e.g. <literal>s:graphicImage</literal>) are "
-"then also served under that base path."
+"literal> if you follow the common examples, is appended. Change this setting "
+"to expose your RESTful resources under a different base. Note that this is a "
+"global change and other Seam resources (e.g. <literal>s:graphicImage</"
+"literal>) are then also served under that base path."
msgstr ""
#. Tag: para
-#: Webservices.xml:195
+#: Webservices.xml:201
#, no-c-format
msgid ""
"The RESTEasy integration for Seam then appends a configurable string to the "
"base path, by default this is <literal>/rest</literal>. Hence, the full base "
-"path of your resources would e.g. be <literal>/seam/resource/rest</literal>. "
-"We recommend that you change this string in your application, you could for "
-"example add a version number to prepare for a future REST API upgrade of "
-"your services (old clients would keep the old URI base): <literal>/seam/"
-"resource/restv1</literal>."
+"path of your resources would e.g. be <literal>/myapp/seam/resource/rest</"
+"literal>. We recommend that you change this string in your application, you "
+"could for example add a version number to prepare for a future REST API "
+"upgrade of your services (old clients would keep the old URI base): "
+"<literal>/myapp/seam/resource/restv1</literal>."
msgstr ""
#. Tag: para
-#: Webservices.xml:204
+#: Webservices.xml:210
#, no-c-format
msgid ""
"Finally, the actual resource is available under the defined <literal>@Path</"
"literal>, e.g. a resource mapped with <literal>@Path(\"/customer\")</"
-"literal> would be available under <literal>/seam/resource/rest/customer</"
-"literal>."
+"literal> would be available under <literal>/myapp/seam/resource/rest/"
+"customer</literal>."
msgstr ""
#. Tag: para
-#: Webservices.xml:212
+#: Webservices.xml:218
#, no-c-format
msgid ""
"As an example, the following resource definition would return a plaintext "
"representation for any GET requests using the URI <literal>http://your."
-"hostname/seam/resource/rest/customer/123</literal>:"
+"hostname/myapp/seam/resource/rest/customer/123</literal>:"
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:217
+#: Webservices.xml:223
#, no-c-format
msgid ""
"<![CDATA[@Path(\"/customer\")\n"
@@ -450,7 +458,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:219
+#: Webservices.xml:225
#, no-c-format
msgid ""
"No additional configuration is required, you do not have to edit "
@@ -461,7 +469,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:225
+#: Webservices.xml:231
#, no-c-format
msgid ""
"<![CDATA[<components\n"
@@ -476,63 +484,39 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:227
+#: Webservices.xml:233
#, no-c-format
msgid ""
"You can then change the <literal>/rest</literal> prefix as mentioned earlier:"
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:231
+#: Webservices.xml:237
#, no-c-format
msgid "<![CDATA[<resteasy:application resource-path-prefix=\"/restv1\"/>]]>"
msgstr ""
#. Tag: para
-#: Webservices.xml:233
-#, no-c-format
-msgid ""
-"The full base path to your resources is now <literal>/seam/resource/restv1/"
-"{resource}</literal> - note that your <literal>@Path</literal> definitions "
-"and mappings do NOT change. This is an application-wide switch usually used "
-"for versioning of the HTTP API."
-msgstr ""
-
-#. Tag: para
#: Webservices.xml:239
#, no-c-format
msgid ""
-"You can disable stripping of the base path if you'd like to map the full "
-"path in your resources:"
+"The full base path to your resources is now <literal>/myapp/seam/resource/"
+"restv1/{resource}</literal> - note that your <literal>@Path</literal> "
+"definitions and mappings do NOT change. This is an application-wide switch "
+"usually used for versioning of the HTTP interface."
msgstr ""
-#. Tag: programlisting
-#: Webservices.xml:243
-#, no-c-format
-msgid "<![CDATA[<resteasy:application strip-seam-resource-path=\"false\"/>]]>"
-msgstr ""
-
#. Tag: para
#: Webservices.xml:245
#, no-c-format
msgid ""
-"The path of a resource is now mapped with e.g. <literal>@Path(\"/seam/"
-"resource/rest/customer\")</literal>. We do not recommend disabling this "
-"feature, as your resource class mappings are then bound to a particular "
-"deployment scenario."
-msgstr ""
-
-#. Tag: para
-#: Webservices.xml:251
-#, no-c-format
-msgid ""
"Seam will scan your classpath for any deployed <literal>@javax.ws.rs.Path</"
"literal> resources and any <literal>@javax.ws.rs.ext.Provider</literal> "
"classes. You can disable scanning and configure these classes manually:"
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:257
+#: Webservices.xml:251
#, no-c-format
msgid ""
"<![CDATA[<resteasy:application\n"
@@ -554,7 +538,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:259
+#: Webservices.xml:253
#, no-c-format
msgid ""
"The <literal>use-built-in-providers</literal> switch enables (default) or "
@@ -564,7 +548,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:265
+#: Webservices.xml:259
#, no-c-format
msgid ""
"RESTEasy supports plain EJBs (EJBs that are not Seam components) as "
@@ -576,20 +560,21 @@
"<literal>@Path</literal>, <literal>@GET</literal>, and so on - not the bean "
"implementation class. This allows you to keep your application deployment-"
"portable with the global Seam <literal>jndi-pattern</literal> switch on "
-"<literal><core:init/></literal>. Note that EJB resources will not be "
-"found even if scanning of resources is enabled, you always have to list them "
-"manually. Again, this is only relevant for EJB resources that are not also "
-"Seam components and that do not have a <literal>@Name</literal> annotation."
+"<literal><core:init/></literal>. Note that plain (non-Seam component) "
+"EJB resources will not be found even if scanning of resources is enabled, "
+"you always have to list them manually. Again, this whole paragraph is only "
+"relevant for EJB resources that are not also Seam components and that do not "
+"have an <literal>@Name</literal> annotation."
msgstr ""
#. Tag: para
-#: Webservices.xml:277
+#: Webservices.xml:272
#, no-c-format
msgid "Finally, you can configure media type and language URI extensions:"
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:281
+#: Webservices.xml:276
#, no-c-format
msgid ""
"<![CDATA[<resteasy:application>\n"
@@ -606,7 +591,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:283
+#: Webservices.xml:278
#, no-c-format
msgid ""
"This definition would map the URI suffix of <literal>.txt.deutsch</literal> "
@@ -616,13 +601,13 @@
msgstr ""
#. Tag: title
-#: Webservices.xml:292
+#: Webservices.xml:287
#, no-c-format
msgid "Resources and providers as Seam components"
msgstr ""
#. Tag: para
-#: Webservices.xml:294
+#: Webservices.xml:289
#, no-c-format
msgid ""
"Any resource and provider instances are managed by RESTEasy by default. That "
@@ -633,7 +618,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:301
+#: Webservices.xml:296
#, no-c-format
msgid ""
"You can write resources and providers as Seam components and benefit from "
@@ -642,7 +627,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:307
+#: Webservices.xml:302
#, no-c-format
msgid ""
"<![CDATA[@Name(\"customerResource\")\n"
@@ -663,7 +648,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:309
+#: Webservices.xml:304
#, no-c-format
msgid ""
"An instance of <literal>customerResource</literal> is now handled by Seam "
@@ -677,7 +662,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:318
+#: Webservices.xml:313
#, no-c-format
msgid ""
"You can annotate an interface and keep the implementation free from JAX-RS "
@@ -685,7 +670,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:322
+#: Webservices.xml:317
#, no-c-format
msgid ""
"<![CDATA[@Path(\"/customer\")\n"
@@ -700,7 +685,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:324
+#: Webservices.xml:319
#, no-c-format
msgid ""
"<![CDATA[@Name(\"customerResource\")\n"
@@ -718,7 +703,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:326
+#: Webservices.xml:321
#, no-c-format
msgid ""
"You can use <literal>SESSION</literal>-scoped Seam components. By default, "
@@ -733,7 +718,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:335
+#: Webservices.xml:330
#, no-c-format
msgid ""
"Assuming that your Seam application only uses event, application, or "
@@ -745,7 +730,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:342
+#: Webservices.xml:337
#, no-c-format
msgid ""
"If your RESTful Seam application has to preserve session state across REST "
@@ -753,14 +738,14 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:347
+#: Webservices.xml:342
#, no-c-format
msgid ""
"<![CDATA[<resteasy:application destroy-session-after-request=\"false\"/>]]>"
msgstr ""
#. Tag: para
-#: Webservices.xml:349
+#: Webservices.xml:344
#, no-c-format
msgid ""
"Every REST HTTP request will now create a new session that will only be "
@@ -771,7 +756,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:356
+#: Webservices.xml:351
#, no-c-format
msgid ""
"<literal>CONVERSATION</literal>-scoped resource components and mapping of "
@@ -780,7 +765,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:361
+#: Webservices.xml:356
#, no-c-format
msgid ""
"EJB Seam components are supported. Always annotate the local business "
@@ -789,7 +774,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:366
+#: Webservices.xml:361
#, no-c-format
msgid ""
"Provider classes can also be Seam components, only <literal>APPLICATION</"
@@ -799,13 +784,13 @@
msgstr ""
#. Tag: title
-#: Webservices.xml:375
+#: Webservices.xml:370
#, no-c-format
msgid "Securing resources"
msgstr ""
#. Tag: para
-#: Webservices.xml:377
+#: Webservices.xml:372
#, no-c-format
msgid ""
"You can enable the Seam authentication filter for HTTP Basic and Digest "
@@ -813,7 +798,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:382
+#: Webservices.xml:377
#, no-c-format
msgid ""
"<![CDATA[<web:authentication-filter url-pattern=\"/seam/resource/rest/*\" "
@@ -821,14 +806,14 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:384
+#: Webservices.xml:379
#, no-c-format
msgid ""
"See the Seam security chapter on how to write an authentication routine."
msgstr ""
#. Tag: para
-#: Webservices.xml:388
+#: Webservices.xml:383
#, no-c-format
msgid ""
"After successful authentication, authorization rules with the common "
@@ -839,13 +824,13 @@
msgstr ""
#. Tag: title
-#: Webservices.xml:398
+#: Webservices.xml:393
#, no-c-format
msgid "Mapping exceptions to HTTP responses"
msgstr ""
#. Tag: para
-#: Webservices.xml:400
+#: Webservices.xml:395
#, no-c-format
msgid ""
"Section 3.3.4 of the JAX-RS specification defines how checked or unchecked "
@@ -858,7 +843,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:408
+#: Webservices.xml:403
#, no-c-format
msgid ""
"Exception handling within Seam requires that the Seam filter is executed for "
@@ -870,7 +855,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:415
+#: Webservices.xml:410
#, no-c-format
msgid ""
"<![CDATA[<filter>\n"
@@ -885,7 +870,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:417
+#: Webservices.xml:412
#, no-c-format
msgid ""
"To convert the unchecked <literal>UnsupportedOperationException</literal> "
@@ -895,7 +880,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:423
+#: Webservices.xml:418
#, no-c-format
msgid ""
"<![CDATA[<exception class=\"java.lang.UnsupportedOperationException\">\n"
@@ -906,13 +891,13 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:425
+#: Webservices.xml:420
#, no-c-format
msgid "Custom or checked exceptions are handled the same:"
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:429
+#: Webservices.xml:424
#, no-c-format
msgid ""
"<![CDATA[<exception class=\"my.CustomException\" log=\"false\">\n"
@@ -924,7 +909,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:431
+#: Webservices.xml:426
#, no-c-format
msgid ""
"You do not have to send an HTTP error to the client if an exception occurs. "
@@ -935,7 +920,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:438
+#: Webservices.xml:433
#, no-c-format
msgid ""
"Note that the HTTP response still passes through the servlet container, so "
@@ -946,13 +931,13 @@
msgstr ""
#. Tag: title
-#: Webservices.xml:447
+#: Webservices.xml:442
#, no-c-format
msgid "Testing resources and providers"
msgstr ""
#. Tag: para
-#: Webservices.xml:449
+#: Webservices.xml:444
#, no-c-format
msgid ""
"Seam includes a unit testing utility class that helps you create unit tests "
@@ -962,7 +947,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:455
+#: Webservices.xml:450
#, no-c-format
msgid ""
"<![CDATA[import org.jboss.seam.mock.ResourceRequestEnvironment;\n"
@@ -1019,7 +1004,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:457
+#: Webservices.xml:452
#, no-c-format
msgid ""
"This test only executes local calls, it does not communicate with the "
@@ -1032,7 +1017,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:465
+#: Webservices.xml:460
#, no-c-format
msgid ""
"Note that a <literal>ResourceRequest</literal> has to be executed in a "
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/es-MX/Websphere.po
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/es-MX/Websphere.po 2009-08-26 19:14:02 UTC (rev 11432)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/es-MX/Websphere.po 2009-08-26 19:19:33 UTC (rev 11433)
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: Seam_-_Contextual_Components VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-08-22 13:17+0000\n"
+"POT-Creation-Date: 2009-08-26 18:48+0000\n"
"PO-Revision-Date: 2008-11-06 00:10+0000\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
@@ -76,25 +76,27 @@
#, no-c-format
msgid ""
"The following sections in this chapter assume that WebSphere is correctly "
-"installed and is functional, and a profile has been successfully created."
+"installed and is functional, and a WebSphere \"profile\" has been "
+"successfully created."
msgstr ""
#. Tag: para
#: Websphere.xml:40
#, no-c-format
msgid ""
-"This chapter explain how to compile, deploy and run some sample applications "
-"in WebSphere. These sample applications require a database. WebSphere comes "
-"by default with a set of sample applications called \"Default Application\". "
-"This set of sample applications use a Derby database running on the Derby "
-"instance installed with WebSphere. In order to keep this simple we'll use "
-"this Derby database created for the \"Default Applications\". However, to "
-"run the sample application with the Derby database \"as-is\", a patched "
-"Hibernate dialect must be used (The patch changes the default \"auto\" key "
-"generation strategy) as explained in <xref linkend=\"glassfish\"/>. If you "
-"want to use another database, it's just a matter of creating a connection "
-"pool in WebSphere pointing to this database, declare the correct Hibernate "
-"dialect and set the correct JNDI name in <literal>persistence.xml</literal>."
+"This chapter explains how to compile, deploy and run some sample "
+"applications in WebSphere. These sample applications require a database. "
+"WebSphere comes by default with a set of sample applications called "
+"\"Default Application\". This set of sample applications use a Derby "
+"database running on the Derby instance installed within WebSphere. In order "
+"to keep this simple we'll use this Derby database created for the \"Default "
+"Applications\". However, to run the sample application with the Derby "
+"database \"as-is\", a patched Hibernate dialect must be used (The patch "
+"changes the default \"auto\" key generation strategy) as explained in <xref "
+"linkend=\"glassfish\"/>. If you want to use another database, it's just a "
+"matter of creating a connection pool in WebSphere pointing to this database, "
+"declare the correct Hibernate dialect and set the correct JNDI name in "
+"<literal>persistence.xml</literal>."
msgstr ""
#. Tag: title
@@ -144,14 +146,14 @@
#, no-c-format
msgid ""
"On the right navigation menu, select <literal>Web Container Settings/Web "
-"container</literal>)"
+"container</literal>"
msgstr ""
#. Tag: listitem
#: Websphere.xml:73
#, no-c-format
msgid ""
-"On the right navigation menu, select <literal>custom properties</literal>) "
+"On the right navigation menu, select <literal>custom properties</literal> "
"and add the following properties:"
msgstr ""
@@ -170,7 +172,7 @@
#. Tag: listitem
#: Websphere.xml:84
#, no-c-format
-msgid "Save and restart the server"
+msgid "Save the configuration and restart the server"
msgstr ""
#. Tag: title
@@ -189,38 +191,38 @@
msgstr ""
#. Tag: listitem
-#: Websphere.xml:97
+#: Websphere.xml:96
#, no-c-format
msgid ""
"The global <literal>jndi-pattern</literal> switch on the <literal><core:"
-"init></literal>. in <literal>components.xml</literal>. The switch can use "
-"a special placeholder \"<literal>#{ejbName}</literal>\" that resolves to the "
-"unqualified name of the EJB"
+"init></literal>tag in <literal>components.xml</literal>. The switch can "
+"use a special placeholder \"<literal>#{ejbName}</literal>\" that resolves to "
+"the unqualified name of the EJB"
msgstr ""
#. Tag: para
-#: Websphere.xml:102
+#: Websphere.xml:100
#, no-c-format
msgid "The <literal>@JndiName</literal> annotation"
msgstr ""
#. Tag: para
-#: Websphere.xml:108
+#: Websphere.xml:106
#, no-c-format
msgid "gives detailed explanations on how those mechanisms work."
msgstr ""
#. Tag: para
-#: Websphere.xml:112
+#: Websphere.xml:110
#, no-c-format
msgid ""
-"By default, WebSphere will bind the session bean in its local JNDI name "
-"space under a \"short\" binding name that adheres to the following pattern "
+"By default, WebSphere will bind session beans in its local JNDI name space "
+"under a \"short\" binding name that adheres to the following pattern "
"<literal>ejblocal:<package.qualified.local.interface.name></literal>."
msgstr ""
#. Tag: para
-#: Websphere.xml:117
+#: Websphere.xml:115
#, no-c-format
msgid ""
"For a detailed description on how WebSphere v7 organizes and binds EJBs in "
@@ -228,7 +230,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:120
+#: Websphere.xml:118
#, no-c-format
msgid ""
"As explained before, Seam needs to lookup for session bean as they appear in "
@@ -236,35 +238,35 @@
msgstr ""
#. Tag: listitem
-#: Websphere.xml:124
+#: Websphere.xml:121
#, no-c-format
msgid ""
"Specify which JNDI name Seam must use for each session bean using the "
-"<literal>@JndiName</literal> annotation in the java source file"
+"<literal>@JndiName</literal> annotation in the java source file,"
msgstr ""
#. Tag: listitem
-#: Websphere.xml:127
+#: Websphere.xml:123
#, no-c-format
msgid ""
"Override the default session bean names generated by WebSphere to conform to "
-"the <literal>jndi-pattern</literal> attribute"
+"the <literal>jndi-pattern</literal> attribute,"
msgstr ""
#. Tag: listitem
-#: Websphere.xml:130
+#: Websphere.xml:126
#, no-c-format
-msgid "Use EJB references"
+msgid "Use EJB references."
msgstr ""
#. Tag: title
-#: Websphere.xml:137
+#: Websphere.xml:133
#, no-c-format
msgid "Strategy 1: Specify which JNDI name Seam must use for each Session Bean"
msgstr ""
#. Tag: para
-#: Websphere.xml:138
+#: Websphere.xml:134
#, no-c-format
msgid ""
"This strategy is the simplest and fastest one regarding development. It uses "
@@ -272,7 +274,7 @@
msgstr ""
#. Tag: listitem
-#: Websphere.xml:141
+#: Websphere.xml:137
#, no-c-format
msgid ""
"Add a <literal>@JndiName(\"ejblocal:<package.qualified.local.interface."
@@ -280,20 +282,20 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:145 Websphere.xml:188
+#: Websphere.xml:141 Websphere.xml:184
#, no-c-format
msgid ""
"<para>In <literal>components.xml</literal>, add the following line:</para>"
msgstr ""
#. Tag: programlisting
-#: Websphere.xml:147 Websphere.xml:220
+#: Websphere.xml:143 Websphere.xml:216
#, no-c-format
msgid "<![CDATA[<core:init jndi-name=\"java:comp/env/#{ejbName}\" />]]>"
msgstr ""
#. Tag: para
-#: Websphere.xml:151
+#: Websphere.xml:147
#, no-c-format
msgid ""
"Add a file named <literal>WEB-INF/classes/seam-jndi.properties</literal> in "
@@ -301,7 +303,7 @@
msgstr ""
#. Tag: programlisting
-#: Websphere.xml:153
+#: Websphere.xml:149
#, no-c-format
msgid ""
"com.ibm.websphere.naming.hostname.normalizer=com.ibm.ws.naming.util."
@@ -323,13 +325,13 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:157
+#: Websphere.xml:153
#, no-c-format
msgid "At the end of <literal>web.xml</literal>, add the following lines:"
msgstr ""
#. Tag: programlisting
-#: Websphere.xml:159
+#: Websphere.xml:155
#, no-c-format
msgid ""
"<![CDATA[<ejb-local-ref>\n"
@@ -341,7 +343,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:164
+#: Websphere.xml:160
#, no-c-format
msgid ""
"That's all folks! No need to update any file during the development, nor to "
@@ -349,23 +351,23 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:167
+#: Websphere.xml:163
#, no-c-format
msgid ""
-"Compared to the other strategies, this strategy has the advantage not to "
-"have to manage any EJBs reference and also not to have to maintain extra "
+"Compared to the other strategies, this strategy has the advantage to not "
+"have to manage any EJBs reference and also to not have to maintain extra "
"files. The only drawback is one extra line in the java source code with the "
"<literal>@JndiName</literal> annotation"
msgstr ""
#. Tag: title
-#: Websphere.xml:174
+#: Websphere.xml:170
#, no-c-format
msgid "Strategy 2: Override the default names generated by WebSphere"
msgstr ""
#. Tag: section
-#: Websphere.xml:174
+#: Websphere.xml:170
#, no-c-format
msgid ""
"There is no simple way to globally override the default naming strategy for "
@@ -374,13 +376,13 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:177
+#: Websphere.xml:173
#, no-c-format
msgid "To use this strategy:"
msgstr ""
#. Tag: para
-#: Websphere.xml:181
+#: Websphere.xml:177
#, no-c-format
msgid ""
"Add a file named <literal>META-INF/ibm-ejb-jar-ext.xml</literal> in the EJB "
@@ -405,13 +407,13 @@
msgstr ""
#. Tag: programlisting
-#: Websphere.xml:190
+#: Websphere.xml:186
#, no-c-format
msgid "<![CDATA[<core:init jndi-name=\"ejblocal:#{ejbName}\" />]]>"
msgstr ""
#. Tag: para
-#: Websphere.xml:194
+#: Websphere.xml:190
#, no-c-format
msgid ""
"Add a file named <literal>WEB-INF/classes/seam-jndi.properties</literal> as "
@@ -419,7 +421,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:199
+#: Websphere.xml:195
#, no-c-format
msgid ""
"In <literal>web.xml</literal>, add the following lines (Note the different "
@@ -427,7 +429,7 @@
msgstr ""
#. Tag: programlisting
-#: Websphere.xml:201
+#: Websphere.xml:197
#, no-c-format
msgid ""
"<![CDATA[<ejb-local-ref>\n"
@@ -439,7 +441,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:206
+#: Websphere.xml:202
#, no-c-format
msgid ""
"Compared to the first strategy, this strategy requires to maintain an extra "
@@ -449,13 +451,13 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:215
+#: Websphere.xml:211
#, no-c-format
msgid "Strategy 3: Use EJB references"
msgstr ""
#. Tag: section
-#: Websphere.xml:215
+#: Websphere.xml:211
#, no-c-format
msgid ""
"This strategy is based on the usage of EJB references, from EJB to EJB and "
@@ -463,7 +465,7 @@
msgstr ""
#. Tag: listitem
-#: Websphere.xml:218
+#: Websphere.xml:214
#, no-c-format
msgid ""
"<listitem>In <literal>components.xml</literal>, add the following line:</"
@@ -471,7 +473,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:223
+#: Websphere.xml:219
#, no-c-format
msgid ""
"Follow the instructions in <xref linkend=\"config.integration.ejb.container"
@@ -479,7 +481,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:228
+#: Websphere.xml:224
#, no-c-format
msgid ""
"This is the most tedious strategy as each session bean referenced by another "
@@ -489,27 +491,27 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:239
+#: Websphere.xml:235
#, no-c-format
msgid "Configuring timeouts for Stateful Session Beans"
msgstr ""
#. Tag: para
-#: Websphere.xml:240
+#: Websphere.xml:236
#, no-c-format
msgid ""
"A timeout value has to be set for each stateful session bean used in the "
"application because stateful bean must not expire in WebSphere while Seam "
-"might still need thenm. At the time of writing this document, WebSphere does "
+"might still need them. At the time of writing this document, WebSphere does "
"not provide a way to configure a global timeout at neither the cluster, "
"server, application nor ejb-jar level. It has to be done for each stateful "
-"bean individually. This is done by adding a file named <literal>META-INF/ibm-"
-"ejb-jar-ext.xml</literal> in the EJB module, and declare the timeout value "
-"for each bean:"
+"bean individually. By default, the default timeout is 10 minutes. This is "
+"done by adding a file named <literal>META-INF/ibm-ejb-jar-ext.xml</literal> "
+"in the EJB module, and declare the timeout value for each bean:"
msgstr ""
#. Tag: programlisting
-#: Websphere.xml:246
+#: Websphere.xml:242
#, no-c-format
msgid ""
"<![CDATA[<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
@@ -529,24 +531,24 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:248
+#: Websphere.xml:244
#, no-c-format
msgid ""
"The <literal>time-out</literal> is expressed in seconds and must be higher "
"than the Seam conversation expiration timeout and a few minutes higher than "
"the user's HTTP session timeout (The session expiration timeout can trigger "
-"a few minutes after the number of minutes declared to expire s for the HTTP "
-"session expiration)."
+"a few minutes after the number of minutes declared to expire the HTTP "
+"session)."
msgstr ""
#. Tag: title
-#: Websphere.xml:257
+#: Websphere.xml:253
#, no-c-format
msgid "The <literal>jee5/booking</literal> example"
msgstr ""
#. Tag: para
-#: Websphere.xml:259
+#: Websphere.xml:255
#, no-c-format
msgid ""
"The<literal>jee5/booking</literal>example is based on the Hotel Booking "
@@ -557,23 +559,32 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:265
+#: Websphere.xml:261
#, no-c-format
msgid ""
-"For running this example, we'll use the second JNDI mapping strategy "
-"(\"Override the default names generated by WebSphere\") as we don't want to "
-"change the java code to add the <literal>@JndiName</literal> annotation as "
-"in the first strategy."
+"The example already has a breakout of configurations and build scripts for "
+"WebSphere. First thing, we are going to do is build and deploy this example. "
+"Then we'll go over some key changes that we needed."
msgstr ""
+#. Tag: para
+#: Websphere.xml:266
+#, no-c-format
+msgid ""
+"The tailored configuration files for WebSphere use the second JNDI mapping "
+"strategy (\"Override the default names generated by WebSphere\") as the goal "
+"was to not change any java code to add the <literal>@JndiName</literal> "
+"annotation as in the first strategy."
+msgstr ""
+
#. Tag: title
-#: Websphere.xml:271
+#: Websphere.xml:272
#, no-c-format
msgid "Building the <literal>jee5/booking</literal> example"
msgstr ""
#. Tag: para
-#: Websphere.xml:273
+#: Websphere.xml:274
#, no-c-format
msgid ""
"Building it only requires running the correct ant command: "
@@ -583,21 +594,21 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:280
+#: Websphere.xml:281
#, no-c-format
msgid "Deploying the <literal>jee5/booking</literal> example"
msgstr ""
#. Tag: para
-#: Websphere.xml:281
+#: Websphere.xml:282
#, no-c-format
msgid ""
-"The steps below are for the WAS version stated above.The ports are default "
-"values, if you changed them, you must substitute the values."
+"The steps below are for the WAS version stated above.The ports are the "
+"default values, if you changed them, you must substitute the values."
msgstr ""
#. Tag: listitem
-#: Websphere.xml:284
+#: Websphere.xml:285
#, no-c-format
msgid ""
"Log in to the administration console <programlisting><![CDATA[http://"
@@ -606,7 +617,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:291
+#: Websphere.xml:292
#, no-c-format
msgid ""
"Go to the <literal>WebSphere enterprise applications</literal> menu option "
@@ -615,7 +626,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:298
+#: Websphere.xml:299
#, no-c-format
msgid ""
"At the top of the <literal>Enterprise Applications</literal> table select "
@@ -624,13 +635,13 @@
msgstr ""
#. Tag: literal
-#: Websphere.xml:304
+#: Websphere.xml:305
#, no-c-format
msgid "Preparing for the application installation"
msgstr ""
#. Tag: para
-#: Websphere.xml:307
+#: Websphere.xml:308
#, no-c-format
msgid ""
"Browse to the <literal>examples/jee5/booking/dist-websphere7/jboss-seam-jee5."
@@ -638,25 +649,25 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:313 Websphere.xml:323 Websphere.xml:341
+#: Websphere.xml:314 Websphere.xml:324 Websphere.xml:342
#, no-c-format
msgid "Select the <literal>Next</literal> button."
msgstr ""
#. Tag: para
-#: Websphere.xml:318
+#: Websphere.xml:319
#, no-c-format
msgid "Select the <literal>Fast Path</literal> button."
msgstr ""
#. Tag: literal
-#: Websphere.xml:332
+#: Websphere.xml:333
#, no-c-format
msgid "Select installation options"
msgstr ""
#. Tag: para
-#: Websphere.xml:335
+#: Websphere.xml:336
#, no-c-format
msgid ""
"Select the <literal>Deploy enterprise beans and Allow EJB reference targets "
@@ -665,13 +676,13 @@
msgstr ""
#. Tag: literal
-#: Websphere.xml:350
+#: Websphere.xml:351
#, no-c-format
msgid "Map modules to servers"
msgstr ""
#. Tag: para
-#: Websphere.xml:353
+#: Websphere.xml:354
#, no-c-format
msgid ""
"No changes needed here as we only have one server. Select the <literal>Next</"
@@ -679,13 +690,13 @@
msgstr ""
#. Tag: literal
-#: Websphere.xml:362
+#: Websphere.xml:363
#, no-c-format
msgid "Map virtual hosts for Web modules"
msgstr ""
#. Tag: para
-#: Websphere.xml:365
+#: Websphere.xml:366
#, no-c-format
msgid ""
"No changes needed here as we only have one virtual host. Select the "
@@ -693,31 +704,31 @@
msgstr ""
#. Tag: literal
-#: Websphere.xml:374
+#: Websphere.xml:375
#, no-c-format
msgid "Summary"
msgstr ""
#. Tag: para
-#: Websphere.xml:377
+#: Websphere.xml:378
#, no-c-format
msgid "No changes needed here. Select the <literal>Finish</literal> button."
msgstr ""
#. Tag: literal
-#: Websphere.xml:384
+#: Websphere.xml:385
#, no-c-format
msgid "Installation"
msgstr ""
#. Tag: para
-#: Websphere.xml:387
+#: Websphere.xml:388
#, no-c-format
msgid "Now you will see WebSphere installing and deploying your application."
msgstr ""
#. Tag: para
-#: Websphere.xml:390
+#: Websphere.xml:391
#, no-c-format
msgid ""
"When done, select the <literal>Save</literal> link and you will be returned "
@@ -725,15 +736,15 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:399
+#: Websphere.xml:400
#, no-c-format
msgid ""
-"To start the application select our application in the list, then click on "
+"To start the application, select the application in the list, then click on "
"the <literal>Start</literal> button at the top of the table."
msgstr ""
#. Tag: para
-#: Websphere.xml:409
+#: Websphere.xml:410
#, no-c-format
msgid ""
"You can now access the application at <literal>http://localhost:9080/seam-"
@@ -741,13 +752,13 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:418
+#: Websphere.xml:419
#, no-c-format
msgid "Deviation from the original base files"
msgstr ""
#. Tag: section
-#: Websphere.xml:418
+#: Websphere.xml:419
#, no-c-format
msgid ""
"Below are the differences between the base configuration files and the "
@@ -756,7 +767,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:422
+#: Websphere.xml:423
#, no-c-format
msgid ""
"<literal>META-INF/ejb-jar.xml</literal> — Removed all the EJB "
@@ -764,37 +775,37 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:428
+#: Websphere.xml:429
#, no-c-format
msgid ""
"<literal>META-INF/ibm-ejb-jar-bnd.xml</literal> — This WebSphere "
"specific file has been added as we use the second JNDI mapping strategy. It "
-"defines, for each session bean, the name WebSphere will use to bind it its "
-"JNDI name space"
+"defines, for each session bean, the name WebSphere will use to bind it in "
+"its JNDI name space"
msgstr ""
#. Tag: para
-#: Websphere.xml:435
+#: Websphere.xml:436
#, no-c-format
msgid ""
"<literal>META-INF/ibm-ejb-jar-ext.xml</literal> — This WebSphere "
-"specific file defines to WebSphere, the timeout value for each stateful bean"
+"specific file defines the timeout value for each stateful bean"
msgstr ""
#. Tag: para
-#: Websphere.xml:441
+#: Websphere.xml:442
#, no-c-format
msgid ""
"<literal>META-INF/persistence.xml</literal> — The main changes here "
"are for the datasource JNDI path, switching to the WebSphere transaction "
"manager lookup class, turning off the <literal>hibernate.transaction."
"flush_before_completion</literal> toggle, and forcing the Hibernate dialect "
-"to be <literal>GlassfishDerbyDialect</literal> how as using the integrated "
-"Derby database"
+"to be <literal>GlassfishDerbyDialect</literal> as we are using the "
+"integrated Derby database"
msgstr ""
#. Tag: para
-#: Websphere.xml:451
+#: Websphere.xml:452
#, no-c-format
msgid ""
"<literal>WEB-INF/components.xml</literal> — the change here is "
@@ -803,7 +814,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:459
+#: Websphere.xml:460
#, no-c-format
msgid ""
"<literal>WEB-INF/web.xml</literal> — Remove all the <literal>ejb-local "
@@ -813,7 +824,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:467 Websphere.xml:549
+#: Websphere.xml:468
#, no-c-format
msgid ""
"<literal>import.sql</literal> — due to the cutomized hibernate Derby "
@@ -822,7 +833,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:474
+#: Websphere.xml:475
#, no-c-format
msgid ""
"Also the build procedure has been changed to include the <literal>log4j.jar</"
@@ -831,13 +842,13 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:486
+#: Websphere.xml:487
#, no-c-format
msgid "The <literal>jpa</literal> booking example"
msgstr ""
#. Tag: para
-#: Websphere.xml:488
+#: Websphere.xml:489
#, no-c-format
msgid ""
"This is the Hotel Booking example implemented in Seam POJOs and using "
@@ -845,7 +856,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:493
+#: Websphere.xml:494
#, no-c-format
msgid ""
"The example already has a breakout of configurations and build scripts for "
@@ -853,7 +864,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:498
+#: Websphere.xml:499
#, no-c-format
msgid ""
"First thing, we are going to do is build and deploy that example. Then we'll "
@@ -861,13 +872,13 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:504
+#: Websphere.xml:505
#, no-c-format
msgid "Building the <literal>jpa</literal> example"
msgstr ""
#. Tag: para
-#: Websphere.xml:505
+#: Websphere.xml:506
#, no-c-format
msgid ""
"Building it only requires running the correct ant command: "
@@ -877,13 +888,13 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:514
+#: Websphere.xml:515
#, no-c-format
msgid "Deploying the <literal>jpa</literal> example"
msgstr ""
#. Tag: para
-#: Websphere.xml:515
+#: Websphere.xml:516
#, no-c-format
msgid ""
"Deploying <literal>jpa</literal> application is very similar to the "
@@ -894,7 +905,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:521
+#: Websphere.xml:522
#, no-c-format
msgid ""
"Follow the same instructions as for the <literal>jee5/booking</literal> "
@@ -902,11 +913,11 @@
"literal> file on the first page and on the <literal>Map context roots for "
"Web modules</literal> page (after the <literal>Map virtual host for Web "
"module</literal>), enter the context root you want to use for your "
-"application in the <literal>Contect Root</literal> input field."
+"application in the <literal>Context Root</literal> input field."
msgstr ""
#. Tag: para
-#: Websphere.xml:528
+#: Websphere.xml:529
#, no-c-format
msgid ""
"When started, you can now access the application at the <literal>http://"
@@ -914,13 +925,13 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:534
+#: Websphere.xml:535
#, no-c-format
msgid "Deviation from the generic base files"
msgstr ""
#. Tag: section
-#: Websphere.xml:534
+#: Websphere.xml:535
#, no-c-format
msgid ""
"Below are the configuration file differences between the base configuration "
@@ -929,7 +940,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:539
+#: Websphere.xml:540
#, no-c-format
msgid ""
"<literal>META-INF/persistence.xml</literal> — The main changes here "
@@ -941,9 +952,18 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:556
+#: Websphere.xml:550
#, no-c-format
msgid ""
+"<literal>import.sql</literal> — due to the customized hibernate Derby "
+"dialect, the <literal>ID</literal> column can not be populated by this file "
+"and was removed."
+msgstr ""
+
+#. Tag: para
+#: Websphere.xml:557
+#, no-c-format
+msgid ""
"Also the build procedure have been changed to include the <literal>log4j."
"jar</literal> file and exclude the <literal>concurrent.jar</literal> and "
"<literal>jboss-common-core.jar</literal> files."
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/fr-FR/Configuration.po
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/fr-FR/Configuration.po 2009-08-26 19:14:02 UTC (rev 11432)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/fr-FR/Configuration.po 2009-08-26 19:19:33 UTC (rev 11433)
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-05-05 12:31+0000\n"
+"POT-Creation-Date: 2009-08-26 18:47+0000\n"
"PO-Revision-Date: 2008-04-04 01:24+0000\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
@@ -677,13 +677,63 @@
msgstr ""
#. Tag: title
+#: Configuration.xml:325
+#, no-c-format
+msgid "Enabling HTTP cache-control headers"
+msgstr ""
+
+#. Tag: para
#: Configuration.xml:326
#, no-c-format
+msgid ""
+"Seam does <emphasis>not</emphasis> automatically add <literal>cache-control</"
+"literal> HTTP headers to any resources served by the Seam resource servlet, "
+"or directly from your view directory by the servlet container. This means "
+"that your images, Javascript and CSS files, and resource representations "
+"from Seam resource servlet such as Seam Remoting Javascript interfaces are "
+"usually not cached by the browser. This is convenient in development but "
+"should be changed in production when optimizing the application."
+msgstr ""
+
+#. Tag: para
+#: Configuration.xml:334
+#, no-c-format
+msgid ""
+"You can configure a Seam filter to enable automatic addition of "
+"<literal>cache-control</literal> headers depending on the requested URI in "
+"<literal>components.xml</literal>:"
+msgstr ""
+
+#. Tag: programlisting
+#: Configuration.xml:339
+#, no-c-format
+msgid ""
+"<![CDATA[<web:cache-control-filter name=\"commonTypesCacheControlFilter\"\n"
+" regex-url-pattern=\".*(\\.gif|\\.png|\\.jpg|\\."
+"jpeg|\\.css|\\.js)\"\n"
+" value=\"max-age=86400\"/> <!-- 1 day -->\n"
+"\n"
+"<web:cache-control-filter name=\"anotherCacheControlFilter\"\n"
+" url-pattern=\"/my/cachable/resources/*\"\n"
+" value=\"max-age=432000\"/> <!-- 5 days -->]]>"
+msgstr ""
+
+#. Tag: para
+#: Configuration.xml:341
+#, no-c-format
+msgid ""
+"You do not have to name the filters unless you have more than one filter "
+"enabled."
+msgstr ""
+
+#. Tag: title
+#: Configuration.xml:348
+#, no-c-format
msgid "Adding custom filters"
msgstr ""
#. Tag: para
-#: Configuration.xml:327
+#: Configuration.xml:349
#, no-c-format
msgid ""
"Seam can install your filters for you, allowing you to specify "
@@ -695,7 +745,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:332
+#: Configuration.xml:354
#, no-c-format
msgid ""
"<![CDATA[@Startup\n"
@@ -707,7 +757,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:334
+#: Configuration.xml:356
#, no-c-format
msgid ""
"Adding the <literal>@Startup</literal> annotation means thar the component "
@@ -718,13 +768,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:343
+#: Configuration.xml:365
#, no-c-format
msgid "Integrating Seam with your EJB container"
msgstr ""
#. Tag: para
-#: Configuration.xml:345
+#: Configuration.xml:367
#, no-c-format
msgid ""
"In a Seam application, EJB components have a certain duality, as they are "
@@ -735,7 +785,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:350
+#: Configuration.xml:372
#, no-c-format
msgid ""
"We need to apply the <literal>SeamInterceptor</literal> to our Seam EJB "
@@ -747,7 +797,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:355
+#: Configuration.xml:377
#, no-c-format
msgid ""
"<![CDATA[<interceptors>\n"
@@ -768,7 +818,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:357
+#: Configuration.xml:379
#, no-c-format
msgid ""
"Seam needs to know where to go to find session beans in JNDI. One way to do "
@@ -782,19 +832,19 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:364
+#: Configuration.xml:386
#, no-c-format
msgid "For JBoss AS, the following pattern is correct:"
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:366
+#: Configuration.xml:388
#, no-c-format
msgid "<![CDATA[<core:init jndi-name=\"earName/#{ejbName}/local\" />]]>"
msgstr ""
#. Tag: para
-#: Configuration.xml:368
+#: Configuration.xml:390
#, no-c-format
msgid ""
"In this case, <literal>earName</literal> is the name of the EAR in which the "
@@ -804,7 +854,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:372
+#: Configuration.xml:394
#, no-c-format
msgid ""
"Outside the context of an EAR (when using the JBoss Embeddable EJB3 "
@@ -813,13 +863,13 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:375
+#: Configuration.xml:397
#, no-c-format
msgid "<![CDATA[<core:init jndi-name=\"#{ejbName}/local\" />]]>"
msgstr ""
#. Tag: para
-#: Configuration.xml:377
+#: Configuration.xml:399
#, no-c-format
msgid ""
"How these JNDI names are resolved and somehow locate an EJB component might "
@@ -828,7 +878,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:381
+#: Configuration.xml:403
#, no-c-format
msgid ""
"The folks at JBoss don't care much for XML, if you can't tell. So when they "
@@ -839,14 +889,14 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:387
+#: Configuration.xml:409
#, no-c-format
msgid ""
"The value of the <literal><ejb-name></literal> element in ejb-jar.xml"
msgstr ""
#. Tag: para
-#: Configuration.xml:390
+#: Configuration.xml:412
#, no-c-format
msgid ""
"The value of the <literal>name</literal> attribute in the @Stateless or "
@@ -854,13 +904,13 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:393
+#: Configuration.xml:415
#, no-c-format
msgid "The simple name of the bean class"
msgstr ""
#. Tag: para
-#: Configuration.xml:397
+#: Configuration.xml:419
#, no-c-format
msgid ""
"Let's look at an example. Assume that you have the following EJB bean and "
@@ -868,7 +918,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:399
+#: Configuration.xml:421
#, no-c-format
msgid ""
"<![CDATA[package com.example.myapp;\n"
@@ -895,7 +945,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:401
+#: Configuration.xml:423
#, no-c-format
msgid ""
"Assuming your EJB bean class is deployed in an EAR named myapp, the global "
@@ -907,7 +957,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:407
+#: Configuration.xml:429
#, no-c-format
msgid ""
"So what about the rest of the application servers? Well, according to the "
@@ -919,7 +969,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:413
+#: Configuration.xml:435
#, no-c-format
msgid ""
"There are two places you have to define the EJB reference when using Seam on "
@@ -930,7 +980,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:418
+#: Configuration.xml:440
#, no-c-format
msgid ""
"<![CDATA[<ejb-local-ref>\n"
@@ -942,7 +992,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:420
+#: Configuration.xml:442
#, no-c-format
msgid ""
"This reference will cover most uses of the component in a Seam application. "
@@ -953,7 +1003,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:425
+#: Configuration.xml:447
#, no-c-format
msgid ""
"Within the context of an EJB method call, you have to deal with a somewhat "
@@ -970,7 +1020,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:434
+#: Configuration.xml:456
#, no-c-format
msgid ""
"For application servers that stubbornly adhere to the EJB specification, EJB "
@@ -982,7 +1032,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:439
+#: Configuration.xml:461
#, no-c-format
msgid ""
"Let's assume that we have an EJB named RegisterAction (the name is resolved "
@@ -991,7 +1041,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:442
+#: Configuration.xml:464
#, no-c-format
msgid ""
"<![CDATA[@In(create = true)\n"
@@ -1000,7 +1050,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:444
+#: Configuration.xml:466
#, no-c-format
msgid ""
"In order for this injection to work, the link must be established in the ejb-"
@@ -1008,7 +1058,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:446
+#: Configuration.xml:468
#, no-c-format
msgid ""
"<![CDATA[<ejb-jar>\n"
@@ -1031,7 +1081,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:448
+#: Configuration.xml:470
#, no-c-format
msgid ""
"Notice that the contents of the <literal><ejb-local-ref></literal> are "
@@ -1043,7 +1093,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:454
+#: Configuration.xml:476
#, no-c-format
msgid ""
"But what about <literal>@EJB</literal>? It's true that you can inject one "
@@ -1061,7 +1111,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:464
+#: Configuration.xml:486
#, no-c-format
msgid ""
"That covers how JNDI names are defined and used. The lesson is that with "
@@ -1074,7 +1124,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:470
+#: Configuration.xml:492
#, no-c-format
msgid ""
"<![CDATA[<core:init jndi-name=\"java:comp/env/earName/#{ejbName}/local\" />]]"
@@ -1082,7 +1132,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:472
+#: Configuration.xml:494
#, no-c-format
msgid ""
"Finally, let's talk about transactions. In an EJB3 environment, we recommend "
@@ -1094,19 +1144,19 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:479
+#: Configuration.xml:501
#, no-c-format
msgid "<![CDATA[<transaction:ejb-transaction/>]]>"
msgstr ""
#. Tag: title
-#: Configuration.xml:484
+#: Configuration.xml:506
#, no-c-format
msgid "Don't forget!"
msgstr ""
#. Tag: para
-#: Configuration.xml:486
+#: Configuration.xml:508
#, no-c-format
msgid ""
"There is one final item you need to know about. You must place a "
@@ -1118,7 +1168,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:491
+#: Configuration.xml:513
#, no-c-format
msgid ""
"In a web archive (WAR) file, you must place a <literal>seam.properties</"
@@ -1127,7 +1177,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:494
+#: Configuration.xml:516
#, no-c-format
msgid ""
"That's why all the Seam examples have an empty <literal>seam.properties</"
@@ -1136,7 +1186,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:497
+#: Configuration.xml:519
#, no-c-format
msgid ""
"You might think this is silly and what kind of idiot framework designers "
@@ -1148,13 +1198,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:508
+#: Configuration.xml:530
#, no-c-format
msgid "Using Alternate JPA Providers"
msgstr ""
#. Tag: para
-#: Configuration.xml:510
+#: Configuration.xml:532
#, no-c-format
msgid ""
"Seam comes packaged and configured with Hibernate as the default JPA "
@@ -1163,13 +1213,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:516
+#: Configuration.xml:538
#, no-c-format
msgid "This is a workaround"
msgstr ""
#. Tag: para
-#: Configuration.xml:517
+#: Configuration.xml:539
#, no-c-format
msgid ""
"Configuration of the JPA provider will be easier in the future and will not "
@@ -1178,7 +1228,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:524
+#: Configuration.xml:546
#, no-c-format
msgid ""
"Telling seam about a different JPA provider can be be done in one of two "
@@ -1186,7 +1236,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:525
+#: Configuration.xml:547
#, no-c-format
msgid ""
"Update your application's <literal>components.xml</literal> so that the "
@@ -1195,7 +1245,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:530
+#: Configuration.xml:552
#, no-c-format
msgid ""
"<![CDATA[<component name=\"org.jboss.seam.persistence.persistenceProvider"
@@ -1206,7 +1256,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:531
+#: Configuration.xml:553
#, no-c-format
msgid ""
"If you want to take advantage of your JPA provider's non-standard features "
@@ -1218,7 +1268,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:538
+#: Configuration.xml:560
#, no-c-format
msgid ""
"<![CDATA[<component name=\"org.jboss.seam.persistence.persistenceProvider"
@@ -1228,7 +1278,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:539
+#: Configuration.xml:561
#, no-c-format
msgid ""
"All that is left is updating the <literal>persistence.xml</literal> file "
@@ -1238,13 +1288,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:547
+#: Configuration.xml:569
#, no-c-format
msgid "Configuring Seam in Java EE 5"
msgstr ""
#. Tag: para
-#: Configuration.xml:558
+#: Configuration.xml:580
#, no-c-format
msgid ""
"If you're running in a Java EE 5 environment, this is all the configuration "
@@ -1252,14 +1302,14 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:561 Configuration.xml:656 Configuration.xml:794
-#: Configuration.xml:827
+#: Configuration.xml:583 Configuration.xml:678 Configuration.xml:816
+#: Configuration.xml:849
#, no-c-format
msgid "Packaging"
msgstr ""
#. Tag: para
-#: Configuration.xml:563
+#: Configuration.xml:585
#, no-c-format
msgid ""
"Once you've packaged all this stuff together into an EAR, the archive "
@@ -1267,7 +1317,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:566
+#: Configuration.xml:588
#, no-c-format
msgid ""
"<![CDATA[my-application.ear/\n"
@@ -1307,7 +1357,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:568
+#: Configuration.xml:590
#, no-c-format
msgid ""
"You should declare <literal>jboss-seam.jar</literal> as an ejb module in "
@@ -1316,7 +1366,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:573
+#: Configuration.xml:595
#, no-c-format
msgid ""
"If you want to use jBPM or Drools, you must include the needed jars in the "
@@ -1324,7 +1374,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:575
+#: Configuration.xml:597
#, no-c-format
msgid ""
"If you want to use facelets (our recommendation), you must include "
@@ -1333,7 +1383,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:578
+#: Configuration.xml:600
#, no-c-format
msgid ""
"If you want to use the Seam tag library (most Seam applications do), you "
@@ -1344,7 +1394,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:583
+#: Configuration.xml:605
#, no-c-format
msgid ""
"If you want to use the Seam debug page (only works for applications using "
@@ -1353,7 +1403,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:586
+#: Configuration.xml:608
#, no-c-format
msgid ""
"Seam ships with several example applications that are deployable in any Java "
@@ -1361,7 +1411,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:589
+#: Configuration.xml:611
#, no-c-format
msgid ""
"I really wish that was all there was to say on the topic of configuration "
@@ -1371,13 +1421,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:598
+#: Configuration.xml:620
#, no-c-format
msgid "Configuring Seam in J2EE"
msgstr ""
#. Tag: para
-#: Configuration.xml:600
+#: Configuration.xml:622
#, no-c-format
msgid ""
"Seam is useful even if you're not yet ready to take the plunge into EJB 3.0. "
@@ -1389,7 +1439,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:615
+#: Configuration.xml:637
#, no-c-format
msgid ""
"Seam JavaBean components do not provide declarative transaction demarcation "
@@ -1401,7 +1451,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:621
+#: Configuration.xml:643
#, no-c-format
msgid ""
"The Seam distribution includes a version of the booking example application "
@@ -1411,13 +1461,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:626
+#: Configuration.xml:648
#, no-c-format
msgid "Boostrapping Hibernate in Seam"
msgstr ""
#. Tag: para
-#: Configuration.xml:628
+#: Configuration.xml:650
#, no-c-format
msgid ""
"Seam will bootstrap a Hibernate <literal>SessionFactory</literal> from your "
@@ -1426,7 +1476,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:631
+#: Configuration.xml:653
#, no-c-format
msgid ""
"<![CDATA[<persistence:hibernate-session-factory name="
@@ -1434,7 +1484,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:633
+#: Configuration.xml:655
#, no-c-format
msgid ""
"You will also need to configure a <emphasis>managed session</emphasis> if "
@@ -1443,7 +1493,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:636
+#: Configuration.xml:658
#, no-c-format
msgid ""
"<![CDATA[<persistence:managed-hibernate-session name=\"hibernateSession\"\n"
@@ -1452,13 +1502,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:641
+#: Configuration.xml:663
#, no-c-format
msgid "Boostrapping JPA in Seam"
msgstr ""
#. Tag: para
-#: Configuration.xml:643
+#: Configuration.xml:665
#, no-c-format
msgid ""
"Seam will bootstrap a JPA <literal>EntityManagerFactory</literal> from your "
@@ -1467,7 +1517,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:646
+#: Configuration.xml:668
#, no-c-format
msgid ""
"<![CDATA[<persistence:entity-manager-factory name=\"entityManagerFactory\"/"
@@ -1475,7 +1525,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:648
+#: Configuration.xml:670
#, no-c-format
msgid ""
"You will also need to configure a <emphasis>managed persistence context</"
@@ -1484,7 +1534,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:651
+#: Configuration.xml:673
#, no-c-format
msgid ""
"<![CDATA[<persistence:managed-persistence-context name=\"entityManager\"\n"
@@ -1493,13 +1543,13 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:658
+#: Configuration.xml:680
#, no-c-format
msgid "We can package our application as a WAR, in the following structure:"
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:660
+#: Configuration.xml:682
#, no-c-format
msgid ""
"<![CDATA[my-application.war/\n"
@@ -1536,7 +1586,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:662
+#: Configuration.xml:684
#, no-c-format
msgid ""
"If we want to deploy Hibernate in a non-EE environment like Tomcat or "
@@ -1544,13 +1594,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:669
+#: Configuration.xml:691
#, no-c-format
msgid "Configuring Seam in Java SE, without JBoss Embedded"
msgstr ""
#. Tag: para
-#: Configuration.xml:671
+#: Configuration.xml:693
#, no-c-format
msgid ""
"It is possible to use Seam completely outside of an EE environment. In this "
@@ -1560,7 +1610,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:675
+#: Configuration.xml:697
#, no-c-format
msgid ""
"<![CDATA[<transaction:entity-transaction entity-manager=\"#{entityManager}\"/"
@@ -1568,7 +1618,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:677
+#: Configuration.xml:699
#, no-c-format
msgid ""
"If you're using Hibernate, you can tell Seam to use the Hibernate "
@@ -1576,32 +1626,32 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:679
+#: Configuration.xml:701
#, no-c-format
msgid "<![CDATA[<transaction:hibernate-transaction session=\"#{session}\"/>]]>"
msgstr ""
#. Tag: para
-#: Configuration.xml:681
+#: Configuration.xml:703
#, no-c-format
msgid "Of course, you'll also need to define a datasource."
msgstr ""
#. Tag: para
-#: Configuration.xml:683
+#: Configuration.xml:705
#, no-c-format
msgid ""
"A better alternative is to use JBoss Embedded to get access to the EE APIs."
msgstr ""
#. Tag: title
-#: Configuration.xml:688
+#: Configuration.xml:710
#, no-c-format
msgid "Configuring Seam in Java SE, with JBoss Embedded"
msgstr ""
#. Tag: para
-#: Configuration.xml:690
+#: Configuration.xml:712
#, no-c-format
msgid ""
"JBoss Embedded lets you run EJB3 components outside the context of the Java "
@@ -1610,7 +1660,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:693
+#: Configuration.xml:715
#, no-c-format
msgid ""
"The Seam booking example application includes a TestNG integration test "
@@ -1618,19 +1668,19 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:705
+#: Configuration.xml:727
#, no-c-format
msgid "The booking example application may even be deployed to Tomcat."
msgstr ""
#. Tag: title
-#: Configuration.xml:717
+#: Configuration.xml:739
#, no-c-format
msgid "Installing Embedded JBoss"
msgstr ""
#. Tag: para
-#: Configuration.xml:720
+#: Configuration.xml:742
#, no-c-format
msgid ""
"Embedded JBoss must by installed into Tomcat for Seam applications to run "
@@ -1643,7 +1693,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:734
+#: Configuration.xml:756
#, no-c-format
msgid ""
"Copy all files and directories under the Embedded JBoss <literal>bootstrap</"
@@ -1653,7 +1703,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:741
+#: Configuration.xml:763
#, no-c-format
msgid ""
"Remove the <literal>annotations-api.jar</literal> file from the Tomcat "
@@ -1661,7 +1711,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:747
+#: Configuration.xml:769
#, no-c-format
msgid ""
"Next, two configuration files need to be updated to add Embedded JBoss-"
@@ -1669,7 +1719,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:753
+#: Configuration.xml:775
#, no-c-format
msgid ""
"Add the Embedded JBoss listener <literal>EmbeddedJBossBootstrapListener</"
@@ -1678,7 +1728,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:756
+#: Configuration.xml:778
#, no-c-format
msgid ""
"<![CDATA[<Server port=\"8005\" shutdown=\"SHUTDOWN\">\n"
@@ -1696,7 +1746,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:757
+#: Configuration.xml:779
#, no-c-format
msgid ""
"<![CDATA[ <!-- Add this listener -->\n"
@@ -1705,7 +1755,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:761
+#: Configuration.xml:783
#, no-c-format
msgid ""
"WAR file scanning should be enabled by adding the <literal>WebinfScanner</"
@@ -1713,7 +1763,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:764
+#: Configuration.xml:786
#, no-c-format
msgid ""
"<![CDATA[<Context>\n"
@@ -1728,7 +1778,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:765
+#: Configuration.xml:787
#, no-c-format
msgid ""
"<![CDATA[ <!-- Add this listener -->\n"
@@ -1736,13 +1786,13 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:766
+#: Configuration.xml:788
#, no-c-format
msgid "<![CDATA[</Context>]]>"
msgstr ""
#. Tag: para
-#: Configuration.xml:770
+#: Configuration.xml:792
#, no-c-format
msgid ""
"If you are using Sun JDK 6, you need to set the Java option <literal>sun."
@@ -1752,7 +1802,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:775
+#: Configuration.xml:797
#, no-c-format
msgid ""
"Open the script appropriate for your operating system in a text editor. Add "
@@ -1762,7 +1812,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:779
+#: Configuration.xml:801
#, no-c-format
msgid ""
"<![CDATA[set JAVA_OPTS=%JAVA_OPTS% -Dsun.lang.ClassLoader."
@@ -1770,13 +1820,13 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:781
+#: Configuration.xml:803
#, no-c-format
msgid "On Unix, use this syntax instead:"
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:783
+#: Configuration.xml:805
#, no-c-format
msgid ""
"<![CDATA[JAVA_OPTS=\"$JAVA_OPTS -Dsun.lang.ClassLoader.allowArraySyntax=true"
@@ -1784,7 +1834,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:788
+#: Configuration.xml:810
#, no-c-format
msgid ""
"For more configuration options, please see the Embedded JBoss Tomcat "
@@ -1793,7 +1843,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:796
+#: Configuration.xml:818
#, no-c-format
msgid ""
"The archive structure of a WAR-based deployment on an servlet engine like "
@@ -1801,7 +1851,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:799
+#: Configuration.xml:821
#, no-c-format
msgid ""
"<![CDATA[my-application.war/\n"
@@ -1839,7 +1889,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:801
+#: Configuration.xml:823
#, no-c-format
msgid ""
"Most of the Seam example applications may be deployed to Tomcat by running "
@@ -1847,13 +1897,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:809
+#: Configuration.xml:831
#, no-c-format
msgid "Configuring jBPM in Seam"
msgstr ""
#. Tag: para
-#: Configuration.xml:810
+#: Configuration.xml:832
#, no-c-format
msgid ""
"Seam's jBPM integration is not installed by default, so you'll need to "
@@ -1863,7 +1913,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:814
+#: Configuration.xml:836
#, no-c-format
msgid ""
"<![CDATA[<bpm:jbpm>\n"
@@ -1879,7 +1929,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:816
+#: Configuration.xml:838
#, no-c-format
msgid ""
"No further special configuration is needed if you only have pageflows. If "
@@ -1890,7 +1940,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:821
+#: Configuration.xml:843
#, no-c-format
msgid ""
"<![CDATA[<jbpm-configuration>\n"
@@ -1920,7 +1970,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:823
+#: Configuration.xml:845
#, no-c-format
msgid ""
"The most important thing to notice here is that jBPM transaction control is "
@@ -1928,7 +1978,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:829
+#: Configuration.xml:851
#, no-c-format
msgid ""
"There is not yet any well-defined packaging format for jBPM configuration "
@@ -1939,7 +1989,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:834
+#: Configuration.xml:856
#, no-c-format
msgid ""
"<![CDATA[my-application.ear/\n"
@@ -1986,13 +2036,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:841
+#: Configuration.xml:863
#, no-c-format
msgid "Configuring SFSB and Session Timeouts in JBoss AS"
msgstr ""
#. Tag: para
-#: Configuration.xml:843
+#: Configuration.xml:865
#, no-c-format
msgid ""
"It is very important that the timeout for Stateful Session Beans is set "
@@ -2004,7 +2054,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:849
+#: Configuration.xml:871
#, no-c-format
msgid ""
"The default SFSB timeout can be adjusted by modifying the value of "
@@ -2013,7 +2063,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:852
+#: Configuration.xml:874
#, no-c-format
msgid ""
"<![CDATA[<container-cache-conf>\n"
@@ -2038,7 +2088,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:854
+#: Configuration.xml:876
#, no-c-format
msgid ""
"The default HTTP session timeout can be modified in <literal>server/default/"
@@ -2049,7 +2099,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:859
+#: Configuration.xml:881
#, no-c-format
msgid ""
"<![CDATA[<session-config>\n"
@@ -2059,7 +2109,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:861
+#: Configuration.xml:883
#, no-c-format
msgid ""
"To override this value for your own application, simply include this entry "
@@ -2067,13 +2117,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:867
+#: Configuration.xml:889
#, no-c-format
msgid "Running Seam in a Portlet"
msgstr ""
#. Tag: para
-#: Configuration.xml:869
+#: Configuration.xml:891
#, no-c-format
msgid ""
"If you want to run your Seam application in a portlet, take a look at the "
@@ -2084,13 +2134,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:880
+#: Configuration.xml:902
#, no-c-format
msgid "Deploying custom resources"
msgstr ""
#. Tag: para
-#: Configuration.xml:882
+#: Configuration.xml:904
#, no-c-format
msgid ""
"Seam scans all jars containing <literal>/seam.properties</literal>, "
@@ -2101,7 +2151,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:889
+#: Configuration.xml:911
#, no-c-format
msgid ""
"You may also want Seam to handle custom resources. A common use case is to "
@@ -2111,7 +2161,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:896
+#: Configuration.xml:918
#, no-c-format
msgid ""
"<![CDATA[# A colon-separated list of annotation types to handle\n"
@@ -2119,7 +2169,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:898
+#: Configuration.xml:920
#, no-c-format
msgid ""
"Then, during application startup you can get hold of all classes annotated "
@@ -2127,7 +2177,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:903
+#: Configuration.xml:925
#, no-c-format
msgid ""
"<![CDATA[@Name(\"fooStartup\")\n"
@@ -2159,7 +2209,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:905
+#: Configuration.xml:927
#, no-c-format
msgid ""
"You can also handle <emphasis>any</emphasis> resource. For example, you "
@@ -2168,7 +2218,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:911
+#: Configuration.xml:933
#, no-c-format
msgid ""
"<![CDATA[public class FooDeploymentHandler implements DeploymentHandler {\n"
@@ -2192,7 +2242,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:913
+#: Configuration.xml:935
#, no-c-format
msgid ""
"Here we are just building a list of any files with the suffix <literal>.foo."
@@ -2200,7 +2250,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:918
+#: Configuration.xml:940
#, no-c-format
msgid ""
"Then, we need to register the deployment handler with Seam in <literal>/META-"
@@ -2209,7 +2259,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:925
+#: Configuration.xml:947
#, no-c-format
msgid ""
"<![CDATA[# For standard deployment\n"
@@ -2220,7 +2270,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:931
+#: Configuration.xml:953
#, no-c-format
msgid ""
"Seam uses deployment handlers internally to install components and "
@@ -2229,7 +2279,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:937
+#: Configuration.xml:959
#, no-c-format
msgid ""
"<![CDATA[@Name(\"fooStartup\")\n"
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/fr-FR/Webservices.po
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/fr-FR/Webservices.po 2009-08-26 19:14:02 UTC (rev 11432)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/fr-FR/Webservices.po 2009-08-26 19:19:33 UTC (rev 11433)
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-07-08 14:32+0000\n"
+"POT-Creation-Date: 2009-08-26 18:48+0000\n"
"PO-Revision-Date: 2008-04-04 01:24+0000\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
@@ -392,48 +392,56 @@
#: Webservices.xml:186
#, no-c-format
msgid ""
-"The URI starts with the pattern mapped in <literal>web.xml</literal> for the "
+"The URI starts with the host and context path of your application, e.g. "
+"<literal>http://your.hostname/myapp</literal>."
+msgstr ""
+
+#. Tag: para
+#: Webservices.xml:192
+#, no-c-format
+msgid ""
+"Then the pattern mapped in <literal>web.xml</literal> for the "
"<literal>SeamResourceServlet</literal>, e.g <literal>/seam/resource</"
-"literal> if you follow the common examples. Change this setting to expose "
-"your RESTful resources under a different base. Note that this is a global "
-"change and other Seam resources (e.g. <literal>s:graphicImage</literal>) are "
-"then also served under that base path."
+"literal> if you follow the common examples, is appended. Change this setting "
+"to expose your RESTful resources under a different base. Note that this is a "
+"global change and other Seam resources (e.g. <literal>s:graphicImage</"
+"literal>) are then also served under that base path."
msgstr ""
#. Tag: para
-#: Webservices.xml:195
+#: Webservices.xml:201
#, no-c-format
msgid ""
"The RESTEasy integration for Seam then appends a configurable string to the "
"base path, by default this is <literal>/rest</literal>. Hence, the full base "
-"path of your resources would e.g. be <literal>/seam/resource/rest</literal>. "
-"We recommend that you change this string in your application, you could for "
-"example add a version number to prepare for a future REST API upgrade of "
-"your services (old clients would keep the old URI base): <literal>/seam/"
-"resource/restv1</literal>."
+"path of your resources would e.g. be <literal>/myapp/seam/resource/rest</"
+"literal>. We recommend that you change this string in your application, you "
+"could for example add a version number to prepare for a future REST API "
+"upgrade of your services (old clients would keep the old URI base): "
+"<literal>/myapp/seam/resource/restv1</literal>."
msgstr ""
#. Tag: para
-#: Webservices.xml:204
+#: Webservices.xml:210
#, no-c-format
msgid ""
"Finally, the actual resource is available under the defined <literal>@Path</"
"literal>, e.g. a resource mapped with <literal>@Path(\"/customer\")</"
-"literal> would be available under <literal>/seam/resource/rest/customer</"
-"literal>."
+"literal> would be available under <literal>/myapp/seam/resource/rest/"
+"customer</literal>."
msgstr ""
#. Tag: para
-#: Webservices.xml:212
+#: Webservices.xml:218
#, no-c-format
msgid ""
"As an example, the following resource definition would return a plaintext "
"representation for any GET requests using the URI <literal>http://your."
-"hostname/seam/resource/rest/customer/123</literal>:"
+"hostname/myapp/seam/resource/rest/customer/123</literal>:"
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:217
+#: Webservices.xml:223
#, no-c-format
msgid ""
"<![CDATA[@Path(\"/customer\")\n"
@@ -450,7 +458,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:219
+#: Webservices.xml:225
#, no-c-format
msgid ""
"No additional configuration is required, you do not have to edit "
@@ -461,7 +469,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:225
+#: Webservices.xml:231
#, no-c-format
msgid ""
"<![CDATA[<components\n"
@@ -476,63 +484,39 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:227
+#: Webservices.xml:233
#, no-c-format
msgid ""
"You can then change the <literal>/rest</literal> prefix as mentioned earlier:"
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:231
+#: Webservices.xml:237
#, no-c-format
msgid "<![CDATA[<resteasy:application resource-path-prefix=\"/restv1\"/>]]>"
msgstr ""
#. Tag: para
-#: Webservices.xml:233
-#, no-c-format
-msgid ""
-"The full base path to your resources is now <literal>/seam/resource/restv1/"
-"{resource}</literal> - note that your <literal>@Path</literal> definitions "
-"and mappings do NOT change. This is an application-wide switch usually used "
-"for versioning of the HTTP API."
-msgstr ""
-
-#. Tag: para
#: Webservices.xml:239
#, no-c-format
msgid ""
-"You can disable stripping of the base path if you'd like to map the full "
-"path in your resources:"
+"The full base path to your resources is now <literal>/myapp/seam/resource/"
+"restv1/{resource}</literal> - note that your <literal>@Path</literal> "
+"definitions and mappings do NOT change. This is an application-wide switch "
+"usually used for versioning of the HTTP interface."
msgstr ""
-#. Tag: programlisting
-#: Webservices.xml:243
-#, no-c-format
-msgid "<![CDATA[<resteasy:application strip-seam-resource-path=\"false\"/>]]>"
-msgstr ""
-
#. Tag: para
#: Webservices.xml:245
#, no-c-format
msgid ""
-"The path of a resource is now mapped with e.g. <literal>@Path(\"/seam/"
-"resource/rest/customer\")</literal>. We do not recommend disabling this "
-"feature, as your resource class mappings are then bound to a particular "
-"deployment scenario."
-msgstr ""
-
-#. Tag: para
-#: Webservices.xml:251
-#, no-c-format
-msgid ""
"Seam will scan your classpath for any deployed <literal>@javax.ws.rs.Path</"
"literal> resources and any <literal>@javax.ws.rs.ext.Provider</literal> "
"classes. You can disable scanning and configure these classes manually:"
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:257
+#: Webservices.xml:251
#, no-c-format
msgid ""
"<![CDATA[<resteasy:application\n"
@@ -554,7 +538,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:259
+#: Webservices.xml:253
#, no-c-format
msgid ""
"The <literal>use-built-in-providers</literal> switch enables (default) or "
@@ -564,7 +548,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:265
+#: Webservices.xml:259
#, no-c-format
msgid ""
"RESTEasy supports plain EJBs (EJBs that are not Seam components) as "
@@ -576,20 +560,21 @@
"<literal>@Path</literal>, <literal>@GET</literal>, and so on - not the bean "
"implementation class. This allows you to keep your application deployment-"
"portable with the global Seam <literal>jndi-pattern</literal> switch on "
-"<literal><core:init/></literal>. Note that EJB resources will not be "
-"found even if scanning of resources is enabled, you always have to list them "
-"manually. Again, this is only relevant for EJB resources that are not also "
-"Seam components and that do not have a <literal>@Name</literal> annotation."
+"<literal><core:init/></literal>. Note that plain (non-Seam component) "
+"EJB resources will not be found even if scanning of resources is enabled, "
+"you always have to list them manually. Again, this whole paragraph is only "
+"relevant for EJB resources that are not also Seam components and that do not "
+"have an <literal>@Name</literal> annotation."
msgstr ""
#. Tag: para
-#: Webservices.xml:277
+#: Webservices.xml:272
#, no-c-format
msgid "Finally, you can configure media type and language URI extensions:"
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:281
+#: Webservices.xml:276
#, no-c-format
msgid ""
"<![CDATA[<resteasy:application>\n"
@@ -606,7 +591,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:283
+#: Webservices.xml:278
#, no-c-format
msgid ""
"This definition would map the URI suffix of <literal>.txt.deutsch</literal> "
@@ -616,13 +601,13 @@
msgstr ""
#. Tag: title
-#: Webservices.xml:292
+#: Webservices.xml:287
#, no-c-format
msgid "Resources and providers as Seam components"
msgstr ""
#. Tag: para
-#: Webservices.xml:294
+#: Webservices.xml:289
#, no-c-format
msgid ""
"Any resource and provider instances are managed by RESTEasy by default. That "
@@ -633,7 +618,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:301
+#: Webservices.xml:296
#, no-c-format
msgid ""
"You can write resources and providers as Seam components and benefit from "
@@ -642,7 +627,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:307
+#: Webservices.xml:302
#, no-c-format
msgid ""
"<![CDATA[@Name(\"customerResource\")\n"
@@ -663,7 +648,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:309
+#: Webservices.xml:304
#, no-c-format
msgid ""
"An instance of <literal>customerResource</literal> is now handled by Seam "
@@ -677,7 +662,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:318
+#: Webservices.xml:313
#, no-c-format
msgid ""
"You can annotate an interface and keep the implementation free from JAX-RS "
@@ -685,7 +670,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:322
+#: Webservices.xml:317
#, no-c-format
msgid ""
"<![CDATA[@Path(\"/customer\")\n"
@@ -700,7 +685,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:324
+#: Webservices.xml:319
#, no-c-format
msgid ""
"<![CDATA[@Name(\"customerResource\")\n"
@@ -718,7 +703,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:326
+#: Webservices.xml:321
#, no-c-format
msgid ""
"You can use <literal>SESSION</literal>-scoped Seam components. By default, "
@@ -733,7 +718,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:335
+#: Webservices.xml:330
#, no-c-format
msgid ""
"Assuming that your Seam application only uses event, application, or "
@@ -745,7 +730,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:342
+#: Webservices.xml:337
#, no-c-format
msgid ""
"If your RESTful Seam application has to preserve session state across REST "
@@ -753,14 +738,14 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:347
+#: Webservices.xml:342
#, no-c-format
msgid ""
"<![CDATA[<resteasy:application destroy-session-after-request=\"false\"/>]]>"
msgstr ""
#. Tag: para
-#: Webservices.xml:349
+#: Webservices.xml:344
#, no-c-format
msgid ""
"Every REST HTTP request will now create a new session that will only be "
@@ -771,7 +756,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:356
+#: Webservices.xml:351
#, no-c-format
msgid ""
"<literal>CONVERSATION</literal>-scoped resource components and mapping of "
@@ -780,7 +765,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:361
+#: Webservices.xml:356
#, no-c-format
msgid ""
"EJB Seam components are supported. Always annotate the local business "
@@ -789,7 +774,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:366
+#: Webservices.xml:361
#, no-c-format
msgid ""
"Provider classes can also be Seam components, only <literal>APPLICATION</"
@@ -799,13 +784,13 @@
msgstr ""
#. Tag: title
-#: Webservices.xml:375
+#: Webservices.xml:370
#, no-c-format
msgid "Securing resources"
msgstr ""
#. Tag: para
-#: Webservices.xml:377
+#: Webservices.xml:372
#, no-c-format
msgid ""
"You can enable the Seam authentication filter for HTTP Basic and Digest "
@@ -813,7 +798,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:382
+#: Webservices.xml:377
#, no-c-format
msgid ""
"<![CDATA[<web:authentication-filter url-pattern=\"/seam/resource/rest/*\" "
@@ -821,14 +806,14 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:384
+#: Webservices.xml:379
#, no-c-format
msgid ""
"See the Seam security chapter on how to write an authentication routine."
msgstr ""
#. Tag: para
-#: Webservices.xml:388
+#: Webservices.xml:383
#, no-c-format
msgid ""
"After successful authentication, authorization rules with the common "
@@ -839,13 +824,13 @@
msgstr ""
#. Tag: title
-#: Webservices.xml:398
+#: Webservices.xml:393
#, no-c-format
msgid "Mapping exceptions to HTTP responses"
msgstr ""
#. Tag: para
-#: Webservices.xml:400
+#: Webservices.xml:395
#, no-c-format
msgid ""
"Section 3.3.4 of the JAX-RS specification defines how checked or unchecked "
@@ -858,7 +843,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:408
+#: Webservices.xml:403
#, no-c-format
msgid ""
"Exception handling within Seam requires that the Seam filter is executed for "
@@ -870,7 +855,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:415
+#: Webservices.xml:410
#, no-c-format
msgid ""
"<![CDATA[<filter>\n"
@@ -885,7 +870,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:417
+#: Webservices.xml:412
#, no-c-format
msgid ""
"To convert the unchecked <literal>UnsupportedOperationException</literal> "
@@ -895,7 +880,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:423
+#: Webservices.xml:418
#, no-c-format
msgid ""
"<![CDATA[<exception class=\"java.lang.UnsupportedOperationException\">\n"
@@ -906,13 +891,13 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:425
+#: Webservices.xml:420
#, no-c-format
msgid "Custom or checked exceptions are handled the same:"
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:429
+#: Webservices.xml:424
#, no-c-format
msgid ""
"<![CDATA[<exception class=\"my.CustomException\" log=\"false\">\n"
@@ -924,7 +909,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:431
+#: Webservices.xml:426
#, no-c-format
msgid ""
"You do not have to send an HTTP error to the client if an exception occurs. "
@@ -935,7 +920,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:438
+#: Webservices.xml:433
#, no-c-format
msgid ""
"Note that the HTTP response still passes through the servlet container, so "
@@ -946,13 +931,13 @@
msgstr ""
#. Tag: title
-#: Webservices.xml:447
+#: Webservices.xml:442
#, no-c-format
msgid "Testing resources and providers"
msgstr ""
#. Tag: para
-#: Webservices.xml:449
+#: Webservices.xml:444
#, no-c-format
msgid ""
"Seam includes a unit testing utility class that helps you create unit tests "
@@ -962,7 +947,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:455
+#: Webservices.xml:450
#, no-c-format
msgid ""
"<![CDATA[import org.jboss.seam.mock.ResourceRequestEnvironment;\n"
@@ -1019,7 +1004,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:457
+#: Webservices.xml:452
#, no-c-format
msgid ""
"This test only executes local calls, it does not communicate with the "
@@ -1032,7 +1017,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:465
+#: Webservices.xml:460
#, no-c-format
msgid ""
"Note that a <literal>ResourceRequest</literal> has to be executed in a "
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/fr-FR/Websphere.po
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/fr-FR/Websphere.po 2009-08-26 19:14:02 UTC (rev 11432)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/fr-FR/Websphere.po 2009-08-26 19:19:33 UTC (rev 11433)
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-08-22 13:17+0000\n"
+"POT-Creation-Date: 2009-08-26 18:48+0000\n"
"PO-Revision-Date: 2008-04-04 01:24+0000\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
@@ -76,25 +76,27 @@
#, no-c-format
msgid ""
"The following sections in this chapter assume that WebSphere is correctly "
-"installed and is functional, and a profile has been successfully created."
+"installed and is functional, and a WebSphere \"profile\" has been "
+"successfully created."
msgstr ""
#. Tag: para
#: Websphere.xml:40
#, no-c-format
msgid ""
-"This chapter explain how to compile, deploy and run some sample applications "
-"in WebSphere. These sample applications require a database. WebSphere comes "
-"by default with a set of sample applications called \"Default Application\". "
-"This set of sample applications use a Derby database running on the Derby "
-"instance installed with WebSphere. In order to keep this simple we'll use "
-"this Derby database created for the \"Default Applications\". However, to "
-"run the sample application with the Derby database \"as-is\", a patched "
-"Hibernate dialect must be used (The patch changes the default \"auto\" key "
-"generation strategy) as explained in <xref linkend=\"glassfish\"/>. If you "
-"want to use another database, it's just a matter of creating a connection "
-"pool in WebSphere pointing to this database, declare the correct Hibernate "
-"dialect and set the correct JNDI name in <literal>persistence.xml</literal>."
+"This chapter explains how to compile, deploy and run some sample "
+"applications in WebSphere. These sample applications require a database. "
+"WebSphere comes by default with a set of sample applications called "
+"\"Default Application\". This set of sample applications use a Derby "
+"database running on the Derby instance installed within WebSphere. In order "
+"to keep this simple we'll use this Derby database created for the \"Default "
+"Applications\". However, to run the sample application with the Derby "
+"database \"as-is\", a patched Hibernate dialect must be used (The patch "
+"changes the default \"auto\" key generation strategy) as explained in <xref "
+"linkend=\"glassfish\"/>. If you want to use another database, it's just a "
+"matter of creating a connection pool in WebSphere pointing to this database, "
+"declare the correct Hibernate dialect and set the correct JNDI name in "
+"<literal>persistence.xml</literal>."
msgstr ""
#. Tag: title
@@ -144,14 +146,14 @@
#, no-c-format
msgid ""
"On the right navigation menu, select <literal>Web Container Settings/Web "
-"container</literal>)"
+"container</literal>"
msgstr ""
#. Tag: listitem
#: Websphere.xml:73
#, no-c-format
msgid ""
-"On the right navigation menu, select <literal>custom properties</literal>) "
+"On the right navigation menu, select <literal>custom properties</literal> "
"and add the following properties:"
msgstr ""
@@ -170,7 +172,7 @@
#. Tag: listitem
#: Websphere.xml:84
#, no-c-format
-msgid "Save and restart the server"
+msgid "Save the configuration and restart the server"
msgstr ""
#. Tag: title
@@ -189,38 +191,38 @@
msgstr ""
#. Tag: listitem
-#: Websphere.xml:97
+#: Websphere.xml:96
#, no-c-format
msgid ""
"The global <literal>jndi-pattern</literal> switch on the <literal><core:"
-"init></literal>. in <literal>components.xml</literal>. The switch can use "
-"a special placeholder \"<literal>#{ejbName}</literal>\" that resolves to the "
-"unqualified name of the EJB"
+"init></literal>tag in <literal>components.xml</literal>. The switch can "
+"use a special placeholder \"<literal>#{ejbName}</literal>\" that resolves to "
+"the unqualified name of the EJB"
msgstr ""
#. Tag: para
-#: Websphere.xml:102
+#: Websphere.xml:100
#, no-c-format
msgid "The <literal>@JndiName</literal> annotation"
msgstr ""
#. Tag: para
-#: Websphere.xml:108
+#: Websphere.xml:106
#, no-c-format
msgid "gives detailed explanations on how those mechanisms work."
msgstr ""
#. Tag: para
-#: Websphere.xml:112
+#: Websphere.xml:110
#, no-c-format
msgid ""
-"By default, WebSphere will bind the session bean in its local JNDI name "
-"space under a \"short\" binding name that adheres to the following pattern "
+"By default, WebSphere will bind session beans in its local JNDI name space "
+"under a \"short\" binding name that adheres to the following pattern "
"<literal>ejblocal:<package.qualified.local.interface.name></literal>."
msgstr ""
#. Tag: para
-#: Websphere.xml:117
+#: Websphere.xml:115
#, no-c-format
msgid ""
"For a detailed description on how WebSphere v7 organizes and binds EJBs in "
@@ -228,7 +230,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:120
+#: Websphere.xml:118
#, no-c-format
msgid ""
"As explained before, Seam needs to lookup for session bean as they appear in "
@@ -236,35 +238,35 @@
msgstr ""
#. Tag: listitem
-#: Websphere.xml:124
+#: Websphere.xml:121
#, no-c-format
msgid ""
"Specify which JNDI name Seam must use for each session bean using the "
-"<literal>@JndiName</literal> annotation in the java source file"
+"<literal>@JndiName</literal> annotation in the java source file,"
msgstr ""
#. Tag: listitem
-#: Websphere.xml:127
+#: Websphere.xml:123
#, no-c-format
msgid ""
"Override the default session bean names generated by WebSphere to conform to "
-"the <literal>jndi-pattern</literal> attribute"
+"the <literal>jndi-pattern</literal> attribute,"
msgstr ""
#. Tag: listitem
-#: Websphere.xml:130
+#: Websphere.xml:126
#, no-c-format
-msgid "Use EJB references"
+msgid "Use EJB references."
msgstr ""
#. Tag: title
-#: Websphere.xml:137
+#: Websphere.xml:133
#, no-c-format
msgid "Strategy 1: Specify which JNDI name Seam must use for each Session Bean"
msgstr ""
#. Tag: para
-#: Websphere.xml:138
+#: Websphere.xml:134
#, no-c-format
msgid ""
"This strategy is the simplest and fastest one regarding development. It uses "
@@ -272,7 +274,7 @@
msgstr ""
#. Tag: listitem
-#: Websphere.xml:141
+#: Websphere.xml:137
#, no-c-format
msgid ""
"Add a <literal>@JndiName(\"ejblocal:<package.qualified.local.interface."
@@ -280,20 +282,20 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:145 Websphere.xml:188
+#: Websphere.xml:141 Websphere.xml:184
#, no-c-format
msgid ""
"<para>In <literal>components.xml</literal>, add the following line:</para>"
msgstr ""
#. Tag: programlisting
-#: Websphere.xml:147 Websphere.xml:220
+#: Websphere.xml:143 Websphere.xml:216
#, no-c-format
msgid "<![CDATA[<core:init jndi-name=\"java:comp/env/#{ejbName}\" />]]>"
msgstr ""
#. Tag: para
-#: Websphere.xml:151
+#: Websphere.xml:147
#, no-c-format
msgid ""
"Add a file named <literal>WEB-INF/classes/seam-jndi.properties</literal> in "
@@ -301,7 +303,7 @@
msgstr ""
#. Tag: programlisting
-#: Websphere.xml:153
+#: Websphere.xml:149
#, no-c-format
msgid ""
"com.ibm.websphere.naming.hostname.normalizer=com.ibm.ws.naming.util."
@@ -323,13 +325,13 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:157
+#: Websphere.xml:153
#, no-c-format
msgid "At the end of <literal>web.xml</literal>, add the following lines:"
msgstr ""
#. Tag: programlisting
-#: Websphere.xml:159
+#: Websphere.xml:155
#, no-c-format
msgid ""
"<![CDATA[<ejb-local-ref>\n"
@@ -341,7 +343,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:164
+#: Websphere.xml:160
#, no-c-format
msgid ""
"That's all folks! No need to update any file during the development, nor to "
@@ -349,23 +351,23 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:167
+#: Websphere.xml:163
#, no-c-format
msgid ""
-"Compared to the other strategies, this strategy has the advantage not to "
-"have to manage any EJBs reference and also not to have to maintain extra "
+"Compared to the other strategies, this strategy has the advantage to not "
+"have to manage any EJBs reference and also to not have to maintain extra "
"files. The only drawback is one extra line in the java source code with the "
"<literal>@JndiName</literal> annotation"
msgstr ""
#. Tag: title
-#: Websphere.xml:174
+#: Websphere.xml:170
#, no-c-format
msgid "Strategy 2: Override the default names generated by WebSphere"
msgstr ""
#. Tag: section
-#: Websphere.xml:174
+#: Websphere.xml:170
#, no-c-format
msgid ""
"There is no simple way to globally override the default naming strategy for "
@@ -374,13 +376,13 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:177
+#: Websphere.xml:173
#, no-c-format
msgid "To use this strategy:"
msgstr ""
#. Tag: para
-#: Websphere.xml:181
+#: Websphere.xml:177
#, no-c-format
msgid ""
"Add a file named <literal>META-INF/ibm-ejb-jar-ext.xml</literal> in the EJB "
@@ -405,13 +407,13 @@
msgstr ""
#. Tag: programlisting
-#: Websphere.xml:190
+#: Websphere.xml:186
#, no-c-format
msgid "<![CDATA[<core:init jndi-name=\"ejblocal:#{ejbName}\" />]]>"
msgstr ""
#. Tag: para
-#: Websphere.xml:194
+#: Websphere.xml:190
#, no-c-format
msgid ""
"Add a file named <literal>WEB-INF/classes/seam-jndi.properties</literal> as "
@@ -419,7 +421,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:199
+#: Websphere.xml:195
#, no-c-format
msgid ""
"In <literal>web.xml</literal>, add the following lines (Note the different "
@@ -427,7 +429,7 @@
msgstr ""
#. Tag: programlisting
-#: Websphere.xml:201
+#: Websphere.xml:197
#, no-c-format
msgid ""
"<![CDATA[<ejb-local-ref>\n"
@@ -439,7 +441,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:206
+#: Websphere.xml:202
#, no-c-format
msgid ""
"Compared to the first strategy, this strategy requires to maintain an extra "
@@ -449,13 +451,13 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:215
+#: Websphere.xml:211
#, no-c-format
msgid "Strategy 3: Use EJB references"
msgstr ""
#. Tag: section
-#: Websphere.xml:215
+#: Websphere.xml:211
#, no-c-format
msgid ""
"This strategy is based on the usage of EJB references, from EJB to EJB and "
@@ -463,7 +465,7 @@
msgstr ""
#. Tag: listitem
-#: Websphere.xml:218
+#: Websphere.xml:214
#, no-c-format
msgid ""
"<listitem>In <literal>components.xml</literal>, add the following line:</"
@@ -471,7 +473,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:223
+#: Websphere.xml:219
#, no-c-format
msgid ""
"Follow the instructions in <xref linkend=\"config.integration.ejb.container"
@@ -479,7 +481,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:228
+#: Websphere.xml:224
#, no-c-format
msgid ""
"This is the most tedious strategy as each session bean referenced by another "
@@ -489,27 +491,27 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:239
+#: Websphere.xml:235
#, no-c-format
msgid "Configuring timeouts for Stateful Session Beans"
msgstr ""
#. Tag: para
-#: Websphere.xml:240
+#: Websphere.xml:236
#, no-c-format
msgid ""
"A timeout value has to be set for each stateful session bean used in the "
"application because stateful bean must not expire in WebSphere while Seam "
-"might still need thenm. At the time of writing this document, WebSphere does "
+"might still need them. At the time of writing this document, WebSphere does "
"not provide a way to configure a global timeout at neither the cluster, "
"server, application nor ejb-jar level. It has to be done for each stateful "
-"bean individually. This is done by adding a file named <literal>META-INF/ibm-"
-"ejb-jar-ext.xml</literal> in the EJB module, and declare the timeout value "
-"for each bean:"
+"bean individually. By default, the default timeout is 10 minutes. This is "
+"done by adding a file named <literal>META-INF/ibm-ejb-jar-ext.xml</literal> "
+"in the EJB module, and declare the timeout value for each bean:"
msgstr ""
#. Tag: programlisting
-#: Websphere.xml:246
+#: Websphere.xml:242
#, no-c-format
msgid ""
"<![CDATA[<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
@@ -529,24 +531,24 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:248
+#: Websphere.xml:244
#, no-c-format
msgid ""
"The <literal>time-out</literal> is expressed in seconds and must be higher "
"than the Seam conversation expiration timeout and a few minutes higher than "
"the user's HTTP session timeout (The session expiration timeout can trigger "
-"a few minutes after the number of minutes declared to expire s for the HTTP "
-"session expiration)."
+"a few minutes after the number of minutes declared to expire the HTTP "
+"session)."
msgstr ""
#. Tag: title
-#: Websphere.xml:257
+#: Websphere.xml:253
#, no-c-format
msgid "The <literal>jee5/booking</literal> example"
msgstr ""
#. Tag: para
-#: Websphere.xml:259
+#: Websphere.xml:255
#, no-c-format
msgid ""
"The<literal>jee5/booking</literal>example is based on the Hotel Booking "
@@ -557,23 +559,32 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:265
+#: Websphere.xml:261
#, no-c-format
msgid ""
-"For running this example, we'll use the second JNDI mapping strategy "
-"(\"Override the default names generated by WebSphere\") as we don't want to "
-"change the java code to add the <literal>@JndiName</literal> annotation as "
-"in the first strategy."
+"The example already has a breakout of configurations and build scripts for "
+"WebSphere. First thing, we are going to do is build and deploy this example. "
+"Then we'll go over some key changes that we needed."
msgstr ""
+#. Tag: para
+#: Websphere.xml:266
+#, no-c-format
+msgid ""
+"The tailored configuration files for WebSphere use the second JNDI mapping "
+"strategy (\"Override the default names generated by WebSphere\") as the goal "
+"was to not change any java code to add the <literal>@JndiName</literal> "
+"annotation as in the first strategy."
+msgstr ""
+
#. Tag: title
-#: Websphere.xml:271
+#: Websphere.xml:272
#, no-c-format
msgid "Building the <literal>jee5/booking</literal> example"
msgstr ""
#. Tag: para
-#: Websphere.xml:273
+#: Websphere.xml:274
#, no-c-format
msgid ""
"Building it only requires running the correct ant command: "
@@ -583,21 +594,21 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:280
+#: Websphere.xml:281
#, no-c-format
msgid "Deploying the <literal>jee5/booking</literal> example"
msgstr ""
#. Tag: para
-#: Websphere.xml:281
+#: Websphere.xml:282
#, no-c-format
msgid ""
-"The steps below are for the WAS version stated above.The ports are default "
-"values, if you changed them, you must substitute the values."
+"The steps below are for the WAS version stated above.The ports are the "
+"default values, if you changed them, you must substitute the values."
msgstr ""
#. Tag: listitem
-#: Websphere.xml:284
+#: Websphere.xml:285
#, no-c-format
msgid ""
"Log in to the administration console <programlisting><![CDATA[http://"
@@ -606,7 +617,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:291
+#: Websphere.xml:292
#, no-c-format
msgid ""
"Go to the <literal>WebSphere enterprise applications</literal> menu option "
@@ -615,7 +626,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:298
+#: Websphere.xml:299
#, no-c-format
msgid ""
"At the top of the <literal>Enterprise Applications</literal> table select "
@@ -624,13 +635,13 @@
msgstr ""
#. Tag: literal
-#: Websphere.xml:304
+#: Websphere.xml:305
#, no-c-format
msgid "Preparing for the application installation"
msgstr ""
#. Tag: para
-#: Websphere.xml:307
+#: Websphere.xml:308
#, no-c-format
msgid ""
"Browse to the <literal>examples/jee5/booking/dist-websphere7/jboss-seam-jee5."
@@ -638,25 +649,25 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:313 Websphere.xml:323 Websphere.xml:341
+#: Websphere.xml:314 Websphere.xml:324 Websphere.xml:342
#, no-c-format
msgid "Select the <literal>Next</literal> button."
msgstr ""
#. Tag: para
-#: Websphere.xml:318
+#: Websphere.xml:319
#, no-c-format
msgid "Select the <literal>Fast Path</literal> button."
msgstr ""
#. Tag: literal
-#: Websphere.xml:332
+#: Websphere.xml:333
#, no-c-format
msgid "Select installation options"
msgstr ""
#. Tag: para
-#: Websphere.xml:335
+#: Websphere.xml:336
#, no-c-format
msgid ""
"Select the <literal>Deploy enterprise beans and Allow EJB reference targets "
@@ -665,13 +676,13 @@
msgstr ""
#. Tag: literal
-#: Websphere.xml:350
+#: Websphere.xml:351
#, no-c-format
msgid "Map modules to servers"
msgstr ""
#. Tag: para
-#: Websphere.xml:353
+#: Websphere.xml:354
#, no-c-format
msgid ""
"No changes needed here as we only have one server. Select the <literal>Next</"
@@ -679,13 +690,13 @@
msgstr ""
#. Tag: literal
-#: Websphere.xml:362
+#: Websphere.xml:363
#, no-c-format
msgid "Map virtual hosts for Web modules"
msgstr ""
#. Tag: para
-#: Websphere.xml:365
+#: Websphere.xml:366
#, no-c-format
msgid ""
"No changes needed here as we only have one virtual host. Select the "
@@ -693,31 +704,31 @@
msgstr ""
#. Tag: literal
-#: Websphere.xml:374
+#: Websphere.xml:375
#, no-c-format
msgid "Summary"
msgstr ""
#. Tag: para
-#: Websphere.xml:377
+#: Websphere.xml:378
#, no-c-format
msgid "No changes needed here. Select the <literal>Finish</literal> button."
msgstr ""
#. Tag: literal
-#: Websphere.xml:384
+#: Websphere.xml:385
#, no-c-format
msgid "Installation"
msgstr ""
#. Tag: para
-#: Websphere.xml:387
+#: Websphere.xml:388
#, no-c-format
msgid "Now you will see WebSphere installing and deploying your application."
msgstr ""
#. Tag: para
-#: Websphere.xml:390
+#: Websphere.xml:391
#, no-c-format
msgid ""
"When done, select the <literal>Save</literal> link and you will be returned "
@@ -725,15 +736,15 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:399
+#: Websphere.xml:400
#, no-c-format
msgid ""
-"To start the application select our application in the list, then click on "
+"To start the application, select the application in the list, then click on "
"the <literal>Start</literal> button at the top of the table."
msgstr ""
#. Tag: para
-#: Websphere.xml:409
+#: Websphere.xml:410
#, no-c-format
msgid ""
"You can now access the application at <literal>http://localhost:9080/seam-"
@@ -741,13 +752,13 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:418
+#: Websphere.xml:419
#, no-c-format
msgid "Deviation from the original base files"
msgstr ""
#. Tag: section
-#: Websphere.xml:418
+#: Websphere.xml:419
#, no-c-format
msgid ""
"Below are the differences between the base configuration files and the "
@@ -756,7 +767,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:422
+#: Websphere.xml:423
#, no-c-format
msgid ""
"<literal>META-INF/ejb-jar.xml</literal> — Removed all the EJB "
@@ -764,37 +775,37 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:428
+#: Websphere.xml:429
#, no-c-format
msgid ""
"<literal>META-INF/ibm-ejb-jar-bnd.xml</literal> — This WebSphere "
"specific file has been added as we use the second JNDI mapping strategy. It "
-"defines, for each session bean, the name WebSphere will use to bind it its "
-"JNDI name space"
+"defines, for each session bean, the name WebSphere will use to bind it in "
+"its JNDI name space"
msgstr ""
#. Tag: para
-#: Websphere.xml:435
+#: Websphere.xml:436
#, no-c-format
msgid ""
"<literal>META-INF/ibm-ejb-jar-ext.xml</literal> — This WebSphere "
-"specific file defines to WebSphere, the timeout value for each stateful bean"
+"specific file defines the timeout value for each stateful bean"
msgstr ""
#. Tag: para
-#: Websphere.xml:441
+#: Websphere.xml:442
#, no-c-format
msgid ""
"<literal>META-INF/persistence.xml</literal> — The main changes here "
"are for the datasource JNDI path, switching to the WebSphere transaction "
"manager lookup class, turning off the <literal>hibernate.transaction."
"flush_before_completion</literal> toggle, and forcing the Hibernate dialect "
-"to be <literal>GlassfishDerbyDialect</literal> how as using the integrated "
-"Derby database"
+"to be <literal>GlassfishDerbyDialect</literal> as we are using the "
+"integrated Derby database"
msgstr ""
#. Tag: para
-#: Websphere.xml:451
+#: Websphere.xml:452
#, no-c-format
msgid ""
"<literal>WEB-INF/components.xml</literal> — the change here is "
@@ -803,7 +814,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:459
+#: Websphere.xml:460
#, no-c-format
msgid ""
"<literal>WEB-INF/web.xml</literal> — Remove all the <literal>ejb-local "
@@ -813,7 +824,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:467 Websphere.xml:549
+#: Websphere.xml:468
#, no-c-format
msgid ""
"<literal>import.sql</literal> — due to the cutomized hibernate Derby "
@@ -822,7 +833,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:474
+#: Websphere.xml:475
#, no-c-format
msgid ""
"Also the build procedure has been changed to include the <literal>log4j.jar</"
@@ -831,13 +842,13 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:486
+#: Websphere.xml:487
#, no-c-format
msgid "The <literal>jpa</literal> booking example"
msgstr ""
#. Tag: para
-#: Websphere.xml:488
+#: Websphere.xml:489
#, no-c-format
msgid ""
"This is the Hotel Booking example implemented in Seam POJOs and using "
@@ -845,7 +856,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:493
+#: Websphere.xml:494
#, no-c-format
msgid ""
"The example already has a breakout of configurations and build scripts for "
@@ -853,7 +864,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:498
+#: Websphere.xml:499
#, no-c-format
msgid ""
"First thing, we are going to do is build and deploy that example. Then we'll "
@@ -861,13 +872,13 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:504
+#: Websphere.xml:505
#, no-c-format
msgid "Building the <literal>jpa</literal> example"
msgstr ""
#. Tag: para
-#: Websphere.xml:505
+#: Websphere.xml:506
#, no-c-format
msgid ""
"Building it only requires running the correct ant command: "
@@ -877,13 +888,13 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:514
+#: Websphere.xml:515
#, no-c-format
msgid "Deploying the <literal>jpa</literal> example"
msgstr ""
#. Tag: para
-#: Websphere.xml:515
+#: Websphere.xml:516
#, no-c-format
msgid ""
"Deploying <literal>jpa</literal> application is very similar to the "
@@ -894,7 +905,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:521
+#: Websphere.xml:522
#, no-c-format
msgid ""
"Follow the same instructions as for the <literal>jee5/booking</literal> "
@@ -902,11 +913,11 @@
"literal> file on the first page and on the <literal>Map context roots for "
"Web modules</literal> page (after the <literal>Map virtual host for Web "
"module</literal>), enter the context root you want to use for your "
-"application in the <literal>Contect Root</literal> input field."
+"application in the <literal>Context Root</literal> input field."
msgstr ""
#. Tag: para
-#: Websphere.xml:528
+#: Websphere.xml:529
#, no-c-format
msgid ""
"When started, you can now access the application at the <literal>http://"
@@ -914,13 +925,13 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:534
+#: Websphere.xml:535
#, no-c-format
msgid "Deviation from the generic base files"
msgstr ""
#. Tag: section
-#: Websphere.xml:534
+#: Websphere.xml:535
#, no-c-format
msgid ""
"Below are the configuration file differences between the base configuration "
@@ -929,7 +940,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:539
+#: Websphere.xml:540
#, no-c-format
msgid ""
"<literal>META-INF/persistence.xml</literal> — The main changes here "
@@ -941,9 +952,18 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:556
+#: Websphere.xml:550
#, no-c-format
msgid ""
+"<literal>import.sql</literal> — due to the customized hibernate Derby "
+"dialect, the <literal>ID</literal> column can not be populated by this file "
+"and was removed."
+msgstr ""
+
+#. Tag: para
+#: Websphere.xml:557
+#, no-c-format
+msgid ""
"Also the build procedure have been changed to include the <literal>log4j."
"jar</literal> file and exclude the <literal>concurrent.jar</literal> and "
"<literal>jboss-common-core.jar</literal> files."
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/gu-IN/Configuration.po
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/gu-IN/Configuration.po 2009-08-26 19:14:02 UTC (rev 11432)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/gu-IN/Configuration.po 2009-08-26 19:19:33 UTC (rev 11433)
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-05-05 12:31+0000\n"
+"POT-Creation-Date: 2009-08-26 18:47+0000\n"
"PO-Revision-Date: 2008-04-04 01:24+0000\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
@@ -677,13 +677,63 @@
msgstr ""
#. Tag: title
+#: Configuration.xml:325
+#, no-c-format
+msgid "Enabling HTTP cache-control headers"
+msgstr ""
+
+#. Tag: para
#: Configuration.xml:326
#, no-c-format
+msgid ""
+"Seam does <emphasis>not</emphasis> automatically add <literal>cache-control</"
+"literal> HTTP headers to any resources served by the Seam resource servlet, "
+"or directly from your view directory by the servlet container. This means "
+"that your images, Javascript and CSS files, and resource representations "
+"from Seam resource servlet such as Seam Remoting Javascript interfaces are "
+"usually not cached by the browser. This is convenient in development but "
+"should be changed in production when optimizing the application."
+msgstr ""
+
+#. Tag: para
+#: Configuration.xml:334
+#, no-c-format
+msgid ""
+"You can configure a Seam filter to enable automatic addition of "
+"<literal>cache-control</literal> headers depending on the requested URI in "
+"<literal>components.xml</literal>:"
+msgstr ""
+
+#. Tag: programlisting
+#: Configuration.xml:339
+#, no-c-format
+msgid ""
+"<![CDATA[<web:cache-control-filter name=\"commonTypesCacheControlFilter\"\n"
+" regex-url-pattern=\".*(\\.gif|\\.png|\\.jpg|\\."
+"jpeg|\\.css|\\.js)\"\n"
+" value=\"max-age=86400\"/> <!-- 1 day -->\n"
+"\n"
+"<web:cache-control-filter name=\"anotherCacheControlFilter\"\n"
+" url-pattern=\"/my/cachable/resources/*\"\n"
+" value=\"max-age=432000\"/> <!-- 5 days -->]]>"
+msgstr ""
+
+#. Tag: para
+#: Configuration.xml:341
+#, no-c-format
+msgid ""
+"You do not have to name the filters unless you have more than one filter "
+"enabled."
+msgstr ""
+
+#. Tag: title
+#: Configuration.xml:348
+#, no-c-format
msgid "Adding custom filters"
msgstr ""
#. Tag: para
-#: Configuration.xml:327
+#: Configuration.xml:349
#, no-c-format
msgid ""
"Seam can install your filters for you, allowing you to specify "
@@ -695,7 +745,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:332
+#: Configuration.xml:354
#, no-c-format
msgid ""
"<![CDATA[@Startup\n"
@@ -707,7 +757,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:334
+#: Configuration.xml:356
#, no-c-format
msgid ""
"Adding the <literal>@Startup</literal> annotation means thar the component "
@@ -718,13 +768,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:343
+#: Configuration.xml:365
#, no-c-format
msgid "Integrating Seam with your EJB container"
msgstr ""
#. Tag: para
-#: Configuration.xml:345
+#: Configuration.xml:367
#, no-c-format
msgid ""
"In a Seam application, EJB components have a certain duality, as they are "
@@ -735,7 +785,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:350
+#: Configuration.xml:372
#, no-c-format
msgid ""
"We need to apply the <literal>SeamInterceptor</literal> to our Seam EJB "
@@ -747,7 +797,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:355
+#: Configuration.xml:377
#, no-c-format
msgid ""
"<![CDATA[<interceptors>\n"
@@ -768,7 +818,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:357
+#: Configuration.xml:379
#, no-c-format
msgid ""
"Seam needs to know where to go to find session beans in JNDI. One way to do "
@@ -782,19 +832,19 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:364
+#: Configuration.xml:386
#, no-c-format
msgid "For JBoss AS, the following pattern is correct:"
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:366
+#: Configuration.xml:388
#, no-c-format
msgid "<![CDATA[<core:init jndi-name=\"earName/#{ejbName}/local\" />]]>"
msgstr ""
#. Tag: para
-#: Configuration.xml:368
+#: Configuration.xml:390
#, no-c-format
msgid ""
"In this case, <literal>earName</literal> is the name of the EAR in which the "
@@ -804,7 +854,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:372
+#: Configuration.xml:394
#, no-c-format
msgid ""
"Outside the context of an EAR (when using the JBoss Embeddable EJB3 "
@@ -813,13 +863,13 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:375
+#: Configuration.xml:397
#, no-c-format
msgid "<![CDATA[<core:init jndi-name=\"#{ejbName}/local\" />]]>"
msgstr ""
#. Tag: para
-#: Configuration.xml:377
+#: Configuration.xml:399
#, no-c-format
msgid ""
"How these JNDI names are resolved and somehow locate an EJB component might "
@@ -828,7 +878,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:381
+#: Configuration.xml:403
#, no-c-format
msgid ""
"The folks at JBoss don't care much for XML, if you can't tell. So when they "
@@ -839,14 +889,14 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:387
+#: Configuration.xml:409
#, no-c-format
msgid ""
"The value of the <literal><ejb-name></literal> element in ejb-jar.xml"
msgstr ""
#. Tag: para
-#: Configuration.xml:390
+#: Configuration.xml:412
#, no-c-format
msgid ""
"The value of the <literal>name</literal> attribute in the @Stateless or "
@@ -854,13 +904,13 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:393
+#: Configuration.xml:415
#, no-c-format
msgid "The simple name of the bean class"
msgstr ""
#. Tag: para
-#: Configuration.xml:397
+#: Configuration.xml:419
#, no-c-format
msgid ""
"Let's look at an example. Assume that you have the following EJB bean and "
@@ -868,7 +918,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:399
+#: Configuration.xml:421
#, no-c-format
msgid ""
"<![CDATA[package com.example.myapp;\n"
@@ -895,7 +945,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:401
+#: Configuration.xml:423
#, no-c-format
msgid ""
"Assuming your EJB bean class is deployed in an EAR named myapp, the global "
@@ -907,7 +957,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:407
+#: Configuration.xml:429
#, no-c-format
msgid ""
"So what about the rest of the application servers? Well, according to the "
@@ -919,7 +969,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:413
+#: Configuration.xml:435
#, no-c-format
msgid ""
"There are two places you have to define the EJB reference when using Seam on "
@@ -930,7 +980,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:418
+#: Configuration.xml:440
#, no-c-format
msgid ""
"<![CDATA[<ejb-local-ref>\n"
@@ -942,7 +992,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:420
+#: Configuration.xml:442
#, no-c-format
msgid ""
"This reference will cover most uses of the component in a Seam application. "
@@ -953,7 +1003,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:425
+#: Configuration.xml:447
#, no-c-format
msgid ""
"Within the context of an EJB method call, you have to deal with a somewhat "
@@ -970,7 +1020,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:434
+#: Configuration.xml:456
#, no-c-format
msgid ""
"For application servers that stubbornly adhere to the EJB specification, EJB "
@@ -982,7 +1032,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:439
+#: Configuration.xml:461
#, no-c-format
msgid ""
"Let's assume that we have an EJB named RegisterAction (the name is resolved "
@@ -991,7 +1041,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:442
+#: Configuration.xml:464
#, no-c-format
msgid ""
"<![CDATA[@In(create = true)\n"
@@ -1000,7 +1050,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:444
+#: Configuration.xml:466
#, no-c-format
msgid ""
"In order for this injection to work, the link must be established in the ejb-"
@@ -1008,7 +1058,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:446
+#: Configuration.xml:468
#, no-c-format
msgid ""
"<![CDATA[<ejb-jar>\n"
@@ -1031,7 +1081,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:448
+#: Configuration.xml:470
#, no-c-format
msgid ""
"Notice that the contents of the <literal><ejb-local-ref></literal> are "
@@ -1043,7 +1093,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:454
+#: Configuration.xml:476
#, no-c-format
msgid ""
"But what about <literal>@EJB</literal>? It's true that you can inject one "
@@ -1061,7 +1111,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:464
+#: Configuration.xml:486
#, no-c-format
msgid ""
"That covers how JNDI names are defined and used. The lesson is that with "
@@ -1074,7 +1124,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:470
+#: Configuration.xml:492
#, no-c-format
msgid ""
"<![CDATA[<core:init jndi-name=\"java:comp/env/earName/#{ejbName}/local\" />]]"
@@ -1082,7 +1132,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:472
+#: Configuration.xml:494
#, no-c-format
msgid ""
"Finally, let's talk about transactions. In an EJB3 environment, we recommend "
@@ -1094,19 +1144,19 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:479
+#: Configuration.xml:501
#, no-c-format
msgid "<![CDATA[<transaction:ejb-transaction/>]]>"
msgstr ""
#. Tag: title
-#: Configuration.xml:484
+#: Configuration.xml:506
#, no-c-format
msgid "Don't forget!"
msgstr ""
#. Tag: para
-#: Configuration.xml:486
+#: Configuration.xml:508
#, no-c-format
msgid ""
"There is one final item you need to know about. You must place a "
@@ -1118,7 +1168,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:491
+#: Configuration.xml:513
#, no-c-format
msgid ""
"In a web archive (WAR) file, you must place a <literal>seam.properties</"
@@ -1127,7 +1177,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:494
+#: Configuration.xml:516
#, no-c-format
msgid ""
"That's why all the Seam examples have an empty <literal>seam.properties</"
@@ -1136,7 +1186,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:497
+#: Configuration.xml:519
#, no-c-format
msgid ""
"You might think this is silly and what kind of idiot framework designers "
@@ -1148,13 +1198,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:508
+#: Configuration.xml:530
#, no-c-format
msgid "Using Alternate JPA Providers"
msgstr ""
#. Tag: para
-#: Configuration.xml:510
+#: Configuration.xml:532
#, no-c-format
msgid ""
"Seam comes packaged and configured with Hibernate as the default JPA "
@@ -1163,13 +1213,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:516
+#: Configuration.xml:538
#, no-c-format
msgid "This is a workaround"
msgstr ""
#. Tag: para
-#: Configuration.xml:517
+#: Configuration.xml:539
#, no-c-format
msgid ""
"Configuration of the JPA provider will be easier in the future and will not "
@@ -1178,7 +1228,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:524
+#: Configuration.xml:546
#, no-c-format
msgid ""
"Telling seam about a different JPA provider can be be done in one of two "
@@ -1186,7 +1236,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:525
+#: Configuration.xml:547
#, no-c-format
msgid ""
"Update your application's <literal>components.xml</literal> so that the "
@@ -1195,7 +1245,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:530
+#: Configuration.xml:552
#, no-c-format
msgid ""
"<![CDATA[<component name=\"org.jboss.seam.persistence.persistenceProvider"
@@ -1206,7 +1256,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:531
+#: Configuration.xml:553
#, no-c-format
msgid ""
"If you want to take advantage of your JPA provider's non-standard features "
@@ -1218,7 +1268,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:538
+#: Configuration.xml:560
#, no-c-format
msgid ""
"<![CDATA[<component name=\"org.jboss.seam.persistence.persistenceProvider"
@@ -1228,7 +1278,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:539
+#: Configuration.xml:561
#, no-c-format
msgid ""
"All that is left is updating the <literal>persistence.xml</literal> file "
@@ -1238,13 +1288,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:547
+#: Configuration.xml:569
#, no-c-format
msgid "Configuring Seam in Java EE 5"
msgstr ""
#. Tag: para
-#: Configuration.xml:558
+#: Configuration.xml:580
#, no-c-format
msgid ""
"If you're running in a Java EE 5 environment, this is all the configuration "
@@ -1252,14 +1302,14 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:561 Configuration.xml:656 Configuration.xml:794
-#: Configuration.xml:827
+#: Configuration.xml:583 Configuration.xml:678 Configuration.xml:816
+#: Configuration.xml:849
#, no-c-format
msgid "Packaging"
msgstr ""
#. Tag: para
-#: Configuration.xml:563
+#: Configuration.xml:585
#, no-c-format
msgid ""
"Once you've packaged all this stuff together into an EAR, the archive "
@@ -1267,7 +1317,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:566
+#: Configuration.xml:588
#, no-c-format
msgid ""
"<![CDATA[my-application.ear/\n"
@@ -1307,7 +1357,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:568
+#: Configuration.xml:590
#, no-c-format
msgid ""
"You should declare <literal>jboss-seam.jar</literal> as an ejb module in "
@@ -1316,7 +1366,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:573
+#: Configuration.xml:595
#, no-c-format
msgid ""
"If you want to use jBPM or Drools, you must include the needed jars in the "
@@ -1324,7 +1374,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:575
+#: Configuration.xml:597
#, no-c-format
msgid ""
"If you want to use facelets (our recommendation), you must include "
@@ -1333,7 +1383,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:578
+#: Configuration.xml:600
#, no-c-format
msgid ""
"If you want to use the Seam tag library (most Seam applications do), you "
@@ -1344,7 +1394,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:583
+#: Configuration.xml:605
#, no-c-format
msgid ""
"If you want to use the Seam debug page (only works for applications using "
@@ -1353,7 +1403,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:586
+#: Configuration.xml:608
#, no-c-format
msgid ""
"Seam ships with several example applications that are deployable in any Java "
@@ -1361,7 +1411,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:589
+#: Configuration.xml:611
#, no-c-format
msgid ""
"I really wish that was all there was to say on the topic of configuration "
@@ -1371,13 +1421,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:598
+#: Configuration.xml:620
#, no-c-format
msgid "Configuring Seam in J2EE"
msgstr ""
#. Tag: para
-#: Configuration.xml:600
+#: Configuration.xml:622
#, no-c-format
msgid ""
"Seam is useful even if you're not yet ready to take the plunge into EJB 3.0. "
@@ -1389,7 +1439,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:615
+#: Configuration.xml:637
#, no-c-format
msgid ""
"Seam JavaBean components do not provide declarative transaction demarcation "
@@ -1401,7 +1451,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:621
+#: Configuration.xml:643
#, no-c-format
msgid ""
"The Seam distribution includes a version of the booking example application "
@@ -1411,13 +1461,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:626
+#: Configuration.xml:648
#, no-c-format
msgid "Boostrapping Hibernate in Seam"
msgstr ""
#. Tag: para
-#: Configuration.xml:628
+#: Configuration.xml:650
#, no-c-format
msgid ""
"Seam will bootstrap a Hibernate <literal>SessionFactory</literal> from your "
@@ -1426,7 +1476,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:631
+#: Configuration.xml:653
#, no-c-format
msgid ""
"<![CDATA[<persistence:hibernate-session-factory name="
@@ -1434,7 +1484,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:633
+#: Configuration.xml:655
#, no-c-format
msgid ""
"You will also need to configure a <emphasis>managed session</emphasis> if "
@@ -1443,7 +1493,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:636
+#: Configuration.xml:658
#, no-c-format
msgid ""
"<![CDATA[<persistence:managed-hibernate-session name=\"hibernateSession\"\n"
@@ -1452,13 +1502,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:641
+#: Configuration.xml:663
#, no-c-format
msgid "Boostrapping JPA in Seam"
msgstr ""
#. Tag: para
-#: Configuration.xml:643
+#: Configuration.xml:665
#, no-c-format
msgid ""
"Seam will bootstrap a JPA <literal>EntityManagerFactory</literal> from your "
@@ -1467,7 +1517,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:646
+#: Configuration.xml:668
#, no-c-format
msgid ""
"<![CDATA[<persistence:entity-manager-factory name=\"entityManagerFactory\"/"
@@ -1475,7 +1525,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:648
+#: Configuration.xml:670
#, no-c-format
msgid ""
"You will also need to configure a <emphasis>managed persistence context</"
@@ -1484,7 +1534,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:651
+#: Configuration.xml:673
#, no-c-format
msgid ""
"<![CDATA[<persistence:managed-persistence-context name=\"entityManager\"\n"
@@ -1493,13 +1543,13 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:658
+#: Configuration.xml:680
#, no-c-format
msgid "We can package our application as a WAR, in the following structure:"
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:660
+#: Configuration.xml:682
#, no-c-format
msgid ""
"<![CDATA[my-application.war/\n"
@@ -1536,7 +1586,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:662
+#: Configuration.xml:684
#, no-c-format
msgid ""
"If we want to deploy Hibernate in a non-EE environment like Tomcat or "
@@ -1544,13 +1594,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:669
+#: Configuration.xml:691
#, no-c-format
msgid "Configuring Seam in Java SE, without JBoss Embedded"
msgstr ""
#. Tag: para
-#: Configuration.xml:671
+#: Configuration.xml:693
#, no-c-format
msgid ""
"It is possible to use Seam completely outside of an EE environment. In this "
@@ -1560,7 +1610,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:675
+#: Configuration.xml:697
#, no-c-format
msgid ""
"<![CDATA[<transaction:entity-transaction entity-manager=\"#{entityManager}\"/"
@@ -1568,7 +1618,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:677
+#: Configuration.xml:699
#, no-c-format
msgid ""
"If you're using Hibernate, you can tell Seam to use the Hibernate "
@@ -1576,32 +1626,32 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:679
+#: Configuration.xml:701
#, no-c-format
msgid "<![CDATA[<transaction:hibernate-transaction session=\"#{session}\"/>]]>"
msgstr ""
#. Tag: para
-#: Configuration.xml:681
+#: Configuration.xml:703
#, no-c-format
msgid "Of course, you'll also need to define a datasource."
msgstr ""
#. Tag: para
-#: Configuration.xml:683
+#: Configuration.xml:705
#, no-c-format
msgid ""
"A better alternative is to use JBoss Embedded to get access to the EE APIs."
msgstr ""
#. Tag: title
-#: Configuration.xml:688
+#: Configuration.xml:710
#, no-c-format
msgid "Configuring Seam in Java SE, with JBoss Embedded"
msgstr ""
#. Tag: para
-#: Configuration.xml:690
+#: Configuration.xml:712
#, no-c-format
msgid ""
"JBoss Embedded lets you run EJB3 components outside the context of the Java "
@@ -1610,7 +1660,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:693
+#: Configuration.xml:715
#, no-c-format
msgid ""
"The Seam booking example application includes a TestNG integration test "
@@ -1618,19 +1668,19 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:705
+#: Configuration.xml:727
#, no-c-format
msgid "The booking example application may even be deployed to Tomcat."
msgstr ""
#. Tag: title
-#: Configuration.xml:717
+#: Configuration.xml:739
#, no-c-format
msgid "Installing Embedded JBoss"
msgstr ""
#. Tag: para
-#: Configuration.xml:720
+#: Configuration.xml:742
#, no-c-format
msgid ""
"Embedded JBoss must by installed into Tomcat for Seam applications to run "
@@ -1643,7 +1693,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:734
+#: Configuration.xml:756
#, no-c-format
msgid ""
"Copy all files and directories under the Embedded JBoss <literal>bootstrap</"
@@ -1653,7 +1703,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:741
+#: Configuration.xml:763
#, no-c-format
msgid ""
"Remove the <literal>annotations-api.jar</literal> file from the Tomcat "
@@ -1661,7 +1711,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:747
+#: Configuration.xml:769
#, no-c-format
msgid ""
"Next, two configuration files need to be updated to add Embedded JBoss-"
@@ -1669,7 +1719,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:753
+#: Configuration.xml:775
#, no-c-format
msgid ""
"Add the Embedded JBoss listener <literal>EmbeddedJBossBootstrapListener</"
@@ -1678,7 +1728,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:756
+#: Configuration.xml:778
#, no-c-format
msgid ""
"<![CDATA[<Server port=\"8005\" shutdown=\"SHUTDOWN\">\n"
@@ -1696,7 +1746,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:757
+#: Configuration.xml:779
#, no-c-format
msgid ""
"<![CDATA[ <!-- Add this listener -->\n"
@@ -1705,7 +1755,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:761
+#: Configuration.xml:783
#, no-c-format
msgid ""
"WAR file scanning should be enabled by adding the <literal>WebinfScanner</"
@@ -1713,7 +1763,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:764
+#: Configuration.xml:786
#, no-c-format
msgid ""
"<![CDATA[<Context>\n"
@@ -1728,7 +1778,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:765
+#: Configuration.xml:787
#, no-c-format
msgid ""
"<![CDATA[ <!-- Add this listener -->\n"
@@ -1736,13 +1786,13 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:766
+#: Configuration.xml:788
#, no-c-format
msgid "<![CDATA[</Context>]]>"
msgstr ""
#. Tag: para
-#: Configuration.xml:770
+#: Configuration.xml:792
#, no-c-format
msgid ""
"If you are using Sun JDK 6, you need to set the Java option <literal>sun."
@@ -1752,7 +1802,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:775
+#: Configuration.xml:797
#, no-c-format
msgid ""
"Open the script appropriate for your operating system in a text editor. Add "
@@ -1762,7 +1812,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:779
+#: Configuration.xml:801
#, no-c-format
msgid ""
"<![CDATA[set JAVA_OPTS=%JAVA_OPTS% -Dsun.lang.ClassLoader."
@@ -1770,13 +1820,13 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:781
+#: Configuration.xml:803
#, no-c-format
msgid "On Unix, use this syntax instead:"
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:783
+#: Configuration.xml:805
#, no-c-format
msgid ""
"<![CDATA[JAVA_OPTS=\"$JAVA_OPTS -Dsun.lang.ClassLoader.allowArraySyntax=true"
@@ -1784,7 +1834,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:788
+#: Configuration.xml:810
#, no-c-format
msgid ""
"For more configuration options, please see the Embedded JBoss Tomcat "
@@ -1793,7 +1843,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:796
+#: Configuration.xml:818
#, no-c-format
msgid ""
"The archive structure of a WAR-based deployment on an servlet engine like "
@@ -1801,7 +1851,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:799
+#: Configuration.xml:821
#, no-c-format
msgid ""
"<![CDATA[my-application.war/\n"
@@ -1839,7 +1889,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:801
+#: Configuration.xml:823
#, no-c-format
msgid ""
"Most of the Seam example applications may be deployed to Tomcat by running "
@@ -1847,13 +1897,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:809
+#: Configuration.xml:831
#, no-c-format
msgid "Configuring jBPM in Seam"
msgstr ""
#. Tag: para
-#: Configuration.xml:810
+#: Configuration.xml:832
#, no-c-format
msgid ""
"Seam's jBPM integration is not installed by default, so you'll need to "
@@ -1863,7 +1913,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:814
+#: Configuration.xml:836
#, no-c-format
msgid ""
"<![CDATA[<bpm:jbpm>\n"
@@ -1879,7 +1929,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:816
+#: Configuration.xml:838
#, no-c-format
msgid ""
"No further special configuration is needed if you only have pageflows. If "
@@ -1890,7 +1940,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:821
+#: Configuration.xml:843
#, no-c-format
msgid ""
"<![CDATA[<jbpm-configuration>\n"
@@ -1920,7 +1970,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:823
+#: Configuration.xml:845
#, no-c-format
msgid ""
"The most important thing to notice here is that jBPM transaction control is "
@@ -1928,7 +1978,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:829
+#: Configuration.xml:851
#, no-c-format
msgid ""
"There is not yet any well-defined packaging format for jBPM configuration "
@@ -1939,7 +1989,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:834
+#: Configuration.xml:856
#, no-c-format
msgid ""
"<![CDATA[my-application.ear/\n"
@@ -1986,13 +2036,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:841
+#: Configuration.xml:863
#, no-c-format
msgid "Configuring SFSB and Session Timeouts in JBoss AS"
msgstr ""
#. Tag: para
-#: Configuration.xml:843
+#: Configuration.xml:865
#, no-c-format
msgid ""
"It is very important that the timeout for Stateful Session Beans is set "
@@ -2004,7 +2054,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:849
+#: Configuration.xml:871
#, no-c-format
msgid ""
"The default SFSB timeout can be adjusted by modifying the value of "
@@ -2013,7 +2063,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:852
+#: Configuration.xml:874
#, no-c-format
msgid ""
"<![CDATA[<container-cache-conf>\n"
@@ -2038,7 +2088,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:854
+#: Configuration.xml:876
#, no-c-format
msgid ""
"The default HTTP session timeout can be modified in <literal>server/default/"
@@ -2049,7 +2099,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:859
+#: Configuration.xml:881
#, no-c-format
msgid ""
"<![CDATA[<session-config>\n"
@@ -2059,7 +2109,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:861
+#: Configuration.xml:883
#, no-c-format
msgid ""
"To override this value for your own application, simply include this entry "
@@ -2067,13 +2117,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:867
+#: Configuration.xml:889
#, no-c-format
msgid "Running Seam in a Portlet"
msgstr ""
#. Tag: para
-#: Configuration.xml:869
+#: Configuration.xml:891
#, no-c-format
msgid ""
"If you want to run your Seam application in a portlet, take a look at the "
@@ -2084,13 +2134,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:880
+#: Configuration.xml:902
#, no-c-format
msgid "Deploying custom resources"
msgstr ""
#. Tag: para
-#: Configuration.xml:882
+#: Configuration.xml:904
#, no-c-format
msgid ""
"Seam scans all jars containing <literal>/seam.properties</literal>, "
@@ -2101,7 +2151,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:889
+#: Configuration.xml:911
#, no-c-format
msgid ""
"You may also want Seam to handle custom resources. A common use case is to "
@@ -2111,7 +2161,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:896
+#: Configuration.xml:918
#, no-c-format
msgid ""
"<![CDATA[# A colon-separated list of annotation types to handle\n"
@@ -2119,7 +2169,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:898
+#: Configuration.xml:920
#, no-c-format
msgid ""
"Then, during application startup you can get hold of all classes annotated "
@@ -2127,7 +2177,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:903
+#: Configuration.xml:925
#, no-c-format
msgid ""
"<![CDATA[@Name(\"fooStartup\")\n"
@@ -2159,7 +2209,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:905
+#: Configuration.xml:927
#, no-c-format
msgid ""
"You can also handle <emphasis>any</emphasis> resource. For example, you "
@@ -2168,7 +2218,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:911
+#: Configuration.xml:933
#, no-c-format
msgid ""
"<![CDATA[public class FooDeploymentHandler implements DeploymentHandler {\n"
@@ -2192,7 +2242,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:913
+#: Configuration.xml:935
#, no-c-format
msgid ""
"Here we are just building a list of any files with the suffix <literal>.foo."
@@ -2200,7 +2250,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:918
+#: Configuration.xml:940
#, no-c-format
msgid ""
"Then, we need to register the deployment handler with Seam in <literal>/META-"
@@ -2209,7 +2259,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:925
+#: Configuration.xml:947
#, no-c-format
msgid ""
"<![CDATA[# For standard deployment\n"
@@ -2220,7 +2270,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:931
+#: Configuration.xml:953
#, no-c-format
msgid ""
"Seam uses deployment handlers internally to install components and "
@@ -2229,7 +2279,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:937
+#: Configuration.xml:959
#, no-c-format
msgid ""
"<![CDATA[@Name(\"fooStartup\")\n"
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/gu-IN/Webservices.po
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/gu-IN/Webservices.po 2009-08-26 19:14:02 UTC (rev 11432)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/gu-IN/Webservices.po 2009-08-26 19:19:33 UTC (rev 11433)
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-07-08 14:32+0000\n"
+"POT-Creation-Date: 2009-08-26 18:48+0000\n"
"PO-Revision-Date: 2008-04-04 01:24+0000\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
@@ -392,48 +392,56 @@
#: Webservices.xml:186
#, no-c-format
msgid ""
-"The URI starts with the pattern mapped in <literal>web.xml</literal> for the "
+"The URI starts with the host and context path of your application, e.g. "
+"<literal>http://your.hostname/myapp</literal>."
+msgstr ""
+
+#. Tag: para
+#: Webservices.xml:192
+#, no-c-format
+msgid ""
+"Then the pattern mapped in <literal>web.xml</literal> for the "
"<literal>SeamResourceServlet</literal>, e.g <literal>/seam/resource</"
-"literal> if you follow the common examples. Change this setting to expose "
-"your RESTful resources under a different base. Note that this is a global "
-"change and other Seam resources (e.g. <literal>s:graphicImage</literal>) are "
-"then also served under that base path."
+"literal> if you follow the common examples, is appended. Change this setting "
+"to expose your RESTful resources under a different base. Note that this is a "
+"global change and other Seam resources (e.g. <literal>s:graphicImage</"
+"literal>) are then also served under that base path."
msgstr ""
#. Tag: para
-#: Webservices.xml:195
+#: Webservices.xml:201
#, no-c-format
msgid ""
"The RESTEasy integration for Seam then appends a configurable string to the "
"base path, by default this is <literal>/rest</literal>. Hence, the full base "
-"path of your resources would e.g. be <literal>/seam/resource/rest</literal>. "
-"We recommend that you change this string in your application, you could for "
-"example add a version number to prepare for a future REST API upgrade of "
-"your services (old clients would keep the old URI base): <literal>/seam/"
-"resource/restv1</literal>."
+"path of your resources would e.g. be <literal>/myapp/seam/resource/rest</"
+"literal>. We recommend that you change this string in your application, you "
+"could for example add a version number to prepare for a future REST API "
+"upgrade of your services (old clients would keep the old URI base): "
+"<literal>/myapp/seam/resource/restv1</literal>."
msgstr ""
#. Tag: para
-#: Webservices.xml:204
+#: Webservices.xml:210
#, no-c-format
msgid ""
"Finally, the actual resource is available under the defined <literal>@Path</"
"literal>, e.g. a resource mapped with <literal>@Path(\"/customer\")</"
-"literal> would be available under <literal>/seam/resource/rest/customer</"
-"literal>."
+"literal> would be available under <literal>/myapp/seam/resource/rest/"
+"customer</literal>."
msgstr ""
#. Tag: para
-#: Webservices.xml:212
+#: Webservices.xml:218
#, no-c-format
msgid ""
"As an example, the following resource definition would return a plaintext "
"representation for any GET requests using the URI <literal>http://your."
-"hostname/seam/resource/rest/customer/123</literal>:"
+"hostname/myapp/seam/resource/rest/customer/123</literal>:"
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:217
+#: Webservices.xml:223
#, no-c-format
msgid ""
"<![CDATA[@Path(\"/customer\")\n"
@@ -450,7 +458,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:219
+#: Webservices.xml:225
#, no-c-format
msgid ""
"No additional configuration is required, you do not have to edit "
@@ -461,7 +469,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:225
+#: Webservices.xml:231
#, no-c-format
msgid ""
"<![CDATA[<components\n"
@@ -476,63 +484,39 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:227
+#: Webservices.xml:233
#, no-c-format
msgid ""
"You can then change the <literal>/rest</literal> prefix as mentioned earlier:"
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:231
+#: Webservices.xml:237
#, no-c-format
msgid "<![CDATA[<resteasy:application resource-path-prefix=\"/restv1\"/>]]>"
msgstr ""
#. Tag: para
-#: Webservices.xml:233
-#, no-c-format
-msgid ""
-"The full base path to your resources is now <literal>/seam/resource/restv1/"
-"{resource}</literal> - note that your <literal>@Path</literal> definitions "
-"and mappings do NOT change. This is an application-wide switch usually used "
-"for versioning of the HTTP API."
-msgstr ""
-
-#. Tag: para
#: Webservices.xml:239
#, no-c-format
msgid ""
-"You can disable stripping of the base path if you'd like to map the full "
-"path in your resources:"
+"The full base path to your resources is now <literal>/myapp/seam/resource/"
+"restv1/{resource}</literal> - note that your <literal>@Path</literal> "
+"definitions and mappings do NOT change. This is an application-wide switch "
+"usually used for versioning of the HTTP interface."
msgstr ""
-#. Tag: programlisting
-#: Webservices.xml:243
-#, no-c-format
-msgid "<![CDATA[<resteasy:application strip-seam-resource-path=\"false\"/>]]>"
-msgstr ""
-
#. Tag: para
#: Webservices.xml:245
#, no-c-format
msgid ""
-"The path of a resource is now mapped with e.g. <literal>@Path(\"/seam/"
-"resource/rest/customer\")</literal>. We do not recommend disabling this "
-"feature, as your resource class mappings are then bound to a particular "
-"deployment scenario."
-msgstr ""
-
-#. Tag: para
-#: Webservices.xml:251
-#, no-c-format
-msgid ""
"Seam will scan your classpath for any deployed <literal>@javax.ws.rs.Path</"
"literal> resources and any <literal>@javax.ws.rs.ext.Provider</literal> "
"classes. You can disable scanning and configure these classes manually:"
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:257
+#: Webservices.xml:251
#, no-c-format
msgid ""
"<![CDATA[<resteasy:application\n"
@@ -554,7 +538,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:259
+#: Webservices.xml:253
#, no-c-format
msgid ""
"The <literal>use-built-in-providers</literal> switch enables (default) or "
@@ -564,7 +548,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:265
+#: Webservices.xml:259
#, no-c-format
msgid ""
"RESTEasy supports plain EJBs (EJBs that are not Seam components) as "
@@ -576,20 +560,21 @@
"<literal>@Path</literal>, <literal>@GET</literal>, and so on - not the bean "
"implementation class. This allows you to keep your application deployment-"
"portable with the global Seam <literal>jndi-pattern</literal> switch on "
-"<literal><core:init/></literal>. Note that EJB resources will not be "
-"found even if scanning of resources is enabled, you always have to list them "
-"manually. Again, this is only relevant for EJB resources that are not also "
-"Seam components and that do not have a <literal>@Name</literal> annotation."
+"<literal><core:init/></literal>. Note that plain (non-Seam component) "
+"EJB resources will not be found even if scanning of resources is enabled, "
+"you always have to list them manually. Again, this whole paragraph is only "
+"relevant for EJB resources that are not also Seam components and that do not "
+"have an <literal>@Name</literal> annotation."
msgstr ""
#. Tag: para
-#: Webservices.xml:277
+#: Webservices.xml:272
#, no-c-format
msgid "Finally, you can configure media type and language URI extensions:"
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:281
+#: Webservices.xml:276
#, no-c-format
msgid ""
"<![CDATA[<resteasy:application>\n"
@@ -606,7 +591,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:283
+#: Webservices.xml:278
#, no-c-format
msgid ""
"This definition would map the URI suffix of <literal>.txt.deutsch</literal> "
@@ -616,13 +601,13 @@
msgstr ""
#. Tag: title
-#: Webservices.xml:292
+#: Webservices.xml:287
#, no-c-format
msgid "Resources and providers as Seam components"
msgstr ""
#. Tag: para
-#: Webservices.xml:294
+#: Webservices.xml:289
#, no-c-format
msgid ""
"Any resource and provider instances are managed by RESTEasy by default. That "
@@ -633,7 +618,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:301
+#: Webservices.xml:296
#, no-c-format
msgid ""
"You can write resources and providers as Seam components and benefit from "
@@ -642,7 +627,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:307
+#: Webservices.xml:302
#, no-c-format
msgid ""
"<![CDATA[@Name(\"customerResource\")\n"
@@ -663,7 +648,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:309
+#: Webservices.xml:304
#, no-c-format
msgid ""
"An instance of <literal>customerResource</literal> is now handled by Seam "
@@ -677,7 +662,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:318
+#: Webservices.xml:313
#, no-c-format
msgid ""
"You can annotate an interface and keep the implementation free from JAX-RS "
@@ -685,7 +670,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:322
+#: Webservices.xml:317
#, no-c-format
msgid ""
"<![CDATA[@Path(\"/customer\")\n"
@@ -700,7 +685,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:324
+#: Webservices.xml:319
#, no-c-format
msgid ""
"<![CDATA[@Name(\"customerResource\")\n"
@@ -718,7 +703,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:326
+#: Webservices.xml:321
#, no-c-format
msgid ""
"You can use <literal>SESSION</literal>-scoped Seam components. By default, "
@@ -733,7 +718,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:335
+#: Webservices.xml:330
#, no-c-format
msgid ""
"Assuming that your Seam application only uses event, application, or "
@@ -745,7 +730,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:342
+#: Webservices.xml:337
#, no-c-format
msgid ""
"If your RESTful Seam application has to preserve session state across REST "
@@ -753,14 +738,14 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:347
+#: Webservices.xml:342
#, no-c-format
msgid ""
"<![CDATA[<resteasy:application destroy-session-after-request=\"false\"/>]]>"
msgstr ""
#. Tag: para
-#: Webservices.xml:349
+#: Webservices.xml:344
#, no-c-format
msgid ""
"Every REST HTTP request will now create a new session that will only be "
@@ -771,7 +756,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:356
+#: Webservices.xml:351
#, no-c-format
msgid ""
"<literal>CONVERSATION</literal>-scoped resource components and mapping of "
@@ -780,7 +765,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:361
+#: Webservices.xml:356
#, no-c-format
msgid ""
"EJB Seam components are supported. Always annotate the local business "
@@ -789,7 +774,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:366
+#: Webservices.xml:361
#, no-c-format
msgid ""
"Provider classes can also be Seam components, only <literal>APPLICATION</"
@@ -799,13 +784,13 @@
msgstr ""
#. Tag: title
-#: Webservices.xml:375
+#: Webservices.xml:370
#, no-c-format
msgid "Securing resources"
msgstr ""
#. Tag: para
-#: Webservices.xml:377
+#: Webservices.xml:372
#, no-c-format
msgid ""
"You can enable the Seam authentication filter for HTTP Basic and Digest "
@@ -813,7 +798,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:382
+#: Webservices.xml:377
#, no-c-format
msgid ""
"<![CDATA[<web:authentication-filter url-pattern=\"/seam/resource/rest/*\" "
@@ -821,14 +806,14 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:384
+#: Webservices.xml:379
#, no-c-format
msgid ""
"See the Seam security chapter on how to write an authentication routine."
msgstr ""
#. Tag: para
-#: Webservices.xml:388
+#: Webservices.xml:383
#, no-c-format
msgid ""
"After successful authentication, authorization rules with the common "
@@ -839,13 +824,13 @@
msgstr ""
#. Tag: title
-#: Webservices.xml:398
+#: Webservices.xml:393
#, no-c-format
msgid "Mapping exceptions to HTTP responses"
msgstr ""
#. Tag: para
-#: Webservices.xml:400
+#: Webservices.xml:395
#, no-c-format
msgid ""
"Section 3.3.4 of the JAX-RS specification defines how checked or unchecked "
@@ -858,7 +843,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:408
+#: Webservices.xml:403
#, no-c-format
msgid ""
"Exception handling within Seam requires that the Seam filter is executed for "
@@ -870,7 +855,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:415
+#: Webservices.xml:410
#, no-c-format
msgid ""
"<![CDATA[<filter>\n"
@@ -885,7 +870,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:417
+#: Webservices.xml:412
#, no-c-format
msgid ""
"To convert the unchecked <literal>UnsupportedOperationException</literal> "
@@ -895,7 +880,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:423
+#: Webservices.xml:418
#, no-c-format
msgid ""
"<![CDATA[<exception class=\"java.lang.UnsupportedOperationException\">\n"
@@ -906,13 +891,13 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:425
+#: Webservices.xml:420
#, no-c-format
msgid "Custom or checked exceptions are handled the same:"
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:429
+#: Webservices.xml:424
#, no-c-format
msgid ""
"<![CDATA[<exception class=\"my.CustomException\" log=\"false\">\n"
@@ -924,7 +909,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:431
+#: Webservices.xml:426
#, no-c-format
msgid ""
"You do not have to send an HTTP error to the client if an exception occurs. "
@@ -935,7 +920,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:438
+#: Webservices.xml:433
#, no-c-format
msgid ""
"Note that the HTTP response still passes through the servlet container, so "
@@ -946,13 +931,13 @@
msgstr ""
#. Tag: title
-#: Webservices.xml:447
+#: Webservices.xml:442
#, no-c-format
msgid "Testing resources and providers"
msgstr ""
#. Tag: para
-#: Webservices.xml:449
+#: Webservices.xml:444
#, no-c-format
msgid ""
"Seam includes a unit testing utility class that helps you create unit tests "
@@ -962,7 +947,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:455
+#: Webservices.xml:450
#, no-c-format
msgid ""
"<![CDATA[import org.jboss.seam.mock.ResourceRequestEnvironment;\n"
@@ -1019,7 +1004,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:457
+#: Webservices.xml:452
#, no-c-format
msgid ""
"This test only executes local calls, it does not communicate with the "
@@ -1032,7 +1017,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:465
+#: Webservices.xml:460
#, no-c-format
msgid ""
"Note that a <literal>ResourceRequest</literal> has to be executed in a "
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/gu-IN/Websphere.po
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/gu-IN/Websphere.po 2009-08-26 19:14:02 UTC (rev 11432)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/gu-IN/Websphere.po 2009-08-26 19:19:33 UTC (rev 11433)
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-08-22 13:17+0000\n"
+"POT-Creation-Date: 2009-08-26 18:48+0000\n"
"PO-Revision-Date: 2008-04-04 01:24+0000\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
@@ -76,25 +76,27 @@
#, no-c-format
msgid ""
"The following sections in this chapter assume that WebSphere is correctly "
-"installed and is functional, and a profile has been successfully created."
+"installed and is functional, and a WebSphere \"profile\" has been "
+"successfully created."
msgstr ""
#. Tag: para
#: Websphere.xml:40
#, no-c-format
msgid ""
-"This chapter explain how to compile, deploy and run some sample applications "
-"in WebSphere. These sample applications require a database. WebSphere comes "
-"by default with a set of sample applications called \"Default Application\". "
-"This set of sample applications use a Derby database running on the Derby "
-"instance installed with WebSphere. In order to keep this simple we'll use "
-"this Derby database created for the \"Default Applications\". However, to "
-"run the sample application with the Derby database \"as-is\", a patched "
-"Hibernate dialect must be used (The patch changes the default \"auto\" key "
-"generation strategy) as explained in <xref linkend=\"glassfish\"/>. If you "
-"want to use another database, it's just a matter of creating a connection "
-"pool in WebSphere pointing to this database, declare the correct Hibernate "
-"dialect and set the correct JNDI name in <literal>persistence.xml</literal>."
+"This chapter explains how to compile, deploy and run some sample "
+"applications in WebSphere. These sample applications require a database. "
+"WebSphere comes by default with a set of sample applications called "
+"\"Default Application\". This set of sample applications use a Derby "
+"database running on the Derby instance installed within WebSphere. In order "
+"to keep this simple we'll use this Derby database created for the \"Default "
+"Applications\". However, to run the sample application with the Derby "
+"database \"as-is\", a patched Hibernate dialect must be used (The patch "
+"changes the default \"auto\" key generation strategy) as explained in <xref "
+"linkend=\"glassfish\"/>. If you want to use another database, it's just a "
+"matter of creating a connection pool in WebSphere pointing to this database, "
+"declare the correct Hibernate dialect and set the correct JNDI name in "
+"<literal>persistence.xml</literal>."
msgstr ""
#. Tag: title
@@ -144,14 +146,14 @@
#, no-c-format
msgid ""
"On the right navigation menu, select <literal>Web Container Settings/Web "
-"container</literal>)"
+"container</literal>"
msgstr ""
#. Tag: listitem
#: Websphere.xml:73
#, no-c-format
msgid ""
-"On the right navigation menu, select <literal>custom properties</literal>) "
+"On the right navigation menu, select <literal>custom properties</literal> "
"and add the following properties:"
msgstr ""
@@ -170,7 +172,7 @@
#. Tag: listitem
#: Websphere.xml:84
#, no-c-format
-msgid "Save and restart the server"
+msgid "Save the configuration and restart the server"
msgstr ""
#. Tag: title
@@ -189,38 +191,38 @@
msgstr ""
#. Tag: listitem
-#: Websphere.xml:97
+#: Websphere.xml:96
#, no-c-format
msgid ""
"The global <literal>jndi-pattern</literal> switch on the <literal><core:"
-"init></literal>. in <literal>components.xml</literal>. The switch can use "
-"a special placeholder \"<literal>#{ejbName}</literal>\" that resolves to the "
-"unqualified name of the EJB"
+"init></literal>tag in <literal>components.xml</literal>. The switch can "
+"use a special placeholder \"<literal>#{ejbName}</literal>\" that resolves to "
+"the unqualified name of the EJB"
msgstr ""
#. Tag: para
-#: Websphere.xml:102
+#: Websphere.xml:100
#, no-c-format
msgid "The <literal>@JndiName</literal> annotation"
msgstr ""
#. Tag: para
-#: Websphere.xml:108
+#: Websphere.xml:106
#, no-c-format
msgid "gives detailed explanations on how those mechanisms work."
msgstr ""
#. Tag: para
-#: Websphere.xml:112
+#: Websphere.xml:110
#, no-c-format
msgid ""
-"By default, WebSphere will bind the session bean in its local JNDI name "
-"space under a \"short\" binding name that adheres to the following pattern "
+"By default, WebSphere will bind session beans in its local JNDI name space "
+"under a \"short\" binding name that adheres to the following pattern "
"<literal>ejblocal:<package.qualified.local.interface.name></literal>."
msgstr ""
#. Tag: para
-#: Websphere.xml:117
+#: Websphere.xml:115
#, no-c-format
msgid ""
"For a detailed description on how WebSphere v7 organizes and binds EJBs in "
@@ -228,7 +230,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:120
+#: Websphere.xml:118
#, no-c-format
msgid ""
"As explained before, Seam needs to lookup for session bean as they appear in "
@@ -236,35 +238,35 @@
msgstr ""
#. Tag: listitem
-#: Websphere.xml:124
+#: Websphere.xml:121
#, no-c-format
msgid ""
"Specify which JNDI name Seam must use for each session bean using the "
-"<literal>@JndiName</literal> annotation in the java source file"
+"<literal>@JndiName</literal> annotation in the java source file,"
msgstr ""
#. Tag: listitem
-#: Websphere.xml:127
+#: Websphere.xml:123
#, no-c-format
msgid ""
"Override the default session bean names generated by WebSphere to conform to "
-"the <literal>jndi-pattern</literal> attribute"
+"the <literal>jndi-pattern</literal> attribute,"
msgstr ""
#. Tag: listitem
-#: Websphere.xml:130
+#: Websphere.xml:126
#, no-c-format
-msgid "Use EJB references"
+msgid "Use EJB references."
msgstr ""
#. Tag: title
-#: Websphere.xml:137
+#: Websphere.xml:133
#, no-c-format
msgid "Strategy 1: Specify which JNDI name Seam must use for each Session Bean"
msgstr ""
#. Tag: para
-#: Websphere.xml:138
+#: Websphere.xml:134
#, no-c-format
msgid ""
"This strategy is the simplest and fastest one regarding development. It uses "
@@ -272,7 +274,7 @@
msgstr ""
#. Tag: listitem
-#: Websphere.xml:141
+#: Websphere.xml:137
#, no-c-format
msgid ""
"Add a <literal>@JndiName(\"ejblocal:<package.qualified.local.interface."
@@ -280,20 +282,20 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:145 Websphere.xml:188
+#: Websphere.xml:141 Websphere.xml:184
#, no-c-format
msgid ""
"<para>In <literal>components.xml</literal>, add the following line:</para>"
msgstr ""
#. Tag: programlisting
-#: Websphere.xml:147 Websphere.xml:220
+#: Websphere.xml:143 Websphere.xml:216
#, no-c-format
msgid "<![CDATA[<core:init jndi-name=\"java:comp/env/#{ejbName}\" />]]>"
msgstr ""
#. Tag: para
-#: Websphere.xml:151
+#: Websphere.xml:147
#, no-c-format
msgid ""
"Add a file named <literal>WEB-INF/classes/seam-jndi.properties</literal> in "
@@ -301,7 +303,7 @@
msgstr ""
#. Tag: programlisting
-#: Websphere.xml:153
+#: Websphere.xml:149
#, no-c-format
msgid ""
"com.ibm.websphere.naming.hostname.normalizer=com.ibm.ws.naming.util."
@@ -323,13 +325,13 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:157
+#: Websphere.xml:153
#, no-c-format
msgid "At the end of <literal>web.xml</literal>, add the following lines:"
msgstr ""
#. Tag: programlisting
-#: Websphere.xml:159
+#: Websphere.xml:155
#, no-c-format
msgid ""
"<![CDATA[<ejb-local-ref>\n"
@@ -341,7 +343,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:164
+#: Websphere.xml:160
#, no-c-format
msgid ""
"That's all folks! No need to update any file during the development, nor to "
@@ -349,23 +351,23 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:167
+#: Websphere.xml:163
#, no-c-format
msgid ""
-"Compared to the other strategies, this strategy has the advantage not to "
-"have to manage any EJBs reference and also not to have to maintain extra "
+"Compared to the other strategies, this strategy has the advantage to not "
+"have to manage any EJBs reference and also to not have to maintain extra "
"files. The only drawback is one extra line in the java source code with the "
"<literal>@JndiName</literal> annotation"
msgstr ""
#. Tag: title
-#: Websphere.xml:174
+#: Websphere.xml:170
#, no-c-format
msgid "Strategy 2: Override the default names generated by WebSphere"
msgstr ""
#. Tag: section
-#: Websphere.xml:174
+#: Websphere.xml:170
#, no-c-format
msgid ""
"There is no simple way to globally override the default naming strategy for "
@@ -374,13 +376,13 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:177
+#: Websphere.xml:173
#, no-c-format
msgid "To use this strategy:"
msgstr ""
#. Tag: para
-#: Websphere.xml:181
+#: Websphere.xml:177
#, no-c-format
msgid ""
"Add a file named <literal>META-INF/ibm-ejb-jar-ext.xml</literal> in the EJB "
@@ -405,13 +407,13 @@
msgstr ""
#. Tag: programlisting
-#: Websphere.xml:190
+#: Websphere.xml:186
#, no-c-format
msgid "<![CDATA[<core:init jndi-name=\"ejblocal:#{ejbName}\" />]]>"
msgstr ""
#. Tag: para
-#: Websphere.xml:194
+#: Websphere.xml:190
#, no-c-format
msgid ""
"Add a file named <literal>WEB-INF/classes/seam-jndi.properties</literal> as "
@@ -419,7 +421,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:199
+#: Websphere.xml:195
#, no-c-format
msgid ""
"In <literal>web.xml</literal>, add the following lines (Note the different "
@@ -427,7 +429,7 @@
msgstr ""
#. Tag: programlisting
-#: Websphere.xml:201
+#: Websphere.xml:197
#, no-c-format
msgid ""
"<![CDATA[<ejb-local-ref>\n"
@@ -439,7 +441,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:206
+#: Websphere.xml:202
#, no-c-format
msgid ""
"Compared to the first strategy, this strategy requires to maintain an extra "
@@ -449,13 +451,13 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:215
+#: Websphere.xml:211
#, no-c-format
msgid "Strategy 3: Use EJB references"
msgstr ""
#. Tag: section
-#: Websphere.xml:215
+#: Websphere.xml:211
#, no-c-format
msgid ""
"This strategy is based on the usage of EJB references, from EJB to EJB and "
@@ -463,7 +465,7 @@
msgstr ""
#. Tag: listitem
-#: Websphere.xml:218
+#: Websphere.xml:214
#, no-c-format
msgid ""
"<listitem>In <literal>components.xml</literal>, add the following line:</"
@@ -471,7 +473,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:223
+#: Websphere.xml:219
#, no-c-format
msgid ""
"Follow the instructions in <xref linkend=\"config.integration.ejb.container"
@@ -479,7 +481,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:228
+#: Websphere.xml:224
#, no-c-format
msgid ""
"This is the most tedious strategy as each session bean referenced by another "
@@ -489,27 +491,27 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:239
+#: Websphere.xml:235
#, no-c-format
msgid "Configuring timeouts for Stateful Session Beans"
msgstr ""
#. Tag: para
-#: Websphere.xml:240
+#: Websphere.xml:236
#, no-c-format
msgid ""
"A timeout value has to be set for each stateful session bean used in the "
"application because stateful bean must not expire in WebSphere while Seam "
-"might still need thenm. At the time of writing this document, WebSphere does "
+"might still need them. At the time of writing this document, WebSphere does "
"not provide a way to configure a global timeout at neither the cluster, "
"server, application nor ejb-jar level. It has to be done for each stateful "
-"bean individually. This is done by adding a file named <literal>META-INF/ibm-"
-"ejb-jar-ext.xml</literal> in the EJB module, and declare the timeout value "
-"for each bean:"
+"bean individually. By default, the default timeout is 10 minutes. This is "
+"done by adding a file named <literal>META-INF/ibm-ejb-jar-ext.xml</literal> "
+"in the EJB module, and declare the timeout value for each bean:"
msgstr ""
#. Tag: programlisting
-#: Websphere.xml:246
+#: Websphere.xml:242
#, no-c-format
msgid ""
"<![CDATA[<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
@@ -529,24 +531,24 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:248
+#: Websphere.xml:244
#, no-c-format
msgid ""
"The <literal>time-out</literal> is expressed in seconds and must be higher "
"than the Seam conversation expiration timeout and a few minutes higher than "
"the user's HTTP session timeout (The session expiration timeout can trigger "
-"a few minutes after the number of minutes declared to expire s for the HTTP "
-"session expiration)."
+"a few minutes after the number of minutes declared to expire the HTTP "
+"session)."
msgstr ""
#. Tag: title
-#: Websphere.xml:257
+#: Websphere.xml:253
#, no-c-format
msgid "The <literal>jee5/booking</literal> example"
msgstr ""
#. Tag: para
-#: Websphere.xml:259
+#: Websphere.xml:255
#, no-c-format
msgid ""
"The<literal>jee5/booking</literal>example is based on the Hotel Booking "
@@ -557,23 +559,32 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:265
+#: Websphere.xml:261
#, no-c-format
msgid ""
-"For running this example, we'll use the second JNDI mapping strategy "
-"(\"Override the default names generated by WebSphere\") as we don't want to "
-"change the java code to add the <literal>@JndiName</literal> annotation as "
-"in the first strategy."
+"The example already has a breakout of configurations and build scripts for "
+"WebSphere. First thing, we are going to do is build and deploy this example. "
+"Then we'll go over some key changes that we needed."
msgstr ""
+#. Tag: para
+#: Websphere.xml:266
+#, no-c-format
+msgid ""
+"The tailored configuration files for WebSphere use the second JNDI mapping "
+"strategy (\"Override the default names generated by WebSphere\") as the goal "
+"was to not change any java code to add the <literal>@JndiName</literal> "
+"annotation as in the first strategy."
+msgstr ""
+
#. Tag: title
-#: Websphere.xml:271
+#: Websphere.xml:272
#, no-c-format
msgid "Building the <literal>jee5/booking</literal> example"
msgstr ""
#. Tag: para
-#: Websphere.xml:273
+#: Websphere.xml:274
#, no-c-format
msgid ""
"Building it only requires running the correct ant command: "
@@ -583,21 +594,21 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:280
+#: Websphere.xml:281
#, no-c-format
msgid "Deploying the <literal>jee5/booking</literal> example"
msgstr ""
#. Tag: para
-#: Websphere.xml:281
+#: Websphere.xml:282
#, no-c-format
msgid ""
-"The steps below are for the WAS version stated above.The ports are default "
-"values, if you changed them, you must substitute the values."
+"The steps below are for the WAS version stated above.The ports are the "
+"default values, if you changed them, you must substitute the values."
msgstr ""
#. Tag: listitem
-#: Websphere.xml:284
+#: Websphere.xml:285
#, no-c-format
msgid ""
"Log in to the administration console <programlisting><![CDATA[http://"
@@ -606,7 +617,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:291
+#: Websphere.xml:292
#, no-c-format
msgid ""
"Go to the <literal>WebSphere enterprise applications</literal> menu option "
@@ -615,7 +626,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:298
+#: Websphere.xml:299
#, no-c-format
msgid ""
"At the top of the <literal>Enterprise Applications</literal> table select "
@@ -624,13 +635,13 @@
msgstr ""
#. Tag: literal
-#: Websphere.xml:304
+#: Websphere.xml:305
#, no-c-format
msgid "Preparing for the application installation"
msgstr ""
#. Tag: para
-#: Websphere.xml:307
+#: Websphere.xml:308
#, no-c-format
msgid ""
"Browse to the <literal>examples/jee5/booking/dist-websphere7/jboss-seam-jee5."
@@ -638,25 +649,25 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:313 Websphere.xml:323 Websphere.xml:341
+#: Websphere.xml:314 Websphere.xml:324 Websphere.xml:342
#, no-c-format
msgid "Select the <literal>Next</literal> button."
msgstr ""
#. Tag: para
-#: Websphere.xml:318
+#: Websphere.xml:319
#, no-c-format
msgid "Select the <literal>Fast Path</literal> button."
msgstr ""
#. Tag: literal
-#: Websphere.xml:332
+#: Websphere.xml:333
#, no-c-format
msgid "Select installation options"
msgstr ""
#. Tag: para
-#: Websphere.xml:335
+#: Websphere.xml:336
#, no-c-format
msgid ""
"Select the <literal>Deploy enterprise beans and Allow EJB reference targets "
@@ -665,13 +676,13 @@
msgstr ""
#. Tag: literal
-#: Websphere.xml:350
+#: Websphere.xml:351
#, no-c-format
msgid "Map modules to servers"
msgstr ""
#. Tag: para
-#: Websphere.xml:353
+#: Websphere.xml:354
#, no-c-format
msgid ""
"No changes needed here as we only have one server. Select the <literal>Next</"
@@ -679,13 +690,13 @@
msgstr ""
#. Tag: literal
-#: Websphere.xml:362
+#: Websphere.xml:363
#, no-c-format
msgid "Map virtual hosts for Web modules"
msgstr ""
#. Tag: para
-#: Websphere.xml:365
+#: Websphere.xml:366
#, no-c-format
msgid ""
"No changes needed here as we only have one virtual host. Select the "
@@ -693,31 +704,31 @@
msgstr ""
#. Tag: literal
-#: Websphere.xml:374
+#: Websphere.xml:375
#, no-c-format
msgid "Summary"
msgstr ""
#. Tag: para
-#: Websphere.xml:377
+#: Websphere.xml:378
#, no-c-format
msgid "No changes needed here. Select the <literal>Finish</literal> button."
msgstr ""
#. Tag: literal
-#: Websphere.xml:384
+#: Websphere.xml:385
#, no-c-format
msgid "Installation"
msgstr ""
#. Tag: para
-#: Websphere.xml:387
+#: Websphere.xml:388
#, no-c-format
msgid "Now you will see WebSphere installing and deploying your application."
msgstr ""
#. Tag: para
-#: Websphere.xml:390
+#: Websphere.xml:391
#, no-c-format
msgid ""
"When done, select the <literal>Save</literal> link and you will be returned "
@@ -725,15 +736,15 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:399
+#: Websphere.xml:400
#, no-c-format
msgid ""
-"To start the application select our application in the list, then click on "
+"To start the application, select the application in the list, then click on "
"the <literal>Start</literal> button at the top of the table."
msgstr ""
#. Tag: para
-#: Websphere.xml:409
+#: Websphere.xml:410
#, no-c-format
msgid ""
"You can now access the application at <literal>http://localhost:9080/seam-"
@@ -741,13 +752,13 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:418
+#: Websphere.xml:419
#, no-c-format
msgid "Deviation from the original base files"
msgstr ""
#. Tag: section
-#: Websphere.xml:418
+#: Websphere.xml:419
#, no-c-format
msgid ""
"Below are the differences between the base configuration files and the "
@@ -756,7 +767,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:422
+#: Websphere.xml:423
#, no-c-format
msgid ""
"<literal>META-INF/ejb-jar.xml</literal> — Removed all the EJB "
@@ -764,37 +775,37 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:428
+#: Websphere.xml:429
#, no-c-format
msgid ""
"<literal>META-INF/ibm-ejb-jar-bnd.xml</literal> — This WebSphere "
"specific file has been added as we use the second JNDI mapping strategy. It "
-"defines, for each session bean, the name WebSphere will use to bind it its "
-"JNDI name space"
+"defines, for each session bean, the name WebSphere will use to bind it in "
+"its JNDI name space"
msgstr ""
#. Tag: para
-#: Websphere.xml:435
+#: Websphere.xml:436
#, no-c-format
msgid ""
"<literal>META-INF/ibm-ejb-jar-ext.xml</literal> — This WebSphere "
-"specific file defines to WebSphere, the timeout value for each stateful bean"
+"specific file defines the timeout value for each stateful bean"
msgstr ""
#. Tag: para
-#: Websphere.xml:441
+#: Websphere.xml:442
#, no-c-format
msgid ""
"<literal>META-INF/persistence.xml</literal> — The main changes here "
"are for the datasource JNDI path, switching to the WebSphere transaction "
"manager lookup class, turning off the <literal>hibernate.transaction."
"flush_before_completion</literal> toggle, and forcing the Hibernate dialect "
-"to be <literal>GlassfishDerbyDialect</literal> how as using the integrated "
-"Derby database"
+"to be <literal>GlassfishDerbyDialect</literal> as we are using the "
+"integrated Derby database"
msgstr ""
#. Tag: para
-#: Websphere.xml:451
+#: Websphere.xml:452
#, no-c-format
msgid ""
"<literal>WEB-INF/components.xml</literal> — the change here is "
@@ -803,7 +814,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:459
+#: Websphere.xml:460
#, no-c-format
msgid ""
"<literal>WEB-INF/web.xml</literal> — Remove all the <literal>ejb-local "
@@ -813,7 +824,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:467 Websphere.xml:549
+#: Websphere.xml:468
#, no-c-format
msgid ""
"<literal>import.sql</literal> — due to the cutomized hibernate Derby "
@@ -822,7 +833,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:474
+#: Websphere.xml:475
#, no-c-format
msgid ""
"Also the build procedure has been changed to include the <literal>log4j.jar</"
@@ -831,13 +842,13 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:486
+#: Websphere.xml:487
#, no-c-format
msgid "The <literal>jpa</literal> booking example"
msgstr ""
#. Tag: para
-#: Websphere.xml:488
+#: Websphere.xml:489
#, no-c-format
msgid ""
"This is the Hotel Booking example implemented in Seam POJOs and using "
@@ -845,7 +856,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:493
+#: Websphere.xml:494
#, no-c-format
msgid ""
"The example already has a breakout of configurations and build scripts for "
@@ -853,7 +864,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:498
+#: Websphere.xml:499
#, no-c-format
msgid ""
"First thing, we are going to do is build and deploy that example. Then we'll "
@@ -861,13 +872,13 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:504
+#: Websphere.xml:505
#, no-c-format
msgid "Building the <literal>jpa</literal> example"
msgstr ""
#. Tag: para
-#: Websphere.xml:505
+#: Websphere.xml:506
#, no-c-format
msgid ""
"Building it only requires running the correct ant command: "
@@ -877,13 +888,13 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:514
+#: Websphere.xml:515
#, no-c-format
msgid "Deploying the <literal>jpa</literal> example"
msgstr ""
#. Tag: para
-#: Websphere.xml:515
+#: Websphere.xml:516
#, no-c-format
msgid ""
"Deploying <literal>jpa</literal> application is very similar to the "
@@ -894,7 +905,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:521
+#: Websphere.xml:522
#, no-c-format
msgid ""
"Follow the same instructions as for the <literal>jee5/booking</literal> "
@@ -902,11 +913,11 @@
"literal> file on the first page and on the <literal>Map context roots for "
"Web modules</literal> page (after the <literal>Map virtual host for Web "
"module</literal>), enter the context root you want to use for your "
-"application in the <literal>Contect Root</literal> input field."
+"application in the <literal>Context Root</literal> input field."
msgstr ""
#. Tag: para
-#: Websphere.xml:528
+#: Websphere.xml:529
#, no-c-format
msgid ""
"When started, you can now access the application at the <literal>http://"
@@ -914,13 +925,13 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:534
+#: Websphere.xml:535
#, no-c-format
msgid "Deviation from the generic base files"
msgstr ""
#. Tag: section
-#: Websphere.xml:534
+#: Websphere.xml:535
#, no-c-format
msgid ""
"Below are the configuration file differences between the base configuration "
@@ -929,7 +940,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:539
+#: Websphere.xml:540
#, no-c-format
msgid ""
"<literal>META-INF/persistence.xml</literal> — The main changes here "
@@ -941,9 +952,18 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:556
+#: Websphere.xml:550
#, no-c-format
msgid ""
+"<literal>import.sql</literal> — due to the customized hibernate Derby "
+"dialect, the <literal>ID</literal> column can not be populated by this file "
+"and was removed."
+msgstr ""
+
+#. Tag: para
+#: Websphere.xml:557
+#, no-c-format
+msgid ""
"Also the build procedure have been changed to include the <literal>log4j."
"jar</literal> file and exclude the <literal>concurrent.jar</literal> and "
"<literal>jboss-common-core.jar</literal> files."
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/hi-IN/Configuration.po
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/hi-IN/Configuration.po 2009-08-26 19:14:02 UTC (rev 11432)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/hi-IN/Configuration.po 2009-08-26 19:19:33 UTC (rev 11433)
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-05-05 12:31+0000\n"
+"POT-Creation-Date: 2009-08-26 18:47+0000\n"
"PO-Revision-Date: 2008-04-04 01:24+0000\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
@@ -677,13 +677,63 @@
msgstr ""
#. Tag: title
+#: Configuration.xml:325
+#, no-c-format
+msgid "Enabling HTTP cache-control headers"
+msgstr ""
+
+#. Tag: para
#: Configuration.xml:326
#, no-c-format
+msgid ""
+"Seam does <emphasis>not</emphasis> automatically add <literal>cache-control</"
+"literal> HTTP headers to any resources served by the Seam resource servlet, "
+"or directly from your view directory by the servlet container. This means "
+"that your images, Javascript and CSS files, and resource representations "
+"from Seam resource servlet such as Seam Remoting Javascript interfaces are "
+"usually not cached by the browser. This is convenient in development but "
+"should be changed in production when optimizing the application."
+msgstr ""
+
+#. Tag: para
+#: Configuration.xml:334
+#, no-c-format
+msgid ""
+"You can configure a Seam filter to enable automatic addition of "
+"<literal>cache-control</literal> headers depending on the requested URI in "
+"<literal>components.xml</literal>:"
+msgstr ""
+
+#. Tag: programlisting
+#: Configuration.xml:339
+#, no-c-format
+msgid ""
+"<![CDATA[<web:cache-control-filter name=\"commonTypesCacheControlFilter\"\n"
+" regex-url-pattern=\".*(\\.gif|\\.png|\\.jpg|\\."
+"jpeg|\\.css|\\.js)\"\n"
+" value=\"max-age=86400\"/> <!-- 1 day -->\n"
+"\n"
+"<web:cache-control-filter name=\"anotherCacheControlFilter\"\n"
+" url-pattern=\"/my/cachable/resources/*\"\n"
+" value=\"max-age=432000\"/> <!-- 5 days -->]]>"
+msgstr ""
+
+#. Tag: para
+#: Configuration.xml:341
+#, no-c-format
+msgid ""
+"You do not have to name the filters unless you have more than one filter "
+"enabled."
+msgstr ""
+
+#. Tag: title
+#: Configuration.xml:348
+#, no-c-format
msgid "Adding custom filters"
msgstr ""
#. Tag: para
-#: Configuration.xml:327
+#: Configuration.xml:349
#, no-c-format
msgid ""
"Seam can install your filters for you, allowing you to specify "
@@ -695,7 +745,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:332
+#: Configuration.xml:354
#, no-c-format
msgid ""
"<![CDATA[@Startup\n"
@@ -707,7 +757,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:334
+#: Configuration.xml:356
#, no-c-format
msgid ""
"Adding the <literal>@Startup</literal> annotation means thar the component "
@@ -718,13 +768,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:343
+#: Configuration.xml:365
#, no-c-format
msgid "Integrating Seam with your EJB container"
msgstr ""
#. Tag: para
-#: Configuration.xml:345
+#: Configuration.xml:367
#, no-c-format
msgid ""
"In a Seam application, EJB components have a certain duality, as they are "
@@ -735,7 +785,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:350
+#: Configuration.xml:372
#, no-c-format
msgid ""
"We need to apply the <literal>SeamInterceptor</literal> to our Seam EJB "
@@ -747,7 +797,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:355
+#: Configuration.xml:377
#, no-c-format
msgid ""
"<![CDATA[<interceptors>\n"
@@ -768,7 +818,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:357
+#: Configuration.xml:379
#, no-c-format
msgid ""
"Seam needs to know where to go to find session beans in JNDI. One way to do "
@@ -782,19 +832,19 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:364
+#: Configuration.xml:386
#, no-c-format
msgid "For JBoss AS, the following pattern is correct:"
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:366
+#: Configuration.xml:388
#, no-c-format
msgid "<![CDATA[<core:init jndi-name=\"earName/#{ejbName}/local\" />]]>"
msgstr ""
#. Tag: para
-#: Configuration.xml:368
+#: Configuration.xml:390
#, no-c-format
msgid ""
"In this case, <literal>earName</literal> is the name of the EAR in which the "
@@ -804,7 +854,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:372
+#: Configuration.xml:394
#, no-c-format
msgid ""
"Outside the context of an EAR (when using the JBoss Embeddable EJB3 "
@@ -813,13 +863,13 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:375
+#: Configuration.xml:397
#, no-c-format
msgid "<![CDATA[<core:init jndi-name=\"#{ejbName}/local\" />]]>"
msgstr ""
#. Tag: para
-#: Configuration.xml:377
+#: Configuration.xml:399
#, no-c-format
msgid ""
"How these JNDI names are resolved and somehow locate an EJB component might "
@@ -828,7 +878,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:381
+#: Configuration.xml:403
#, no-c-format
msgid ""
"The folks at JBoss don't care much for XML, if you can't tell. So when they "
@@ -839,14 +889,14 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:387
+#: Configuration.xml:409
#, no-c-format
msgid ""
"The value of the <literal><ejb-name></literal> element in ejb-jar.xml"
msgstr ""
#. Tag: para
-#: Configuration.xml:390
+#: Configuration.xml:412
#, no-c-format
msgid ""
"The value of the <literal>name</literal> attribute in the @Stateless or "
@@ -854,13 +904,13 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:393
+#: Configuration.xml:415
#, no-c-format
msgid "The simple name of the bean class"
msgstr ""
#. Tag: para
-#: Configuration.xml:397
+#: Configuration.xml:419
#, no-c-format
msgid ""
"Let's look at an example. Assume that you have the following EJB bean and "
@@ -868,7 +918,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:399
+#: Configuration.xml:421
#, no-c-format
msgid ""
"<![CDATA[package com.example.myapp;\n"
@@ -895,7 +945,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:401
+#: Configuration.xml:423
#, no-c-format
msgid ""
"Assuming your EJB bean class is deployed in an EAR named myapp, the global "
@@ -907,7 +957,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:407
+#: Configuration.xml:429
#, no-c-format
msgid ""
"So what about the rest of the application servers? Well, according to the "
@@ -919,7 +969,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:413
+#: Configuration.xml:435
#, no-c-format
msgid ""
"There are two places you have to define the EJB reference when using Seam on "
@@ -930,7 +980,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:418
+#: Configuration.xml:440
#, no-c-format
msgid ""
"<![CDATA[<ejb-local-ref>\n"
@@ -942,7 +992,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:420
+#: Configuration.xml:442
#, no-c-format
msgid ""
"This reference will cover most uses of the component in a Seam application. "
@@ -953,7 +1003,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:425
+#: Configuration.xml:447
#, no-c-format
msgid ""
"Within the context of an EJB method call, you have to deal with a somewhat "
@@ -970,7 +1020,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:434
+#: Configuration.xml:456
#, no-c-format
msgid ""
"For application servers that stubbornly adhere to the EJB specification, EJB "
@@ -982,7 +1032,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:439
+#: Configuration.xml:461
#, no-c-format
msgid ""
"Let's assume that we have an EJB named RegisterAction (the name is resolved "
@@ -991,7 +1041,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:442
+#: Configuration.xml:464
#, no-c-format
msgid ""
"<![CDATA[@In(create = true)\n"
@@ -1000,7 +1050,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:444
+#: Configuration.xml:466
#, no-c-format
msgid ""
"In order for this injection to work, the link must be established in the ejb-"
@@ -1008,7 +1058,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:446
+#: Configuration.xml:468
#, no-c-format
msgid ""
"<![CDATA[<ejb-jar>\n"
@@ -1031,7 +1081,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:448
+#: Configuration.xml:470
#, no-c-format
msgid ""
"Notice that the contents of the <literal><ejb-local-ref></literal> are "
@@ -1043,7 +1093,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:454
+#: Configuration.xml:476
#, no-c-format
msgid ""
"But what about <literal>@EJB</literal>? It's true that you can inject one "
@@ -1061,7 +1111,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:464
+#: Configuration.xml:486
#, no-c-format
msgid ""
"That covers how JNDI names are defined and used. The lesson is that with "
@@ -1074,7 +1124,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:470
+#: Configuration.xml:492
#, no-c-format
msgid ""
"<![CDATA[<core:init jndi-name=\"java:comp/env/earName/#{ejbName}/local\" />]]"
@@ -1082,7 +1132,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:472
+#: Configuration.xml:494
#, no-c-format
msgid ""
"Finally, let's talk about transactions. In an EJB3 environment, we recommend "
@@ -1094,19 +1144,19 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:479
+#: Configuration.xml:501
#, no-c-format
msgid "<![CDATA[<transaction:ejb-transaction/>]]>"
msgstr ""
#. Tag: title
-#: Configuration.xml:484
+#: Configuration.xml:506
#, no-c-format
msgid "Don't forget!"
msgstr ""
#. Tag: para
-#: Configuration.xml:486
+#: Configuration.xml:508
#, no-c-format
msgid ""
"There is one final item you need to know about. You must place a "
@@ -1118,7 +1168,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:491
+#: Configuration.xml:513
#, no-c-format
msgid ""
"In a web archive (WAR) file, you must place a <literal>seam.properties</"
@@ -1127,7 +1177,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:494
+#: Configuration.xml:516
#, no-c-format
msgid ""
"That's why all the Seam examples have an empty <literal>seam.properties</"
@@ -1136,7 +1186,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:497
+#: Configuration.xml:519
#, no-c-format
msgid ""
"You might think this is silly and what kind of idiot framework designers "
@@ -1148,13 +1198,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:508
+#: Configuration.xml:530
#, no-c-format
msgid "Using Alternate JPA Providers"
msgstr ""
#. Tag: para
-#: Configuration.xml:510
+#: Configuration.xml:532
#, no-c-format
msgid ""
"Seam comes packaged and configured with Hibernate as the default JPA "
@@ -1163,13 +1213,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:516
+#: Configuration.xml:538
#, no-c-format
msgid "This is a workaround"
msgstr ""
#. Tag: para
-#: Configuration.xml:517
+#: Configuration.xml:539
#, no-c-format
msgid ""
"Configuration of the JPA provider will be easier in the future and will not "
@@ -1178,7 +1228,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:524
+#: Configuration.xml:546
#, no-c-format
msgid ""
"Telling seam about a different JPA provider can be be done in one of two "
@@ -1186,7 +1236,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:525
+#: Configuration.xml:547
#, no-c-format
msgid ""
"Update your application's <literal>components.xml</literal> so that the "
@@ -1195,7 +1245,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:530
+#: Configuration.xml:552
#, no-c-format
msgid ""
"<![CDATA[<component name=\"org.jboss.seam.persistence.persistenceProvider"
@@ -1206,7 +1256,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:531
+#: Configuration.xml:553
#, no-c-format
msgid ""
"If you want to take advantage of your JPA provider's non-standard features "
@@ -1218,7 +1268,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:538
+#: Configuration.xml:560
#, no-c-format
msgid ""
"<![CDATA[<component name=\"org.jboss.seam.persistence.persistenceProvider"
@@ -1228,7 +1278,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:539
+#: Configuration.xml:561
#, no-c-format
msgid ""
"All that is left is updating the <literal>persistence.xml</literal> file "
@@ -1238,13 +1288,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:547
+#: Configuration.xml:569
#, no-c-format
msgid "Configuring Seam in Java EE 5"
msgstr ""
#. Tag: para
-#: Configuration.xml:558
+#: Configuration.xml:580
#, no-c-format
msgid ""
"If you're running in a Java EE 5 environment, this is all the configuration "
@@ -1252,14 +1302,14 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:561 Configuration.xml:656 Configuration.xml:794
-#: Configuration.xml:827
+#: Configuration.xml:583 Configuration.xml:678 Configuration.xml:816
+#: Configuration.xml:849
#, no-c-format
msgid "Packaging"
msgstr ""
#. Tag: para
-#: Configuration.xml:563
+#: Configuration.xml:585
#, no-c-format
msgid ""
"Once you've packaged all this stuff together into an EAR, the archive "
@@ -1267,7 +1317,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:566
+#: Configuration.xml:588
#, no-c-format
msgid ""
"<![CDATA[my-application.ear/\n"
@@ -1307,7 +1357,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:568
+#: Configuration.xml:590
#, no-c-format
msgid ""
"You should declare <literal>jboss-seam.jar</literal> as an ejb module in "
@@ -1316,7 +1366,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:573
+#: Configuration.xml:595
#, no-c-format
msgid ""
"If you want to use jBPM or Drools, you must include the needed jars in the "
@@ -1324,7 +1374,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:575
+#: Configuration.xml:597
#, no-c-format
msgid ""
"If you want to use facelets (our recommendation), you must include "
@@ -1333,7 +1383,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:578
+#: Configuration.xml:600
#, no-c-format
msgid ""
"If you want to use the Seam tag library (most Seam applications do), you "
@@ -1344,7 +1394,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:583
+#: Configuration.xml:605
#, no-c-format
msgid ""
"If you want to use the Seam debug page (only works for applications using "
@@ -1353,7 +1403,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:586
+#: Configuration.xml:608
#, no-c-format
msgid ""
"Seam ships with several example applications that are deployable in any Java "
@@ -1361,7 +1411,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:589
+#: Configuration.xml:611
#, no-c-format
msgid ""
"I really wish that was all there was to say on the topic of configuration "
@@ -1371,13 +1421,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:598
+#: Configuration.xml:620
#, no-c-format
msgid "Configuring Seam in J2EE"
msgstr ""
#. Tag: para
-#: Configuration.xml:600
+#: Configuration.xml:622
#, no-c-format
msgid ""
"Seam is useful even if you're not yet ready to take the plunge into EJB 3.0. "
@@ -1389,7 +1439,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:615
+#: Configuration.xml:637
#, no-c-format
msgid ""
"Seam JavaBean components do not provide declarative transaction demarcation "
@@ -1401,7 +1451,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:621
+#: Configuration.xml:643
#, no-c-format
msgid ""
"The Seam distribution includes a version of the booking example application "
@@ -1411,13 +1461,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:626
+#: Configuration.xml:648
#, no-c-format
msgid "Boostrapping Hibernate in Seam"
msgstr ""
#. Tag: para
-#: Configuration.xml:628
+#: Configuration.xml:650
#, no-c-format
msgid ""
"Seam will bootstrap a Hibernate <literal>SessionFactory</literal> from your "
@@ -1426,7 +1476,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:631
+#: Configuration.xml:653
#, no-c-format
msgid ""
"<![CDATA[<persistence:hibernate-session-factory name="
@@ -1434,7 +1484,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:633
+#: Configuration.xml:655
#, no-c-format
msgid ""
"You will also need to configure a <emphasis>managed session</emphasis> if "
@@ -1443,7 +1493,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:636
+#: Configuration.xml:658
#, no-c-format
msgid ""
"<![CDATA[<persistence:managed-hibernate-session name=\"hibernateSession\"\n"
@@ -1452,13 +1502,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:641
+#: Configuration.xml:663
#, no-c-format
msgid "Boostrapping JPA in Seam"
msgstr ""
#. Tag: para
-#: Configuration.xml:643
+#: Configuration.xml:665
#, no-c-format
msgid ""
"Seam will bootstrap a JPA <literal>EntityManagerFactory</literal> from your "
@@ -1467,7 +1517,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:646
+#: Configuration.xml:668
#, no-c-format
msgid ""
"<![CDATA[<persistence:entity-manager-factory name=\"entityManagerFactory\"/"
@@ -1475,7 +1525,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:648
+#: Configuration.xml:670
#, no-c-format
msgid ""
"You will also need to configure a <emphasis>managed persistence context</"
@@ -1484,7 +1534,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:651
+#: Configuration.xml:673
#, no-c-format
msgid ""
"<![CDATA[<persistence:managed-persistence-context name=\"entityManager\"\n"
@@ -1493,13 +1543,13 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:658
+#: Configuration.xml:680
#, no-c-format
msgid "We can package our application as a WAR, in the following structure:"
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:660
+#: Configuration.xml:682
#, no-c-format
msgid ""
"<![CDATA[my-application.war/\n"
@@ -1536,7 +1586,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:662
+#: Configuration.xml:684
#, no-c-format
msgid ""
"If we want to deploy Hibernate in a non-EE environment like Tomcat or "
@@ -1544,13 +1594,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:669
+#: Configuration.xml:691
#, no-c-format
msgid "Configuring Seam in Java SE, without JBoss Embedded"
msgstr ""
#. Tag: para
-#: Configuration.xml:671
+#: Configuration.xml:693
#, no-c-format
msgid ""
"It is possible to use Seam completely outside of an EE environment. In this "
@@ -1560,7 +1610,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:675
+#: Configuration.xml:697
#, no-c-format
msgid ""
"<![CDATA[<transaction:entity-transaction entity-manager=\"#{entityManager}\"/"
@@ -1568,7 +1618,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:677
+#: Configuration.xml:699
#, no-c-format
msgid ""
"If you're using Hibernate, you can tell Seam to use the Hibernate "
@@ -1576,32 +1626,32 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:679
+#: Configuration.xml:701
#, no-c-format
msgid "<![CDATA[<transaction:hibernate-transaction session=\"#{session}\"/>]]>"
msgstr ""
#. Tag: para
-#: Configuration.xml:681
+#: Configuration.xml:703
#, no-c-format
msgid "Of course, you'll also need to define a datasource."
msgstr ""
#. Tag: para
-#: Configuration.xml:683
+#: Configuration.xml:705
#, no-c-format
msgid ""
"A better alternative is to use JBoss Embedded to get access to the EE APIs."
msgstr ""
#. Tag: title
-#: Configuration.xml:688
+#: Configuration.xml:710
#, no-c-format
msgid "Configuring Seam in Java SE, with JBoss Embedded"
msgstr ""
#. Tag: para
-#: Configuration.xml:690
+#: Configuration.xml:712
#, no-c-format
msgid ""
"JBoss Embedded lets you run EJB3 components outside the context of the Java "
@@ -1610,7 +1660,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:693
+#: Configuration.xml:715
#, no-c-format
msgid ""
"The Seam booking example application includes a TestNG integration test "
@@ -1618,19 +1668,19 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:705
+#: Configuration.xml:727
#, no-c-format
msgid "The booking example application may even be deployed to Tomcat."
msgstr ""
#. Tag: title
-#: Configuration.xml:717
+#: Configuration.xml:739
#, no-c-format
msgid "Installing Embedded JBoss"
msgstr ""
#. Tag: para
-#: Configuration.xml:720
+#: Configuration.xml:742
#, no-c-format
msgid ""
"Embedded JBoss must by installed into Tomcat for Seam applications to run "
@@ -1643,7 +1693,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:734
+#: Configuration.xml:756
#, no-c-format
msgid ""
"Copy all files and directories under the Embedded JBoss <literal>bootstrap</"
@@ -1653,7 +1703,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:741
+#: Configuration.xml:763
#, no-c-format
msgid ""
"Remove the <literal>annotations-api.jar</literal> file from the Tomcat "
@@ -1661,7 +1711,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:747
+#: Configuration.xml:769
#, no-c-format
msgid ""
"Next, two configuration files need to be updated to add Embedded JBoss-"
@@ -1669,7 +1719,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:753
+#: Configuration.xml:775
#, no-c-format
msgid ""
"Add the Embedded JBoss listener <literal>EmbeddedJBossBootstrapListener</"
@@ -1678,7 +1728,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:756
+#: Configuration.xml:778
#, no-c-format
msgid ""
"<![CDATA[<Server port=\"8005\" shutdown=\"SHUTDOWN\">\n"
@@ -1696,7 +1746,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:757
+#: Configuration.xml:779
#, no-c-format
msgid ""
"<![CDATA[ <!-- Add this listener -->\n"
@@ -1705,7 +1755,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:761
+#: Configuration.xml:783
#, no-c-format
msgid ""
"WAR file scanning should be enabled by adding the <literal>WebinfScanner</"
@@ -1713,7 +1763,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:764
+#: Configuration.xml:786
#, no-c-format
msgid ""
"<![CDATA[<Context>\n"
@@ -1728,7 +1778,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:765
+#: Configuration.xml:787
#, no-c-format
msgid ""
"<![CDATA[ <!-- Add this listener -->\n"
@@ -1736,13 +1786,13 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:766
+#: Configuration.xml:788
#, no-c-format
msgid "<![CDATA[</Context>]]>"
msgstr ""
#. Tag: para
-#: Configuration.xml:770
+#: Configuration.xml:792
#, no-c-format
msgid ""
"If you are using Sun JDK 6, you need to set the Java option <literal>sun."
@@ -1752,7 +1802,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:775
+#: Configuration.xml:797
#, no-c-format
msgid ""
"Open the script appropriate for your operating system in a text editor. Add "
@@ -1762,7 +1812,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:779
+#: Configuration.xml:801
#, no-c-format
msgid ""
"<![CDATA[set JAVA_OPTS=%JAVA_OPTS% -Dsun.lang.ClassLoader."
@@ -1770,13 +1820,13 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:781
+#: Configuration.xml:803
#, no-c-format
msgid "On Unix, use this syntax instead:"
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:783
+#: Configuration.xml:805
#, no-c-format
msgid ""
"<![CDATA[JAVA_OPTS=\"$JAVA_OPTS -Dsun.lang.ClassLoader.allowArraySyntax=true"
@@ -1784,7 +1834,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:788
+#: Configuration.xml:810
#, no-c-format
msgid ""
"For more configuration options, please see the Embedded JBoss Tomcat "
@@ -1793,7 +1843,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:796
+#: Configuration.xml:818
#, no-c-format
msgid ""
"The archive structure of a WAR-based deployment on an servlet engine like "
@@ -1801,7 +1851,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:799
+#: Configuration.xml:821
#, no-c-format
msgid ""
"<![CDATA[my-application.war/\n"
@@ -1839,7 +1889,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:801
+#: Configuration.xml:823
#, no-c-format
msgid ""
"Most of the Seam example applications may be deployed to Tomcat by running "
@@ -1847,13 +1897,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:809
+#: Configuration.xml:831
#, no-c-format
msgid "Configuring jBPM in Seam"
msgstr ""
#. Tag: para
-#: Configuration.xml:810
+#: Configuration.xml:832
#, no-c-format
msgid ""
"Seam's jBPM integration is not installed by default, so you'll need to "
@@ -1863,7 +1913,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:814
+#: Configuration.xml:836
#, no-c-format
msgid ""
"<![CDATA[<bpm:jbpm>\n"
@@ -1879,7 +1929,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:816
+#: Configuration.xml:838
#, no-c-format
msgid ""
"No further special configuration is needed if you only have pageflows. If "
@@ -1890,7 +1940,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:821
+#: Configuration.xml:843
#, no-c-format
msgid ""
"<![CDATA[<jbpm-configuration>\n"
@@ -1920,7 +1970,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:823
+#: Configuration.xml:845
#, no-c-format
msgid ""
"The most important thing to notice here is that jBPM transaction control is "
@@ -1928,7 +1978,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:829
+#: Configuration.xml:851
#, no-c-format
msgid ""
"There is not yet any well-defined packaging format for jBPM configuration "
@@ -1939,7 +1989,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:834
+#: Configuration.xml:856
#, no-c-format
msgid ""
"<![CDATA[my-application.ear/\n"
@@ -1986,13 +2036,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:841
+#: Configuration.xml:863
#, no-c-format
msgid "Configuring SFSB and Session Timeouts in JBoss AS"
msgstr ""
#. Tag: para
-#: Configuration.xml:843
+#: Configuration.xml:865
#, no-c-format
msgid ""
"It is very important that the timeout for Stateful Session Beans is set "
@@ -2004,7 +2054,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:849
+#: Configuration.xml:871
#, no-c-format
msgid ""
"The default SFSB timeout can be adjusted by modifying the value of "
@@ -2013,7 +2063,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:852
+#: Configuration.xml:874
#, no-c-format
msgid ""
"<![CDATA[<container-cache-conf>\n"
@@ -2038,7 +2088,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:854
+#: Configuration.xml:876
#, no-c-format
msgid ""
"The default HTTP session timeout can be modified in <literal>server/default/"
@@ -2049,7 +2099,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:859
+#: Configuration.xml:881
#, no-c-format
msgid ""
"<![CDATA[<session-config>\n"
@@ -2059,7 +2109,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:861
+#: Configuration.xml:883
#, no-c-format
msgid ""
"To override this value for your own application, simply include this entry "
@@ -2067,13 +2117,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:867
+#: Configuration.xml:889
#, no-c-format
msgid "Running Seam in a Portlet"
msgstr ""
#. Tag: para
-#: Configuration.xml:869
+#: Configuration.xml:891
#, no-c-format
msgid ""
"If you want to run your Seam application in a portlet, take a look at the "
@@ -2084,13 +2134,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:880
+#: Configuration.xml:902
#, no-c-format
msgid "Deploying custom resources"
msgstr ""
#. Tag: para
-#: Configuration.xml:882
+#: Configuration.xml:904
#, no-c-format
msgid ""
"Seam scans all jars containing <literal>/seam.properties</literal>, "
@@ -2101,7 +2151,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:889
+#: Configuration.xml:911
#, no-c-format
msgid ""
"You may also want Seam to handle custom resources. A common use case is to "
@@ -2111,7 +2161,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:896
+#: Configuration.xml:918
#, no-c-format
msgid ""
"<![CDATA[# A colon-separated list of annotation types to handle\n"
@@ -2119,7 +2169,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:898
+#: Configuration.xml:920
#, no-c-format
msgid ""
"Then, during application startup you can get hold of all classes annotated "
@@ -2127,7 +2177,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:903
+#: Configuration.xml:925
#, no-c-format
msgid ""
"<![CDATA[@Name(\"fooStartup\")\n"
@@ -2159,7 +2209,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:905
+#: Configuration.xml:927
#, no-c-format
msgid ""
"You can also handle <emphasis>any</emphasis> resource. For example, you "
@@ -2168,7 +2218,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:911
+#: Configuration.xml:933
#, no-c-format
msgid ""
"<![CDATA[public class FooDeploymentHandler implements DeploymentHandler {\n"
@@ -2192,7 +2242,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:913
+#: Configuration.xml:935
#, no-c-format
msgid ""
"Here we are just building a list of any files with the suffix <literal>.foo."
@@ -2200,7 +2250,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:918
+#: Configuration.xml:940
#, no-c-format
msgid ""
"Then, we need to register the deployment handler with Seam in <literal>/META-"
@@ -2209,7 +2259,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:925
+#: Configuration.xml:947
#, no-c-format
msgid ""
"<![CDATA[# For standard deployment\n"
@@ -2220,7 +2270,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:931
+#: Configuration.xml:953
#, no-c-format
msgid ""
"Seam uses deployment handlers internally to install components and "
@@ -2229,7 +2279,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:937
+#: Configuration.xml:959
#, no-c-format
msgid ""
"<![CDATA[@Name(\"fooStartup\")\n"
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/hi-IN/Webservices.po
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/hi-IN/Webservices.po 2009-08-26 19:14:02 UTC (rev 11432)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/hi-IN/Webservices.po 2009-08-26 19:19:33 UTC (rev 11433)
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-07-08 14:32+0000\n"
+"POT-Creation-Date: 2009-08-26 18:48+0000\n"
"PO-Revision-Date: 2008-04-04 01:24+0000\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
@@ -392,48 +392,56 @@
#: Webservices.xml:186
#, no-c-format
msgid ""
-"The URI starts with the pattern mapped in <literal>web.xml</literal> for the "
+"The URI starts with the host and context path of your application, e.g. "
+"<literal>http://your.hostname/myapp</literal>."
+msgstr ""
+
+#. Tag: para
+#: Webservices.xml:192
+#, no-c-format
+msgid ""
+"Then the pattern mapped in <literal>web.xml</literal> for the "
"<literal>SeamResourceServlet</literal>, e.g <literal>/seam/resource</"
-"literal> if you follow the common examples. Change this setting to expose "
-"your RESTful resources under a different base. Note that this is a global "
-"change and other Seam resources (e.g. <literal>s:graphicImage</literal>) are "
-"then also served under that base path."
+"literal> if you follow the common examples, is appended. Change this setting "
+"to expose your RESTful resources under a different base. Note that this is a "
+"global change and other Seam resources (e.g. <literal>s:graphicImage</"
+"literal>) are then also served under that base path."
msgstr ""
#. Tag: para
-#: Webservices.xml:195
+#: Webservices.xml:201
#, no-c-format
msgid ""
"The RESTEasy integration for Seam then appends a configurable string to the "
"base path, by default this is <literal>/rest</literal>. Hence, the full base "
-"path of your resources would e.g. be <literal>/seam/resource/rest</literal>. "
-"We recommend that you change this string in your application, you could for "
-"example add a version number to prepare for a future REST API upgrade of "
-"your services (old clients would keep the old URI base): <literal>/seam/"
-"resource/restv1</literal>."
+"path of your resources would e.g. be <literal>/myapp/seam/resource/rest</"
+"literal>. We recommend that you change this string in your application, you "
+"could for example add a version number to prepare for a future REST API "
+"upgrade of your services (old clients would keep the old URI base): "
+"<literal>/myapp/seam/resource/restv1</literal>."
msgstr ""
#. Tag: para
-#: Webservices.xml:204
+#: Webservices.xml:210
#, no-c-format
msgid ""
"Finally, the actual resource is available under the defined <literal>@Path</"
"literal>, e.g. a resource mapped with <literal>@Path(\"/customer\")</"
-"literal> would be available under <literal>/seam/resource/rest/customer</"
-"literal>."
+"literal> would be available under <literal>/myapp/seam/resource/rest/"
+"customer</literal>."
msgstr ""
#. Tag: para
-#: Webservices.xml:212
+#: Webservices.xml:218
#, no-c-format
msgid ""
"As an example, the following resource definition would return a plaintext "
"representation for any GET requests using the URI <literal>http://your."
-"hostname/seam/resource/rest/customer/123</literal>:"
+"hostname/myapp/seam/resource/rest/customer/123</literal>:"
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:217
+#: Webservices.xml:223
#, no-c-format
msgid ""
"<![CDATA[@Path(\"/customer\")\n"
@@ -450,7 +458,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:219
+#: Webservices.xml:225
#, no-c-format
msgid ""
"No additional configuration is required, you do not have to edit "
@@ -461,7 +469,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:225
+#: Webservices.xml:231
#, no-c-format
msgid ""
"<![CDATA[<components\n"
@@ -476,63 +484,39 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:227
+#: Webservices.xml:233
#, no-c-format
msgid ""
"You can then change the <literal>/rest</literal> prefix as mentioned earlier:"
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:231
+#: Webservices.xml:237
#, no-c-format
msgid "<![CDATA[<resteasy:application resource-path-prefix=\"/restv1\"/>]]>"
msgstr ""
#. Tag: para
-#: Webservices.xml:233
-#, no-c-format
-msgid ""
-"The full base path to your resources is now <literal>/seam/resource/restv1/"
-"{resource}</literal> - note that your <literal>@Path</literal> definitions "
-"and mappings do NOT change. This is an application-wide switch usually used "
-"for versioning of the HTTP API."
-msgstr ""
-
-#. Tag: para
#: Webservices.xml:239
#, no-c-format
msgid ""
-"You can disable stripping of the base path if you'd like to map the full "
-"path in your resources:"
+"The full base path to your resources is now <literal>/myapp/seam/resource/"
+"restv1/{resource}</literal> - note that your <literal>@Path</literal> "
+"definitions and mappings do NOT change. This is an application-wide switch "
+"usually used for versioning of the HTTP interface."
msgstr ""
-#. Tag: programlisting
-#: Webservices.xml:243
-#, no-c-format
-msgid "<![CDATA[<resteasy:application strip-seam-resource-path=\"false\"/>]]>"
-msgstr ""
-
#. Tag: para
#: Webservices.xml:245
#, no-c-format
msgid ""
-"The path of a resource is now mapped with e.g. <literal>@Path(\"/seam/"
-"resource/rest/customer\")</literal>. We do not recommend disabling this "
-"feature, as your resource class mappings are then bound to a particular "
-"deployment scenario."
-msgstr ""
-
-#. Tag: para
-#: Webservices.xml:251
-#, no-c-format
-msgid ""
"Seam will scan your classpath for any deployed <literal>@javax.ws.rs.Path</"
"literal> resources and any <literal>@javax.ws.rs.ext.Provider</literal> "
"classes. You can disable scanning and configure these classes manually:"
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:257
+#: Webservices.xml:251
#, no-c-format
msgid ""
"<![CDATA[<resteasy:application\n"
@@ -554,7 +538,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:259
+#: Webservices.xml:253
#, no-c-format
msgid ""
"The <literal>use-built-in-providers</literal> switch enables (default) or "
@@ -564,7 +548,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:265
+#: Webservices.xml:259
#, no-c-format
msgid ""
"RESTEasy supports plain EJBs (EJBs that are not Seam components) as "
@@ -576,20 +560,21 @@
"<literal>@Path</literal>, <literal>@GET</literal>, and so on - not the bean "
"implementation class. This allows you to keep your application deployment-"
"portable with the global Seam <literal>jndi-pattern</literal> switch on "
-"<literal><core:init/></literal>. Note that EJB resources will not be "
-"found even if scanning of resources is enabled, you always have to list them "
-"manually. Again, this is only relevant for EJB resources that are not also "
-"Seam components and that do not have a <literal>@Name</literal> annotation."
+"<literal><core:init/></literal>. Note that plain (non-Seam component) "
+"EJB resources will not be found even if scanning of resources is enabled, "
+"you always have to list them manually. Again, this whole paragraph is only "
+"relevant for EJB resources that are not also Seam components and that do not "
+"have an <literal>@Name</literal> annotation."
msgstr ""
#. Tag: para
-#: Webservices.xml:277
+#: Webservices.xml:272
#, no-c-format
msgid "Finally, you can configure media type and language URI extensions:"
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:281
+#: Webservices.xml:276
#, no-c-format
msgid ""
"<![CDATA[<resteasy:application>\n"
@@ -606,7 +591,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:283
+#: Webservices.xml:278
#, no-c-format
msgid ""
"This definition would map the URI suffix of <literal>.txt.deutsch</literal> "
@@ -616,13 +601,13 @@
msgstr ""
#. Tag: title
-#: Webservices.xml:292
+#: Webservices.xml:287
#, no-c-format
msgid "Resources and providers as Seam components"
msgstr ""
#. Tag: para
-#: Webservices.xml:294
+#: Webservices.xml:289
#, no-c-format
msgid ""
"Any resource and provider instances are managed by RESTEasy by default. That "
@@ -633,7 +618,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:301
+#: Webservices.xml:296
#, no-c-format
msgid ""
"You can write resources and providers as Seam components and benefit from "
@@ -642,7 +627,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:307
+#: Webservices.xml:302
#, no-c-format
msgid ""
"<![CDATA[@Name(\"customerResource\")\n"
@@ -663,7 +648,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:309
+#: Webservices.xml:304
#, no-c-format
msgid ""
"An instance of <literal>customerResource</literal> is now handled by Seam "
@@ -677,7 +662,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:318
+#: Webservices.xml:313
#, no-c-format
msgid ""
"You can annotate an interface and keep the implementation free from JAX-RS "
@@ -685,7 +670,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:322
+#: Webservices.xml:317
#, no-c-format
msgid ""
"<![CDATA[@Path(\"/customer\")\n"
@@ -700,7 +685,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:324
+#: Webservices.xml:319
#, no-c-format
msgid ""
"<![CDATA[@Name(\"customerResource\")\n"
@@ -718,7 +703,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:326
+#: Webservices.xml:321
#, no-c-format
msgid ""
"You can use <literal>SESSION</literal>-scoped Seam components. By default, "
@@ -733,7 +718,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:335
+#: Webservices.xml:330
#, no-c-format
msgid ""
"Assuming that your Seam application only uses event, application, or "
@@ -745,7 +730,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:342
+#: Webservices.xml:337
#, no-c-format
msgid ""
"If your RESTful Seam application has to preserve session state across REST "
@@ -753,14 +738,14 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:347
+#: Webservices.xml:342
#, no-c-format
msgid ""
"<![CDATA[<resteasy:application destroy-session-after-request=\"false\"/>]]>"
msgstr ""
#. Tag: para
-#: Webservices.xml:349
+#: Webservices.xml:344
#, no-c-format
msgid ""
"Every REST HTTP request will now create a new session that will only be "
@@ -771,7 +756,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:356
+#: Webservices.xml:351
#, no-c-format
msgid ""
"<literal>CONVERSATION</literal>-scoped resource components and mapping of "
@@ -780,7 +765,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:361
+#: Webservices.xml:356
#, no-c-format
msgid ""
"EJB Seam components are supported. Always annotate the local business "
@@ -789,7 +774,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:366
+#: Webservices.xml:361
#, no-c-format
msgid ""
"Provider classes can also be Seam components, only <literal>APPLICATION</"
@@ -799,13 +784,13 @@
msgstr ""
#. Tag: title
-#: Webservices.xml:375
+#: Webservices.xml:370
#, no-c-format
msgid "Securing resources"
msgstr ""
#. Tag: para
-#: Webservices.xml:377
+#: Webservices.xml:372
#, no-c-format
msgid ""
"You can enable the Seam authentication filter for HTTP Basic and Digest "
@@ -813,7 +798,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:382
+#: Webservices.xml:377
#, no-c-format
msgid ""
"<![CDATA[<web:authentication-filter url-pattern=\"/seam/resource/rest/*\" "
@@ -821,14 +806,14 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:384
+#: Webservices.xml:379
#, no-c-format
msgid ""
"See the Seam security chapter on how to write an authentication routine."
msgstr ""
#. Tag: para
-#: Webservices.xml:388
+#: Webservices.xml:383
#, no-c-format
msgid ""
"After successful authentication, authorization rules with the common "
@@ -839,13 +824,13 @@
msgstr ""
#. Tag: title
-#: Webservices.xml:398
+#: Webservices.xml:393
#, no-c-format
msgid "Mapping exceptions to HTTP responses"
msgstr ""
#. Tag: para
-#: Webservices.xml:400
+#: Webservices.xml:395
#, no-c-format
msgid ""
"Section 3.3.4 of the JAX-RS specification defines how checked or unchecked "
@@ -858,7 +843,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:408
+#: Webservices.xml:403
#, no-c-format
msgid ""
"Exception handling within Seam requires that the Seam filter is executed for "
@@ -870,7 +855,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:415
+#: Webservices.xml:410
#, no-c-format
msgid ""
"<![CDATA[<filter>\n"
@@ -885,7 +870,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:417
+#: Webservices.xml:412
#, no-c-format
msgid ""
"To convert the unchecked <literal>UnsupportedOperationException</literal> "
@@ -895,7 +880,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:423
+#: Webservices.xml:418
#, no-c-format
msgid ""
"<![CDATA[<exception class=\"java.lang.UnsupportedOperationException\">\n"
@@ -906,13 +891,13 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:425
+#: Webservices.xml:420
#, no-c-format
msgid "Custom or checked exceptions are handled the same:"
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:429
+#: Webservices.xml:424
#, no-c-format
msgid ""
"<![CDATA[<exception class=\"my.CustomException\" log=\"false\">\n"
@@ -924,7 +909,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:431
+#: Webservices.xml:426
#, no-c-format
msgid ""
"You do not have to send an HTTP error to the client if an exception occurs. "
@@ -935,7 +920,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:438
+#: Webservices.xml:433
#, no-c-format
msgid ""
"Note that the HTTP response still passes through the servlet container, so "
@@ -946,13 +931,13 @@
msgstr ""
#. Tag: title
-#: Webservices.xml:447
+#: Webservices.xml:442
#, no-c-format
msgid "Testing resources and providers"
msgstr ""
#. Tag: para
-#: Webservices.xml:449
+#: Webservices.xml:444
#, no-c-format
msgid ""
"Seam includes a unit testing utility class that helps you create unit tests "
@@ -962,7 +947,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:455
+#: Webservices.xml:450
#, no-c-format
msgid ""
"<![CDATA[import org.jboss.seam.mock.ResourceRequestEnvironment;\n"
@@ -1019,7 +1004,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:457
+#: Webservices.xml:452
#, no-c-format
msgid ""
"This test only executes local calls, it does not communicate with the "
@@ -1032,7 +1017,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:465
+#: Webservices.xml:460
#, no-c-format
msgid ""
"Note that a <literal>ResourceRequest</literal> has to be executed in a "
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/hi-IN/Websphere.po
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/hi-IN/Websphere.po 2009-08-26 19:14:02 UTC (rev 11432)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/hi-IN/Websphere.po 2009-08-26 19:19:33 UTC (rev 11433)
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-08-22 13:17+0000\n"
+"POT-Creation-Date: 2009-08-26 18:48+0000\n"
"PO-Revision-Date: 2008-04-04 01:24+0000\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
@@ -76,25 +76,27 @@
#, no-c-format
msgid ""
"The following sections in this chapter assume that WebSphere is correctly "
-"installed and is functional, and a profile has been successfully created."
+"installed and is functional, and a WebSphere \"profile\" has been "
+"successfully created."
msgstr ""
#. Tag: para
#: Websphere.xml:40
#, no-c-format
msgid ""
-"This chapter explain how to compile, deploy and run some sample applications "
-"in WebSphere. These sample applications require a database. WebSphere comes "
-"by default with a set of sample applications called \"Default Application\". "
-"This set of sample applications use a Derby database running on the Derby "
-"instance installed with WebSphere. In order to keep this simple we'll use "
-"this Derby database created for the \"Default Applications\". However, to "
-"run the sample application with the Derby database \"as-is\", a patched "
-"Hibernate dialect must be used (The patch changes the default \"auto\" key "
-"generation strategy) as explained in <xref linkend=\"glassfish\"/>. If you "
-"want to use another database, it's just a matter of creating a connection "
-"pool in WebSphere pointing to this database, declare the correct Hibernate "
-"dialect and set the correct JNDI name in <literal>persistence.xml</literal>."
+"This chapter explains how to compile, deploy and run some sample "
+"applications in WebSphere. These sample applications require a database. "
+"WebSphere comes by default with a set of sample applications called "
+"\"Default Application\". This set of sample applications use a Derby "
+"database running on the Derby instance installed within WebSphere. In order "
+"to keep this simple we'll use this Derby database created for the \"Default "
+"Applications\". However, to run the sample application with the Derby "
+"database \"as-is\", a patched Hibernate dialect must be used (The patch "
+"changes the default \"auto\" key generation strategy) as explained in <xref "
+"linkend=\"glassfish\"/>. If you want to use another database, it's just a "
+"matter of creating a connection pool in WebSphere pointing to this database, "
+"declare the correct Hibernate dialect and set the correct JNDI name in "
+"<literal>persistence.xml</literal>."
msgstr ""
#. Tag: title
@@ -144,14 +146,14 @@
#, no-c-format
msgid ""
"On the right navigation menu, select <literal>Web Container Settings/Web "
-"container</literal>)"
+"container</literal>"
msgstr ""
#. Tag: listitem
#: Websphere.xml:73
#, no-c-format
msgid ""
-"On the right navigation menu, select <literal>custom properties</literal>) "
+"On the right navigation menu, select <literal>custom properties</literal> "
"and add the following properties:"
msgstr ""
@@ -170,7 +172,7 @@
#. Tag: listitem
#: Websphere.xml:84
#, no-c-format
-msgid "Save and restart the server"
+msgid "Save the configuration and restart the server"
msgstr ""
#. Tag: title
@@ -189,38 +191,38 @@
msgstr ""
#. Tag: listitem
-#: Websphere.xml:97
+#: Websphere.xml:96
#, no-c-format
msgid ""
"The global <literal>jndi-pattern</literal> switch on the <literal><core:"
-"init></literal>. in <literal>components.xml</literal>. The switch can use "
-"a special placeholder \"<literal>#{ejbName}</literal>\" that resolves to the "
-"unqualified name of the EJB"
+"init></literal>tag in <literal>components.xml</literal>. The switch can "
+"use a special placeholder \"<literal>#{ejbName}</literal>\" that resolves to "
+"the unqualified name of the EJB"
msgstr ""
#. Tag: para
-#: Websphere.xml:102
+#: Websphere.xml:100
#, no-c-format
msgid "The <literal>@JndiName</literal> annotation"
msgstr ""
#. Tag: para
-#: Websphere.xml:108
+#: Websphere.xml:106
#, no-c-format
msgid "gives detailed explanations on how those mechanisms work."
msgstr ""
#. Tag: para
-#: Websphere.xml:112
+#: Websphere.xml:110
#, no-c-format
msgid ""
-"By default, WebSphere will bind the session bean in its local JNDI name "
-"space under a \"short\" binding name that adheres to the following pattern "
+"By default, WebSphere will bind session beans in its local JNDI name space "
+"under a \"short\" binding name that adheres to the following pattern "
"<literal>ejblocal:<package.qualified.local.interface.name></literal>."
msgstr ""
#. Tag: para
-#: Websphere.xml:117
+#: Websphere.xml:115
#, no-c-format
msgid ""
"For a detailed description on how WebSphere v7 organizes and binds EJBs in "
@@ -228,7 +230,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:120
+#: Websphere.xml:118
#, no-c-format
msgid ""
"As explained before, Seam needs to lookup for session bean as they appear in "
@@ -236,35 +238,35 @@
msgstr ""
#. Tag: listitem
-#: Websphere.xml:124
+#: Websphere.xml:121
#, no-c-format
msgid ""
"Specify which JNDI name Seam must use for each session bean using the "
-"<literal>@JndiName</literal> annotation in the java source file"
+"<literal>@JndiName</literal> annotation in the java source file,"
msgstr ""
#. Tag: listitem
-#: Websphere.xml:127
+#: Websphere.xml:123
#, no-c-format
msgid ""
"Override the default session bean names generated by WebSphere to conform to "
-"the <literal>jndi-pattern</literal> attribute"
+"the <literal>jndi-pattern</literal> attribute,"
msgstr ""
#. Tag: listitem
-#: Websphere.xml:130
+#: Websphere.xml:126
#, no-c-format
-msgid "Use EJB references"
+msgid "Use EJB references."
msgstr ""
#. Tag: title
-#: Websphere.xml:137
+#: Websphere.xml:133
#, no-c-format
msgid "Strategy 1: Specify which JNDI name Seam must use for each Session Bean"
msgstr ""
#. Tag: para
-#: Websphere.xml:138
+#: Websphere.xml:134
#, no-c-format
msgid ""
"This strategy is the simplest and fastest one regarding development. It uses "
@@ -272,7 +274,7 @@
msgstr ""
#. Tag: listitem
-#: Websphere.xml:141
+#: Websphere.xml:137
#, no-c-format
msgid ""
"Add a <literal>@JndiName(\"ejblocal:<package.qualified.local.interface."
@@ -280,20 +282,20 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:145 Websphere.xml:188
+#: Websphere.xml:141 Websphere.xml:184
#, no-c-format
msgid ""
"<para>In <literal>components.xml</literal>, add the following line:</para>"
msgstr ""
#. Tag: programlisting
-#: Websphere.xml:147 Websphere.xml:220
+#: Websphere.xml:143 Websphere.xml:216
#, no-c-format
msgid "<![CDATA[<core:init jndi-name=\"java:comp/env/#{ejbName}\" />]]>"
msgstr ""
#. Tag: para
-#: Websphere.xml:151
+#: Websphere.xml:147
#, no-c-format
msgid ""
"Add a file named <literal>WEB-INF/classes/seam-jndi.properties</literal> in "
@@ -301,7 +303,7 @@
msgstr ""
#. Tag: programlisting
-#: Websphere.xml:153
+#: Websphere.xml:149
#, no-c-format
msgid ""
"com.ibm.websphere.naming.hostname.normalizer=com.ibm.ws.naming.util."
@@ -323,13 +325,13 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:157
+#: Websphere.xml:153
#, no-c-format
msgid "At the end of <literal>web.xml</literal>, add the following lines:"
msgstr ""
#. Tag: programlisting
-#: Websphere.xml:159
+#: Websphere.xml:155
#, no-c-format
msgid ""
"<![CDATA[<ejb-local-ref>\n"
@@ -341,7 +343,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:164
+#: Websphere.xml:160
#, no-c-format
msgid ""
"That's all folks! No need to update any file during the development, nor to "
@@ -349,23 +351,23 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:167
+#: Websphere.xml:163
#, no-c-format
msgid ""
-"Compared to the other strategies, this strategy has the advantage not to "
-"have to manage any EJBs reference and also not to have to maintain extra "
+"Compared to the other strategies, this strategy has the advantage to not "
+"have to manage any EJBs reference and also to not have to maintain extra "
"files. The only drawback is one extra line in the java source code with the "
"<literal>@JndiName</literal> annotation"
msgstr ""
#. Tag: title
-#: Websphere.xml:174
+#: Websphere.xml:170
#, no-c-format
msgid "Strategy 2: Override the default names generated by WebSphere"
msgstr ""
#. Tag: section
-#: Websphere.xml:174
+#: Websphere.xml:170
#, no-c-format
msgid ""
"There is no simple way to globally override the default naming strategy for "
@@ -374,13 +376,13 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:177
+#: Websphere.xml:173
#, no-c-format
msgid "To use this strategy:"
msgstr ""
#. Tag: para
-#: Websphere.xml:181
+#: Websphere.xml:177
#, no-c-format
msgid ""
"Add a file named <literal>META-INF/ibm-ejb-jar-ext.xml</literal> in the EJB "
@@ -405,13 +407,13 @@
msgstr ""
#. Tag: programlisting
-#: Websphere.xml:190
+#: Websphere.xml:186
#, no-c-format
msgid "<![CDATA[<core:init jndi-name=\"ejblocal:#{ejbName}\" />]]>"
msgstr ""
#. Tag: para
-#: Websphere.xml:194
+#: Websphere.xml:190
#, no-c-format
msgid ""
"Add a file named <literal>WEB-INF/classes/seam-jndi.properties</literal> as "
@@ -419,7 +421,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:199
+#: Websphere.xml:195
#, no-c-format
msgid ""
"In <literal>web.xml</literal>, add the following lines (Note the different "
@@ -427,7 +429,7 @@
msgstr ""
#. Tag: programlisting
-#: Websphere.xml:201
+#: Websphere.xml:197
#, no-c-format
msgid ""
"<![CDATA[<ejb-local-ref>\n"
@@ -439,7 +441,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:206
+#: Websphere.xml:202
#, no-c-format
msgid ""
"Compared to the first strategy, this strategy requires to maintain an extra "
@@ -449,13 +451,13 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:215
+#: Websphere.xml:211
#, no-c-format
msgid "Strategy 3: Use EJB references"
msgstr ""
#. Tag: section
-#: Websphere.xml:215
+#: Websphere.xml:211
#, no-c-format
msgid ""
"This strategy is based on the usage of EJB references, from EJB to EJB and "
@@ -463,7 +465,7 @@
msgstr ""
#. Tag: listitem
-#: Websphere.xml:218
+#: Websphere.xml:214
#, no-c-format
msgid ""
"<listitem>In <literal>components.xml</literal>, add the following line:</"
@@ -471,7 +473,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:223
+#: Websphere.xml:219
#, no-c-format
msgid ""
"Follow the instructions in <xref linkend=\"config.integration.ejb.container"
@@ -479,7 +481,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:228
+#: Websphere.xml:224
#, no-c-format
msgid ""
"This is the most tedious strategy as each session bean referenced by another "
@@ -489,27 +491,27 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:239
+#: Websphere.xml:235
#, no-c-format
msgid "Configuring timeouts for Stateful Session Beans"
msgstr ""
#. Tag: para
-#: Websphere.xml:240
+#: Websphere.xml:236
#, no-c-format
msgid ""
"A timeout value has to be set for each stateful session bean used in the "
"application because stateful bean must not expire in WebSphere while Seam "
-"might still need thenm. At the time of writing this document, WebSphere does "
+"might still need them. At the time of writing this document, WebSphere does "
"not provide a way to configure a global timeout at neither the cluster, "
"server, application nor ejb-jar level. It has to be done for each stateful "
-"bean individually. This is done by adding a file named <literal>META-INF/ibm-"
-"ejb-jar-ext.xml</literal> in the EJB module, and declare the timeout value "
-"for each bean:"
+"bean individually. By default, the default timeout is 10 minutes. This is "
+"done by adding a file named <literal>META-INF/ibm-ejb-jar-ext.xml</literal> "
+"in the EJB module, and declare the timeout value for each bean:"
msgstr ""
#. Tag: programlisting
-#: Websphere.xml:246
+#: Websphere.xml:242
#, no-c-format
msgid ""
"<![CDATA[<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
@@ -529,24 +531,24 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:248
+#: Websphere.xml:244
#, no-c-format
msgid ""
"The <literal>time-out</literal> is expressed in seconds and must be higher "
"than the Seam conversation expiration timeout and a few minutes higher than "
"the user's HTTP session timeout (The session expiration timeout can trigger "
-"a few minutes after the number of minutes declared to expire s for the HTTP "
-"session expiration)."
+"a few minutes after the number of minutes declared to expire the HTTP "
+"session)."
msgstr ""
#. Tag: title
-#: Websphere.xml:257
+#: Websphere.xml:253
#, no-c-format
msgid "The <literal>jee5/booking</literal> example"
msgstr ""
#. Tag: para
-#: Websphere.xml:259
+#: Websphere.xml:255
#, no-c-format
msgid ""
"The<literal>jee5/booking</literal>example is based on the Hotel Booking "
@@ -557,23 +559,32 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:265
+#: Websphere.xml:261
#, no-c-format
msgid ""
-"For running this example, we'll use the second JNDI mapping strategy "
-"(\"Override the default names generated by WebSphere\") as we don't want to "
-"change the java code to add the <literal>@JndiName</literal> annotation as "
-"in the first strategy."
+"The example already has a breakout of configurations and build scripts for "
+"WebSphere. First thing, we are going to do is build and deploy this example. "
+"Then we'll go over some key changes that we needed."
msgstr ""
+#. Tag: para
+#: Websphere.xml:266
+#, no-c-format
+msgid ""
+"The tailored configuration files for WebSphere use the second JNDI mapping "
+"strategy (\"Override the default names generated by WebSphere\") as the goal "
+"was to not change any java code to add the <literal>@JndiName</literal> "
+"annotation as in the first strategy."
+msgstr ""
+
#. Tag: title
-#: Websphere.xml:271
+#: Websphere.xml:272
#, no-c-format
msgid "Building the <literal>jee5/booking</literal> example"
msgstr ""
#. Tag: para
-#: Websphere.xml:273
+#: Websphere.xml:274
#, no-c-format
msgid ""
"Building it only requires running the correct ant command: "
@@ -583,21 +594,21 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:280
+#: Websphere.xml:281
#, no-c-format
msgid "Deploying the <literal>jee5/booking</literal> example"
msgstr ""
#. Tag: para
-#: Websphere.xml:281
+#: Websphere.xml:282
#, no-c-format
msgid ""
-"The steps below are for the WAS version stated above.The ports are default "
-"values, if you changed them, you must substitute the values."
+"The steps below are for the WAS version stated above.The ports are the "
+"default values, if you changed them, you must substitute the values."
msgstr ""
#. Tag: listitem
-#: Websphere.xml:284
+#: Websphere.xml:285
#, no-c-format
msgid ""
"Log in to the administration console <programlisting><![CDATA[http://"
@@ -606,7 +617,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:291
+#: Websphere.xml:292
#, no-c-format
msgid ""
"Go to the <literal>WebSphere enterprise applications</literal> menu option "
@@ -615,7 +626,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:298
+#: Websphere.xml:299
#, no-c-format
msgid ""
"At the top of the <literal>Enterprise Applications</literal> table select "
@@ -624,13 +635,13 @@
msgstr ""
#. Tag: literal
-#: Websphere.xml:304
+#: Websphere.xml:305
#, no-c-format
msgid "Preparing for the application installation"
msgstr ""
#. Tag: para
-#: Websphere.xml:307
+#: Websphere.xml:308
#, no-c-format
msgid ""
"Browse to the <literal>examples/jee5/booking/dist-websphere7/jboss-seam-jee5."
@@ -638,25 +649,25 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:313 Websphere.xml:323 Websphere.xml:341
+#: Websphere.xml:314 Websphere.xml:324 Websphere.xml:342
#, no-c-format
msgid "Select the <literal>Next</literal> button."
msgstr ""
#. Tag: para
-#: Websphere.xml:318
+#: Websphere.xml:319
#, no-c-format
msgid "Select the <literal>Fast Path</literal> button."
msgstr ""
#. Tag: literal
-#: Websphere.xml:332
+#: Websphere.xml:333
#, no-c-format
msgid "Select installation options"
msgstr ""
#. Tag: para
-#: Websphere.xml:335
+#: Websphere.xml:336
#, no-c-format
msgid ""
"Select the <literal>Deploy enterprise beans and Allow EJB reference targets "
@@ -665,13 +676,13 @@
msgstr ""
#. Tag: literal
-#: Websphere.xml:350
+#: Websphere.xml:351
#, no-c-format
msgid "Map modules to servers"
msgstr ""
#. Tag: para
-#: Websphere.xml:353
+#: Websphere.xml:354
#, no-c-format
msgid ""
"No changes needed here as we only have one server. Select the <literal>Next</"
@@ -679,13 +690,13 @@
msgstr ""
#. Tag: literal
-#: Websphere.xml:362
+#: Websphere.xml:363
#, no-c-format
msgid "Map virtual hosts for Web modules"
msgstr ""
#. Tag: para
-#: Websphere.xml:365
+#: Websphere.xml:366
#, no-c-format
msgid ""
"No changes needed here as we only have one virtual host. Select the "
@@ -693,31 +704,31 @@
msgstr ""
#. Tag: literal
-#: Websphere.xml:374
+#: Websphere.xml:375
#, no-c-format
msgid "Summary"
msgstr ""
#. Tag: para
-#: Websphere.xml:377
+#: Websphere.xml:378
#, no-c-format
msgid "No changes needed here. Select the <literal>Finish</literal> button."
msgstr ""
#. Tag: literal
-#: Websphere.xml:384
+#: Websphere.xml:385
#, no-c-format
msgid "Installation"
msgstr ""
#. Tag: para
-#: Websphere.xml:387
+#: Websphere.xml:388
#, no-c-format
msgid "Now you will see WebSphere installing and deploying your application."
msgstr ""
#. Tag: para
-#: Websphere.xml:390
+#: Websphere.xml:391
#, no-c-format
msgid ""
"When done, select the <literal>Save</literal> link and you will be returned "
@@ -725,15 +736,15 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:399
+#: Websphere.xml:400
#, no-c-format
msgid ""
-"To start the application select our application in the list, then click on "
+"To start the application, select the application in the list, then click on "
"the <literal>Start</literal> button at the top of the table."
msgstr ""
#. Tag: para
-#: Websphere.xml:409
+#: Websphere.xml:410
#, no-c-format
msgid ""
"You can now access the application at <literal>http://localhost:9080/seam-"
@@ -741,13 +752,13 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:418
+#: Websphere.xml:419
#, no-c-format
msgid "Deviation from the original base files"
msgstr ""
#. Tag: section
-#: Websphere.xml:418
+#: Websphere.xml:419
#, no-c-format
msgid ""
"Below are the differences between the base configuration files and the "
@@ -756,7 +767,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:422
+#: Websphere.xml:423
#, no-c-format
msgid ""
"<literal>META-INF/ejb-jar.xml</literal> — Removed all the EJB "
@@ -764,37 +775,37 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:428
+#: Websphere.xml:429
#, no-c-format
msgid ""
"<literal>META-INF/ibm-ejb-jar-bnd.xml</literal> — This WebSphere "
"specific file has been added as we use the second JNDI mapping strategy. It "
-"defines, for each session bean, the name WebSphere will use to bind it its "
-"JNDI name space"
+"defines, for each session bean, the name WebSphere will use to bind it in "
+"its JNDI name space"
msgstr ""
#. Tag: para
-#: Websphere.xml:435
+#: Websphere.xml:436
#, no-c-format
msgid ""
"<literal>META-INF/ibm-ejb-jar-ext.xml</literal> — This WebSphere "
-"specific file defines to WebSphere, the timeout value for each stateful bean"
+"specific file defines the timeout value for each stateful bean"
msgstr ""
#. Tag: para
-#: Websphere.xml:441
+#: Websphere.xml:442
#, no-c-format
msgid ""
"<literal>META-INF/persistence.xml</literal> — The main changes here "
"are for the datasource JNDI path, switching to the WebSphere transaction "
"manager lookup class, turning off the <literal>hibernate.transaction."
"flush_before_completion</literal> toggle, and forcing the Hibernate dialect "
-"to be <literal>GlassfishDerbyDialect</literal> how as using the integrated "
-"Derby database"
+"to be <literal>GlassfishDerbyDialect</literal> as we are using the "
+"integrated Derby database"
msgstr ""
#. Tag: para
-#: Websphere.xml:451
+#: Websphere.xml:452
#, no-c-format
msgid ""
"<literal>WEB-INF/components.xml</literal> — the change here is "
@@ -803,7 +814,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:459
+#: Websphere.xml:460
#, no-c-format
msgid ""
"<literal>WEB-INF/web.xml</literal> — Remove all the <literal>ejb-local "
@@ -813,7 +824,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:467 Websphere.xml:549
+#: Websphere.xml:468
#, no-c-format
msgid ""
"<literal>import.sql</literal> — due to the cutomized hibernate Derby "
@@ -822,7 +833,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:474
+#: Websphere.xml:475
#, no-c-format
msgid ""
"Also the build procedure has been changed to include the <literal>log4j.jar</"
@@ -831,13 +842,13 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:486
+#: Websphere.xml:487
#, no-c-format
msgid "The <literal>jpa</literal> booking example"
msgstr ""
#. Tag: para
-#: Websphere.xml:488
+#: Websphere.xml:489
#, no-c-format
msgid ""
"This is the Hotel Booking example implemented in Seam POJOs and using "
@@ -845,7 +856,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:493
+#: Websphere.xml:494
#, no-c-format
msgid ""
"The example already has a breakout of configurations and build scripts for "
@@ -853,7 +864,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:498
+#: Websphere.xml:499
#, no-c-format
msgid ""
"First thing, we are going to do is build and deploy that example. Then we'll "
@@ -861,13 +872,13 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:504
+#: Websphere.xml:505
#, no-c-format
msgid "Building the <literal>jpa</literal> example"
msgstr ""
#. Tag: para
-#: Websphere.xml:505
+#: Websphere.xml:506
#, no-c-format
msgid ""
"Building it only requires running the correct ant command: "
@@ -877,13 +888,13 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:514
+#: Websphere.xml:515
#, no-c-format
msgid "Deploying the <literal>jpa</literal> example"
msgstr ""
#. Tag: para
-#: Websphere.xml:515
+#: Websphere.xml:516
#, no-c-format
msgid ""
"Deploying <literal>jpa</literal> application is very similar to the "
@@ -894,7 +905,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:521
+#: Websphere.xml:522
#, no-c-format
msgid ""
"Follow the same instructions as for the <literal>jee5/booking</literal> "
@@ -902,11 +913,11 @@
"literal> file on the first page and on the <literal>Map context roots for "
"Web modules</literal> page (after the <literal>Map virtual host for Web "
"module</literal>), enter the context root you want to use for your "
-"application in the <literal>Contect Root</literal> input field."
+"application in the <literal>Context Root</literal> input field."
msgstr ""
#. Tag: para
-#: Websphere.xml:528
+#: Websphere.xml:529
#, no-c-format
msgid ""
"When started, you can now access the application at the <literal>http://"
@@ -914,13 +925,13 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:534
+#: Websphere.xml:535
#, no-c-format
msgid "Deviation from the generic base files"
msgstr ""
#. Tag: section
-#: Websphere.xml:534
+#: Websphere.xml:535
#, no-c-format
msgid ""
"Below are the configuration file differences between the base configuration "
@@ -929,7 +940,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:539
+#: Websphere.xml:540
#, no-c-format
msgid ""
"<literal>META-INF/persistence.xml</literal> — The main changes here "
@@ -941,9 +952,18 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:556
+#: Websphere.xml:550
#, no-c-format
msgid ""
+"<literal>import.sql</literal> — due to the customized hibernate Derby "
+"dialect, the <literal>ID</literal> column can not be populated by this file "
+"and was removed."
+msgstr ""
+
+#. Tag: para
+#: Websphere.xml:557
+#, no-c-format
+msgid ""
"Also the build procedure have been changed to include the <literal>log4j."
"jar</literal> file and exclude the <literal>concurrent.jar</literal> and "
"<literal>jboss-common-core.jar</literal> files."
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/ja-JP/Configuration.po
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/ja-JP/Configuration.po 2009-08-26 19:14:02 UTC (rev 11432)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/ja-JP/Configuration.po 2009-08-26 19:19:33 UTC (rev 11433)
@@ -4,7 +4,7 @@
msgstr ""
"Project-Id-Version: Configuration\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-05-05 12:31+0000\n"
+"POT-Creation-Date: 2009-08-26 18:47+0000\n"
"PO-Revision-Date: 2009-03-09 10:38+1000\n"
"Last-Translator: Noriko Mizumoto <noriko(a)redhat.com>\n"
"Language-Team: Japanese <fedora-trans-ja(a)redhat.com>\n"
@@ -892,13 +892,63 @@
"公開しています。"
#. Tag: title
+#: Configuration.xml:325
+#, no-c-format
+msgid "Enabling HTTP cache-control headers"
+msgstr ""
+
+#. Tag: para
#: Configuration.xml:326
#, no-c-format
+msgid ""
+"Seam does <emphasis>not</emphasis> automatically add <literal>cache-control</"
+"literal> HTTP headers to any resources served by the Seam resource servlet, "
+"or directly from your view directory by the servlet container. This means "
+"that your images, Javascript and CSS files, and resource representations "
+"from Seam resource servlet such as Seam Remoting Javascript interfaces are "
+"usually not cached by the browser. This is convenient in development but "
+"should be changed in production when optimizing the application."
+msgstr ""
+
+#. Tag: para
+#: Configuration.xml:334
+#, no-c-format
+msgid ""
+"You can configure a Seam filter to enable automatic addition of "
+"<literal>cache-control</literal> headers depending on the requested URI in "
+"<literal>components.xml</literal>:"
+msgstr ""
+
+#. Tag: programlisting
+#: Configuration.xml:339
+#, no-c-format
+msgid ""
+"<![CDATA[<web:cache-control-filter name=\"commonTypesCacheControlFilter\"\n"
+" regex-url-pattern=\".*(\\.gif|\\.png|\\.jpg|\\."
+"jpeg|\\.css|\\.js)\"\n"
+" value=\"max-age=86400\"/> <!-- 1 day -->\n"
+"\n"
+"<web:cache-control-filter name=\"anotherCacheControlFilter\"\n"
+" url-pattern=\"/my/cachable/resources/*\"\n"
+" value=\"max-age=432000\"/> <!-- 5 days -->]]>"
+msgstr ""
+
+#. Tag: para
+#: Configuration.xml:341
+#, no-c-format
+msgid ""
+"You do not have to name the filters unless you have more than one filter "
+"enabled."
+msgstr ""
+
+#. Tag: title
+#: Configuration.xml:348
+#, no-c-format
msgid "Adding custom filters"
msgstr "カスタムのフィルタを追加する"
#. Tag: para
-#: Configuration.xml:327
+#: Configuration.xml:349
#, no-c-format
msgid ""
"Seam can install your filters for you, allowing you to specify "
@@ -916,7 +966,7 @@
"るだけです。"
#. Tag: programlisting
-#: Configuration.xml:332
+#: Configuration.xml:354
#, no-c-format
msgid ""
"<![CDATA[@Startup\n"
@@ -934,7 +984,7 @@
"public class MultipartFilter extends AbstractFilter {]]>"
#. Tag: para
-#: Configuration.xml:334
+#: Configuration.xml:356
#, no-c-format
msgid ""
"Adding the <literal>@Startup</literal> annotation means thar the component "
@@ -950,13 +1000,13 @@
"ajax4jsfFilter\")</literal>)。"
#. Tag: title
-#: Configuration.xml:343
+#: Configuration.xml:365
#, no-c-format
msgid "Integrating Seam with your EJB container"
msgstr "EJB コンテナと Seam の統合"
#. Tag: para
-#: Configuration.xml:345
+#: Configuration.xml:367
#, no-c-format
msgid ""
"In a Seam application, EJB components have a certain duality, as they are "
@@ -967,7 +1017,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:350
+#: Configuration.xml:372
#, fuzzy, no-c-format
msgid ""
"We need to apply the <literal>SeamInterceptor</literal> to our Seam EJB "
@@ -982,7 +1032,7 @@
"定を <literal>ejb-jar.xml</literal> に追加する方法です。"
#. Tag: programlisting
-#: Configuration.xml:355
+#: Configuration.xml:377
#, no-c-format
msgid ""
"<![CDATA[<interceptors>\n"
@@ -1018,7 +1068,7 @@
"]]>"
#. Tag: para
-#: Configuration.xml:357
+#: Configuration.xml:379
#, fuzzy, no-c-format
msgid ""
"Seam needs to know where to go to find session beans in JNDI. One way to do "
@@ -1039,19 +1089,19 @@
"ます。 通常、<literal>components.xml</literal>にこのオプションを指定します。"
#. Tag: para
-#: Configuration.xml:364
+#: Configuration.xml:386
#, no-c-format
msgid "For JBoss AS, the following pattern is correct:"
msgstr "JBossアプリケーションサーバーでは、次のパターンが正しいです。"
#. Tag: programlisting
-#: Configuration.xml:366
+#: Configuration.xml:388
#, fuzzy, no-c-format
msgid "<![CDATA[<core:init jndi-name=\"earName/#{ejbName}/local\" />]]>"
msgstr "<![CDATA[<core:init jndi-name=\"myEarName/#{ejbName}/local\" />]]>"
#. Tag: para
-#: Configuration.xml:368
+#: Configuration.xml:390
#, no-c-format
msgid ""
"In this case, <literal>earName</literal> is the name of the EAR in which the "
@@ -1061,7 +1111,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:372
+#: Configuration.xml:394
#, fuzzy, no-c-format
msgid ""
"Outside the context of an EAR (when using the JBoss Embeddable EJB3 "
@@ -1072,13 +1122,13 @@
"き)、 次のパターンを使います。"
#. Tag: programlisting
-#: Configuration.xml:375
+#: Configuration.xml:397
#, no-c-format
msgid "<![CDATA[<core:init jndi-name=\"#{ejbName}/local\" />]]>"
msgstr "<![CDATA[<core:init jndi-name=\"#{ejbName}/local\" />]]>"
#. Tag: para
-#: Configuration.xml:377
+#: Configuration.xml:399
#, no-c-format
msgid ""
"How these JNDI names are resolved and somehow locate an EJB component might "
@@ -1087,7 +1137,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:381
+#: Configuration.xml:403
#, no-c-format
msgid ""
"The folks at JBoss don't care much for XML, if you can't tell. So when they "
@@ -1098,14 +1148,14 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:387
+#: Configuration.xml:409
#, no-c-format
msgid ""
"The value of the <literal><ejb-name></literal> element in ejb-jar.xml"
msgstr ""
#. Tag: para
-#: Configuration.xml:390
+#: Configuration.xml:412
#, no-c-format
msgid ""
"The value of the <literal>name</literal> attribute in the @Stateless or "
@@ -1113,13 +1163,13 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:393
+#: Configuration.xml:415
#, no-c-format
msgid "The simple name of the bean class"
msgstr ""
#. Tag: para
-#: Configuration.xml:397
+#: Configuration.xml:419
#, no-c-format
msgid ""
"Let's look at an example. Assume that you have the following EJB bean and "
@@ -1127,7 +1177,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:399
+#: Configuration.xml:421
#, no-c-format
msgid ""
"<![CDATA[package com.example.myapp;\n"
@@ -1154,7 +1204,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:401
+#: Configuration.xml:423
#, no-c-format
msgid ""
"Assuming your EJB bean class is deployed in an EAR named myapp, the global "
@@ -1166,7 +1216,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:407
+#: Configuration.xml:429
#, no-c-format
msgid ""
"So what about the rest of the application servers? Well, according to the "
@@ -1178,7 +1228,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:413
+#: Configuration.xml:435
#, no-c-format
msgid ""
"There are two places you have to define the EJB reference when using Seam on "
@@ -1189,7 +1239,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:418
+#: Configuration.xml:440
#, no-c-format
msgid ""
"<![CDATA[<ejb-local-ref>\n"
@@ -1201,7 +1251,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:420
+#: Configuration.xml:442
#, no-c-format
msgid ""
"This reference will cover most uses of the component in a Seam application. "
@@ -1212,7 +1262,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:425
+#: Configuration.xml:447
#, no-c-format
msgid ""
"Within the context of an EJB method call, you have to deal with a somewhat "
@@ -1229,7 +1279,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:434
+#: Configuration.xml:456
#, no-c-format
msgid ""
"For application servers that stubbornly adhere to the EJB specification, EJB "
@@ -1241,7 +1291,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:439
+#: Configuration.xml:461
#, no-c-format
msgid ""
"Let's assume that we have an EJB named RegisterAction (the name is resolved "
@@ -1250,7 +1300,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:442
+#: Configuration.xml:464
#, no-c-format
msgid ""
"<![CDATA[@In(create = true)\n"
@@ -1259,7 +1309,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:444
+#: Configuration.xml:466
#, no-c-format
msgid ""
"In order for this injection to work, the link must be established in the ejb-"
@@ -1267,7 +1317,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:446
+#: Configuration.xml:468
#, no-c-format
msgid ""
"<![CDATA[<ejb-jar>\n"
@@ -1290,7 +1340,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:448
+#: Configuration.xml:470
#, no-c-format
msgid ""
"Notice that the contents of the <literal><ejb-local-ref></literal> are "
@@ -1302,7 +1352,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:454
+#: Configuration.xml:476
#, no-c-format
msgid ""
"But what about <literal>@EJB</literal>? It's true that you can inject one "
@@ -1320,7 +1370,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:464
+#: Configuration.xml:486
#, no-c-format
msgid ""
"That covers how JNDI names are defined and used. The lesson is that with "
@@ -1333,7 +1383,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:470
+#: Configuration.xml:492
#, fuzzy, no-c-format
msgid ""
"<![CDATA[<core:init jndi-name=\"java:comp/env/earName/#{ejbName}/local\" />]]"
@@ -1341,7 +1391,7 @@
msgstr "<![CDATA[<core:init jndi-name=\"myEarName/#{ejbName}/local\" />]]>"
#. Tag: para
-#: Configuration.xml:472
+#: Configuration.xml:494
#, fuzzy, no-c-format
msgid ""
"Finally, let's talk about transactions. In an EJB3 environment, we recommend "
@@ -1359,19 +1409,19 @@
"するのかを認識しません。"
#. Tag: programlisting
-#: Configuration.xml:479
+#: Configuration.xml:501
#, no-c-format
msgid "<![CDATA[<transaction:ejb-transaction/>]]>"
msgstr "<![CDATA[<transaction:ejb-transaction/>]]>"
#. Tag: title
-#: Configuration.xml:484
+#: Configuration.xml:506
#, no-c-format
msgid "Don't forget!"
msgstr "忘れないようにしてください。"
#. Tag: para
-#: Configuration.xml:486
+#: Configuration.xml:508
#, no-c-format
msgid ""
"There is one final item you need to know about. You must place a "
@@ -1389,7 +1439,7 @@
"<literal>seam.properties</literal>をスキャンします。"
#. Tag: para
-#: Configuration.xml:491
+#: Configuration.xml:513
#, no-c-format
msgid ""
"In a web archive (WAR) file, you must place a <literal>seam.properties</"
@@ -1401,7 +1451,7 @@
"作成する必要があります。"
#. Tag: para
-#: Configuration.xml:494
+#: Configuration.xml:516
#, no-c-format
msgid ""
"That's why all the Seam examples have an empty <literal>seam.properties</"
@@ -1413,7 +1463,7 @@
"ります。"
#. Tag: para
-#: Configuration.xml:497
+#: Configuration.xml:519
#, fuzzy, no-c-format
msgid ""
"You might think this is silly and what kind of idiot framework designers "
@@ -1430,13 +1480,13 @@
"載せざるをえなくなります。 空白ファイルの方がいいでしょう?"
#. Tag: title
-#: Configuration.xml:508
+#: Configuration.xml:530
#, no-c-format
msgid "Using Alternate JPA Providers"
msgstr "代替の JPA プロバイダを使用する"
#. Tag: para
-#: Configuration.xml:510
+#: Configuration.xml:532
#, no-c-format
msgid ""
"Seam comes packaged and configured with Hibernate as the default JPA "
@@ -1448,13 +1498,13 @@
"literal> に指示しなければなりません。"
#. Tag: title
-#: Configuration.xml:516
+#: Configuration.xml:538
#, no-c-format
msgid "This is a workaround"
msgstr "これは暫定の方策です。"
#. Tag: para
-#: Configuration.xml:517
+#: Configuration.xml:539
#, no-c-format
msgid ""
"Configuration of the JPA provider will be easier in the future and will not "
@@ -1465,7 +1515,7 @@
"を追加しない限り設定変更を必要としなくなります。"
#. Tag: para
-#: Configuration.xml:524
+#: Configuration.xml:546
#, no-c-format
msgid ""
"Telling seam about a different JPA provider can be be done in one of two "
@@ -1475,7 +1525,7 @@
"ます。"
#. Tag: para
-#: Configuration.xml:525
+#: Configuration.xml:547
#, no-c-format
msgid ""
"Update your application's <literal>components.xml</literal> so that the "
@@ -1487,7 +1537,7 @@
"となります。 次をこのファイルに追加するだけです。"
#. Tag: programlisting
-#: Configuration.xml:530
+#: Configuration.xml:552
#, no-c-format
msgid ""
"<![CDATA[<component name=\"org.jboss.seam.persistence.persistenceProvider"
@@ -1503,7 +1553,7 @@
"</component>]]>"
#. Tag: para
-#: Configuration.xml:531
+#: Configuration.xml:553
#, no-c-format
msgid ""
"If you want to take advantage of your JPA provider's non-standard features "
@@ -1520,7 +1570,7 @@
"<literal>seam</literal> にそれを使うよう指示する必要があります。"
#. Tag: programlisting
-#: Configuration.xml:538
+#: Configuration.xml:560
#, no-c-format
msgid ""
"<![CDATA[<component name=\"org.jboss.seam.persistence.persistenceProvider"
@@ -1534,7 +1584,7 @@
"</component>]]>"
#. Tag: para
-#: Configuration.xml:539
+#: Configuration.xml:561
#, no-c-format
msgid ""
"All that is left is updating the <literal>persistence.xml</literal> file "
@@ -1548,13 +1598,13 @@
"ようにしてください。"
#. Tag: title
-#: Configuration.xml:547
+#: Configuration.xml:569
#, no-c-format
msgid "Configuring Seam in Java EE 5"
msgstr "Java EE 5 で Seam を設定"
#. Tag: para
-#: Configuration.xml:558
+#: Configuration.xml:580
#, no-c-format
msgid ""
"If you're running in a Java EE 5 environment, this is all the configuration "
@@ -1564,14 +1614,14 @@
"けです。"
#. Tag: title
-#: Configuration.xml:561 Configuration.xml:656 Configuration.xml:794
-#: Configuration.xml:827
+#: Configuration.xml:583 Configuration.xml:678 Configuration.xml:816
+#: Configuration.xml:849
#, no-c-format
msgid "Packaging"
msgstr "パッケージング"
#. Tag: para
-#: Configuration.xml:563
+#: Configuration.xml:585
#, no-c-format
msgid ""
"Once you've packaged all this stuff together into an EAR, the archive "
@@ -1581,7 +1631,7 @@
"す。"
#. Tag: programlisting
-#: Configuration.xml:566
+#: Configuration.xml:588
#, no-c-format
msgid ""
"<![CDATA[my-application.ear/\n"
@@ -1655,7 +1705,7 @@
" ...]]>"
#. Tag: para
-#: Configuration.xml:568
+#: Configuration.xml:590
#, no-c-format
msgid ""
"You should declare <literal>jboss-seam.jar</literal> as an ejb module in "
@@ -1668,7 +1718,7 @@
"に配置します)。"
#. Tag: para
-#: Configuration.xml:573
+#: Configuration.xml:595
#, no-c-format
msgid ""
"If you want to use jBPM or Drools, you must include the needed jars in the "
@@ -1678,7 +1728,7 @@
"を含ませなければなりません。"
#. Tag: para
-#: Configuration.xml:575
+#: Configuration.xml:597
#, no-c-format
msgid ""
"If you want to use facelets (our recommendation), you must include "
@@ -1689,7 +1739,7 @@
"トリに <literal>jsf-facelets.jar</literal>を含める必要があります。"
#. Tag: para
-#: Configuration.xml:578
+#: Configuration.xml:600
#, no-c-format
msgid ""
"If you want to use the Seam tag library (most Seam applications do), you "
@@ -1706,7 +1756,7 @@
"literal> を含める必要があります。"
#. Tag: para
-#: Configuration.xml:583
+#: Configuration.xml:605
#, no-c-format
msgid ""
"If you want to use the Seam debug page (only works for applications using "
@@ -1718,7 +1768,7 @@
"debug.jar</literal>を含めます。"
#. Tag: para
-#: Configuration.xml:586
+#: Configuration.xml:608
#, no-c-format
msgid ""
"Seam ships with several example applications that are deployable in any Java "
@@ -1728,7 +1778,7 @@
"可能ないくつかの Seam アプリケーションがふくまれています。"
#. Tag: para
-#: Configuration.xml:589
+#: Configuration.xml:611
#, no-c-format
msgid ""
"I really wish that was all there was to say on the topic of configuration "
@@ -1741,13 +1791,13 @@
"のセクションは飛ばしてあとでもう一度読み直して頂いても構いません。"
#. Tag: title
-#: Configuration.xml:598
+#: Configuration.xml:620
#, no-c-format
msgid "Configuring Seam in J2EE"
msgstr "J2EEでの Seam の設定"
#. Tag: para
-#: Configuration.xml:600
+#: Configuration.xml:622
#, no-c-format
msgid ""
"Seam is useful even if you're not yet ready to take the plunge into EJB 3.0. "
@@ -1765,7 +1815,7 @@
"利用することができます。"
#. Tag: para
-#: Configuration.xml:615
+#: Configuration.xml:637
#, no-c-format
msgid ""
"Seam JavaBean components do not provide declarative transaction demarcation "
@@ -1783,7 +1833,7 @@
"ションを使用します。"
#. Tag: para
-#: Configuration.xml:621
+#: Configuration.xml:643
#, no-c-format
msgid ""
"The Seam distribution includes a version of the booking example application "
@@ -1796,13 +1846,13 @@
"ションはどんなJ2EEアプリケーションサーバーでも すぐにデプロイ可能です。"
#. Tag: title
-#: Configuration.xml:626
+#: Configuration.xml:648
#, no-c-format
msgid "Boostrapping Hibernate in Seam"
msgstr "Seam での Hibernateのブートストラップ"
#. Tag: para
-#: Configuration.xml:628
+#: Configuration.xml:650
#, no-c-format
msgid ""
"Seam will bootstrap a Hibernate <literal>SessionFactory</literal> from your "
@@ -1814,7 +1864,7 @@
"literal> をブートストラップします。"
#. Tag: programlisting
-#: Configuration.xml:631
+#: Configuration.xml:653
#, no-c-format
msgid ""
"<![CDATA[<persistence:hibernate-session-factory name="
@@ -1824,7 +1874,7 @@
"\"hibernateSessionFactory\"/>]]>"
#. Tag: para
-#: Configuration.xml:633
+#: Configuration.xml:655
#, no-c-format
msgid ""
"You will also need to configure a <emphasis>managed session</emphasis> if "
@@ -1836,7 +1886,7 @@
"emphasis>を設定する必要があります。"
#. Tag: programlisting
-#: Configuration.xml:636
+#: Configuration.xml:658
#, no-c-format
msgid ""
"<![CDATA[<persistence:managed-hibernate-session name=\"hibernateSession\"\n"
@@ -1848,13 +1898,13 @@
">]]>"
#. Tag: title
-#: Configuration.xml:641
+#: Configuration.xml:663
#, no-c-format
msgid "Boostrapping JPA in Seam"
msgstr "Seam での JPAのブートストラップ"
#. Tag: para
-#: Configuration.xml:643
+#: Configuration.xml:665
#, no-c-format
msgid ""
"Seam will bootstrap a JPA <literal>EntityManagerFactory</literal> from your "
@@ -1866,7 +1916,7 @@
"literal> JPAをブートストラップします。"
#. Tag: programlisting
-#: Configuration.xml:646
+#: Configuration.xml:668
#, no-c-format
msgid ""
"<![CDATA[<persistence:entity-manager-factory name=\"entityManagerFactory\"/"
@@ -1876,7 +1926,7 @@
">]]>"
#. Tag: para
-#: Configuration.xml:648
+#: Configuration.xml:670
#, no-c-format
msgid ""
"You will also need to configure a <emphasis>managed persistence context</"
@@ -1888,7 +1938,7 @@
"ます。"
#. Tag: programlisting
-#: Configuration.xml:651
+#: Configuration.xml:673
#, no-c-format
msgid ""
"<![CDATA[<persistence:managed-persistence-context name=\"entityManager\"\n"
@@ -1900,7 +1950,7 @@
"\"/>]]>"
#. Tag: para
-#: Configuration.xml:658
+#: Configuration.xml:680
#, no-c-format
msgid "We can package our application as a WAR, in the following structure:"
msgstr ""
@@ -1908,7 +1958,7 @@
"ります。"
#. Tag: programlisting
-#: Configuration.xml:660
+#: Configuration.xml:682
#, no-c-format
msgid ""
"<![CDATA[my-application.war/\n"
@@ -1976,7 +2026,7 @@
" ...]]>"
#. Tag: para
-#: Configuration.xml:662
+#: Configuration.xml:684
#, no-c-format
msgid ""
"If we want to deploy Hibernate in a non-EE environment like Tomcat or "
@@ -1986,13 +2036,13 @@
"う少し作業が必要となります。"
#. Tag: title
-#: Configuration.xml:669
+#: Configuration.xml:691
#, no-c-format
msgid "Configuring Seam in Java SE, without JBoss Embedded"
msgstr "JBoss Embedded なしの Java SE で Seam を設定する"
#. Tag: para
-#: Configuration.xml:671
+#: Configuration.xml:693
#, no-c-format
msgid ""
"It is possible to use Seam completely outside of an EE environment. In this "
@@ -2007,7 +2057,7 @@
"とができます。"
#. Tag: programlisting
-#: Configuration.xml:675
+#: Configuration.xml:697
#, no-c-format
msgid ""
"<![CDATA[<transaction:entity-transaction entity-manager=\"#{entityManager}\"/"
@@ -2017,7 +2067,7 @@
">]]>"
#. Tag: para
-#: Configuration.xml:677
+#: Configuration.xml:699
#, no-c-format
msgid ""
"If you're using Hibernate, you can tell Seam to use the Hibernate "
@@ -2027,20 +2077,20 @@
"API を使用するよう指示することができます。"
#. Tag: programlisting
-#: Configuration.xml:679
+#: Configuration.xml:701
#, no-c-format
msgid "<![CDATA[<transaction:hibernate-transaction session=\"#{session}\"/>]]>"
msgstr ""
"<![CDATA[<transaction:hibernate-transaction session=\"#{session}\"/>]]>"
#. Tag: para
-#: Configuration.xml:681
+#: Configuration.xml:703
#, no-c-format
msgid "Of course, you'll also need to define a datasource."
msgstr "当然、 データソースも定義する必要があります。"
#. Tag: para
-#: Configuration.xml:683
+#: Configuration.xml:705
#, no-c-format
msgid ""
"A better alternative is to use JBoss Embedded to get access to the EE APIs."
@@ -2048,13 +2098,13 @@
"よりよい代替としては JBoss Embedded を使用して EE の API にアクセスします。"
#. Tag: title
-#: Configuration.xml:688
+#: Configuration.xml:710
#, no-c-format
msgid "Configuring Seam in Java SE, with JBoss Embedded"
msgstr "JBoss Embedded を使用し Java SE で Seam を設定する"
#. Tag: para
-#: Configuration.xml:690
+#: Configuration.xml:712
#, no-c-format
msgid ""
"JBoss Embedded lets you run EJB3 components outside the context of the Java "
@@ -2066,7 +2116,7 @@
"れませんが、 特にテストに便利です。"
#. Tag: para
-#: Configuration.xml:693
+#: Configuration.xml:715
#, no-c-format
msgid ""
"The Seam booking example application includes a TestNG integration test "
@@ -2076,19 +2126,19 @@
"<literal>SeamTest</literal> を通じて JBoss Embedded で実行します。"
#. Tag: para
-#: Configuration.xml:705
+#: Configuration.xml:727
#, no-c-format
msgid "The booking example application may even be deployed to Tomcat."
msgstr "この予約サンプルアプリケーションは Tomcat にもデプロイ可能です。"
#. Tag: title
-#: Configuration.xml:717
+#: Configuration.xml:739
#, no-c-format
msgid "Installing Embedded JBoss"
msgstr "Embedded JBoss をインストールする"
#. Tag: para
-#: Configuration.xml:720
+#: Configuration.xml:742
#, no-c-format
msgid ""
"Embedded JBoss must by installed into Tomcat for Seam applications to run "
@@ -2109,7 +2159,7 @@
"す。"
#. Tag: para
-#: Configuration.xml:734
+#: Configuration.xml:756
#, no-c-format
msgid ""
"Copy all files and directories under the Embedded JBoss <literal>bootstrap</"
@@ -2123,7 +2173,7 @@
"ディレクトリにコピーします。"
#. Tag: para
-#: Configuration.xml:741
+#: Configuration.xml:763
#, no-c-format
msgid ""
"Remove the <literal>annotations-api.jar</literal> file from the Tomcat "
@@ -2133,7 +2183,7 @@
"jar</literal> ファイルを削除します。"
#. Tag: para
-#: Configuration.xml:747
+#: Configuration.xml:769
#, no-c-format
msgid ""
"Next, two configuration files need to be updated to add Embedded JBoss-"
@@ -2143,7 +2193,7 @@
"要があります。"
#. Tag: para
-#: Configuration.xml:753
+#: Configuration.xml:775
#, no-c-format
msgid ""
"Add the Embedded JBoss listener <literal>EmbeddedJBossBootstrapListener</"
@@ -2155,7 +2205,7 @@
"のリスナーの後ろに現れなければなりません。"
#. Tag: programlisting
-#: Configuration.xml:756
+#: Configuration.xml:778
#, fuzzy, no-c-format
msgid ""
"<![CDATA[<Server port=\"8005\" shutdown=\"SHUTDOWN\">\n"
@@ -2185,7 +2235,7 @@
"StoreConfigLifecycleListener\"/>]]>"
#. Tag: programlisting
-#: Configuration.xml:757
+#: Configuration.xml:779
#, fuzzy, no-c-format
msgid ""
"<![CDATA[ <!-- Add this listener -->\n"
@@ -2197,7 +2247,7 @@
"EmbeddedJBossBootstrapListener\"/>]]>"
#. Tag: para
-#: Configuration.xml:761
+#: Configuration.xml:783
#, no-c-format
msgid ""
"WAR file scanning should be enabled by adding the <literal>WebinfScanner</"
@@ -2207,7 +2257,7 @@
"<literal>conf/context.xml</literal> に追加することで有効になるはずです。"
#. Tag: programlisting
-#: Configuration.xml:764
+#: Configuration.xml:786
#, fuzzy, no-c-format
msgid ""
"<![CDATA[<Context>\n"
@@ -2231,7 +2281,7 @@
" -->]]>"
#. Tag: programlisting
-#: Configuration.xml:765
+#: Configuration.xml:787
#, fuzzy, no-c-format
msgid ""
"<![CDATA[ <!-- Add this listener -->\n"
@@ -2241,13 +2291,13 @@
" <Listener className=\"org.jboss.embedded.tomcat.WebinfScanner\"/>]]>"
#. Tag: programlisting
-#: Configuration.xml:766
+#: Configuration.xml:788
#, no-c-format
msgid "<![CDATA[</Context>]]>"
msgstr "<![CDATA[</Context>]]>"
#. Tag: para
-#: Configuration.xml:770
+#: Configuration.xml:792
#, fuzzy, no-c-format
msgid ""
"If you are using Sun JDK 6, you need to set the Java option <literal>sun."
@@ -2261,7 +2311,7 @@
"ます。"
#. Tag: para
-#: Configuration.xml:775
+#: Configuration.xml:797
#, no-c-format
msgid ""
"Open the script appropriate for your operating system in a text editor. Add "
@@ -2271,7 +2321,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:779
+#: Configuration.xml:801
#, no-c-format
msgid ""
"<![CDATA[set JAVA_OPTS=%JAVA_OPTS% -Dsun.lang.ClassLoader."
@@ -2279,13 +2329,13 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:781
+#: Configuration.xml:803
#, no-c-format
msgid "On Unix, use this syntax instead:"
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:783
+#: Configuration.xml:805
#, no-c-format
msgid ""
"<![CDATA[JAVA_OPTS=\"$JAVA_OPTS -Dsun.lang.ClassLoader.allowArraySyntax=true"
@@ -2293,7 +2343,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:788
+#: Configuration.xml:810
#, no-c-format
msgid ""
"For more configuration options, please see the Embedded JBoss Tomcat "
@@ -2305,7 +2355,7 @@
"</ulink> を参照してください。"
#. Tag: para
-#: Configuration.xml:796
+#: Configuration.xml:818
#, no-c-format
msgid ""
"The archive structure of a WAR-based deployment on an servlet engine like "
@@ -2315,7 +2365,7 @@
"ブの構造は、以下のようになります。"
#. Tag: programlisting
-#: Configuration.xml:799
+#: Configuration.xml:821
#, no-c-format
msgid ""
"<![CDATA[my-application.war/\n"
@@ -2385,7 +2435,7 @@
" ...]]>"
#. Tag: para
-#: Configuration.xml:801
+#: Configuration.xml:823
#, no-c-format
msgid ""
"Most of the Seam example applications may be deployed to Tomcat by running "
@@ -2395,13 +2445,13 @@
"literal> を実行することによって、 Tomcat にデプロイすることも可能です。"
#. Tag: title
-#: Configuration.xml:809
+#: Configuration.xml:831
#, no-c-format
msgid "Configuring jBPM in Seam"
msgstr "SeamでのjBPM設定"
#. Tag: para
-#: Configuration.xml:810
+#: Configuration.xml:832
#, no-c-format
msgid ""
"Seam's jBPM integration is not installed by default, so you'll need to "
@@ -2415,7 +2465,7 @@
"に記載する必要があります。"
#. Tag: programlisting
-#: Configuration.xml:814
+#: Configuration.xml:836
#, no-c-format
msgid ""
"<![CDATA[<bpm:jbpm>\n"
@@ -2441,7 +2491,7 @@
"</bpm:jbpm>]]>"
#. Tag: para
-#: Configuration.xml:816
+#: Configuration.xml:838
#, no-c-format
msgid ""
"No further special configuration is needed if you only have pageflows. If "
@@ -2456,7 +2506,7 @@
"と<literal>hibernate.cfg.xml</literal>を含めた サンプルです。"
#. Tag: programlisting
-#: Configuration.xml:821
+#: Configuration.xml:843
#, no-c-format
msgid ""
"<![CDATA[<jbpm-configuration>\n"
@@ -2510,7 +2560,7 @@
"</jbpm-configuration>]]>"
#. Tag: para
-#: Configuration.xml:823
+#: Configuration.xml:845
#, no-c-format
msgid ""
"The most important thing to notice here is that jBPM transaction control is "
@@ -2520,7 +2570,7 @@
"うことです。 Seam、あるいはEJB3がJTAトランザクションを制御するべきです。"
#. Tag: para
-#: Configuration.xml:829
+#: Configuration.xml:851
#, no-c-format
msgid ""
"There is not yet any well-defined packaging format for jBPM configuration "
@@ -2535,7 +2585,7 @@
"ケージング形式を設計することになると思います。 EAR は次のようになります。"
#. Tag: programlisting
-#: Configuration.xml:834
+#: Configuration.xml:856
#, no-c-format
msgid ""
"<![CDATA[my-application.ear/\n"
@@ -2623,13 +2673,13 @@
" documentLifecycle.jpdl.xml]]>"
#. Tag: title
-#: Configuration.xml:841
+#: Configuration.xml:863
#, no-c-format
msgid "Configuring SFSB and Session Timeouts in JBoss AS"
msgstr "JBoss ASでの SFSBとセッションタイムアウトの設定"
#. Tag: para
-#: Configuration.xml:843
+#: Configuration.xml:865
#, no-c-format
msgid ""
"It is very important that the timeout for Stateful Session Beans is set "
@@ -2647,7 +2697,7 @@
"き換えてください) で設定されています。"
#. Tag: para
-#: Configuration.xml:849
+#: Configuration.xml:871
#, no-c-format
msgid ""
"The default SFSB timeout can be adjusted by modifying the value of "
@@ -2659,7 +2709,7 @@
"整することができます。"
#. Tag: programlisting
-#: Configuration.xml:852
+#: Configuration.xml:874
#, no-c-format
msgid ""
"<![CDATA[<container-cache-conf>\n"
@@ -2703,7 +2753,7 @@
"</container-cache-conf>]]>"
#. Tag: para
-#: Configuration.xml:854
+#: Configuration.xml:876
#, fuzzy, no-c-format
msgid ""
"The default HTTP session timeout can be modified in <literal>server/default/"
@@ -2720,7 +2770,7 @@
"します。"
#. Tag: programlisting
-#: Configuration.xml:859
+#: Configuration.xml:881
#, no-c-format
msgid ""
"<![CDATA[<session-config>\n"
@@ -2734,7 +2784,7 @@
"</session-config>]]>"
#. Tag: para
-#: Configuration.xml:861
+#: Configuration.xml:883
#, no-c-format
msgid ""
"To override this value for your own application, simply include this entry "
@@ -2744,13 +2794,13 @@
"ケーションの <literal>web.xml</literal> に含めるだけです。"
#. Tag: title
-#: Configuration.xml:867
+#: Configuration.xml:889
#, no-c-format
msgid "Running Seam in a Portlet"
msgstr "Portlet で Seam を実行する"
#. Tag: para
-#: Configuration.xml:869
+#: Configuration.xml:891
#, no-c-format
msgid ""
"If you want to run your Seam application in a portlet, take a look at the "
@@ -2766,13 +2816,13 @@
"い。"
#. Tag: title
-#: Configuration.xml:880
+#: Configuration.xml:902
#, no-c-format
msgid "Deploying custom resources"
msgstr "カスタムのリソースをデプロイする"
#. Tag: para
-#: Configuration.xml:882
+#: Configuration.xml:904
#, no-c-format
msgid ""
"Seam scans all jars containing <literal>/seam.properties</literal>, "
@@ -2788,7 +2838,7 @@
"ポーネントとして Seam に登録されます。"
#. Tag: para
-#: Configuration.xml:889
+#: Configuration.xml:911
#, no-c-format
msgid ""
"You may also want Seam to handle custom resources. A common use case is to "
@@ -2802,7 +2852,7 @@
"properties</literal> で処理するアノテーションを指示します。"
#. Tag: programlisting
-#: Configuration.xml:896
+#: Configuration.xml:918
#, no-c-format
msgid ""
"<![CDATA[# A colon-separated list of annotation types to handle\n"
@@ -2812,7 +2862,7 @@
"org.jboss.seam.deployment.annotationTypes=com.acme.Foo:com.acme.Bar]]>"
#. Tag: para
-#: Configuration.xml:898
+#: Configuration.xml:920
#, no-c-format
msgid ""
"Then, during application startup you can get hold of all classes annotated "
@@ -2822,7 +2872,7 @@
"べてのクラスを捕らえることができます。"
#. Tag: programlisting
-#: Configuration.xml:903
+#: Configuration.xml:925
#, fuzzy, no-c-format
msgid ""
"<![CDATA[@Name(\"fooStartup\")\n"
@@ -2876,7 +2926,7 @@
"}]]>"
#. Tag: para
-#: Configuration.xml:905
+#: Configuration.xml:927
#, no-c-format
msgid ""
"You can also handle <emphasis>any</emphasis> resource. For example, you "
@@ -2888,7 +2938,7 @@
"合、 カスタムのデプロイメントハンドラを記述する必要があります。"
#. Tag: programlisting
-#: Configuration.xml:911
+#: Configuration.xml:933
#, fuzzy, no-c-format
msgid ""
"<![CDATA[public class FooDeploymentHandler implements DeploymentHandler {\n"
@@ -2930,7 +2980,7 @@
"}]]>"
#. Tag: para
-#: Configuration.xml:913
+#: Configuration.xml:935
#, no-c-format
msgid ""
"Here we are just building a list of any files with the suffix <literal>.foo."
@@ -2940,7 +2990,7 @@
"を作成しているだけです。"
#. Tag: para
-#: Configuration.xml:918
+#: Configuration.xml:940
#, fuzzy, no-c-format
msgid ""
"Then, we need to register the deployment handler with Seam in <literal>/META-"
@@ -2951,7 +3001,7 @@
"META-INF/seam-deployment.properties</literal> で行います。"
#. Tag: programlisting
-#: Configuration.xml:925
+#: Configuration.xml:947
#, no-c-format
msgid ""
"<![CDATA[# For standard deployment\n"
@@ -2967,7 +3017,7 @@
"FooDeploymentHandler]]>"
#. Tag: para
-#: Configuration.xml:931
+#: Configuration.xml:953
#, fuzzy, no-c-format
msgid ""
"Seam uses deployment handlers internally to install components and "
@@ -2981,7 +3031,7 @@
"ことができます。"
#. Tag: programlisting
-#: Configuration.xml:937
+#: Configuration.xml:959
#, fuzzy, no-c-format
msgid ""
"<![CDATA[@Name(\"fooStartup\")\n"
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/ja-JP/Webservices.po
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/ja-JP/Webservices.po 2009-08-26 19:14:02 UTC (rev 11432)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/ja-JP/Webservices.po 2009-08-26 19:19:33 UTC (rev 11433)
@@ -4,7 +4,7 @@
msgstr ""
"Project-Id-Version: Tools\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-07-08 14:32+0000\n"
+"POT-Creation-Date: 2009-08-26 18:48+0000\n"
"PO-Revision-Date: 2009-02-20 10:58-0500\n"
"Last-Translator: kojiro miyamoto <kojiro_miyamoto(a)hotmail.com>\n"
"Language-Team: Japanese <fedora-trans-ja(a)redhat.com>\n"
@@ -547,12 +547,20 @@
#: Webservices.xml:186
#, no-c-format
msgid ""
-"The URI starts with the pattern mapped in <literal>web.xml</literal> for the "
+"The URI starts with the host and context path of your application, e.g. "
+"<literal>http://your.hostname/myapp</literal>."
+msgstr ""
+
+#. Tag: para
+#: Webservices.xml:192
+#, fuzzy, no-c-format
+msgid ""
+"Then the pattern mapped in <literal>web.xml</literal> for the "
"<literal>SeamResourceServlet</literal>, e.g <literal>/seam/resource</"
-"literal> if you follow the common examples. Change this setting to expose "
-"your RESTful resources under a different base. Note that this is a global "
-"change and other Seam resources (e.g. <literal>s:graphicImage</literal>) are "
-"then also served under that base path."
+"literal> if you follow the common examples, is appended. Change this setting "
+"to expose your RESTful resources under a different base. Note that this is a "
+"global change and other Seam resources (e.g. <literal>s:graphicImage</"
+"literal>) are then also served under that base path."
msgstr ""
"一般的な例に合わせて説明すると、URIは<literal>SeamResourceServlet</literal>に"
"対して<literal>web.xml</literal>内でマップしてあるパターン(例えば、"
@@ -562,16 +570,16 @@
"そのベースパスで処理されることに注意してください。 "
#. Tag: para
-#: Webservices.xml:195
-#, no-c-format
+#: Webservices.xml:201
+#, fuzzy, no-c-format
msgid ""
"The RESTEasy integration for Seam then appends a configurable string to the "
"base path, by default this is <literal>/rest</literal>. Hence, the full base "
-"path of your resources would e.g. be <literal>/seam/resource/rest</literal>. "
-"We recommend that you change this string in your application, you could for "
-"example add a version number to prepare for a future REST API upgrade of "
-"your services (old clients would keep the old URI base): <literal>/seam/"
-"resource/restv1</literal>."
+"path of your resources would e.g. be <literal>/myapp/seam/resource/rest</"
+"literal>. We recommend that you change this string in your application, you "
+"could for example add a version number to prepare for a future REST API "
+"upgrade of your services (old clients would keep the old URI base): "
+"<literal>/myapp/seam/resource/restv1</literal>."
msgstr ""
"次にSeamのRESTEasy の組み込みで、このベースパスに任意の文字列を追加します。デ"
"フォルトでは <literal>/rest</literal>になっています。従って、この例の場合、リ"
@@ -582,32 +590,32 @@
"いクライアントは元のURIベースを保持します)"
#. Tag: para
-#: Webservices.xml:204
-#, no-c-format
+#: Webservices.xml:210
+#, fuzzy, no-c-format
msgid ""
"Finally, the actual resource is available under the defined <literal>@Path</"
"literal>, e.g. a resource mapped with <literal>@Path(\"/customer\")</"
-"literal> would be available under <literal>/seam/resource/rest/customer</"
-"literal>."
+"literal> would be available under <literal>/myapp/seam/resource/rest/"
+"customer</literal>."
msgstr ""
"これで、 実際のリソースは定義した<literal>@Path</literal>以下で利用できるよう"
"になります。例えば、<literal>@Path(\"/customer\")</literal>でマップしたリソー"
"スは、<literal>/seam/resource/rest/customer</literal>以下で利用できます。"
#. Tag: para
-#: Webservices.xml:212
-#, no-c-format
+#: Webservices.xml:218
+#, fuzzy, no-c-format
msgid ""
"As an example, the following resource definition would return a plaintext "
"representation for any GET requests using the URI <literal>http://your."
-"hostname/seam/resource/rest/customer/123</literal>:"
+"hostname/myapp/seam/resource/rest/customer/123</literal>:"
msgstr ""
"一例として、以下のリソース定義では<literal>http://your.hostname/seam/"
"resource/rest/customer/123</literal>というURIを使った、いかなるGET要求に対し"
"てもプレーンテキスト表示を返します。"
#. Tag: programlisting
-#: Webservices.xml:217
+#: Webservices.xml:223
#, fuzzy, no-c-format
msgid ""
"<![CDATA[@Path(\"/customer\")\n"
@@ -635,7 +643,7 @@
"}]]>"
#. Tag: para
-#: Webservices.xml:219
+#: Webservices.xml:225
#, no-c-format
msgid ""
"No additional configuration is required, you do not have to edit "
@@ -651,7 +659,7 @@
"ます。"
#. Tag: programlisting
-#: Webservices.xml:225
+#: Webservices.xml:231
#, fuzzy, no-c-format
msgid ""
"<![CDATA[<components\n"
@@ -675,7 +683,7 @@
" http://jboss.com/products/seam/components-2.1.xsd\">]]>"
#. Tag: para
-#: Webservices.xml:227
+#: Webservices.xml:233
#, no-c-format
msgid ""
"You can then change the <literal>/rest</literal> prefix as mentioned earlier:"
@@ -683,20 +691,20 @@
"次に、先に述べたように<literal>/rest</literal>プレフィックスを変更できます。"
#. Tag: programlisting
-#: Webservices.xml:231
+#: Webservices.xml:237
#, fuzzy, no-c-format
msgid "<![CDATA[<resteasy:application resource-path-prefix=\"/restv1\"/>]]>"
msgstr ""
"<![CDATA[<resteasy:application-config resource-path-prefix=\"/restv1\"/>]]>"
#. Tag: para
-#: Webservices.xml:233
-#, no-c-format
+#: Webservices.xml:239
+#, fuzzy, no-c-format
msgid ""
-"The full base path to your resources is now <literal>/seam/resource/restv1/"
-"{resource}</literal> - note that your <literal>@Path</literal> definitions "
-"and mappings do NOT change. This is an application-wide switch usually used "
-"for versioning of the HTTP API."
+"The full base path to your resources is now <literal>/myapp/seam/resource/"
+"restv1/{resource}</literal> - note that your <literal>@Path</literal> "
+"definitions and mappings do NOT change. This is an application-wide switch "
+"usually used for versioning of the HTTP interface."
msgstr ""
"この場合、リソースへのフルベースパスは<literal>/seam/resource/restv1/"
"{resource}</literal>になります。ここで<literal>@Path</literal>の定義とマッピ"
@@ -704,40 +712,9 @@
"ション全体のスイッチです。"
#. Tag: para
-#: Webservices.xml:239
-#, no-c-format
-msgid ""
-"You can disable stripping of the base path if you'd like to map the full "
-"path in your resources:"
-msgstr ""
-"リソース中においてフルパスでマップしたい場合は、ベースパスのストリッピングを"
-"無効にすることができます。"
-
-#. Tag: programlisting
-#: Webservices.xml:243
-#, fuzzy, no-c-format
-msgid "<![CDATA[<resteasy:application strip-seam-resource-path=\"false\"/>]]>"
-msgstr ""
-"<![CDATA[<resteasy:application-config strip-seam-resource-path=\"false\"/>]]>"
-
-#. Tag: para
#: Webservices.xml:245
#, no-c-format
msgid ""
-"The path of a resource is now mapped with e.g. <literal>@Path(\"/seam/"
-"resource/rest/customer\")</literal>. We do not recommend disabling this "
-"feature, as your resource class mappings are then bound to a particular "
-"deployment scenario."
-msgstr ""
-"これにより、リソースのパスは、例えば<literal>@Path(\"/seam/resource/rest/"
-"customer\")</literal>でマップされています。この場合、リソースクラスのマッピン"
-"グは、特定のデプロイメントシナリオに制限されるので、この機能は無効にしないほ"
-"うが良いでしょう。"
-
-#. Tag: para
-#: Webservices.xml:251
-#, no-c-format
-msgid ""
"Seam will scan your classpath for any deployed <literal>@javax.ws.rs.Path</"
"literal> resources and any <literal>@javax.ws.rs.ext.Provider</literal> "
"classes. You can disable scanning and configure these classes manually:"
@@ -748,7 +725,7 @@
"きます。"
#. Tag: programlisting
-#: Webservices.xml:257
+#: Webservices.xml:251
#, fuzzy, no-c-format
msgid ""
"<![CDATA[<resteasy:application\n"
@@ -785,7 +762,7 @@
" </resteasy:application-config>]]>"
#. Tag: para
-#: Webservices.xml:259
+#: Webservices.xml:253
#, no-c-format
msgid ""
"The <literal>use-built-in-providers</literal> switch enables (default) or "
@@ -798,7 +775,7 @@
"のままで整列化できるので、この機能は有効にしておくと良いでしょう。"
#. Tag: para
-#: Webservices.xml:265
+#: Webservices.xml:259
#, no-c-format
msgid ""
"RESTEasy supports plain EJBs (EJBs that are not Seam components) as "
@@ -810,20 +787,21 @@
"<literal>@Path</literal>, <literal>@GET</literal>, and so on - not the bean "
"implementation class. This allows you to keep your application deployment-"
"portable with the global Seam <literal>jndi-pattern</literal> switch on "
-"<literal><core:init/></literal>. Note that EJB resources will not be "
-"found even if scanning of resources is enabled, you always have to list them "
-"manually. Again, this is only relevant for EJB resources that are not also "
-"Seam components and that do not have a <literal>@Name</literal> annotation."
+"<literal><core:init/></literal>. Note that plain (non-Seam component) "
+"EJB resources will not be found even if scanning of resources is enabled, "
+"you always have to list them manually. Again, this whole paragraph is only "
+"relevant for EJB resources that are not also Seam components and that do not "
+"have an <literal>@Name</literal> annotation."
msgstr ""
#. Tag: para
-#: Webservices.xml:277
+#: Webservices.xml:272
#, no-c-format
msgid "Finally, you can configure media type and language URI extensions:"
msgstr "最後に、メディアタイプと言語のURI拡張子を設定できます。"
#. Tag: programlisting
-#: Webservices.xml:281
+#: Webservices.xml:276
#, fuzzy, no-c-format
msgid ""
"<![CDATA[<resteasy:application>\n"
@@ -851,7 +829,7 @@
"</resteasy:application-config>]]>"
#. Tag: para
-#: Webservices.xml:283
+#: Webservices.xml:278
#, no-c-format
msgid ""
"This definition would map the URI suffix of <literal>.txt.deutsch</literal> "
@@ -865,13 +843,13 @@
"ることができます。"
#. Tag: title
-#: Webservices.xml:292
+#: Webservices.xml:287
#, no-c-format
msgid "Resources and providers as Seam components"
msgstr "Seam コンポーネントとしてのリソースとプロバイダ"
#. Tag: para
-#: Webservices.xml:294
+#: Webservices.xml:289
#, no-c-format
msgid ""
"Any resource and provider instances are managed by RESTEasy by default. That "
@@ -888,7 +866,7 @@
"定されています。"
#. Tag: para
-#: Webservices.xml:301
+#: Webservices.xml:296
#, no-c-format
msgid ""
"You can write resources and providers as Seam components and benefit from "
@@ -901,7 +879,7 @@
"ポーネントにするのは簡単で、以下のようにします。"
#. Tag: programlisting
-#: Webservices.xml:307
+#: Webservices.xml:302
#, fuzzy, no-c-format
msgid ""
"<![CDATA[@Name(\"customerResource\")\n"
@@ -937,7 +915,7 @@
"}]]>"
#. Tag: para
-#: Webservices.xml:309
+#: Webservices.xml:304
#, fuzzy, no-c-format
msgid ""
"An instance of <literal>customerResource</literal> is now handled by Seam "
@@ -961,7 +939,7 @@
"ます。"
#. Tag: para
-#: Webservices.xml:318
+#: Webservices.xml:313
#, no-c-format
msgid ""
"You can annotate an interface and keep the implementation free from JAX-RS "
@@ -969,7 +947,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:322
+#: Webservices.xml:317
#, fuzzy, no-c-format
msgid ""
"<![CDATA[@Path(\"/customer\")\n"
@@ -995,7 +973,7 @@
"}]]>"
#. Tag: programlisting
-#: Webservices.xml:324
+#: Webservices.xml:319
#, fuzzy, no-c-format
msgid ""
"<![CDATA[@Name(\"customerResource\")\n"
@@ -1028,7 +1006,7 @@
"}]]>"
#. Tag: para
-#: Webservices.xml:326
+#: Webservices.xml:321
#, no-c-format
msgid ""
"You can use <literal>SESSION</literal>-scoped Seam components. By default, "
@@ -1043,7 +1021,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:335
+#: Webservices.xml:330
#, no-c-format
msgid ""
"Assuming that your Seam application only uses event, application, or "
@@ -1055,7 +1033,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:342
+#: Webservices.xml:337
#, no-c-format
msgid ""
"If your RESTful Seam application has to preserve session state across REST "
@@ -1063,7 +1041,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:347
+#: Webservices.xml:342
#, fuzzy, no-c-format
msgid ""
"<![CDATA[<resteasy:application destroy-session-after-request=\"false\"/>]]>"
@@ -1071,7 +1049,7 @@
"<![CDATA[<resteasy:application-config strip-seam-resource-path=\"false\"/>]]>"
#. Tag: para
-#: Webservices.xml:349
+#: Webservices.xml:344
#, no-c-format
msgid ""
"Every REST HTTP request will now create a new session that will only be "
@@ -1082,7 +1060,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:356
+#: Webservices.xml:351
#, fuzzy, no-c-format
msgid ""
"<literal>CONVERSATION</literal>-scoped resource components and mapping of "
@@ -1093,7 +1071,7 @@
"ませんが、間もなく利用できるようになる予定です。"
#. Tag: para
-#: Webservices.xml:361
+#: Webservices.xml:356
#, no-c-format
msgid ""
"EJB Seam components are supported. Always annotate the local business "
@@ -1102,7 +1080,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:366
+#: Webservices.xml:361
#, no-c-format
msgid ""
"Provider classes can also be Seam components, only <literal>APPLICATION</"
@@ -1112,13 +1090,13 @@
msgstr ""
#. Tag: title
-#: Webservices.xml:375
+#: Webservices.xml:370
#, no-c-format
msgid "Securing resources"
msgstr ""
#. Tag: para
-#: Webservices.xml:377
+#: Webservices.xml:372
#, no-c-format
msgid ""
"You can enable the Seam authentication filter for HTTP Basic and Digest "
@@ -1126,7 +1104,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:382
+#: Webservices.xml:377
#, no-c-format
msgid ""
"<![CDATA[<web:authentication-filter url-pattern=\"/seam/resource/rest/*\" "
@@ -1134,14 +1112,14 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:384
+#: Webservices.xml:379
#, no-c-format
msgid ""
"See the Seam security chapter on how to write an authentication routine."
msgstr ""
#. Tag: para
-#: Webservices.xml:388
+#: Webservices.xml:383
#, no-c-format
msgid ""
"After successful authentication, authorization rules with the common "
@@ -1152,13 +1130,13 @@
msgstr ""
#. Tag: title
-#: Webservices.xml:398
+#: Webservices.xml:393
#, no-c-format
msgid "Mapping exceptions to HTTP responses"
msgstr ""
#. Tag: para
-#: Webservices.xml:400
+#: Webservices.xml:395
#, no-c-format
msgid ""
"Section 3.3.4 of the JAX-RS specification defines how checked or unchecked "
@@ -1171,7 +1149,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:408
+#: Webservices.xml:403
#, no-c-format
msgid ""
"Exception handling within Seam requires that the Seam filter is executed for "
@@ -1183,7 +1161,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:415
+#: Webservices.xml:410
#, no-c-format
msgid ""
"<![CDATA[<filter>\n"
@@ -1198,7 +1176,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:417
+#: Webservices.xml:412
#, no-c-format
msgid ""
"To convert the unchecked <literal>UnsupportedOperationException</literal> "
@@ -1208,7 +1186,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:423
+#: Webservices.xml:418
#, no-c-format
msgid ""
"<![CDATA[<exception class=\"java.lang.UnsupportedOperationException\">\n"
@@ -1219,13 +1197,13 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:425
+#: Webservices.xml:420
#, no-c-format
msgid "Custom or checked exceptions are handled the same:"
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:429
+#: Webservices.xml:424
#, no-c-format
msgid ""
"<![CDATA[<exception class=\"my.CustomException\" log=\"false\">\n"
@@ -1237,7 +1215,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:431
+#: Webservices.xml:426
#, no-c-format
msgid ""
"You do not have to send an HTTP error to the client if an exception occurs. "
@@ -1248,7 +1226,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:438
+#: Webservices.xml:433
#, no-c-format
msgid ""
"Note that the HTTP response still passes through the servlet container, so "
@@ -1259,13 +1237,13 @@
msgstr ""
#. Tag: title
-#: Webservices.xml:447
+#: Webservices.xml:442
#, fuzzy, no-c-format
msgid "Testing resources and providers"
msgstr "Seam コンポーネントとしてのリソースとプロバイダ"
#. Tag: para
-#: Webservices.xml:449
+#: Webservices.xml:444
#, no-c-format
msgid ""
"Seam includes a unit testing utility class that helps you create unit tests "
@@ -1275,7 +1253,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:455
+#: Webservices.xml:450
#, no-c-format
msgid ""
"<![CDATA[import org.jboss.seam.mock.ResourceRequestEnvironment;\n"
@@ -1332,7 +1310,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:457
+#: Webservices.xml:452
#, no-c-format
msgid ""
"This test only executes local calls, it does not communicate with the "
@@ -1345,7 +1323,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:465
+#: Webservices.xml:460
#, no-c-format
msgid ""
"Note that a <literal>ResourceRequest</literal> has to be executed in a "
@@ -1354,8 +1332,33 @@
"<literal>@BeforeClass</literal>."
msgstr ""
+#~ msgid ""
+#~ "You can disable stripping of the base path if you'd like to map the full "
+#~ "path in your resources:"
+#~ msgstr ""
+#~ "リソース中においてフルパスでマップしたい場合は、ベースパスのストリッピング"
+#~ "を無効にすることができます。"
+
#, fuzzy
#~ msgid ""
+#~ "<![CDATA[<resteasy:application strip-seam-resource-path=\"false\"/>]]>"
+#~ msgstr ""
+#~ "<![CDATA[<resteasy:application-config strip-seam-resource-path=\"false\"/"
+#~ ">]]>"
+
+#~ msgid ""
+#~ "The path of a resource is now mapped with e.g. <literal>@Path(\"/seam/"
+#~ "resource/rest/customer\")</literal>. We do not recommend disabling this "
+#~ "feature, as your resource class mappings are then bound to a particular "
+#~ "deployment scenario."
+#~ msgstr ""
+#~ "これにより、リソースのパスは、例えば<literal>@Path(\"/seam/resource/rest/"
+#~ "customer\")</literal>でマップされています。この場合、リソースクラスのマッ"
+#~ "ピングは、特定のデプロイメントシナリオに制限されるので、この機能は無効にし"
+#~ "ないほうが良いでしょう。"
+
+#, fuzzy
+#~ msgid ""
#~ "Provider classes can also be Seam components, currently only "
#~ "<literal>APPLICATION</literal>-scoped provider components are supported."
#~ msgstr ""
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/ja-JP/Websphere.po
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/ja-JP/Websphere.po 2009-08-26 19:14:02 UTC (rev 11432)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/ja-JP/Websphere.po 2009-08-26 19:19:33 UTC (rev 11433)
@@ -4,7 +4,7 @@
msgstr ""
"Project-Id-Version: Tools\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-08-22 13:17+0000\n"
+"POT-Creation-Date: 2009-08-26 18:48+0000\n"
"PO-Revision-Date: 2008-12-14 05:13+0900\n"
"Last-Translator: Shinobu NOGAMI <s-nogami(a)sourceforge.jp>\n"
"Language-Team: Japanese <fedora-trans-ja(a)redhat.com>\n"
@@ -84,25 +84,27 @@
#, no-c-format
msgid ""
"The following sections in this chapter assume that WebSphere is correctly "
-"installed and is functional, and a profile has been successfully created."
+"installed and is functional, and a WebSphere \"profile\" has been "
+"successfully created."
msgstr ""
#. Tag: para
#: Websphere.xml:40
#, no-c-format
msgid ""
-"This chapter explain how to compile, deploy and run some sample applications "
-"in WebSphere. These sample applications require a database. WebSphere comes "
-"by default with a set of sample applications called \"Default Application\". "
-"This set of sample applications use a Derby database running on the Derby "
-"instance installed with WebSphere. In order to keep this simple we'll use "
-"this Derby database created for the \"Default Applications\". However, to "
-"run the sample application with the Derby database \"as-is\", a patched "
-"Hibernate dialect must be used (The patch changes the default \"auto\" key "
-"generation strategy) as explained in <xref linkend=\"glassfish\"/>. If you "
-"want to use another database, it's just a matter of creating a connection "
-"pool in WebSphere pointing to this database, declare the correct Hibernate "
-"dialect and set the correct JNDI name in <literal>persistence.xml</literal>."
+"This chapter explains how to compile, deploy and run some sample "
+"applications in WebSphere. These sample applications require a database. "
+"WebSphere comes by default with a set of sample applications called "
+"\"Default Application\". This set of sample applications use a Derby "
+"database running on the Derby instance installed within WebSphere. In order "
+"to keep this simple we'll use this Derby database created for the \"Default "
+"Applications\". However, to run the sample application with the Derby "
+"database \"as-is\", a patched Hibernate dialect must be used (The patch "
+"changes the default \"auto\" key generation strategy) as explained in <xref "
+"linkend=\"glassfish\"/>. If you want to use another database, it's just a "
+"matter of creating a connection pool in WebSphere pointing to this database, "
+"declare the correct Hibernate dialect and set the correct JNDI name in "
+"<literal>persistence.xml</literal>."
msgstr ""
#. Tag: title
@@ -152,16 +154,16 @@
#, no-c-format
msgid ""
"On the right navigation menu, select <literal>Web Container Settings/Web "
-"container</literal>)"
+"container</literal>"
msgstr ""
#. Tag: listitem
#: Websphere.xml:73
-#, no-c-format
+#, fuzzy, no-c-format
msgid ""
-"On the right navigation menu, select <literal>custom properties</literal>) "
+"On the right navigation menu, select <literal>custom properties</literal> "
"and add the following properties:"
-msgstr ""
+msgstr "<literal>build.xml</literal> ファイルの更新"
#. Tag: literal
#: Websphere.xml:77
@@ -178,7 +180,7 @@
#. Tag: listitem
#: Websphere.xml:84
#, fuzzy, no-c-format
-msgid "Save and restart the server"
+msgid "Save the configuration and restart the server"
msgstr "サーバの再起動についてのメモ"
#. Tag: title
@@ -197,38 +199,38 @@
msgstr ""
#. Tag: listitem
-#: Websphere.xml:97
+#: Websphere.xml:96
#, no-c-format
msgid ""
"The global <literal>jndi-pattern</literal> switch on the <literal><core:"
-"init></literal>. in <literal>components.xml</literal>. The switch can use "
-"a special placeholder \"<literal>#{ejbName}</literal>\" that resolves to the "
-"unqualified name of the EJB"
+"init></literal>tag in <literal>components.xml</literal>. The switch can "
+"use a special placeholder \"<literal>#{ejbName}</literal>\" that resolves to "
+"the unqualified name of the EJB"
msgstr ""
#. Tag: para
-#: Websphere.xml:102
+#: Websphere.xml:100
#, fuzzy, no-c-format
msgid "The <literal>@JndiName</literal> annotation"
msgstr "<literal>Next</literal> ボタンを選択してください。"
#. Tag: para
-#: Websphere.xml:108
+#: Websphere.xml:106
#, no-c-format
msgid "gives detailed explanations on how those mechanisms work."
msgstr ""
#. Tag: para
-#: Websphere.xml:112
+#: Websphere.xml:110
#, no-c-format
msgid ""
-"By default, WebSphere will bind the session bean in its local JNDI name "
-"space under a \"short\" binding name that adheres to the following pattern "
+"By default, WebSphere will bind session beans in its local JNDI name space "
+"under a \"short\" binding name that adheres to the following pattern "
"<literal>ejblocal:<package.qualified.local.interface.name></literal>."
msgstr ""
#. Tag: para
-#: Websphere.xml:117
+#: Websphere.xml:115
#, no-c-format
msgid ""
"For a detailed description on how WebSphere v7 organizes and binds EJBs in "
@@ -236,7 +238,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:120
+#: Websphere.xml:118
#, no-c-format
msgid ""
"As explained before, Seam needs to lookup for session bean as they appear in "
@@ -244,35 +246,35 @@
msgstr ""
#. Tag: listitem
-#: Websphere.xml:124
+#: Websphere.xml:121
#, no-c-format
msgid ""
"Specify which JNDI name Seam must use for each session bean using the "
-"<literal>@JndiName</literal> annotation in the java source file"
+"<literal>@JndiName</literal> annotation in the java source file,"
msgstr ""
#. Tag: listitem
-#: Websphere.xml:127
+#: Websphere.xml:123
#, no-c-format
msgid ""
"Override the default session bean names generated by WebSphere to conform to "
-"the <literal>jndi-pattern</literal> attribute"
+"the <literal>jndi-pattern</literal> attribute,"
msgstr ""
#. Tag: listitem
-#: Websphere.xml:130
+#: Websphere.xml:126
#, no-c-format
-msgid "Use EJB references"
+msgid "Use EJB references."
msgstr ""
#. Tag: title
-#: Websphere.xml:137
+#: Websphere.xml:133
#, no-c-format
msgid "Strategy 1: Specify which JNDI name Seam must use for each Session Bean"
msgstr ""
#. Tag: para
-#: Websphere.xml:138
+#: Websphere.xml:134
#, no-c-format
msgid ""
"This strategy is the simplest and fastest one regarding development. It uses "
@@ -280,7 +282,7 @@
msgstr ""
#. Tag: listitem
-#: Websphere.xml:141
+#: Websphere.xml:137
#, no-c-format
msgid ""
"Add a <literal>@JndiName(\"ejblocal:<package.qualified.local.interface."
@@ -288,14 +290,14 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:145 Websphere.xml:188
+#: Websphere.xml:141 Websphere.xml:184
#, no-c-format
msgid ""
"<para>In <literal>components.xml</literal>, add the following line:</para>"
msgstr ""
#. Tag: programlisting
-#: Websphere.xml:147 Websphere.xml:220
+#: Websphere.xml:143 Websphere.xml:216
#, fuzzy, no-c-format
msgid "<![CDATA[<core:init jndi-name=\"java:comp/env/#{ejbName}\" />]]>"
msgstr ""
@@ -305,7 +307,7 @@
" ]]>"
#. Tag: para
-#: Websphere.xml:151
+#: Websphere.xml:147
#, no-c-format
msgid ""
"Add a file named <literal>WEB-INF/classes/seam-jndi.properties</literal> in "
@@ -313,7 +315,7 @@
msgstr ""
#. Tag: programlisting
-#: Websphere.xml:153
+#: Websphere.xml:149
#, no-c-format
msgid ""
"com.ibm.websphere.naming.hostname.normalizer=com.ibm.ws.naming.util."
@@ -335,13 +337,13 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:157
+#: Websphere.xml:153
#, fuzzy, no-c-format
msgid "At the end of <literal>web.xml</literal>, add the following lines:"
msgstr "<literal>build.xml</literal> ファイルの更新"
#. Tag: programlisting
-#: Websphere.xml:159
+#: Websphere.xml:155
#, fuzzy, no-c-format
msgid ""
"<![CDATA[<ejb-local-ref>\n"
@@ -361,7 +363,7 @@
"]]>"
#. Tag: para
-#: Websphere.xml:164
+#: Websphere.xml:160
#, no-c-format
msgid ""
"That's all folks! No need to update any file during the development, nor to "
@@ -369,23 +371,23 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:167
+#: Websphere.xml:163
#, no-c-format
msgid ""
-"Compared to the other strategies, this strategy has the advantage not to "
-"have to manage any EJBs reference and also not to have to maintain extra "
+"Compared to the other strategies, this strategy has the advantage to not "
+"have to manage any EJBs reference and also to not have to maintain extra "
"files. The only drawback is one extra line in the java source code with the "
"<literal>@JndiName</literal> annotation"
msgstr ""
#. Tag: title
-#: Websphere.xml:174
+#: Websphere.xml:170
#, no-c-format
msgid "Strategy 2: Override the default names generated by WebSphere"
msgstr ""
#. Tag: section
-#: Websphere.xml:174
+#: Websphere.xml:170
#, no-c-format
msgid ""
"There is no simple way to globally override the default naming strategy for "
@@ -394,13 +396,13 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:177
+#: Websphere.xml:173
#, no-c-format
msgid "To use this strategy:"
msgstr ""
#. Tag: para
-#: Websphere.xml:181
+#: Websphere.xml:177
#, no-c-format
msgid ""
"Add a file named <literal>META-INF/ibm-ejb-jar-ext.xml</literal> in the EJB "
@@ -425,7 +427,7 @@
msgstr ""
#. Tag: programlisting
-#: Websphere.xml:190
+#: Websphere.xml:186
#, fuzzy, no-c-format
msgid "<![CDATA[<core:init jndi-name=\"ejblocal:#{ejbName}\" />]]>"
msgstr ""
@@ -435,7 +437,7 @@
" ]]>"
#. Tag: para
-#: Websphere.xml:194
+#: Websphere.xml:190
#, no-c-format
msgid ""
"Add a file named <literal>WEB-INF/classes/seam-jndi.properties</literal> as "
@@ -443,7 +445,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:199
+#: Websphere.xml:195
#, no-c-format
msgid ""
"In <literal>web.xml</literal>, add the following lines (Note the different "
@@ -451,7 +453,7 @@
msgstr ""
#. Tag: programlisting
-#: Websphere.xml:201
+#: Websphere.xml:197
#, fuzzy, no-c-format
msgid ""
"<![CDATA[<ejb-local-ref>\n"
@@ -471,7 +473,7 @@
"]]>"
#. Tag: para
-#: Websphere.xml:206
+#: Websphere.xml:202
#, no-c-format
msgid ""
"Compared to the first strategy, this strategy requires to maintain an extra "
@@ -481,13 +483,13 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:215
+#: Websphere.xml:211
#, no-c-format
msgid "Strategy 3: Use EJB references"
msgstr ""
#. Tag: section
-#: Websphere.xml:215
+#: Websphere.xml:211
#, no-c-format
msgid ""
"This strategy is based on the usage of EJB references, from EJB to EJB and "
@@ -495,7 +497,7 @@
msgstr ""
#. Tag: listitem
-#: Websphere.xml:218
+#: Websphere.xml:214
#, no-c-format
msgid ""
"<listitem>In <literal>components.xml</literal>, add the following line:</"
@@ -503,7 +505,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:223
+#: Websphere.xml:219
#, no-c-format
msgid ""
"Follow the instructions in <xref linkend=\"config.integration.ejb.container"
@@ -511,7 +513,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:228
+#: Websphere.xml:224
#, no-c-format
msgid ""
"This is the most tedious strategy as each session bean referenced by another "
@@ -521,27 +523,27 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:239
+#: Websphere.xml:235
#, no-c-format
msgid "Configuring timeouts for Stateful Session Beans"
msgstr ""
#. Tag: para
-#: Websphere.xml:240
+#: Websphere.xml:236
#, no-c-format
msgid ""
"A timeout value has to be set for each stateful session bean used in the "
"application because stateful bean must not expire in WebSphere while Seam "
-"might still need thenm. At the time of writing this document, WebSphere does "
+"might still need them. At the time of writing this document, WebSphere does "
"not provide a way to configure a global timeout at neither the cluster, "
"server, application nor ejb-jar level. It has to be done for each stateful "
-"bean individually. This is done by adding a file named <literal>META-INF/ibm-"
-"ejb-jar-ext.xml</literal> in the EJB module, and declare the timeout value "
-"for each bean:"
+"bean individually. By default, the default timeout is 10 minutes. This is "
+"done by adding a file named <literal>META-INF/ibm-ejb-jar-ext.xml</literal> "
+"in the EJB module, and declare the timeout value for each bean:"
msgstr ""
#. Tag: programlisting
-#: Websphere.xml:246
+#: Websphere.xml:242
#, fuzzy, no-c-format
msgid ""
"<![CDATA[<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
@@ -570,24 +572,24 @@
" ]]>"
#. Tag: para
-#: Websphere.xml:248
+#: Websphere.xml:244
#, no-c-format
msgid ""
"The <literal>time-out</literal> is expressed in seconds and must be higher "
"than the Seam conversation expiration timeout and a few minutes higher than "
"the user's HTTP session timeout (The session expiration timeout can trigger "
-"a few minutes after the number of minutes declared to expire s for the HTTP "
-"session expiration)."
+"a few minutes after the number of minutes declared to expire the HTTP "
+"session)."
msgstr ""
#. Tag: title
-#: Websphere.xml:257
+#: Websphere.xml:253
#, no-c-format
msgid "The <literal>jee5/booking</literal> example"
msgstr "<literal>jee5/booking</literal> サンプル"
#. Tag: para
-#: Websphere.xml:259
+#: Websphere.xml:255
#, fuzzy, no-c-format
msgid ""
"The<literal>jee5/booking</literal>example is based on the Hotel Booking "
@@ -602,23 +604,34 @@
"は <literal>$SEAM_DIST/examples/jee5/booking</literal> にあります。"
#. Tag: para
-#: Websphere.xml:265
+#: Websphere.xml:261
+#, fuzzy, no-c-format
+msgid ""
+"The example already has a breakout of configurations and build scripts for "
+"WebSphere. First thing, we are going to do is build and deploy this example. "
+"Then we'll go over some key changes that we needed."
+msgstr ""
+"最初に行うことは、サンプルのビルトとデプロイです。そのあとに必要な設定変更を"
+"行います。"
+
+#. Tag: para
+#: Websphere.xml:266
#, no-c-format
msgid ""
-"For running this example, we'll use the second JNDI mapping strategy "
-"(\"Override the default names generated by WebSphere\") as we don't want to "
-"change the java code to add the <literal>@JndiName</literal> annotation as "
-"in the first strategy."
+"The tailored configuration files for WebSphere use the second JNDI mapping "
+"strategy (\"Override the default names generated by WebSphere\") as the goal "
+"was to not change any java code to add the <literal>@JndiName</literal> "
+"annotation as in the first strategy."
msgstr ""
#. Tag: title
-#: Websphere.xml:271
+#: Websphere.xml:272
#, no-c-format
msgid "Building the <literal>jee5/booking</literal> example"
msgstr "<literal>jee5/booking</literal> サンプルのビルド"
#. Tag: para
-#: Websphere.xml:273
+#: Websphere.xml:274
#, fuzzy, no-c-format
msgid ""
"Building it only requires running the correct ant command: "
@@ -632,23 +645,23 @@
"リアーカイブを作成します。"
#. Tag: title
-#: Websphere.xml:280
+#: Websphere.xml:281
#, fuzzy, no-c-format
msgid "Deploying the <literal>jee5/booking</literal> example"
msgstr "<literal>jee5/booking</literal> サンプルのビルド"
#. Tag: para
-#: Websphere.xml:281
+#: Websphere.xml:282
#, fuzzy, no-c-format
msgid ""
-"The steps below are for the WAS version stated above.The ports are default "
-"values, if you changed them, you must substitute the values."
+"The steps below are for the WAS version stated above.The ports are the "
+"default values, if you changed them, you must substitute the values."
msgstr ""
"以下の手順は、上記で述べたバージョンの WebSphere での手順です。それ以外の環境"
"では、わずかに異なるかもしれません。"
#. Tag: listitem
-#: Websphere.xml:284
+#: Websphere.xml:285
#, no-c-format
msgid ""
"Log in to the administration console <programlisting><![CDATA[http://"
@@ -657,7 +670,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:291
+#: Websphere.xml:292
#, fuzzy, no-c-format
msgid ""
"Go to the <literal>WebSphere enterprise applications</literal> menu option "
@@ -669,7 +682,7 @@
"literal> メニューオプションにアクセスしてください。"
#. Tag: para
-#: Websphere.xml:298
+#: Websphere.xml:299
#, fuzzy, no-c-format
msgid ""
"At the top of the <literal>Enterprise Applications</literal> table select "
@@ -681,13 +694,13 @@
"い。以下はインストールウィザードページの各々で、実行すべき手順です。"
#. Tag: literal
-#: Websphere.xml:304
+#: Websphere.xml:305
#, no-c-format
msgid "Preparing for the application installation"
msgstr "アプリケーションのインストール準備"
#. Tag: para
-#: Websphere.xml:307
+#: Websphere.xml:308
#, fuzzy, no-c-format
msgid ""
"Browse to the <literal>examples/jee5/booking/dist-websphere7/jboss-seam-jee5."
@@ -697,25 +710,25 @@
"jee5/booking/dist/jboss-seam-jee5.ear</literal> ファイルを指定してください。"
#. Tag: para
-#: Websphere.xml:313 Websphere.xml:323 Websphere.xml:341
+#: Websphere.xml:314 Websphere.xml:324 Websphere.xml:342
#, no-c-format
msgid "Select the <literal>Next</literal> button."
msgstr "<literal>Next</literal> ボタンを選択してください。"
#. Tag: para
-#: Websphere.xml:318
+#: Websphere.xml:319
#, fuzzy, no-c-format
msgid "Select the <literal>Fast Path</literal> button."
msgstr "<literal>Next</literal> ボタンを選択してください。"
#. Tag: literal
-#: Websphere.xml:332
+#: Websphere.xml:333
#, no-c-format
msgid "Select installation options"
msgstr "インストールオプションの選択"
#. Tag: para
-#: Websphere.xml:335
+#: Websphere.xml:336
#, fuzzy, no-c-format
msgid ""
"Select the <literal>Deploy enterprise beans and Allow EJB reference targets "
@@ -727,13 +740,13 @@
"これが必要となります。"
#. Tag: literal
-#: Websphere.xml:350
+#: Websphere.xml:351
#, no-c-format
msgid "Map modules to servers"
msgstr "サーバへモジュールのマップ"
#. Tag: para
-#: Websphere.xml:353
+#: Websphere.xml:354
#, fuzzy, no-c-format
msgid ""
"No changes needed here as we only have one server. Select the <literal>Next</"
@@ -743,13 +756,13 @@
"ボタンを選択してください。"
#. Tag: literal
-#: Websphere.xml:362
+#: Websphere.xml:363
#, fuzzy, no-c-format
msgid "Map virtual hosts for Web modules"
msgstr "仮想ホストへの Web モジュールのマップ"
#. Tag: para
-#: Websphere.xml:365
+#: Websphere.xml:366
#, fuzzy, no-c-format
msgid ""
"No changes needed here as we only have one virtual host. Select the "
@@ -759,13 +772,13 @@
"ボタンを選択してください。"
#. Tag: literal
-#: Websphere.xml:374
+#: Websphere.xml:375
#, no-c-format
msgid "Summary"
msgstr "Summary (要約)"
#. Tag: para
-#: Websphere.xml:377
+#: Websphere.xml:378
#, no-c-format
msgid "No changes needed here. Select the <literal>Finish</literal> button."
msgstr ""
@@ -773,19 +786,19 @@
"さい。"
#. Tag: literal
-#: Websphere.xml:384
+#: Websphere.xml:385
#, no-c-format
msgid "Installation"
msgstr "Installation (インストール)"
#. Tag: para
-#: Websphere.xml:387
+#: Websphere.xml:388
#, fuzzy, no-c-format
msgid "Now you will see WebSphere installing and deploying your application."
msgstr "アプリケーションがインストールされてデプロイされます。"
#. Tag: para
-#: Websphere.xml:390
+#: Websphere.xml:391
#, fuzzy, no-c-format
msgid ""
"When done, select the <literal>Save</literal> link and you will be returned "
@@ -796,10 +809,10 @@
"す。"
#. Tag: para
-#: Websphere.xml:399
+#: Websphere.xml:400
#, fuzzy, no-c-format
msgid ""
-"To start the application select our application in the list, then click on "
+"To start the application, select the application in the list, then click on "
"the <literal>Start</literal> button at the top of the table."
msgstr ""
"アプリケーションを開始するために <literal>Enterprise Applications (エンタープ"
@@ -808,7 +821,7 @@
"literal> ボタンを選択してください。"
#. Tag: para
-#: Websphere.xml:409
+#: Websphere.xml:410
#, fuzzy, no-c-format
msgid ""
"You can now access the application at <literal>http://localhost:9080/seam-"
@@ -818,13 +831,13 @@
"クセスできます。"
#. Tag: title
-#: Websphere.xml:418
+#: Websphere.xml:419
#, no-c-format
msgid "Deviation from the original base files"
msgstr ""
#. Tag: section
-#: Websphere.xml:418
+#: Websphere.xml:419
#, no-c-format
msgid ""
"Below are the differences between the base configuration files and the "
@@ -833,7 +846,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:422
+#: Websphere.xml:423
#, no-c-format
msgid ""
"<literal>META-INF/ejb-jar.xml</literal> — Removed all the EJB "
@@ -841,33 +854,33 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:428
+#: Websphere.xml:429
#, no-c-format
msgid ""
"<literal>META-INF/ibm-ejb-jar-bnd.xml</literal> — This WebSphere "
"specific file has been added as we use the second JNDI mapping strategy. It "
-"defines, for each session bean, the name WebSphere will use to bind it its "
-"JNDI name space"
+"defines, for each session bean, the name WebSphere will use to bind it in "
+"its JNDI name space"
msgstr ""
#. Tag: para
-#: Websphere.xml:435
+#: Websphere.xml:436
#, no-c-format
msgid ""
"<literal>META-INF/ibm-ejb-jar-ext.xml</literal> — This WebSphere "
-"specific file defines to WebSphere, the timeout value for each stateful bean"
+"specific file defines the timeout value for each stateful bean"
msgstr ""
#. Tag: para
-#: Websphere.xml:441
+#: Websphere.xml:442
#, fuzzy, no-c-format
msgid ""
"<literal>META-INF/persistence.xml</literal> — The main changes here "
"are for the datasource JNDI path, switching to the WebSphere transaction "
"manager lookup class, turning off the <literal>hibernate.transaction."
"flush_before_completion</literal> toggle, and forcing the Hibernate dialect "
-"to be <literal>GlassfishDerbyDialect</literal> how as using the integrated "
-"Derby database"
+"to be <literal>GlassfishDerbyDialect</literal> as we are using the "
+"integrated Derby database"
msgstr ""
"<literal>META-INF/persistence.xml</literal> — 必要な主な変更点は、デー"
"タソース JNDI の変更、トランザクションマネージャのルックアップクラスを "
@@ -876,7 +889,7 @@
"ことです。"
#. Tag: para
-#: Websphere.xml:451
+#: Websphere.xml:452
#, fuzzy, no-c-format
msgid ""
"<literal>WEB-INF/components.xml</literal> — the change here is "
@@ -888,7 +901,7 @@
"の先頭を変更することです。"
#. Tag: para
-#: Websphere.xml:459
+#: Websphere.xml:460
#, no-c-format
msgid ""
"<literal>WEB-INF/web.xml</literal> — Remove all the <literal>ejb-local "
@@ -898,7 +911,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:467 Websphere.xml:549
+#: Websphere.xml:468
#, fuzzy, no-c-format
msgid ""
"<literal>import.sql</literal> — due to the cutomized hibernate Derby "
@@ -910,7 +923,7 @@
"ます。"
#. Tag: para
-#: Websphere.xml:474
+#: Websphere.xml:475
#, no-c-format
msgid ""
"Also the build procedure has been changed to include the <literal>log4j.jar</"
@@ -919,13 +932,13 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:486
+#: Websphere.xml:487
#, no-c-format
msgid "The <literal>jpa</literal> booking example"
msgstr "<literal>jpa</literal> booking サンプル"
#. Tag: para
-#: Websphere.xml:488
+#: Websphere.xml:489
#, fuzzy, no-c-format
msgid ""
"This is the Hotel Booking example implemented in Seam POJOs and using "
@@ -937,7 +950,7 @@
"します。 実行には EJB3 サポートを必要としません。"
#. Tag: para
-#: Websphere.xml:493
+#: Websphere.xml:494
#, fuzzy, no-c-format
msgid ""
"The example already has a breakout of configurations and build scripts for "
@@ -947,7 +960,7 @@
"に用意されています。"
#. Tag: para
-#: Websphere.xml:498
+#: Websphere.xml:499
#, fuzzy, no-c-format
msgid ""
"First thing, we are going to do is build and deploy that example. Then we'll "
@@ -957,13 +970,13 @@
"行います。"
#. Tag: title
-#: Websphere.xml:504
+#: Websphere.xml:505
#, no-c-format
msgid "Building the <literal>jpa</literal> example"
msgstr "<literal>jpa</literal> サンプルのビルド"
#. Tag: para
-#: Websphere.xml:505
+#: Websphere.xml:506
#, fuzzy, no-c-format
msgid ""
"Building it only requires running the correct ant command: "
@@ -977,13 +990,13 @@
"リアーカイブを作成します。"
#. Tag: title
-#: Websphere.xml:514
+#: Websphere.xml:515
#, no-c-format
msgid "Deploying the <literal>jpa</literal> example"
msgstr "<literal>jpa</literal> サンプルのデプロイ"
#. Tag: para
-#: Websphere.xml:515
+#: Websphere.xml:516
#, no-c-format
msgid ""
"Deploying <literal>jpa</literal> application is very similar to the "
@@ -994,7 +1007,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:521
+#: Websphere.xml:522
#, no-c-format
msgid ""
"Follow the same instructions as for the <literal>jee5/booking</literal> "
@@ -1002,11 +1015,11 @@
"literal> file on the first page and on the <literal>Map context roots for "
"Web modules</literal> page (after the <literal>Map virtual host for Web "
"module</literal>), enter the context root you want to use for your "
-"application in the <literal>Contect Root</literal> input field."
+"application in the <literal>Context Root</literal> input field."
msgstr ""
#. Tag: para
-#: Websphere.xml:528
+#: Websphere.xml:529
#, fuzzy, no-c-format
msgid ""
"When started, you can now access the application at the <literal>http://"
@@ -1016,13 +1029,13 @@
"ケーションにアクセスできます。"
#. Tag: title
-#: Websphere.xml:534
+#: Websphere.xml:535
#, no-c-format
msgid "Deviation from the generic base files"
msgstr ""
#. Tag: section
-#: Websphere.xml:534
+#: Websphere.xml:535
#, no-c-format
msgid ""
"Below are the configuration file differences between the base configuration "
@@ -1031,7 +1044,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:539
+#: Websphere.xml:540
#, fuzzy, no-c-format
msgid ""
"<literal>META-INF/persistence.xml</literal> — The main changes here "
@@ -1048,7 +1061,19 @@
"ことです。"
#. Tag: para
-#: Websphere.xml:556
+#: Websphere.xml:550
+#, fuzzy, no-c-format
+msgid ""
+"<literal>import.sql</literal> — due to the customized hibernate Derby "
+"dialect, the <literal>ID</literal> column can not be populated by this file "
+"and was removed."
+msgstr ""
+"<literal>import.sql</literal> — ダイアレクトと Derby DB のいずれでも "
+"<literal>ID</literal> カラムは生成されないので、このファイルから削除されてい"
+"ます。"
+
+#. Tag: para
+#: Websphere.xml:557
#, no-c-format
msgid ""
"Also the build procedure have been changed to include the <literal>log4j."
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/kn-IN/Configuration.po
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/kn-IN/Configuration.po 2009-08-26 19:14:02 UTC (rev 11432)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/kn-IN/Configuration.po 2009-08-26 19:19:33 UTC (rev 11433)
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-05-05 12:31+0000\n"
+"POT-Creation-Date: 2009-08-26 18:47+0000\n"
"PO-Revision-Date: 2008-04-04 01:24+0000\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
@@ -677,13 +677,63 @@
msgstr ""
#. Tag: title
+#: Configuration.xml:325
+#, no-c-format
+msgid "Enabling HTTP cache-control headers"
+msgstr ""
+
+#. Tag: para
#: Configuration.xml:326
#, no-c-format
+msgid ""
+"Seam does <emphasis>not</emphasis> automatically add <literal>cache-control</"
+"literal> HTTP headers to any resources served by the Seam resource servlet, "
+"or directly from your view directory by the servlet container. This means "
+"that your images, Javascript and CSS files, and resource representations "
+"from Seam resource servlet such as Seam Remoting Javascript interfaces are "
+"usually not cached by the browser. This is convenient in development but "
+"should be changed in production when optimizing the application."
+msgstr ""
+
+#. Tag: para
+#: Configuration.xml:334
+#, no-c-format
+msgid ""
+"You can configure a Seam filter to enable automatic addition of "
+"<literal>cache-control</literal> headers depending on the requested URI in "
+"<literal>components.xml</literal>:"
+msgstr ""
+
+#. Tag: programlisting
+#: Configuration.xml:339
+#, no-c-format
+msgid ""
+"<![CDATA[<web:cache-control-filter name=\"commonTypesCacheControlFilter\"\n"
+" regex-url-pattern=\".*(\\.gif|\\.png|\\.jpg|\\."
+"jpeg|\\.css|\\.js)\"\n"
+" value=\"max-age=86400\"/> <!-- 1 day -->\n"
+"\n"
+"<web:cache-control-filter name=\"anotherCacheControlFilter\"\n"
+" url-pattern=\"/my/cachable/resources/*\"\n"
+" value=\"max-age=432000\"/> <!-- 5 days -->]]>"
+msgstr ""
+
+#. Tag: para
+#: Configuration.xml:341
+#, no-c-format
+msgid ""
+"You do not have to name the filters unless you have more than one filter "
+"enabled."
+msgstr ""
+
+#. Tag: title
+#: Configuration.xml:348
+#, no-c-format
msgid "Adding custom filters"
msgstr ""
#. Tag: para
-#: Configuration.xml:327
+#: Configuration.xml:349
#, no-c-format
msgid ""
"Seam can install your filters for you, allowing you to specify "
@@ -695,7 +745,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:332
+#: Configuration.xml:354
#, no-c-format
msgid ""
"<![CDATA[@Startup\n"
@@ -707,7 +757,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:334
+#: Configuration.xml:356
#, no-c-format
msgid ""
"Adding the <literal>@Startup</literal> annotation means thar the component "
@@ -718,13 +768,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:343
+#: Configuration.xml:365
#, no-c-format
msgid "Integrating Seam with your EJB container"
msgstr ""
#. Tag: para
-#: Configuration.xml:345
+#: Configuration.xml:367
#, no-c-format
msgid ""
"In a Seam application, EJB components have a certain duality, as they are "
@@ -735,7 +785,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:350
+#: Configuration.xml:372
#, no-c-format
msgid ""
"We need to apply the <literal>SeamInterceptor</literal> to our Seam EJB "
@@ -747,7 +797,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:355
+#: Configuration.xml:377
#, no-c-format
msgid ""
"<![CDATA[<interceptors>\n"
@@ -768,7 +818,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:357
+#: Configuration.xml:379
#, no-c-format
msgid ""
"Seam needs to know where to go to find session beans in JNDI. One way to do "
@@ -782,19 +832,19 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:364
+#: Configuration.xml:386
#, no-c-format
msgid "For JBoss AS, the following pattern is correct:"
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:366
+#: Configuration.xml:388
#, no-c-format
msgid "<![CDATA[<core:init jndi-name=\"earName/#{ejbName}/local\" />]]>"
msgstr ""
#. Tag: para
-#: Configuration.xml:368
+#: Configuration.xml:390
#, no-c-format
msgid ""
"In this case, <literal>earName</literal> is the name of the EAR in which the "
@@ -804,7 +854,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:372
+#: Configuration.xml:394
#, no-c-format
msgid ""
"Outside the context of an EAR (when using the JBoss Embeddable EJB3 "
@@ -813,13 +863,13 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:375
+#: Configuration.xml:397
#, no-c-format
msgid "<![CDATA[<core:init jndi-name=\"#{ejbName}/local\" />]]>"
msgstr ""
#. Tag: para
-#: Configuration.xml:377
+#: Configuration.xml:399
#, no-c-format
msgid ""
"How these JNDI names are resolved and somehow locate an EJB component might "
@@ -828,7 +878,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:381
+#: Configuration.xml:403
#, no-c-format
msgid ""
"The folks at JBoss don't care much for XML, if you can't tell. So when they "
@@ -839,14 +889,14 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:387
+#: Configuration.xml:409
#, no-c-format
msgid ""
"The value of the <literal><ejb-name></literal> element in ejb-jar.xml"
msgstr ""
#. Tag: para
-#: Configuration.xml:390
+#: Configuration.xml:412
#, no-c-format
msgid ""
"The value of the <literal>name</literal> attribute in the @Stateless or "
@@ -854,13 +904,13 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:393
+#: Configuration.xml:415
#, no-c-format
msgid "The simple name of the bean class"
msgstr ""
#. Tag: para
-#: Configuration.xml:397
+#: Configuration.xml:419
#, no-c-format
msgid ""
"Let's look at an example. Assume that you have the following EJB bean and "
@@ -868,7 +918,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:399
+#: Configuration.xml:421
#, no-c-format
msgid ""
"<![CDATA[package com.example.myapp;\n"
@@ -895,7 +945,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:401
+#: Configuration.xml:423
#, no-c-format
msgid ""
"Assuming your EJB bean class is deployed in an EAR named myapp, the global "
@@ -907,7 +957,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:407
+#: Configuration.xml:429
#, no-c-format
msgid ""
"So what about the rest of the application servers? Well, according to the "
@@ -919,7 +969,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:413
+#: Configuration.xml:435
#, no-c-format
msgid ""
"There are two places you have to define the EJB reference when using Seam on "
@@ -930,7 +980,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:418
+#: Configuration.xml:440
#, no-c-format
msgid ""
"<![CDATA[<ejb-local-ref>\n"
@@ -942,7 +992,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:420
+#: Configuration.xml:442
#, no-c-format
msgid ""
"This reference will cover most uses of the component in a Seam application. "
@@ -953,7 +1003,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:425
+#: Configuration.xml:447
#, no-c-format
msgid ""
"Within the context of an EJB method call, you have to deal with a somewhat "
@@ -970,7 +1020,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:434
+#: Configuration.xml:456
#, no-c-format
msgid ""
"For application servers that stubbornly adhere to the EJB specification, EJB "
@@ -982,7 +1032,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:439
+#: Configuration.xml:461
#, no-c-format
msgid ""
"Let's assume that we have an EJB named RegisterAction (the name is resolved "
@@ -991,7 +1041,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:442
+#: Configuration.xml:464
#, no-c-format
msgid ""
"<![CDATA[@In(create = true)\n"
@@ -1000,7 +1050,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:444
+#: Configuration.xml:466
#, no-c-format
msgid ""
"In order for this injection to work, the link must be established in the ejb-"
@@ -1008,7 +1058,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:446
+#: Configuration.xml:468
#, no-c-format
msgid ""
"<![CDATA[<ejb-jar>\n"
@@ -1031,7 +1081,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:448
+#: Configuration.xml:470
#, no-c-format
msgid ""
"Notice that the contents of the <literal><ejb-local-ref></literal> are "
@@ -1043,7 +1093,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:454
+#: Configuration.xml:476
#, no-c-format
msgid ""
"But what about <literal>@EJB</literal>? It's true that you can inject one "
@@ -1061,7 +1111,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:464
+#: Configuration.xml:486
#, no-c-format
msgid ""
"That covers how JNDI names are defined and used. The lesson is that with "
@@ -1074,7 +1124,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:470
+#: Configuration.xml:492
#, no-c-format
msgid ""
"<![CDATA[<core:init jndi-name=\"java:comp/env/earName/#{ejbName}/local\" />]]"
@@ -1082,7 +1132,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:472
+#: Configuration.xml:494
#, no-c-format
msgid ""
"Finally, let's talk about transactions. In an EJB3 environment, we recommend "
@@ -1094,19 +1144,19 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:479
+#: Configuration.xml:501
#, no-c-format
msgid "<![CDATA[<transaction:ejb-transaction/>]]>"
msgstr ""
#. Tag: title
-#: Configuration.xml:484
+#: Configuration.xml:506
#, no-c-format
msgid "Don't forget!"
msgstr ""
#. Tag: para
-#: Configuration.xml:486
+#: Configuration.xml:508
#, no-c-format
msgid ""
"There is one final item you need to know about. You must place a "
@@ -1118,7 +1168,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:491
+#: Configuration.xml:513
#, no-c-format
msgid ""
"In a web archive (WAR) file, you must place a <literal>seam.properties</"
@@ -1127,7 +1177,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:494
+#: Configuration.xml:516
#, no-c-format
msgid ""
"That's why all the Seam examples have an empty <literal>seam.properties</"
@@ -1136,7 +1186,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:497
+#: Configuration.xml:519
#, no-c-format
msgid ""
"You might think this is silly and what kind of idiot framework designers "
@@ -1148,13 +1198,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:508
+#: Configuration.xml:530
#, no-c-format
msgid "Using Alternate JPA Providers"
msgstr ""
#. Tag: para
-#: Configuration.xml:510
+#: Configuration.xml:532
#, no-c-format
msgid ""
"Seam comes packaged and configured with Hibernate as the default JPA "
@@ -1163,13 +1213,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:516
+#: Configuration.xml:538
#, no-c-format
msgid "This is a workaround"
msgstr ""
#. Tag: para
-#: Configuration.xml:517
+#: Configuration.xml:539
#, no-c-format
msgid ""
"Configuration of the JPA provider will be easier in the future and will not "
@@ -1178,7 +1228,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:524
+#: Configuration.xml:546
#, no-c-format
msgid ""
"Telling seam about a different JPA provider can be be done in one of two "
@@ -1186,7 +1236,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:525
+#: Configuration.xml:547
#, no-c-format
msgid ""
"Update your application's <literal>components.xml</literal> so that the "
@@ -1195,7 +1245,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:530
+#: Configuration.xml:552
#, no-c-format
msgid ""
"<![CDATA[<component name=\"org.jboss.seam.persistence.persistenceProvider"
@@ -1206,7 +1256,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:531
+#: Configuration.xml:553
#, no-c-format
msgid ""
"If you want to take advantage of your JPA provider's non-standard features "
@@ -1218,7 +1268,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:538
+#: Configuration.xml:560
#, no-c-format
msgid ""
"<![CDATA[<component name=\"org.jboss.seam.persistence.persistenceProvider"
@@ -1228,7 +1278,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:539
+#: Configuration.xml:561
#, no-c-format
msgid ""
"All that is left is updating the <literal>persistence.xml</literal> file "
@@ -1238,13 +1288,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:547
+#: Configuration.xml:569
#, no-c-format
msgid "Configuring Seam in Java EE 5"
msgstr ""
#. Tag: para
-#: Configuration.xml:558
+#: Configuration.xml:580
#, no-c-format
msgid ""
"If you're running in a Java EE 5 environment, this is all the configuration "
@@ -1252,14 +1302,14 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:561 Configuration.xml:656 Configuration.xml:794
-#: Configuration.xml:827
+#: Configuration.xml:583 Configuration.xml:678 Configuration.xml:816
+#: Configuration.xml:849
#, no-c-format
msgid "Packaging"
msgstr ""
#. Tag: para
-#: Configuration.xml:563
+#: Configuration.xml:585
#, no-c-format
msgid ""
"Once you've packaged all this stuff together into an EAR, the archive "
@@ -1267,7 +1317,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:566
+#: Configuration.xml:588
#, no-c-format
msgid ""
"<![CDATA[my-application.ear/\n"
@@ -1307,7 +1357,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:568
+#: Configuration.xml:590
#, no-c-format
msgid ""
"You should declare <literal>jboss-seam.jar</literal> as an ejb module in "
@@ -1316,7 +1366,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:573
+#: Configuration.xml:595
#, no-c-format
msgid ""
"If you want to use jBPM or Drools, you must include the needed jars in the "
@@ -1324,7 +1374,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:575
+#: Configuration.xml:597
#, no-c-format
msgid ""
"If you want to use facelets (our recommendation), you must include "
@@ -1333,7 +1383,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:578
+#: Configuration.xml:600
#, no-c-format
msgid ""
"If you want to use the Seam tag library (most Seam applications do), you "
@@ -1344,7 +1394,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:583
+#: Configuration.xml:605
#, no-c-format
msgid ""
"If you want to use the Seam debug page (only works for applications using "
@@ -1353,7 +1403,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:586
+#: Configuration.xml:608
#, no-c-format
msgid ""
"Seam ships with several example applications that are deployable in any Java "
@@ -1361,7 +1411,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:589
+#: Configuration.xml:611
#, no-c-format
msgid ""
"I really wish that was all there was to say on the topic of configuration "
@@ -1371,13 +1421,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:598
+#: Configuration.xml:620
#, no-c-format
msgid "Configuring Seam in J2EE"
msgstr ""
#. Tag: para
-#: Configuration.xml:600
+#: Configuration.xml:622
#, no-c-format
msgid ""
"Seam is useful even if you're not yet ready to take the plunge into EJB 3.0. "
@@ -1389,7 +1439,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:615
+#: Configuration.xml:637
#, no-c-format
msgid ""
"Seam JavaBean components do not provide declarative transaction demarcation "
@@ -1401,7 +1451,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:621
+#: Configuration.xml:643
#, no-c-format
msgid ""
"The Seam distribution includes a version of the booking example application "
@@ -1411,13 +1461,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:626
+#: Configuration.xml:648
#, no-c-format
msgid "Boostrapping Hibernate in Seam"
msgstr ""
#. Tag: para
-#: Configuration.xml:628
+#: Configuration.xml:650
#, no-c-format
msgid ""
"Seam will bootstrap a Hibernate <literal>SessionFactory</literal> from your "
@@ -1426,7 +1476,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:631
+#: Configuration.xml:653
#, no-c-format
msgid ""
"<![CDATA[<persistence:hibernate-session-factory name="
@@ -1434,7 +1484,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:633
+#: Configuration.xml:655
#, no-c-format
msgid ""
"You will also need to configure a <emphasis>managed session</emphasis> if "
@@ -1443,7 +1493,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:636
+#: Configuration.xml:658
#, no-c-format
msgid ""
"<![CDATA[<persistence:managed-hibernate-session name=\"hibernateSession\"\n"
@@ -1452,13 +1502,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:641
+#: Configuration.xml:663
#, no-c-format
msgid "Boostrapping JPA in Seam"
msgstr ""
#. Tag: para
-#: Configuration.xml:643
+#: Configuration.xml:665
#, no-c-format
msgid ""
"Seam will bootstrap a JPA <literal>EntityManagerFactory</literal> from your "
@@ -1467,7 +1517,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:646
+#: Configuration.xml:668
#, no-c-format
msgid ""
"<![CDATA[<persistence:entity-manager-factory name=\"entityManagerFactory\"/"
@@ -1475,7 +1525,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:648
+#: Configuration.xml:670
#, no-c-format
msgid ""
"You will also need to configure a <emphasis>managed persistence context</"
@@ -1484,7 +1534,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:651
+#: Configuration.xml:673
#, no-c-format
msgid ""
"<![CDATA[<persistence:managed-persistence-context name=\"entityManager\"\n"
@@ -1493,13 +1543,13 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:658
+#: Configuration.xml:680
#, no-c-format
msgid "We can package our application as a WAR, in the following structure:"
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:660
+#: Configuration.xml:682
#, no-c-format
msgid ""
"<![CDATA[my-application.war/\n"
@@ -1536,7 +1586,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:662
+#: Configuration.xml:684
#, no-c-format
msgid ""
"If we want to deploy Hibernate in a non-EE environment like Tomcat or "
@@ -1544,13 +1594,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:669
+#: Configuration.xml:691
#, no-c-format
msgid "Configuring Seam in Java SE, without JBoss Embedded"
msgstr ""
#. Tag: para
-#: Configuration.xml:671
+#: Configuration.xml:693
#, no-c-format
msgid ""
"It is possible to use Seam completely outside of an EE environment. In this "
@@ -1560,7 +1610,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:675
+#: Configuration.xml:697
#, no-c-format
msgid ""
"<![CDATA[<transaction:entity-transaction entity-manager=\"#{entityManager}\"/"
@@ -1568,7 +1618,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:677
+#: Configuration.xml:699
#, no-c-format
msgid ""
"If you're using Hibernate, you can tell Seam to use the Hibernate "
@@ -1576,32 +1626,32 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:679
+#: Configuration.xml:701
#, no-c-format
msgid "<![CDATA[<transaction:hibernate-transaction session=\"#{session}\"/>]]>"
msgstr ""
#. Tag: para
-#: Configuration.xml:681
+#: Configuration.xml:703
#, no-c-format
msgid "Of course, you'll also need to define a datasource."
msgstr ""
#. Tag: para
-#: Configuration.xml:683
+#: Configuration.xml:705
#, no-c-format
msgid ""
"A better alternative is to use JBoss Embedded to get access to the EE APIs."
msgstr ""
#. Tag: title
-#: Configuration.xml:688
+#: Configuration.xml:710
#, no-c-format
msgid "Configuring Seam in Java SE, with JBoss Embedded"
msgstr ""
#. Tag: para
-#: Configuration.xml:690
+#: Configuration.xml:712
#, no-c-format
msgid ""
"JBoss Embedded lets you run EJB3 components outside the context of the Java "
@@ -1610,7 +1660,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:693
+#: Configuration.xml:715
#, no-c-format
msgid ""
"The Seam booking example application includes a TestNG integration test "
@@ -1618,19 +1668,19 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:705
+#: Configuration.xml:727
#, no-c-format
msgid "The booking example application may even be deployed to Tomcat."
msgstr ""
#. Tag: title
-#: Configuration.xml:717
+#: Configuration.xml:739
#, no-c-format
msgid "Installing Embedded JBoss"
msgstr ""
#. Tag: para
-#: Configuration.xml:720
+#: Configuration.xml:742
#, no-c-format
msgid ""
"Embedded JBoss must by installed into Tomcat for Seam applications to run "
@@ -1643,7 +1693,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:734
+#: Configuration.xml:756
#, no-c-format
msgid ""
"Copy all files and directories under the Embedded JBoss <literal>bootstrap</"
@@ -1653,7 +1703,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:741
+#: Configuration.xml:763
#, no-c-format
msgid ""
"Remove the <literal>annotations-api.jar</literal> file from the Tomcat "
@@ -1661,7 +1711,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:747
+#: Configuration.xml:769
#, no-c-format
msgid ""
"Next, two configuration files need to be updated to add Embedded JBoss-"
@@ -1669,7 +1719,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:753
+#: Configuration.xml:775
#, no-c-format
msgid ""
"Add the Embedded JBoss listener <literal>EmbeddedJBossBootstrapListener</"
@@ -1678,7 +1728,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:756
+#: Configuration.xml:778
#, no-c-format
msgid ""
"<![CDATA[<Server port=\"8005\" shutdown=\"SHUTDOWN\">\n"
@@ -1696,7 +1746,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:757
+#: Configuration.xml:779
#, no-c-format
msgid ""
"<![CDATA[ <!-- Add this listener -->\n"
@@ -1705,7 +1755,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:761
+#: Configuration.xml:783
#, no-c-format
msgid ""
"WAR file scanning should be enabled by adding the <literal>WebinfScanner</"
@@ -1713,7 +1763,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:764
+#: Configuration.xml:786
#, no-c-format
msgid ""
"<![CDATA[<Context>\n"
@@ -1728,7 +1778,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:765
+#: Configuration.xml:787
#, no-c-format
msgid ""
"<![CDATA[ <!-- Add this listener -->\n"
@@ -1736,13 +1786,13 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:766
+#: Configuration.xml:788
#, no-c-format
msgid "<![CDATA[</Context>]]>"
msgstr ""
#. Tag: para
-#: Configuration.xml:770
+#: Configuration.xml:792
#, no-c-format
msgid ""
"If you are using Sun JDK 6, you need to set the Java option <literal>sun."
@@ -1752,7 +1802,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:775
+#: Configuration.xml:797
#, no-c-format
msgid ""
"Open the script appropriate for your operating system in a text editor. Add "
@@ -1762,7 +1812,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:779
+#: Configuration.xml:801
#, no-c-format
msgid ""
"<![CDATA[set JAVA_OPTS=%JAVA_OPTS% -Dsun.lang.ClassLoader."
@@ -1770,13 +1820,13 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:781
+#: Configuration.xml:803
#, no-c-format
msgid "On Unix, use this syntax instead:"
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:783
+#: Configuration.xml:805
#, no-c-format
msgid ""
"<![CDATA[JAVA_OPTS=\"$JAVA_OPTS -Dsun.lang.ClassLoader.allowArraySyntax=true"
@@ -1784,7 +1834,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:788
+#: Configuration.xml:810
#, no-c-format
msgid ""
"For more configuration options, please see the Embedded JBoss Tomcat "
@@ -1793,7 +1843,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:796
+#: Configuration.xml:818
#, no-c-format
msgid ""
"The archive structure of a WAR-based deployment on an servlet engine like "
@@ -1801,7 +1851,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:799
+#: Configuration.xml:821
#, no-c-format
msgid ""
"<![CDATA[my-application.war/\n"
@@ -1839,7 +1889,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:801
+#: Configuration.xml:823
#, no-c-format
msgid ""
"Most of the Seam example applications may be deployed to Tomcat by running "
@@ -1847,13 +1897,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:809
+#: Configuration.xml:831
#, no-c-format
msgid "Configuring jBPM in Seam"
msgstr ""
#. Tag: para
-#: Configuration.xml:810
+#: Configuration.xml:832
#, no-c-format
msgid ""
"Seam's jBPM integration is not installed by default, so you'll need to "
@@ -1863,7 +1913,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:814
+#: Configuration.xml:836
#, no-c-format
msgid ""
"<![CDATA[<bpm:jbpm>\n"
@@ -1879,7 +1929,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:816
+#: Configuration.xml:838
#, no-c-format
msgid ""
"No further special configuration is needed if you only have pageflows. If "
@@ -1890,7 +1940,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:821
+#: Configuration.xml:843
#, no-c-format
msgid ""
"<![CDATA[<jbpm-configuration>\n"
@@ -1920,7 +1970,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:823
+#: Configuration.xml:845
#, no-c-format
msgid ""
"The most important thing to notice here is that jBPM transaction control is "
@@ -1928,7 +1978,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:829
+#: Configuration.xml:851
#, no-c-format
msgid ""
"There is not yet any well-defined packaging format for jBPM configuration "
@@ -1939,7 +1989,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:834
+#: Configuration.xml:856
#, no-c-format
msgid ""
"<![CDATA[my-application.ear/\n"
@@ -1986,13 +2036,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:841
+#: Configuration.xml:863
#, no-c-format
msgid "Configuring SFSB and Session Timeouts in JBoss AS"
msgstr ""
#. Tag: para
-#: Configuration.xml:843
+#: Configuration.xml:865
#, no-c-format
msgid ""
"It is very important that the timeout for Stateful Session Beans is set "
@@ -2004,7 +2054,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:849
+#: Configuration.xml:871
#, no-c-format
msgid ""
"The default SFSB timeout can be adjusted by modifying the value of "
@@ -2013,7 +2063,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:852
+#: Configuration.xml:874
#, no-c-format
msgid ""
"<![CDATA[<container-cache-conf>\n"
@@ -2038,7 +2088,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:854
+#: Configuration.xml:876
#, no-c-format
msgid ""
"The default HTTP session timeout can be modified in <literal>server/default/"
@@ -2049,7 +2099,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:859
+#: Configuration.xml:881
#, no-c-format
msgid ""
"<![CDATA[<session-config>\n"
@@ -2059,7 +2109,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:861
+#: Configuration.xml:883
#, no-c-format
msgid ""
"To override this value for your own application, simply include this entry "
@@ -2067,13 +2117,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:867
+#: Configuration.xml:889
#, no-c-format
msgid "Running Seam in a Portlet"
msgstr ""
#. Tag: para
-#: Configuration.xml:869
+#: Configuration.xml:891
#, no-c-format
msgid ""
"If you want to run your Seam application in a portlet, take a look at the "
@@ -2084,13 +2134,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:880
+#: Configuration.xml:902
#, no-c-format
msgid "Deploying custom resources"
msgstr ""
#. Tag: para
-#: Configuration.xml:882
+#: Configuration.xml:904
#, no-c-format
msgid ""
"Seam scans all jars containing <literal>/seam.properties</literal>, "
@@ -2101,7 +2151,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:889
+#: Configuration.xml:911
#, no-c-format
msgid ""
"You may also want Seam to handle custom resources. A common use case is to "
@@ -2111,7 +2161,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:896
+#: Configuration.xml:918
#, no-c-format
msgid ""
"<![CDATA[# A colon-separated list of annotation types to handle\n"
@@ -2119,7 +2169,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:898
+#: Configuration.xml:920
#, no-c-format
msgid ""
"Then, during application startup you can get hold of all classes annotated "
@@ -2127,7 +2177,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:903
+#: Configuration.xml:925
#, no-c-format
msgid ""
"<![CDATA[@Name(\"fooStartup\")\n"
@@ -2159,7 +2209,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:905
+#: Configuration.xml:927
#, no-c-format
msgid ""
"You can also handle <emphasis>any</emphasis> resource. For example, you "
@@ -2168,7 +2218,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:911
+#: Configuration.xml:933
#, no-c-format
msgid ""
"<![CDATA[public class FooDeploymentHandler implements DeploymentHandler {\n"
@@ -2192,7 +2242,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:913
+#: Configuration.xml:935
#, no-c-format
msgid ""
"Here we are just building a list of any files with the suffix <literal>.foo."
@@ -2200,7 +2250,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:918
+#: Configuration.xml:940
#, no-c-format
msgid ""
"Then, we need to register the deployment handler with Seam in <literal>/META-"
@@ -2209,7 +2259,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:925
+#: Configuration.xml:947
#, no-c-format
msgid ""
"<![CDATA[# For standard deployment\n"
@@ -2220,7 +2270,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:931
+#: Configuration.xml:953
#, no-c-format
msgid ""
"Seam uses deployment handlers internally to install components and "
@@ -2229,7 +2279,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:937
+#: Configuration.xml:959
#, no-c-format
msgid ""
"<![CDATA[@Name(\"fooStartup\")\n"
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/kn-IN/Webservices.po
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/kn-IN/Webservices.po 2009-08-26 19:14:02 UTC (rev 11432)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/kn-IN/Webservices.po 2009-08-26 19:19:33 UTC (rev 11433)
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-07-08 14:32+0000\n"
+"POT-Creation-Date: 2009-08-26 18:48+0000\n"
"PO-Revision-Date: 2008-04-04 01:24+0000\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
@@ -392,48 +392,56 @@
#: Webservices.xml:186
#, no-c-format
msgid ""
-"The URI starts with the pattern mapped in <literal>web.xml</literal> for the "
+"The URI starts with the host and context path of your application, e.g. "
+"<literal>http://your.hostname/myapp</literal>."
+msgstr ""
+
+#. Tag: para
+#: Webservices.xml:192
+#, no-c-format
+msgid ""
+"Then the pattern mapped in <literal>web.xml</literal> for the "
"<literal>SeamResourceServlet</literal>, e.g <literal>/seam/resource</"
-"literal> if you follow the common examples. Change this setting to expose "
-"your RESTful resources under a different base. Note that this is a global "
-"change and other Seam resources (e.g. <literal>s:graphicImage</literal>) are "
-"then also served under that base path."
+"literal> if you follow the common examples, is appended. Change this setting "
+"to expose your RESTful resources under a different base. Note that this is a "
+"global change and other Seam resources (e.g. <literal>s:graphicImage</"
+"literal>) are then also served under that base path."
msgstr ""
#. Tag: para
-#: Webservices.xml:195
+#: Webservices.xml:201
#, no-c-format
msgid ""
"The RESTEasy integration for Seam then appends a configurable string to the "
"base path, by default this is <literal>/rest</literal>. Hence, the full base "
-"path of your resources would e.g. be <literal>/seam/resource/rest</literal>. "
-"We recommend that you change this string in your application, you could for "
-"example add a version number to prepare for a future REST API upgrade of "
-"your services (old clients would keep the old URI base): <literal>/seam/"
-"resource/restv1</literal>."
+"path of your resources would e.g. be <literal>/myapp/seam/resource/rest</"
+"literal>. We recommend that you change this string in your application, you "
+"could for example add a version number to prepare for a future REST API "
+"upgrade of your services (old clients would keep the old URI base): "
+"<literal>/myapp/seam/resource/restv1</literal>."
msgstr ""
#. Tag: para
-#: Webservices.xml:204
+#: Webservices.xml:210
#, no-c-format
msgid ""
"Finally, the actual resource is available under the defined <literal>@Path</"
"literal>, e.g. a resource mapped with <literal>@Path(\"/customer\")</"
-"literal> would be available under <literal>/seam/resource/rest/customer</"
-"literal>."
+"literal> would be available under <literal>/myapp/seam/resource/rest/"
+"customer</literal>."
msgstr ""
#. Tag: para
-#: Webservices.xml:212
+#: Webservices.xml:218
#, no-c-format
msgid ""
"As an example, the following resource definition would return a plaintext "
"representation for any GET requests using the URI <literal>http://your."
-"hostname/seam/resource/rest/customer/123</literal>:"
+"hostname/myapp/seam/resource/rest/customer/123</literal>:"
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:217
+#: Webservices.xml:223
#, no-c-format
msgid ""
"<![CDATA[@Path(\"/customer\")\n"
@@ -450,7 +458,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:219
+#: Webservices.xml:225
#, no-c-format
msgid ""
"No additional configuration is required, you do not have to edit "
@@ -461,7 +469,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:225
+#: Webservices.xml:231
#, no-c-format
msgid ""
"<![CDATA[<components\n"
@@ -476,63 +484,39 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:227
+#: Webservices.xml:233
#, no-c-format
msgid ""
"You can then change the <literal>/rest</literal> prefix as mentioned earlier:"
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:231
+#: Webservices.xml:237
#, no-c-format
msgid "<![CDATA[<resteasy:application resource-path-prefix=\"/restv1\"/>]]>"
msgstr ""
#. Tag: para
-#: Webservices.xml:233
-#, no-c-format
-msgid ""
-"The full base path to your resources is now <literal>/seam/resource/restv1/"
-"{resource}</literal> - note that your <literal>@Path</literal> definitions "
-"and mappings do NOT change. This is an application-wide switch usually used "
-"for versioning of the HTTP API."
-msgstr ""
-
-#. Tag: para
#: Webservices.xml:239
#, no-c-format
msgid ""
-"You can disable stripping of the base path if you'd like to map the full "
-"path in your resources:"
+"The full base path to your resources is now <literal>/myapp/seam/resource/"
+"restv1/{resource}</literal> - note that your <literal>@Path</literal> "
+"definitions and mappings do NOT change. This is an application-wide switch "
+"usually used for versioning of the HTTP interface."
msgstr ""
-#. Tag: programlisting
-#: Webservices.xml:243
-#, no-c-format
-msgid "<![CDATA[<resteasy:application strip-seam-resource-path=\"false\"/>]]>"
-msgstr ""
-
#. Tag: para
#: Webservices.xml:245
#, no-c-format
msgid ""
-"The path of a resource is now mapped with e.g. <literal>@Path(\"/seam/"
-"resource/rest/customer\")</literal>. We do not recommend disabling this "
-"feature, as your resource class mappings are then bound to a particular "
-"deployment scenario."
-msgstr ""
-
-#. Tag: para
-#: Webservices.xml:251
-#, no-c-format
-msgid ""
"Seam will scan your classpath for any deployed <literal>@javax.ws.rs.Path</"
"literal> resources and any <literal>@javax.ws.rs.ext.Provider</literal> "
"classes. You can disable scanning and configure these classes manually:"
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:257
+#: Webservices.xml:251
#, no-c-format
msgid ""
"<![CDATA[<resteasy:application\n"
@@ -554,7 +538,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:259
+#: Webservices.xml:253
#, no-c-format
msgid ""
"The <literal>use-built-in-providers</literal> switch enables (default) or "
@@ -564,7 +548,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:265
+#: Webservices.xml:259
#, no-c-format
msgid ""
"RESTEasy supports plain EJBs (EJBs that are not Seam components) as "
@@ -576,20 +560,21 @@
"<literal>@Path</literal>, <literal>@GET</literal>, and so on - not the bean "
"implementation class. This allows you to keep your application deployment-"
"portable with the global Seam <literal>jndi-pattern</literal> switch on "
-"<literal><core:init/></literal>. Note that EJB resources will not be "
-"found even if scanning of resources is enabled, you always have to list them "
-"manually. Again, this is only relevant for EJB resources that are not also "
-"Seam components and that do not have a <literal>@Name</literal> annotation."
+"<literal><core:init/></literal>. Note that plain (non-Seam component) "
+"EJB resources will not be found even if scanning of resources is enabled, "
+"you always have to list them manually. Again, this whole paragraph is only "
+"relevant for EJB resources that are not also Seam components and that do not "
+"have an <literal>@Name</literal> annotation."
msgstr ""
#. Tag: para
-#: Webservices.xml:277
+#: Webservices.xml:272
#, no-c-format
msgid "Finally, you can configure media type and language URI extensions:"
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:281
+#: Webservices.xml:276
#, no-c-format
msgid ""
"<![CDATA[<resteasy:application>\n"
@@ -606,7 +591,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:283
+#: Webservices.xml:278
#, no-c-format
msgid ""
"This definition would map the URI suffix of <literal>.txt.deutsch</literal> "
@@ -616,13 +601,13 @@
msgstr ""
#. Tag: title
-#: Webservices.xml:292
+#: Webservices.xml:287
#, no-c-format
msgid "Resources and providers as Seam components"
msgstr ""
#. Tag: para
-#: Webservices.xml:294
+#: Webservices.xml:289
#, no-c-format
msgid ""
"Any resource and provider instances are managed by RESTEasy by default. That "
@@ -633,7 +618,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:301
+#: Webservices.xml:296
#, no-c-format
msgid ""
"You can write resources and providers as Seam components and benefit from "
@@ -642,7 +627,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:307
+#: Webservices.xml:302
#, no-c-format
msgid ""
"<![CDATA[@Name(\"customerResource\")\n"
@@ -663,7 +648,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:309
+#: Webservices.xml:304
#, no-c-format
msgid ""
"An instance of <literal>customerResource</literal> is now handled by Seam "
@@ -677,7 +662,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:318
+#: Webservices.xml:313
#, no-c-format
msgid ""
"You can annotate an interface and keep the implementation free from JAX-RS "
@@ -685,7 +670,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:322
+#: Webservices.xml:317
#, no-c-format
msgid ""
"<![CDATA[@Path(\"/customer\")\n"
@@ -700,7 +685,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:324
+#: Webservices.xml:319
#, no-c-format
msgid ""
"<![CDATA[@Name(\"customerResource\")\n"
@@ -718,7 +703,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:326
+#: Webservices.xml:321
#, no-c-format
msgid ""
"You can use <literal>SESSION</literal>-scoped Seam components. By default, "
@@ -733,7 +718,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:335
+#: Webservices.xml:330
#, no-c-format
msgid ""
"Assuming that your Seam application only uses event, application, or "
@@ -745,7 +730,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:342
+#: Webservices.xml:337
#, no-c-format
msgid ""
"If your RESTful Seam application has to preserve session state across REST "
@@ -753,14 +738,14 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:347
+#: Webservices.xml:342
#, no-c-format
msgid ""
"<![CDATA[<resteasy:application destroy-session-after-request=\"false\"/>]]>"
msgstr ""
#. Tag: para
-#: Webservices.xml:349
+#: Webservices.xml:344
#, no-c-format
msgid ""
"Every REST HTTP request will now create a new session that will only be "
@@ -771,7 +756,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:356
+#: Webservices.xml:351
#, no-c-format
msgid ""
"<literal>CONVERSATION</literal>-scoped resource components and mapping of "
@@ -780,7 +765,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:361
+#: Webservices.xml:356
#, no-c-format
msgid ""
"EJB Seam components are supported. Always annotate the local business "
@@ -789,7 +774,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:366
+#: Webservices.xml:361
#, no-c-format
msgid ""
"Provider classes can also be Seam components, only <literal>APPLICATION</"
@@ -799,13 +784,13 @@
msgstr ""
#. Tag: title
-#: Webservices.xml:375
+#: Webservices.xml:370
#, no-c-format
msgid "Securing resources"
msgstr ""
#. Tag: para
-#: Webservices.xml:377
+#: Webservices.xml:372
#, no-c-format
msgid ""
"You can enable the Seam authentication filter for HTTP Basic and Digest "
@@ -813,7 +798,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:382
+#: Webservices.xml:377
#, no-c-format
msgid ""
"<![CDATA[<web:authentication-filter url-pattern=\"/seam/resource/rest/*\" "
@@ -821,14 +806,14 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:384
+#: Webservices.xml:379
#, no-c-format
msgid ""
"See the Seam security chapter on how to write an authentication routine."
msgstr ""
#. Tag: para
-#: Webservices.xml:388
+#: Webservices.xml:383
#, no-c-format
msgid ""
"After successful authentication, authorization rules with the common "
@@ -839,13 +824,13 @@
msgstr ""
#. Tag: title
-#: Webservices.xml:398
+#: Webservices.xml:393
#, no-c-format
msgid "Mapping exceptions to HTTP responses"
msgstr ""
#. Tag: para
-#: Webservices.xml:400
+#: Webservices.xml:395
#, no-c-format
msgid ""
"Section 3.3.4 of the JAX-RS specification defines how checked or unchecked "
@@ -858,7 +843,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:408
+#: Webservices.xml:403
#, no-c-format
msgid ""
"Exception handling within Seam requires that the Seam filter is executed for "
@@ -870,7 +855,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:415
+#: Webservices.xml:410
#, no-c-format
msgid ""
"<![CDATA[<filter>\n"
@@ -885,7 +870,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:417
+#: Webservices.xml:412
#, no-c-format
msgid ""
"To convert the unchecked <literal>UnsupportedOperationException</literal> "
@@ -895,7 +880,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:423
+#: Webservices.xml:418
#, no-c-format
msgid ""
"<![CDATA[<exception class=\"java.lang.UnsupportedOperationException\">\n"
@@ -906,13 +891,13 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:425
+#: Webservices.xml:420
#, no-c-format
msgid "Custom or checked exceptions are handled the same:"
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:429
+#: Webservices.xml:424
#, no-c-format
msgid ""
"<![CDATA[<exception class=\"my.CustomException\" log=\"false\">\n"
@@ -924,7 +909,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:431
+#: Webservices.xml:426
#, no-c-format
msgid ""
"You do not have to send an HTTP error to the client if an exception occurs. "
@@ -935,7 +920,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:438
+#: Webservices.xml:433
#, no-c-format
msgid ""
"Note that the HTTP response still passes through the servlet container, so "
@@ -946,13 +931,13 @@
msgstr ""
#. Tag: title
-#: Webservices.xml:447
+#: Webservices.xml:442
#, no-c-format
msgid "Testing resources and providers"
msgstr ""
#. Tag: para
-#: Webservices.xml:449
+#: Webservices.xml:444
#, no-c-format
msgid ""
"Seam includes a unit testing utility class that helps you create unit tests "
@@ -962,7 +947,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:455
+#: Webservices.xml:450
#, no-c-format
msgid ""
"<![CDATA[import org.jboss.seam.mock.ResourceRequestEnvironment;\n"
@@ -1019,7 +1004,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:457
+#: Webservices.xml:452
#, no-c-format
msgid ""
"This test only executes local calls, it does not communicate with the "
@@ -1032,7 +1017,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:465
+#: Webservices.xml:460
#, no-c-format
msgid ""
"Note that a <literal>ResourceRequest</literal> has to be executed in a "
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/kn-IN/Websphere.po
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/kn-IN/Websphere.po 2009-08-26 19:14:02 UTC (rev 11432)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/kn-IN/Websphere.po 2009-08-26 19:19:33 UTC (rev 11433)
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-08-22 13:17+0000\n"
+"POT-Creation-Date: 2009-08-26 18:48+0000\n"
"PO-Revision-Date: 2008-04-04 01:24+0000\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
@@ -76,25 +76,27 @@
#, no-c-format
msgid ""
"The following sections in this chapter assume that WebSphere is correctly "
-"installed and is functional, and a profile has been successfully created."
+"installed and is functional, and a WebSphere \"profile\" has been "
+"successfully created."
msgstr ""
#. Tag: para
#: Websphere.xml:40
#, no-c-format
msgid ""
-"This chapter explain how to compile, deploy and run some sample applications "
-"in WebSphere. These sample applications require a database. WebSphere comes "
-"by default with a set of sample applications called \"Default Application\". "
-"This set of sample applications use a Derby database running on the Derby "
-"instance installed with WebSphere. In order to keep this simple we'll use "
-"this Derby database created for the \"Default Applications\". However, to "
-"run the sample application with the Derby database \"as-is\", a patched "
-"Hibernate dialect must be used (The patch changes the default \"auto\" key "
-"generation strategy) as explained in <xref linkend=\"glassfish\"/>. If you "
-"want to use another database, it's just a matter of creating a connection "
-"pool in WebSphere pointing to this database, declare the correct Hibernate "
-"dialect and set the correct JNDI name in <literal>persistence.xml</literal>."
+"This chapter explains how to compile, deploy and run some sample "
+"applications in WebSphere. These sample applications require a database. "
+"WebSphere comes by default with a set of sample applications called "
+"\"Default Application\". This set of sample applications use a Derby "
+"database running on the Derby instance installed within WebSphere. In order "
+"to keep this simple we'll use this Derby database created for the \"Default "
+"Applications\". However, to run the sample application with the Derby "
+"database \"as-is\", a patched Hibernate dialect must be used (The patch "
+"changes the default \"auto\" key generation strategy) as explained in <xref "
+"linkend=\"glassfish\"/>. If you want to use another database, it's just a "
+"matter of creating a connection pool in WebSphere pointing to this database, "
+"declare the correct Hibernate dialect and set the correct JNDI name in "
+"<literal>persistence.xml</literal>."
msgstr ""
#. Tag: title
@@ -144,14 +146,14 @@
#, no-c-format
msgid ""
"On the right navigation menu, select <literal>Web Container Settings/Web "
-"container</literal>)"
+"container</literal>"
msgstr ""
#. Tag: listitem
#: Websphere.xml:73
#, no-c-format
msgid ""
-"On the right navigation menu, select <literal>custom properties</literal>) "
+"On the right navigation menu, select <literal>custom properties</literal> "
"and add the following properties:"
msgstr ""
@@ -170,7 +172,7 @@
#. Tag: listitem
#: Websphere.xml:84
#, no-c-format
-msgid "Save and restart the server"
+msgid "Save the configuration and restart the server"
msgstr ""
#. Tag: title
@@ -189,38 +191,38 @@
msgstr ""
#. Tag: listitem
-#: Websphere.xml:97
+#: Websphere.xml:96
#, no-c-format
msgid ""
"The global <literal>jndi-pattern</literal> switch on the <literal><core:"
-"init></literal>. in <literal>components.xml</literal>. The switch can use "
-"a special placeholder \"<literal>#{ejbName}</literal>\" that resolves to the "
-"unqualified name of the EJB"
+"init></literal>tag in <literal>components.xml</literal>. The switch can "
+"use a special placeholder \"<literal>#{ejbName}</literal>\" that resolves to "
+"the unqualified name of the EJB"
msgstr ""
#. Tag: para
-#: Websphere.xml:102
+#: Websphere.xml:100
#, no-c-format
msgid "The <literal>@JndiName</literal> annotation"
msgstr ""
#. Tag: para
-#: Websphere.xml:108
+#: Websphere.xml:106
#, no-c-format
msgid "gives detailed explanations on how those mechanisms work."
msgstr ""
#. Tag: para
-#: Websphere.xml:112
+#: Websphere.xml:110
#, no-c-format
msgid ""
-"By default, WebSphere will bind the session bean in its local JNDI name "
-"space under a \"short\" binding name that adheres to the following pattern "
+"By default, WebSphere will bind session beans in its local JNDI name space "
+"under a \"short\" binding name that adheres to the following pattern "
"<literal>ejblocal:<package.qualified.local.interface.name></literal>."
msgstr ""
#. Tag: para
-#: Websphere.xml:117
+#: Websphere.xml:115
#, no-c-format
msgid ""
"For a detailed description on how WebSphere v7 organizes and binds EJBs in "
@@ -228,7 +230,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:120
+#: Websphere.xml:118
#, no-c-format
msgid ""
"As explained before, Seam needs to lookup for session bean as they appear in "
@@ -236,35 +238,35 @@
msgstr ""
#. Tag: listitem
-#: Websphere.xml:124
+#: Websphere.xml:121
#, no-c-format
msgid ""
"Specify which JNDI name Seam must use for each session bean using the "
-"<literal>@JndiName</literal> annotation in the java source file"
+"<literal>@JndiName</literal> annotation in the java source file,"
msgstr ""
#. Tag: listitem
-#: Websphere.xml:127
+#: Websphere.xml:123
#, no-c-format
msgid ""
"Override the default session bean names generated by WebSphere to conform to "
-"the <literal>jndi-pattern</literal> attribute"
+"the <literal>jndi-pattern</literal> attribute,"
msgstr ""
#. Tag: listitem
-#: Websphere.xml:130
+#: Websphere.xml:126
#, no-c-format
-msgid "Use EJB references"
+msgid "Use EJB references."
msgstr ""
#. Tag: title
-#: Websphere.xml:137
+#: Websphere.xml:133
#, no-c-format
msgid "Strategy 1: Specify which JNDI name Seam must use for each Session Bean"
msgstr ""
#. Tag: para
-#: Websphere.xml:138
+#: Websphere.xml:134
#, no-c-format
msgid ""
"This strategy is the simplest and fastest one regarding development. It uses "
@@ -272,7 +274,7 @@
msgstr ""
#. Tag: listitem
-#: Websphere.xml:141
+#: Websphere.xml:137
#, no-c-format
msgid ""
"Add a <literal>@JndiName(\"ejblocal:<package.qualified.local.interface."
@@ -280,20 +282,20 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:145 Websphere.xml:188
+#: Websphere.xml:141 Websphere.xml:184
#, no-c-format
msgid ""
"<para>In <literal>components.xml</literal>, add the following line:</para>"
msgstr ""
#. Tag: programlisting
-#: Websphere.xml:147 Websphere.xml:220
+#: Websphere.xml:143 Websphere.xml:216
#, no-c-format
msgid "<![CDATA[<core:init jndi-name=\"java:comp/env/#{ejbName}\" />]]>"
msgstr ""
#. Tag: para
-#: Websphere.xml:151
+#: Websphere.xml:147
#, no-c-format
msgid ""
"Add a file named <literal>WEB-INF/classes/seam-jndi.properties</literal> in "
@@ -301,7 +303,7 @@
msgstr ""
#. Tag: programlisting
-#: Websphere.xml:153
+#: Websphere.xml:149
#, no-c-format
msgid ""
"com.ibm.websphere.naming.hostname.normalizer=com.ibm.ws.naming.util."
@@ -323,13 +325,13 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:157
+#: Websphere.xml:153
#, no-c-format
msgid "At the end of <literal>web.xml</literal>, add the following lines:"
msgstr ""
#. Tag: programlisting
-#: Websphere.xml:159
+#: Websphere.xml:155
#, no-c-format
msgid ""
"<![CDATA[<ejb-local-ref>\n"
@@ -341,7 +343,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:164
+#: Websphere.xml:160
#, no-c-format
msgid ""
"That's all folks! No need to update any file during the development, nor to "
@@ -349,23 +351,23 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:167
+#: Websphere.xml:163
#, no-c-format
msgid ""
-"Compared to the other strategies, this strategy has the advantage not to "
-"have to manage any EJBs reference and also not to have to maintain extra "
+"Compared to the other strategies, this strategy has the advantage to not "
+"have to manage any EJBs reference and also to not have to maintain extra "
"files. The only drawback is one extra line in the java source code with the "
"<literal>@JndiName</literal> annotation"
msgstr ""
#. Tag: title
-#: Websphere.xml:174
+#: Websphere.xml:170
#, no-c-format
msgid "Strategy 2: Override the default names generated by WebSphere"
msgstr ""
#. Tag: section
-#: Websphere.xml:174
+#: Websphere.xml:170
#, no-c-format
msgid ""
"There is no simple way to globally override the default naming strategy for "
@@ -374,13 +376,13 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:177
+#: Websphere.xml:173
#, no-c-format
msgid "To use this strategy:"
msgstr ""
#. Tag: para
-#: Websphere.xml:181
+#: Websphere.xml:177
#, no-c-format
msgid ""
"Add a file named <literal>META-INF/ibm-ejb-jar-ext.xml</literal> in the EJB "
@@ -405,13 +407,13 @@
msgstr ""
#. Tag: programlisting
-#: Websphere.xml:190
+#: Websphere.xml:186
#, no-c-format
msgid "<![CDATA[<core:init jndi-name=\"ejblocal:#{ejbName}\" />]]>"
msgstr ""
#. Tag: para
-#: Websphere.xml:194
+#: Websphere.xml:190
#, no-c-format
msgid ""
"Add a file named <literal>WEB-INF/classes/seam-jndi.properties</literal> as "
@@ -419,7 +421,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:199
+#: Websphere.xml:195
#, no-c-format
msgid ""
"In <literal>web.xml</literal>, add the following lines (Note the different "
@@ -427,7 +429,7 @@
msgstr ""
#. Tag: programlisting
-#: Websphere.xml:201
+#: Websphere.xml:197
#, no-c-format
msgid ""
"<![CDATA[<ejb-local-ref>\n"
@@ -439,7 +441,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:206
+#: Websphere.xml:202
#, no-c-format
msgid ""
"Compared to the first strategy, this strategy requires to maintain an extra "
@@ -449,13 +451,13 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:215
+#: Websphere.xml:211
#, no-c-format
msgid "Strategy 3: Use EJB references"
msgstr ""
#. Tag: section
-#: Websphere.xml:215
+#: Websphere.xml:211
#, no-c-format
msgid ""
"This strategy is based on the usage of EJB references, from EJB to EJB and "
@@ -463,7 +465,7 @@
msgstr ""
#. Tag: listitem
-#: Websphere.xml:218
+#: Websphere.xml:214
#, no-c-format
msgid ""
"<listitem>In <literal>components.xml</literal>, add the following line:</"
@@ -471,7 +473,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:223
+#: Websphere.xml:219
#, no-c-format
msgid ""
"Follow the instructions in <xref linkend=\"config.integration.ejb.container"
@@ -479,7 +481,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:228
+#: Websphere.xml:224
#, no-c-format
msgid ""
"This is the most tedious strategy as each session bean referenced by another "
@@ -489,27 +491,27 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:239
+#: Websphere.xml:235
#, no-c-format
msgid "Configuring timeouts for Stateful Session Beans"
msgstr ""
#. Tag: para
-#: Websphere.xml:240
+#: Websphere.xml:236
#, no-c-format
msgid ""
"A timeout value has to be set for each stateful session bean used in the "
"application because stateful bean must not expire in WebSphere while Seam "
-"might still need thenm. At the time of writing this document, WebSphere does "
+"might still need them. At the time of writing this document, WebSphere does "
"not provide a way to configure a global timeout at neither the cluster, "
"server, application nor ejb-jar level. It has to be done for each stateful "
-"bean individually. This is done by adding a file named <literal>META-INF/ibm-"
-"ejb-jar-ext.xml</literal> in the EJB module, and declare the timeout value "
-"for each bean:"
+"bean individually. By default, the default timeout is 10 minutes. This is "
+"done by adding a file named <literal>META-INF/ibm-ejb-jar-ext.xml</literal> "
+"in the EJB module, and declare the timeout value for each bean:"
msgstr ""
#. Tag: programlisting
-#: Websphere.xml:246
+#: Websphere.xml:242
#, no-c-format
msgid ""
"<![CDATA[<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
@@ -529,24 +531,24 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:248
+#: Websphere.xml:244
#, no-c-format
msgid ""
"The <literal>time-out</literal> is expressed in seconds and must be higher "
"than the Seam conversation expiration timeout and a few minutes higher than "
"the user's HTTP session timeout (The session expiration timeout can trigger "
-"a few minutes after the number of minutes declared to expire s for the HTTP "
-"session expiration)."
+"a few minutes after the number of minutes declared to expire the HTTP "
+"session)."
msgstr ""
#. Tag: title
-#: Websphere.xml:257
+#: Websphere.xml:253
#, no-c-format
msgid "The <literal>jee5/booking</literal> example"
msgstr ""
#. Tag: para
-#: Websphere.xml:259
+#: Websphere.xml:255
#, no-c-format
msgid ""
"The<literal>jee5/booking</literal>example is based on the Hotel Booking "
@@ -557,23 +559,32 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:265
+#: Websphere.xml:261
#, no-c-format
msgid ""
-"For running this example, we'll use the second JNDI mapping strategy "
-"(\"Override the default names generated by WebSphere\") as we don't want to "
-"change the java code to add the <literal>@JndiName</literal> annotation as "
-"in the first strategy."
+"The example already has a breakout of configurations and build scripts for "
+"WebSphere. First thing, we are going to do is build and deploy this example. "
+"Then we'll go over some key changes that we needed."
msgstr ""
+#. Tag: para
+#: Websphere.xml:266
+#, no-c-format
+msgid ""
+"The tailored configuration files for WebSphere use the second JNDI mapping "
+"strategy (\"Override the default names generated by WebSphere\") as the goal "
+"was to not change any java code to add the <literal>@JndiName</literal> "
+"annotation as in the first strategy."
+msgstr ""
+
#. Tag: title
-#: Websphere.xml:271
+#: Websphere.xml:272
#, no-c-format
msgid "Building the <literal>jee5/booking</literal> example"
msgstr ""
#. Tag: para
-#: Websphere.xml:273
+#: Websphere.xml:274
#, no-c-format
msgid ""
"Building it only requires running the correct ant command: "
@@ -583,21 +594,21 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:280
+#: Websphere.xml:281
#, no-c-format
msgid "Deploying the <literal>jee5/booking</literal> example"
msgstr ""
#. Tag: para
-#: Websphere.xml:281
+#: Websphere.xml:282
#, no-c-format
msgid ""
-"The steps below are for the WAS version stated above.The ports are default "
-"values, if you changed them, you must substitute the values."
+"The steps below are for the WAS version stated above.The ports are the "
+"default values, if you changed them, you must substitute the values."
msgstr ""
#. Tag: listitem
-#: Websphere.xml:284
+#: Websphere.xml:285
#, no-c-format
msgid ""
"Log in to the administration console <programlisting><![CDATA[http://"
@@ -606,7 +617,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:291
+#: Websphere.xml:292
#, no-c-format
msgid ""
"Go to the <literal>WebSphere enterprise applications</literal> menu option "
@@ -615,7 +626,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:298
+#: Websphere.xml:299
#, no-c-format
msgid ""
"At the top of the <literal>Enterprise Applications</literal> table select "
@@ -624,13 +635,13 @@
msgstr ""
#. Tag: literal
-#: Websphere.xml:304
+#: Websphere.xml:305
#, no-c-format
msgid "Preparing for the application installation"
msgstr ""
#. Tag: para
-#: Websphere.xml:307
+#: Websphere.xml:308
#, no-c-format
msgid ""
"Browse to the <literal>examples/jee5/booking/dist-websphere7/jboss-seam-jee5."
@@ -638,25 +649,25 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:313 Websphere.xml:323 Websphere.xml:341
+#: Websphere.xml:314 Websphere.xml:324 Websphere.xml:342
#, no-c-format
msgid "Select the <literal>Next</literal> button."
msgstr ""
#. Tag: para
-#: Websphere.xml:318
+#: Websphere.xml:319
#, no-c-format
msgid "Select the <literal>Fast Path</literal> button."
msgstr ""
#. Tag: literal
-#: Websphere.xml:332
+#: Websphere.xml:333
#, no-c-format
msgid "Select installation options"
msgstr ""
#. Tag: para
-#: Websphere.xml:335
+#: Websphere.xml:336
#, no-c-format
msgid ""
"Select the <literal>Deploy enterprise beans and Allow EJB reference targets "
@@ -665,13 +676,13 @@
msgstr ""
#. Tag: literal
-#: Websphere.xml:350
+#: Websphere.xml:351
#, no-c-format
msgid "Map modules to servers"
msgstr ""
#. Tag: para
-#: Websphere.xml:353
+#: Websphere.xml:354
#, no-c-format
msgid ""
"No changes needed here as we only have one server. Select the <literal>Next</"
@@ -679,13 +690,13 @@
msgstr ""
#. Tag: literal
-#: Websphere.xml:362
+#: Websphere.xml:363
#, no-c-format
msgid "Map virtual hosts for Web modules"
msgstr ""
#. Tag: para
-#: Websphere.xml:365
+#: Websphere.xml:366
#, no-c-format
msgid ""
"No changes needed here as we only have one virtual host. Select the "
@@ -693,31 +704,31 @@
msgstr ""
#. Tag: literal
-#: Websphere.xml:374
+#: Websphere.xml:375
#, no-c-format
msgid "Summary"
msgstr ""
#. Tag: para
-#: Websphere.xml:377
+#: Websphere.xml:378
#, no-c-format
msgid "No changes needed here. Select the <literal>Finish</literal> button."
msgstr ""
#. Tag: literal
-#: Websphere.xml:384
+#: Websphere.xml:385
#, no-c-format
msgid "Installation"
msgstr ""
#. Tag: para
-#: Websphere.xml:387
+#: Websphere.xml:388
#, no-c-format
msgid "Now you will see WebSphere installing and deploying your application."
msgstr ""
#. Tag: para
-#: Websphere.xml:390
+#: Websphere.xml:391
#, no-c-format
msgid ""
"When done, select the <literal>Save</literal> link and you will be returned "
@@ -725,15 +736,15 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:399
+#: Websphere.xml:400
#, no-c-format
msgid ""
-"To start the application select our application in the list, then click on "
+"To start the application, select the application in the list, then click on "
"the <literal>Start</literal> button at the top of the table."
msgstr ""
#. Tag: para
-#: Websphere.xml:409
+#: Websphere.xml:410
#, no-c-format
msgid ""
"You can now access the application at <literal>http://localhost:9080/seam-"
@@ -741,13 +752,13 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:418
+#: Websphere.xml:419
#, no-c-format
msgid "Deviation from the original base files"
msgstr ""
#. Tag: section
-#: Websphere.xml:418
+#: Websphere.xml:419
#, no-c-format
msgid ""
"Below are the differences between the base configuration files and the "
@@ -756,7 +767,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:422
+#: Websphere.xml:423
#, no-c-format
msgid ""
"<literal>META-INF/ejb-jar.xml</literal> — Removed all the EJB "
@@ -764,37 +775,37 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:428
+#: Websphere.xml:429
#, no-c-format
msgid ""
"<literal>META-INF/ibm-ejb-jar-bnd.xml</literal> — This WebSphere "
"specific file has been added as we use the second JNDI mapping strategy. It "
-"defines, for each session bean, the name WebSphere will use to bind it its "
-"JNDI name space"
+"defines, for each session bean, the name WebSphere will use to bind it in "
+"its JNDI name space"
msgstr ""
#. Tag: para
-#: Websphere.xml:435
+#: Websphere.xml:436
#, no-c-format
msgid ""
"<literal>META-INF/ibm-ejb-jar-ext.xml</literal> — This WebSphere "
-"specific file defines to WebSphere, the timeout value for each stateful bean"
+"specific file defines the timeout value for each stateful bean"
msgstr ""
#. Tag: para
-#: Websphere.xml:441
+#: Websphere.xml:442
#, no-c-format
msgid ""
"<literal>META-INF/persistence.xml</literal> — The main changes here "
"are for the datasource JNDI path, switching to the WebSphere transaction "
"manager lookup class, turning off the <literal>hibernate.transaction."
"flush_before_completion</literal> toggle, and forcing the Hibernate dialect "
-"to be <literal>GlassfishDerbyDialect</literal> how as using the integrated "
-"Derby database"
+"to be <literal>GlassfishDerbyDialect</literal> as we are using the "
+"integrated Derby database"
msgstr ""
#. Tag: para
-#: Websphere.xml:451
+#: Websphere.xml:452
#, no-c-format
msgid ""
"<literal>WEB-INF/components.xml</literal> — the change here is "
@@ -803,7 +814,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:459
+#: Websphere.xml:460
#, no-c-format
msgid ""
"<literal>WEB-INF/web.xml</literal> — Remove all the <literal>ejb-local "
@@ -813,7 +824,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:467 Websphere.xml:549
+#: Websphere.xml:468
#, no-c-format
msgid ""
"<literal>import.sql</literal> — due to the cutomized hibernate Derby "
@@ -822,7 +833,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:474
+#: Websphere.xml:475
#, no-c-format
msgid ""
"Also the build procedure has been changed to include the <literal>log4j.jar</"
@@ -831,13 +842,13 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:486
+#: Websphere.xml:487
#, no-c-format
msgid "The <literal>jpa</literal> booking example"
msgstr ""
#. Tag: para
-#: Websphere.xml:488
+#: Websphere.xml:489
#, no-c-format
msgid ""
"This is the Hotel Booking example implemented in Seam POJOs and using "
@@ -845,7 +856,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:493
+#: Websphere.xml:494
#, no-c-format
msgid ""
"The example already has a breakout of configurations and build scripts for "
@@ -853,7 +864,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:498
+#: Websphere.xml:499
#, no-c-format
msgid ""
"First thing, we are going to do is build and deploy that example. Then we'll "
@@ -861,13 +872,13 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:504
+#: Websphere.xml:505
#, no-c-format
msgid "Building the <literal>jpa</literal> example"
msgstr ""
#. Tag: para
-#: Websphere.xml:505
+#: Websphere.xml:506
#, no-c-format
msgid ""
"Building it only requires running the correct ant command: "
@@ -877,13 +888,13 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:514
+#: Websphere.xml:515
#, no-c-format
msgid "Deploying the <literal>jpa</literal> example"
msgstr ""
#. Tag: para
-#: Websphere.xml:515
+#: Websphere.xml:516
#, no-c-format
msgid ""
"Deploying <literal>jpa</literal> application is very similar to the "
@@ -894,7 +905,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:521
+#: Websphere.xml:522
#, no-c-format
msgid ""
"Follow the same instructions as for the <literal>jee5/booking</literal> "
@@ -902,11 +913,11 @@
"literal> file on the first page and on the <literal>Map context roots for "
"Web modules</literal> page (after the <literal>Map virtual host for Web "
"module</literal>), enter the context root you want to use for your "
-"application in the <literal>Contect Root</literal> input field."
+"application in the <literal>Context Root</literal> input field."
msgstr ""
#. Tag: para
-#: Websphere.xml:528
+#: Websphere.xml:529
#, no-c-format
msgid ""
"When started, you can now access the application at the <literal>http://"
@@ -914,13 +925,13 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:534
+#: Websphere.xml:535
#, no-c-format
msgid "Deviation from the generic base files"
msgstr ""
#. Tag: section
-#: Websphere.xml:534
+#: Websphere.xml:535
#, no-c-format
msgid ""
"Below are the configuration file differences between the base configuration "
@@ -929,7 +940,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:539
+#: Websphere.xml:540
#, no-c-format
msgid ""
"<literal>META-INF/persistence.xml</literal> — The main changes here "
@@ -941,9 +952,18 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:556
+#: Websphere.xml:550
#, no-c-format
msgid ""
+"<literal>import.sql</literal> — due to the customized hibernate Derby "
+"dialect, the <literal>ID</literal> column can not be populated by this file "
+"and was removed."
+msgstr ""
+
+#. Tag: para
+#: Websphere.xml:557
+#, no-c-format
+msgid ""
"Also the build procedure have been changed to include the <literal>log4j."
"jar</literal> file and exclude the <literal>concurrent.jar</literal> and "
"<literal>jboss-common-core.jar</literal> files."
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/ko-KR/Configuration.po
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/ko-KR/Configuration.po 2009-08-26 19:14:02 UTC (rev 11432)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/ko-KR/Configuration.po 2009-08-26 19:19:33 UTC (rev 11433)
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-05-05 12:31+0000\n"
+"POT-Creation-Date: 2009-08-26 18:47+0000\n"
"PO-Revision-Date: 2008-04-04 01:24+0000\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
@@ -677,13 +677,63 @@
msgstr ""
#. Tag: title
+#: Configuration.xml:325
+#, no-c-format
+msgid "Enabling HTTP cache-control headers"
+msgstr ""
+
+#. Tag: para
#: Configuration.xml:326
#, no-c-format
+msgid ""
+"Seam does <emphasis>not</emphasis> automatically add <literal>cache-control</"
+"literal> HTTP headers to any resources served by the Seam resource servlet, "
+"or directly from your view directory by the servlet container. This means "
+"that your images, Javascript and CSS files, and resource representations "
+"from Seam resource servlet such as Seam Remoting Javascript interfaces are "
+"usually not cached by the browser. This is convenient in development but "
+"should be changed in production when optimizing the application."
+msgstr ""
+
+#. Tag: para
+#: Configuration.xml:334
+#, no-c-format
+msgid ""
+"You can configure a Seam filter to enable automatic addition of "
+"<literal>cache-control</literal> headers depending on the requested URI in "
+"<literal>components.xml</literal>:"
+msgstr ""
+
+#. Tag: programlisting
+#: Configuration.xml:339
+#, no-c-format
+msgid ""
+"<![CDATA[<web:cache-control-filter name=\"commonTypesCacheControlFilter\"\n"
+" regex-url-pattern=\".*(\\.gif|\\.png|\\.jpg|\\."
+"jpeg|\\.css|\\.js)\"\n"
+" value=\"max-age=86400\"/> <!-- 1 day -->\n"
+"\n"
+"<web:cache-control-filter name=\"anotherCacheControlFilter\"\n"
+" url-pattern=\"/my/cachable/resources/*\"\n"
+" value=\"max-age=432000\"/> <!-- 5 days -->]]>"
+msgstr ""
+
+#. Tag: para
+#: Configuration.xml:341
+#, no-c-format
+msgid ""
+"You do not have to name the filters unless you have more than one filter "
+"enabled."
+msgstr ""
+
+#. Tag: title
+#: Configuration.xml:348
+#, no-c-format
msgid "Adding custom filters"
msgstr ""
#. Tag: para
-#: Configuration.xml:327
+#: Configuration.xml:349
#, no-c-format
msgid ""
"Seam can install your filters for you, allowing you to specify "
@@ -695,7 +745,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:332
+#: Configuration.xml:354
#, no-c-format
msgid ""
"<![CDATA[@Startup\n"
@@ -707,7 +757,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:334
+#: Configuration.xml:356
#, no-c-format
msgid ""
"Adding the <literal>@Startup</literal> annotation means thar the component "
@@ -718,13 +768,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:343
+#: Configuration.xml:365
#, no-c-format
msgid "Integrating Seam with your EJB container"
msgstr ""
#. Tag: para
-#: Configuration.xml:345
+#: Configuration.xml:367
#, no-c-format
msgid ""
"In a Seam application, EJB components have a certain duality, as they are "
@@ -735,7 +785,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:350
+#: Configuration.xml:372
#, no-c-format
msgid ""
"We need to apply the <literal>SeamInterceptor</literal> to our Seam EJB "
@@ -747,7 +797,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:355
+#: Configuration.xml:377
#, no-c-format
msgid ""
"<![CDATA[<interceptors>\n"
@@ -768,7 +818,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:357
+#: Configuration.xml:379
#, no-c-format
msgid ""
"Seam needs to know where to go to find session beans in JNDI. One way to do "
@@ -782,19 +832,19 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:364
+#: Configuration.xml:386
#, no-c-format
msgid "For JBoss AS, the following pattern is correct:"
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:366
+#: Configuration.xml:388
#, no-c-format
msgid "<![CDATA[<core:init jndi-name=\"earName/#{ejbName}/local\" />]]>"
msgstr ""
#. Tag: para
-#: Configuration.xml:368
+#: Configuration.xml:390
#, no-c-format
msgid ""
"In this case, <literal>earName</literal> is the name of the EAR in which the "
@@ -804,7 +854,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:372
+#: Configuration.xml:394
#, no-c-format
msgid ""
"Outside the context of an EAR (when using the JBoss Embeddable EJB3 "
@@ -813,13 +863,13 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:375
+#: Configuration.xml:397
#, no-c-format
msgid "<![CDATA[<core:init jndi-name=\"#{ejbName}/local\" />]]>"
msgstr ""
#. Tag: para
-#: Configuration.xml:377
+#: Configuration.xml:399
#, no-c-format
msgid ""
"How these JNDI names are resolved and somehow locate an EJB component might "
@@ -828,7 +878,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:381
+#: Configuration.xml:403
#, no-c-format
msgid ""
"The folks at JBoss don't care much for XML, if you can't tell. So when they "
@@ -839,14 +889,14 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:387
+#: Configuration.xml:409
#, no-c-format
msgid ""
"The value of the <literal><ejb-name></literal> element in ejb-jar.xml"
msgstr ""
#. Tag: para
-#: Configuration.xml:390
+#: Configuration.xml:412
#, no-c-format
msgid ""
"The value of the <literal>name</literal> attribute in the @Stateless or "
@@ -854,13 +904,13 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:393
+#: Configuration.xml:415
#, no-c-format
msgid "The simple name of the bean class"
msgstr ""
#. Tag: para
-#: Configuration.xml:397
+#: Configuration.xml:419
#, no-c-format
msgid ""
"Let's look at an example. Assume that you have the following EJB bean and "
@@ -868,7 +918,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:399
+#: Configuration.xml:421
#, no-c-format
msgid ""
"<![CDATA[package com.example.myapp;\n"
@@ -895,7 +945,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:401
+#: Configuration.xml:423
#, no-c-format
msgid ""
"Assuming your EJB bean class is deployed in an EAR named myapp, the global "
@@ -907,7 +957,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:407
+#: Configuration.xml:429
#, no-c-format
msgid ""
"So what about the rest of the application servers? Well, according to the "
@@ -919,7 +969,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:413
+#: Configuration.xml:435
#, no-c-format
msgid ""
"There are two places you have to define the EJB reference when using Seam on "
@@ -930,7 +980,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:418
+#: Configuration.xml:440
#, no-c-format
msgid ""
"<![CDATA[<ejb-local-ref>\n"
@@ -942,7 +992,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:420
+#: Configuration.xml:442
#, no-c-format
msgid ""
"This reference will cover most uses of the component in a Seam application. "
@@ -953,7 +1003,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:425
+#: Configuration.xml:447
#, no-c-format
msgid ""
"Within the context of an EJB method call, you have to deal with a somewhat "
@@ -970,7 +1020,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:434
+#: Configuration.xml:456
#, no-c-format
msgid ""
"For application servers that stubbornly adhere to the EJB specification, EJB "
@@ -982,7 +1032,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:439
+#: Configuration.xml:461
#, no-c-format
msgid ""
"Let's assume that we have an EJB named RegisterAction (the name is resolved "
@@ -991,7 +1041,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:442
+#: Configuration.xml:464
#, no-c-format
msgid ""
"<![CDATA[@In(create = true)\n"
@@ -1000,7 +1050,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:444
+#: Configuration.xml:466
#, no-c-format
msgid ""
"In order for this injection to work, the link must be established in the ejb-"
@@ -1008,7 +1058,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:446
+#: Configuration.xml:468
#, no-c-format
msgid ""
"<![CDATA[<ejb-jar>\n"
@@ -1031,7 +1081,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:448
+#: Configuration.xml:470
#, no-c-format
msgid ""
"Notice that the contents of the <literal><ejb-local-ref></literal> are "
@@ -1043,7 +1093,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:454
+#: Configuration.xml:476
#, no-c-format
msgid ""
"But what about <literal>@EJB</literal>? It's true that you can inject one "
@@ -1061,7 +1111,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:464
+#: Configuration.xml:486
#, no-c-format
msgid ""
"That covers how JNDI names are defined and used. The lesson is that with "
@@ -1074,7 +1124,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:470
+#: Configuration.xml:492
#, no-c-format
msgid ""
"<![CDATA[<core:init jndi-name=\"java:comp/env/earName/#{ejbName}/local\" />]]"
@@ -1082,7 +1132,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:472
+#: Configuration.xml:494
#, no-c-format
msgid ""
"Finally, let's talk about transactions. In an EJB3 environment, we recommend "
@@ -1094,19 +1144,19 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:479
+#: Configuration.xml:501
#, no-c-format
msgid "<![CDATA[<transaction:ejb-transaction/>]]>"
msgstr ""
#. Tag: title
-#: Configuration.xml:484
+#: Configuration.xml:506
#, no-c-format
msgid "Don't forget!"
msgstr ""
#. Tag: para
-#: Configuration.xml:486
+#: Configuration.xml:508
#, no-c-format
msgid ""
"There is one final item you need to know about. You must place a "
@@ -1118,7 +1168,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:491
+#: Configuration.xml:513
#, no-c-format
msgid ""
"In a web archive (WAR) file, you must place a <literal>seam.properties</"
@@ -1127,7 +1177,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:494
+#: Configuration.xml:516
#, no-c-format
msgid ""
"That's why all the Seam examples have an empty <literal>seam.properties</"
@@ -1136,7 +1186,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:497
+#: Configuration.xml:519
#, no-c-format
msgid ""
"You might think this is silly and what kind of idiot framework designers "
@@ -1148,13 +1198,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:508
+#: Configuration.xml:530
#, no-c-format
msgid "Using Alternate JPA Providers"
msgstr ""
#. Tag: para
-#: Configuration.xml:510
+#: Configuration.xml:532
#, no-c-format
msgid ""
"Seam comes packaged and configured with Hibernate as the default JPA "
@@ -1163,13 +1213,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:516
+#: Configuration.xml:538
#, no-c-format
msgid "This is a workaround"
msgstr ""
#. Tag: para
-#: Configuration.xml:517
+#: Configuration.xml:539
#, no-c-format
msgid ""
"Configuration of the JPA provider will be easier in the future and will not "
@@ -1178,7 +1228,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:524
+#: Configuration.xml:546
#, no-c-format
msgid ""
"Telling seam about a different JPA provider can be be done in one of two "
@@ -1186,7 +1236,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:525
+#: Configuration.xml:547
#, no-c-format
msgid ""
"Update your application's <literal>components.xml</literal> so that the "
@@ -1195,7 +1245,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:530
+#: Configuration.xml:552
#, no-c-format
msgid ""
"<![CDATA[<component name=\"org.jboss.seam.persistence.persistenceProvider"
@@ -1206,7 +1256,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:531
+#: Configuration.xml:553
#, no-c-format
msgid ""
"If you want to take advantage of your JPA provider's non-standard features "
@@ -1218,7 +1268,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:538
+#: Configuration.xml:560
#, no-c-format
msgid ""
"<![CDATA[<component name=\"org.jboss.seam.persistence.persistenceProvider"
@@ -1228,7 +1278,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:539
+#: Configuration.xml:561
#, no-c-format
msgid ""
"All that is left is updating the <literal>persistence.xml</literal> file "
@@ -1238,13 +1288,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:547
+#: Configuration.xml:569
#, no-c-format
msgid "Configuring Seam in Java EE 5"
msgstr ""
#. Tag: para
-#: Configuration.xml:558
+#: Configuration.xml:580
#, no-c-format
msgid ""
"If you're running in a Java EE 5 environment, this is all the configuration "
@@ -1252,14 +1302,14 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:561 Configuration.xml:656 Configuration.xml:794
-#: Configuration.xml:827
+#: Configuration.xml:583 Configuration.xml:678 Configuration.xml:816
+#: Configuration.xml:849
#, no-c-format
msgid "Packaging"
msgstr ""
#. Tag: para
-#: Configuration.xml:563
+#: Configuration.xml:585
#, no-c-format
msgid ""
"Once you've packaged all this stuff together into an EAR, the archive "
@@ -1267,7 +1317,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:566
+#: Configuration.xml:588
#, no-c-format
msgid ""
"<![CDATA[my-application.ear/\n"
@@ -1307,7 +1357,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:568
+#: Configuration.xml:590
#, no-c-format
msgid ""
"You should declare <literal>jboss-seam.jar</literal> as an ejb module in "
@@ -1316,7 +1366,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:573
+#: Configuration.xml:595
#, no-c-format
msgid ""
"If you want to use jBPM or Drools, you must include the needed jars in the "
@@ -1324,7 +1374,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:575
+#: Configuration.xml:597
#, no-c-format
msgid ""
"If you want to use facelets (our recommendation), you must include "
@@ -1333,7 +1383,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:578
+#: Configuration.xml:600
#, no-c-format
msgid ""
"If you want to use the Seam tag library (most Seam applications do), you "
@@ -1344,7 +1394,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:583
+#: Configuration.xml:605
#, no-c-format
msgid ""
"If you want to use the Seam debug page (only works for applications using "
@@ -1353,7 +1403,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:586
+#: Configuration.xml:608
#, no-c-format
msgid ""
"Seam ships with several example applications that are deployable in any Java "
@@ -1361,7 +1411,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:589
+#: Configuration.xml:611
#, no-c-format
msgid ""
"I really wish that was all there was to say on the topic of configuration "
@@ -1371,13 +1421,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:598
+#: Configuration.xml:620
#, no-c-format
msgid "Configuring Seam in J2EE"
msgstr ""
#. Tag: para
-#: Configuration.xml:600
+#: Configuration.xml:622
#, no-c-format
msgid ""
"Seam is useful even if you're not yet ready to take the plunge into EJB 3.0. "
@@ -1389,7 +1439,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:615
+#: Configuration.xml:637
#, no-c-format
msgid ""
"Seam JavaBean components do not provide declarative transaction demarcation "
@@ -1401,7 +1451,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:621
+#: Configuration.xml:643
#, no-c-format
msgid ""
"The Seam distribution includes a version of the booking example application "
@@ -1411,13 +1461,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:626
+#: Configuration.xml:648
#, no-c-format
msgid "Boostrapping Hibernate in Seam"
msgstr ""
#. Tag: para
-#: Configuration.xml:628
+#: Configuration.xml:650
#, no-c-format
msgid ""
"Seam will bootstrap a Hibernate <literal>SessionFactory</literal> from your "
@@ -1426,7 +1476,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:631
+#: Configuration.xml:653
#, no-c-format
msgid ""
"<![CDATA[<persistence:hibernate-session-factory name="
@@ -1434,7 +1484,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:633
+#: Configuration.xml:655
#, no-c-format
msgid ""
"You will also need to configure a <emphasis>managed session</emphasis> if "
@@ -1443,7 +1493,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:636
+#: Configuration.xml:658
#, no-c-format
msgid ""
"<![CDATA[<persistence:managed-hibernate-session name=\"hibernateSession\"\n"
@@ -1452,13 +1502,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:641
+#: Configuration.xml:663
#, no-c-format
msgid "Boostrapping JPA in Seam"
msgstr ""
#. Tag: para
-#: Configuration.xml:643
+#: Configuration.xml:665
#, no-c-format
msgid ""
"Seam will bootstrap a JPA <literal>EntityManagerFactory</literal> from your "
@@ -1467,7 +1517,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:646
+#: Configuration.xml:668
#, no-c-format
msgid ""
"<![CDATA[<persistence:entity-manager-factory name=\"entityManagerFactory\"/"
@@ -1475,7 +1525,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:648
+#: Configuration.xml:670
#, no-c-format
msgid ""
"You will also need to configure a <emphasis>managed persistence context</"
@@ -1484,7 +1534,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:651
+#: Configuration.xml:673
#, no-c-format
msgid ""
"<![CDATA[<persistence:managed-persistence-context name=\"entityManager\"\n"
@@ -1493,13 +1543,13 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:658
+#: Configuration.xml:680
#, no-c-format
msgid "We can package our application as a WAR, in the following structure:"
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:660
+#: Configuration.xml:682
#, no-c-format
msgid ""
"<![CDATA[my-application.war/\n"
@@ -1536,7 +1586,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:662
+#: Configuration.xml:684
#, no-c-format
msgid ""
"If we want to deploy Hibernate in a non-EE environment like Tomcat or "
@@ -1544,13 +1594,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:669
+#: Configuration.xml:691
#, no-c-format
msgid "Configuring Seam in Java SE, without JBoss Embedded"
msgstr ""
#. Tag: para
-#: Configuration.xml:671
+#: Configuration.xml:693
#, no-c-format
msgid ""
"It is possible to use Seam completely outside of an EE environment. In this "
@@ -1560,7 +1610,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:675
+#: Configuration.xml:697
#, no-c-format
msgid ""
"<![CDATA[<transaction:entity-transaction entity-manager=\"#{entityManager}\"/"
@@ -1568,7 +1618,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:677
+#: Configuration.xml:699
#, no-c-format
msgid ""
"If you're using Hibernate, you can tell Seam to use the Hibernate "
@@ -1576,32 +1626,32 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:679
+#: Configuration.xml:701
#, no-c-format
msgid "<![CDATA[<transaction:hibernate-transaction session=\"#{session}\"/>]]>"
msgstr ""
#. Tag: para
-#: Configuration.xml:681
+#: Configuration.xml:703
#, no-c-format
msgid "Of course, you'll also need to define a datasource."
msgstr ""
#. Tag: para
-#: Configuration.xml:683
+#: Configuration.xml:705
#, no-c-format
msgid ""
"A better alternative is to use JBoss Embedded to get access to the EE APIs."
msgstr ""
#. Tag: title
-#: Configuration.xml:688
+#: Configuration.xml:710
#, no-c-format
msgid "Configuring Seam in Java SE, with JBoss Embedded"
msgstr ""
#. Tag: para
-#: Configuration.xml:690
+#: Configuration.xml:712
#, no-c-format
msgid ""
"JBoss Embedded lets you run EJB3 components outside the context of the Java "
@@ -1610,7 +1660,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:693
+#: Configuration.xml:715
#, no-c-format
msgid ""
"The Seam booking example application includes a TestNG integration test "
@@ -1618,19 +1668,19 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:705
+#: Configuration.xml:727
#, no-c-format
msgid "The booking example application may even be deployed to Tomcat."
msgstr ""
#. Tag: title
-#: Configuration.xml:717
+#: Configuration.xml:739
#, no-c-format
msgid "Installing Embedded JBoss"
msgstr ""
#. Tag: para
-#: Configuration.xml:720
+#: Configuration.xml:742
#, no-c-format
msgid ""
"Embedded JBoss must by installed into Tomcat for Seam applications to run "
@@ -1643,7 +1693,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:734
+#: Configuration.xml:756
#, no-c-format
msgid ""
"Copy all files and directories under the Embedded JBoss <literal>bootstrap</"
@@ -1653,7 +1703,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:741
+#: Configuration.xml:763
#, no-c-format
msgid ""
"Remove the <literal>annotations-api.jar</literal> file from the Tomcat "
@@ -1661,7 +1711,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:747
+#: Configuration.xml:769
#, no-c-format
msgid ""
"Next, two configuration files need to be updated to add Embedded JBoss-"
@@ -1669,7 +1719,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:753
+#: Configuration.xml:775
#, no-c-format
msgid ""
"Add the Embedded JBoss listener <literal>EmbeddedJBossBootstrapListener</"
@@ -1678,7 +1728,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:756
+#: Configuration.xml:778
#, no-c-format
msgid ""
"<![CDATA[<Server port=\"8005\" shutdown=\"SHUTDOWN\">\n"
@@ -1696,7 +1746,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:757
+#: Configuration.xml:779
#, no-c-format
msgid ""
"<![CDATA[ <!-- Add this listener -->\n"
@@ -1705,7 +1755,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:761
+#: Configuration.xml:783
#, no-c-format
msgid ""
"WAR file scanning should be enabled by adding the <literal>WebinfScanner</"
@@ -1713,7 +1763,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:764
+#: Configuration.xml:786
#, no-c-format
msgid ""
"<![CDATA[<Context>\n"
@@ -1728,7 +1778,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:765
+#: Configuration.xml:787
#, no-c-format
msgid ""
"<![CDATA[ <!-- Add this listener -->\n"
@@ -1736,13 +1786,13 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:766
+#: Configuration.xml:788
#, no-c-format
msgid "<![CDATA[</Context>]]>"
msgstr ""
#. Tag: para
-#: Configuration.xml:770
+#: Configuration.xml:792
#, no-c-format
msgid ""
"If you are using Sun JDK 6, you need to set the Java option <literal>sun."
@@ -1752,7 +1802,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:775
+#: Configuration.xml:797
#, no-c-format
msgid ""
"Open the script appropriate for your operating system in a text editor. Add "
@@ -1762,7 +1812,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:779
+#: Configuration.xml:801
#, no-c-format
msgid ""
"<![CDATA[set JAVA_OPTS=%JAVA_OPTS% -Dsun.lang.ClassLoader."
@@ -1770,13 +1820,13 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:781
+#: Configuration.xml:803
#, no-c-format
msgid "On Unix, use this syntax instead:"
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:783
+#: Configuration.xml:805
#, no-c-format
msgid ""
"<![CDATA[JAVA_OPTS=\"$JAVA_OPTS -Dsun.lang.ClassLoader.allowArraySyntax=true"
@@ -1784,7 +1834,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:788
+#: Configuration.xml:810
#, no-c-format
msgid ""
"For more configuration options, please see the Embedded JBoss Tomcat "
@@ -1793,7 +1843,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:796
+#: Configuration.xml:818
#, no-c-format
msgid ""
"The archive structure of a WAR-based deployment on an servlet engine like "
@@ -1801,7 +1851,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:799
+#: Configuration.xml:821
#, no-c-format
msgid ""
"<![CDATA[my-application.war/\n"
@@ -1839,7 +1889,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:801
+#: Configuration.xml:823
#, no-c-format
msgid ""
"Most of the Seam example applications may be deployed to Tomcat by running "
@@ -1847,13 +1897,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:809
+#: Configuration.xml:831
#, no-c-format
msgid "Configuring jBPM in Seam"
msgstr ""
#. Tag: para
-#: Configuration.xml:810
+#: Configuration.xml:832
#, no-c-format
msgid ""
"Seam's jBPM integration is not installed by default, so you'll need to "
@@ -1863,7 +1913,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:814
+#: Configuration.xml:836
#, no-c-format
msgid ""
"<![CDATA[<bpm:jbpm>\n"
@@ -1879,7 +1929,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:816
+#: Configuration.xml:838
#, no-c-format
msgid ""
"No further special configuration is needed if you only have pageflows. If "
@@ -1890,7 +1940,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:821
+#: Configuration.xml:843
#, no-c-format
msgid ""
"<![CDATA[<jbpm-configuration>\n"
@@ -1920,7 +1970,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:823
+#: Configuration.xml:845
#, no-c-format
msgid ""
"The most important thing to notice here is that jBPM transaction control is "
@@ -1928,7 +1978,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:829
+#: Configuration.xml:851
#, no-c-format
msgid ""
"There is not yet any well-defined packaging format for jBPM configuration "
@@ -1939,7 +1989,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:834
+#: Configuration.xml:856
#, no-c-format
msgid ""
"<![CDATA[my-application.ear/\n"
@@ -1986,13 +2036,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:841
+#: Configuration.xml:863
#, no-c-format
msgid "Configuring SFSB and Session Timeouts in JBoss AS"
msgstr ""
#. Tag: para
-#: Configuration.xml:843
+#: Configuration.xml:865
#, no-c-format
msgid ""
"It is very important that the timeout for Stateful Session Beans is set "
@@ -2004,7 +2054,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:849
+#: Configuration.xml:871
#, no-c-format
msgid ""
"The default SFSB timeout can be adjusted by modifying the value of "
@@ -2013,7 +2063,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:852
+#: Configuration.xml:874
#, no-c-format
msgid ""
"<![CDATA[<container-cache-conf>\n"
@@ -2038,7 +2088,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:854
+#: Configuration.xml:876
#, no-c-format
msgid ""
"The default HTTP session timeout can be modified in <literal>server/default/"
@@ -2049,7 +2099,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:859
+#: Configuration.xml:881
#, no-c-format
msgid ""
"<![CDATA[<session-config>\n"
@@ -2059,7 +2109,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:861
+#: Configuration.xml:883
#, no-c-format
msgid ""
"To override this value for your own application, simply include this entry "
@@ -2067,13 +2117,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:867
+#: Configuration.xml:889
#, no-c-format
msgid "Running Seam in a Portlet"
msgstr ""
#. Tag: para
-#: Configuration.xml:869
+#: Configuration.xml:891
#, no-c-format
msgid ""
"If you want to run your Seam application in a portlet, take a look at the "
@@ -2084,13 +2134,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:880
+#: Configuration.xml:902
#, no-c-format
msgid "Deploying custom resources"
msgstr ""
#. Tag: para
-#: Configuration.xml:882
+#: Configuration.xml:904
#, no-c-format
msgid ""
"Seam scans all jars containing <literal>/seam.properties</literal>, "
@@ -2101,7 +2151,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:889
+#: Configuration.xml:911
#, no-c-format
msgid ""
"You may also want Seam to handle custom resources. A common use case is to "
@@ -2111,7 +2161,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:896
+#: Configuration.xml:918
#, no-c-format
msgid ""
"<![CDATA[# A colon-separated list of annotation types to handle\n"
@@ -2119,7 +2169,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:898
+#: Configuration.xml:920
#, no-c-format
msgid ""
"Then, during application startup you can get hold of all classes annotated "
@@ -2127,7 +2177,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:903
+#: Configuration.xml:925
#, no-c-format
msgid ""
"<![CDATA[@Name(\"fooStartup\")\n"
@@ -2159,7 +2209,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:905
+#: Configuration.xml:927
#, no-c-format
msgid ""
"You can also handle <emphasis>any</emphasis> resource. For example, you "
@@ -2168,7 +2218,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:911
+#: Configuration.xml:933
#, no-c-format
msgid ""
"<![CDATA[public class FooDeploymentHandler implements DeploymentHandler {\n"
@@ -2192,7 +2242,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:913
+#: Configuration.xml:935
#, no-c-format
msgid ""
"Here we are just building a list of any files with the suffix <literal>.foo."
@@ -2200,7 +2250,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:918
+#: Configuration.xml:940
#, no-c-format
msgid ""
"Then, we need to register the deployment handler with Seam in <literal>/META-"
@@ -2209,7 +2259,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:925
+#: Configuration.xml:947
#, no-c-format
msgid ""
"<![CDATA[# For standard deployment\n"
@@ -2220,7 +2270,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:931
+#: Configuration.xml:953
#, no-c-format
msgid ""
"Seam uses deployment handlers internally to install components and "
@@ -2229,7 +2279,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:937
+#: Configuration.xml:959
#, no-c-format
msgid ""
"<![CDATA[@Name(\"fooStartup\")\n"
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/ko-KR/Webservices.po
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/ko-KR/Webservices.po 2009-08-26 19:14:02 UTC (rev 11432)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/ko-KR/Webservices.po 2009-08-26 19:19:33 UTC (rev 11433)
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-07-08 14:32+0000\n"
+"POT-Creation-Date: 2009-08-26 18:48+0000\n"
"PO-Revision-Date: 2008-04-04 01:24+0000\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
@@ -392,48 +392,56 @@
#: Webservices.xml:186
#, no-c-format
msgid ""
-"The URI starts with the pattern mapped in <literal>web.xml</literal> for the "
+"The URI starts with the host and context path of your application, e.g. "
+"<literal>http://your.hostname/myapp</literal>."
+msgstr ""
+
+#. Tag: para
+#: Webservices.xml:192
+#, no-c-format
+msgid ""
+"Then the pattern mapped in <literal>web.xml</literal> for the "
"<literal>SeamResourceServlet</literal>, e.g <literal>/seam/resource</"
-"literal> if you follow the common examples. Change this setting to expose "
-"your RESTful resources under a different base. Note that this is a global "
-"change and other Seam resources (e.g. <literal>s:graphicImage</literal>) are "
-"then also served under that base path."
+"literal> if you follow the common examples, is appended. Change this setting "
+"to expose your RESTful resources under a different base. Note that this is a "
+"global change and other Seam resources (e.g. <literal>s:graphicImage</"
+"literal>) are then also served under that base path."
msgstr ""
#. Tag: para
-#: Webservices.xml:195
+#: Webservices.xml:201
#, no-c-format
msgid ""
"The RESTEasy integration for Seam then appends a configurable string to the "
"base path, by default this is <literal>/rest</literal>. Hence, the full base "
-"path of your resources would e.g. be <literal>/seam/resource/rest</literal>. "
-"We recommend that you change this string in your application, you could for "
-"example add a version number to prepare for a future REST API upgrade of "
-"your services (old clients would keep the old URI base): <literal>/seam/"
-"resource/restv1</literal>."
+"path of your resources would e.g. be <literal>/myapp/seam/resource/rest</"
+"literal>. We recommend that you change this string in your application, you "
+"could for example add a version number to prepare for a future REST API "
+"upgrade of your services (old clients would keep the old URI base): "
+"<literal>/myapp/seam/resource/restv1</literal>."
msgstr ""
#. Tag: para
-#: Webservices.xml:204
+#: Webservices.xml:210
#, no-c-format
msgid ""
"Finally, the actual resource is available under the defined <literal>@Path</"
"literal>, e.g. a resource mapped with <literal>@Path(\"/customer\")</"
-"literal> would be available under <literal>/seam/resource/rest/customer</"
-"literal>."
+"literal> would be available under <literal>/myapp/seam/resource/rest/"
+"customer</literal>."
msgstr ""
#. Tag: para
-#: Webservices.xml:212
+#: Webservices.xml:218
#, no-c-format
msgid ""
"As an example, the following resource definition would return a plaintext "
"representation for any GET requests using the URI <literal>http://your."
-"hostname/seam/resource/rest/customer/123</literal>:"
+"hostname/myapp/seam/resource/rest/customer/123</literal>:"
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:217
+#: Webservices.xml:223
#, no-c-format
msgid ""
"<![CDATA[@Path(\"/customer\")\n"
@@ -450,7 +458,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:219
+#: Webservices.xml:225
#, no-c-format
msgid ""
"No additional configuration is required, you do not have to edit "
@@ -461,7 +469,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:225
+#: Webservices.xml:231
#, no-c-format
msgid ""
"<![CDATA[<components\n"
@@ -476,63 +484,39 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:227
+#: Webservices.xml:233
#, no-c-format
msgid ""
"You can then change the <literal>/rest</literal> prefix as mentioned earlier:"
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:231
+#: Webservices.xml:237
#, no-c-format
msgid "<![CDATA[<resteasy:application resource-path-prefix=\"/restv1\"/>]]>"
msgstr ""
#. Tag: para
-#: Webservices.xml:233
-#, no-c-format
-msgid ""
-"The full base path to your resources is now <literal>/seam/resource/restv1/"
-"{resource}</literal> - note that your <literal>@Path</literal> definitions "
-"and mappings do NOT change. This is an application-wide switch usually used "
-"for versioning of the HTTP API."
-msgstr ""
-
-#. Tag: para
#: Webservices.xml:239
#, no-c-format
msgid ""
-"You can disable stripping of the base path if you'd like to map the full "
-"path in your resources:"
+"The full base path to your resources is now <literal>/myapp/seam/resource/"
+"restv1/{resource}</literal> - note that your <literal>@Path</literal> "
+"definitions and mappings do NOT change. This is an application-wide switch "
+"usually used for versioning of the HTTP interface."
msgstr ""
-#. Tag: programlisting
-#: Webservices.xml:243
-#, no-c-format
-msgid "<![CDATA[<resteasy:application strip-seam-resource-path=\"false\"/>]]>"
-msgstr ""
-
#. Tag: para
#: Webservices.xml:245
#, no-c-format
msgid ""
-"The path of a resource is now mapped with e.g. <literal>@Path(\"/seam/"
-"resource/rest/customer\")</literal>. We do not recommend disabling this "
-"feature, as your resource class mappings are then bound to a particular "
-"deployment scenario."
-msgstr ""
-
-#. Tag: para
-#: Webservices.xml:251
-#, no-c-format
-msgid ""
"Seam will scan your classpath for any deployed <literal>@javax.ws.rs.Path</"
"literal> resources and any <literal>@javax.ws.rs.ext.Provider</literal> "
"classes. You can disable scanning and configure these classes manually:"
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:257
+#: Webservices.xml:251
#, no-c-format
msgid ""
"<![CDATA[<resteasy:application\n"
@@ -554,7 +538,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:259
+#: Webservices.xml:253
#, no-c-format
msgid ""
"The <literal>use-built-in-providers</literal> switch enables (default) or "
@@ -564,7 +548,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:265
+#: Webservices.xml:259
#, no-c-format
msgid ""
"RESTEasy supports plain EJBs (EJBs that are not Seam components) as "
@@ -576,20 +560,21 @@
"<literal>@Path</literal>, <literal>@GET</literal>, and so on - not the bean "
"implementation class. This allows you to keep your application deployment-"
"portable with the global Seam <literal>jndi-pattern</literal> switch on "
-"<literal><core:init/></literal>. Note that EJB resources will not be "
-"found even if scanning of resources is enabled, you always have to list them "
-"manually. Again, this is only relevant for EJB resources that are not also "
-"Seam components and that do not have a <literal>@Name</literal> annotation."
+"<literal><core:init/></literal>. Note that plain (non-Seam component) "
+"EJB resources will not be found even if scanning of resources is enabled, "
+"you always have to list them manually. Again, this whole paragraph is only "
+"relevant for EJB resources that are not also Seam components and that do not "
+"have an <literal>@Name</literal> annotation."
msgstr ""
#. Tag: para
-#: Webservices.xml:277
+#: Webservices.xml:272
#, no-c-format
msgid "Finally, you can configure media type and language URI extensions:"
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:281
+#: Webservices.xml:276
#, no-c-format
msgid ""
"<![CDATA[<resteasy:application>\n"
@@ -606,7 +591,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:283
+#: Webservices.xml:278
#, no-c-format
msgid ""
"This definition would map the URI suffix of <literal>.txt.deutsch</literal> "
@@ -616,13 +601,13 @@
msgstr ""
#. Tag: title
-#: Webservices.xml:292
+#: Webservices.xml:287
#, no-c-format
msgid "Resources and providers as Seam components"
msgstr ""
#. Tag: para
-#: Webservices.xml:294
+#: Webservices.xml:289
#, no-c-format
msgid ""
"Any resource and provider instances are managed by RESTEasy by default. That "
@@ -633,7 +618,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:301
+#: Webservices.xml:296
#, no-c-format
msgid ""
"You can write resources and providers as Seam components and benefit from "
@@ -642,7 +627,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:307
+#: Webservices.xml:302
#, no-c-format
msgid ""
"<![CDATA[@Name(\"customerResource\")\n"
@@ -663,7 +648,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:309
+#: Webservices.xml:304
#, no-c-format
msgid ""
"An instance of <literal>customerResource</literal> is now handled by Seam "
@@ -677,7 +662,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:318
+#: Webservices.xml:313
#, no-c-format
msgid ""
"You can annotate an interface and keep the implementation free from JAX-RS "
@@ -685,7 +670,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:322
+#: Webservices.xml:317
#, no-c-format
msgid ""
"<![CDATA[@Path(\"/customer\")\n"
@@ -700,7 +685,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:324
+#: Webservices.xml:319
#, no-c-format
msgid ""
"<![CDATA[@Name(\"customerResource\")\n"
@@ -718,7 +703,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:326
+#: Webservices.xml:321
#, no-c-format
msgid ""
"You can use <literal>SESSION</literal>-scoped Seam components. By default, "
@@ -733,7 +718,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:335
+#: Webservices.xml:330
#, no-c-format
msgid ""
"Assuming that your Seam application only uses event, application, or "
@@ -745,7 +730,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:342
+#: Webservices.xml:337
#, no-c-format
msgid ""
"If your RESTful Seam application has to preserve session state across REST "
@@ -753,14 +738,14 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:347
+#: Webservices.xml:342
#, no-c-format
msgid ""
"<![CDATA[<resteasy:application destroy-session-after-request=\"false\"/>]]>"
msgstr ""
#. Tag: para
-#: Webservices.xml:349
+#: Webservices.xml:344
#, no-c-format
msgid ""
"Every REST HTTP request will now create a new session that will only be "
@@ -771,7 +756,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:356
+#: Webservices.xml:351
#, no-c-format
msgid ""
"<literal>CONVERSATION</literal>-scoped resource components and mapping of "
@@ -780,7 +765,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:361
+#: Webservices.xml:356
#, no-c-format
msgid ""
"EJB Seam components are supported. Always annotate the local business "
@@ -789,7 +774,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:366
+#: Webservices.xml:361
#, no-c-format
msgid ""
"Provider classes can also be Seam components, only <literal>APPLICATION</"
@@ -799,13 +784,13 @@
msgstr ""
#. Tag: title
-#: Webservices.xml:375
+#: Webservices.xml:370
#, no-c-format
msgid "Securing resources"
msgstr ""
#. Tag: para
-#: Webservices.xml:377
+#: Webservices.xml:372
#, no-c-format
msgid ""
"You can enable the Seam authentication filter for HTTP Basic and Digest "
@@ -813,7 +798,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:382
+#: Webservices.xml:377
#, no-c-format
msgid ""
"<![CDATA[<web:authentication-filter url-pattern=\"/seam/resource/rest/*\" "
@@ -821,14 +806,14 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:384
+#: Webservices.xml:379
#, no-c-format
msgid ""
"See the Seam security chapter on how to write an authentication routine."
msgstr ""
#. Tag: para
-#: Webservices.xml:388
+#: Webservices.xml:383
#, no-c-format
msgid ""
"After successful authentication, authorization rules with the common "
@@ -839,13 +824,13 @@
msgstr ""
#. Tag: title
-#: Webservices.xml:398
+#: Webservices.xml:393
#, no-c-format
msgid "Mapping exceptions to HTTP responses"
msgstr ""
#. Tag: para
-#: Webservices.xml:400
+#: Webservices.xml:395
#, no-c-format
msgid ""
"Section 3.3.4 of the JAX-RS specification defines how checked or unchecked "
@@ -858,7 +843,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:408
+#: Webservices.xml:403
#, no-c-format
msgid ""
"Exception handling within Seam requires that the Seam filter is executed for "
@@ -870,7 +855,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:415
+#: Webservices.xml:410
#, no-c-format
msgid ""
"<![CDATA[<filter>\n"
@@ -885,7 +870,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:417
+#: Webservices.xml:412
#, no-c-format
msgid ""
"To convert the unchecked <literal>UnsupportedOperationException</literal> "
@@ -895,7 +880,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:423
+#: Webservices.xml:418
#, no-c-format
msgid ""
"<![CDATA[<exception class=\"java.lang.UnsupportedOperationException\">\n"
@@ -906,13 +891,13 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:425
+#: Webservices.xml:420
#, no-c-format
msgid "Custom or checked exceptions are handled the same:"
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:429
+#: Webservices.xml:424
#, no-c-format
msgid ""
"<![CDATA[<exception class=\"my.CustomException\" log=\"false\">\n"
@@ -924,7 +909,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:431
+#: Webservices.xml:426
#, no-c-format
msgid ""
"You do not have to send an HTTP error to the client if an exception occurs. "
@@ -935,7 +920,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:438
+#: Webservices.xml:433
#, no-c-format
msgid ""
"Note that the HTTP response still passes through the servlet container, so "
@@ -946,13 +931,13 @@
msgstr ""
#. Tag: title
-#: Webservices.xml:447
+#: Webservices.xml:442
#, no-c-format
msgid "Testing resources and providers"
msgstr ""
#. Tag: para
-#: Webservices.xml:449
+#: Webservices.xml:444
#, no-c-format
msgid ""
"Seam includes a unit testing utility class that helps you create unit tests "
@@ -962,7 +947,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:455
+#: Webservices.xml:450
#, no-c-format
msgid ""
"<![CDATA[import org.jboss.seam.mock.ResourceRequestEnvironment;\n"
@@ -1019,7 +1004,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:457
+#: Webservices.xml:452
#, no-c-format
msgid ""
"This test only executes local calls, it does not communicate with the "
@@ -1032,7 +1017,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:465
+#: Webservices.xml:460
#, no-c-format
msgid ""
"Note that a <literal>ResourceRequest</literal> has to be executed in a "
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/ko-KR/Websphere.po
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/ko-KR/Websphere.po 2009-08-26 19:14:02 UTC (rev 11432)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/ko-KR/Websphere.po 2009-08-26 19:19:33 UTC (rev 11433)
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-08-22 13:17+0000\n"
+"POT-Creation-Date: 2009-08-26 18:48+0000\n"
"PO-Revision-Date: 2008-04-04 01:24+0000\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
@@ -76,25 +76,27 @@
#, no-c-format
msgid ""
"The following sections in this chapter assume that WebSphere is correctly "
-"installed and is functional, and a profile has been successfully created."
+"installed and is functional, and a WebSphere \"profile\" has been "
+"successfully created."
msgstr ""
#. Tag: para
#: Websphere.xml:40
#, no-c-format
msgid ""
-"This chapter explain how to compile, deploy and run some sample applications "
-"in WebSphere. These sample applications require a database. WebSphere comes "
-"by default with a set of sample applications called \"Default Application\". "
-"This set of sample applications use a Derby database running on the Derby "
-"instance installed with WebSphere. In order to keep this simple we'll use "
-"this Derby database created for the \"Default Applications\". However, to "
-"run the sample application with the Derby database \"as-is\", a patched "
-"Hibernate dialect must be used (The patch changes the default \"auto\" key "
-"generation strategy) as explained in <xref linkend=\"glassfish\"/>. If you "
-"want to use another database, it's just a matter of creating a connection "
-"pool in WebSphere pointing to this database, declare the correct Hibernate "
-"dialect and set the correct JNDI name in <literal>persistence.xml</literal>."
+"This chapter explains how to compile, deploy and run some sample "
+"applications in WebSphere. These sample applications require a database. "
+"WebSphere comes by default with a set of sample applications called "
+"\"Default Application\". This set of sample applications use a Derby "
+"database running on the Derby instance installed within WebSphere. In order "
+"to keep this simple we'll use this Derby database created for the \"Default "
+"Applications\". However, to run the sample application with the Derby "
+"database \"as-is\", a patched Hibernate dialect must be used (The patch "
+"changes the default \"auto\" key generation strategy) as explained in <xref "
+"linkend=\"glassfish\"/>. If you want to use another database, it's just a "
+"matter of creating a connection pool in WebSphere pointing to this database, "
+"declare the correct Hibernate dialect and set the correct JNDI name in "
+"<literal>persistence.xml</literal>."
msgstr ""
#. Tag: title
@@ -144,14 +146,14 @@
#, no-c-format
msgid ""
"On the right navigation menu, select <literal>Web Container Settings/Web "
-"container</literal>)"
+"container</literal>"
msgstr ""
#. Tag: listitem
#: Websphere.xml:73
#, no-c-format
msgid ""
-"On the right navigation menu, select <literal>custom properties</literal>) "
+"On the right navigation menu, select <literal>custom properties</literal> "
"and add the following properties:"
msgstr ""
@@ -170,7 +172,7 @@
#. Tag: listitem
#: Websphere.xml:84
#, no-c-format
-msgid "Save and restart the server"
+msgid "Save the configuration and restart the server"
msgstr ""
#. Tag: title
@@ -189,38 +191,38 @@
msgstr ""
#. Tag: listitem
-#: Websphere.xml:97
+#: Websphere.xml:96
#, no-c-format
msgid ""
"The global <literal>jndi-pattern</literal> switch on the <literal><core:"
-"init></literal>. in <literal>components.xml</literal>. The switch can use "
-"a special placeholder \"<literal>#{ejbName}</literal>\" that resolves to the "
-"unqualified name of the EJB"
+"init></literal>tag in <literal>components.xml</literal>. The switch can "
+"use a special placeholder \"<literal>#{ejbName}</literal>\" that resolves to "
+"the unqualified name of the EJB"
msgstr ""
#. Tag: para
-#: Websphere.xml:102
+#: Websphere.xml:100
#, no-c-format
msgid "The <literal>@JndiName</literal> annotation"
msgstr ""
#. Tag: para
-#: Websphere.xml:108
+#: Websphere.xml:106
#, no-c-format
msgid "gives detailed explanations on how those mechanisms work."
msgstr ""
#. Tag: para
-#: Websphere.xml:112
+#: Websphere.xml:110
#, no-c-format
msgid ""
-"By default, WebSphere will bind the session bean in its local JNDI name "
-"space under a \"short\" binding name that adheres to the following pattern "
+"By default, WebSphere will bind session beans in its local JNDI name space "
+"under a \"short\" binding name that adheres to the following pattern "
"<literal>ejblocal:<package.qualified.local.interface.name></literal>."
msgstr ""
#. Tag: para
-#: Websphere.xml:117
+#: Websphere.xml:115
#, no-c-format
msgid ""
"For a detailed description on how WebSphere v7 organizes and binds EJBs in "
@@ -228,7 +230,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:120
+#: Websphere.xml:118
#, no-c-format
msgid ""
"As explained before, Seam needs to lookup for session bean as they appear in "
@@ -236,35 +238,35 @@
msgstr ""
#. Tag: listitem
-#: Websphere.xml:124
+#: Websphere.xml:121
#, no-c-format
msgid ""
"Specify which JNDI name Seam must use for each session bean using the "
-"<literal>@JndiName</literal> annotation in the java source file"
+"<literal>@JndiName</literal> annotation in the java source file,"
msgstr ""
#. Tag: listitem
-#: Websphere.xml:127
+#: Websphere.xml:123
#, no-c-format
msgid ""
"Override the default session bean names generated by WebSphere to conform to "
-"the <literal>jndi-pattern</literal> attribute"
+"the <literal>jndi-pattern</literal> attribute,"
msgstr ""
#. Tag: listitem
-#: Websphere.xml:130
+#: Websphere.xml:126
#, no-c-format
-msgid "Use EJB references"
+msgid "Use EJB references."
msgstr ""
#. Tag: title
-#: Websphere.xml:137
+#: Websphere.xml:133
#, no-c-format
msgid "Strategy 1: Specify which JNDI name Seam must use for each Session Bean"
msgstr ""
#. Tag: para
-#: Websphere.xml:138
+#: Websphere.xml:134
#, no-c-format
msgid ""
"This strategy is the simplest and fastest one regarding development. It uses "
@@ -272,7 +274,7 @@
msgstr ""
#. Tag: listitem
-#: Websphere.xml:141
+#: Websphere.xml:137
#, no-c-format
msgid ""
"Add a <literal>@JndiName(\"ejblocal:<package.qualified.local.interface."
@@ -280,20 +282,20 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:145 Websphere.xml:188
+#: Websphere.xml:141 Websphere.xml:184
#, no-c-format
msgid ""
"<para>In <literal>components.xml</literal>, add the following line:</para>"
msgstr ""
#. Tag: programlisting
-#: Websphere.xml:147 Websphere.xml:220
+#: Websphere.xml:143 Websphere.xml:216
#, no-c-format
msgid "<![CDATA[<core:init jndi-name=\"java:comp/env/#{ejbName}\" />]]>"
msgstr ""
#. Tag: para
-#: Websphere.xml:151
+#: Websphere.xml:147
#, no-c-format
msgid ""
"Add a file named <literal>WEB-INF/classes/seam-jndi.properties</literal> in "
@@ -301,7 +303,7 @@
msgstr ""
#. Tag: programlisting
-#: Websphere.xml:153
+#: Websphere.xml:149
#, no-c-format
msgid ""
"com.ibm.websphere.naming.hostname.normalizer=com.ibm.ws.naming.util."
@@ -323,13 +325,13 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:157
+#: Websphere.xml:153
#, no-c-format
msgid "At the end of <literal>web.xml</literal>, add the following lines:"
msgstr ""
#. Tag: programlisting
-#: Websphere.xml:159
+#: Websphere.xml:155
#, no-c-format
msgid ""
"<![CDATA[<ejb-local-ref>\n"
@@ -341,7 +343,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:164
+#: Websphere.xml:160
#, no-c-format
msgid ""
"That's all folks! No need to update any file during the development, nor to "
@@ -349,23 +351,23 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:167
+#: Websphere.xml:163
#, no-c-format
msgid ""
-"Compared to the other strategies, this strategy has the advantage not to "
-"have to manage any EJBs reference and also not to have to maintain extra "
+"Compared to the other strategies, this strategy has the advantage to not "
+"have to manage any EJBs reference and also to not have to maintain extra "
"files. The only drawback is one extra line in the java source code with the "
"<literal>@JndiName</literal> annotation"
msgstr ""
#. Tag: title
-#: Websphere.xml:174
+#: Websphere.xml:170
#, no-c-format
msgid "Strategy 2: Override the default names generated by WebSphere"
msgstr ""
#. Tag: section
-#: Websphere.xml:174
+#: Websphere.xml:170
#, no-c-format
msgid ""
"There is no simple way to globally override the default naming strategy for "
@@ -374,13 +376,13 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:177
+#: Websphere.xml:173
#, no-c-format
msgid "To use this strategy:"
msgstr ""
#. Tag: para
-#: Websphere.xml:181
+#: Websphere.xml:177
#, no-c-format
msgid ""
"Add a file named <literal>META-INF/ibm-ejb-jar-ext.xml</literal> in the EJB "
@@ -405,13 +407,13 @@
msgstr ""
#. Tag: programlisting
-#: Websphere.xml:190
+#: Websphere.xml:186
#, no-c-format
msgid "<![CDATA[<core:init jndi-name=\"ejblocal:#{ejbName}\" />]]>"
msgstr ""
#. Tag: para
-#: Websphere.xml:194
+#: Websphere.xml:190
#, no-c-format
msgid ""
"Add a file named <literal>WEB-INF/classes/seam-jndi.properties</literal> as "
@@ -419,7 +421,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:199
+#: Websphere.xml:195
#, no-c-format
msgid ""
"In <literal>web.xml</literal>, add the following lines (Note the different "
@@ -427,7 +429,7 @@
msgstr ""
#. Tag: programlisting
-#: Websphere.xml:201
+#: Websphere.xml:197
#, no-c-format
msgid ""
"<![CDATA[<ejb-local-ref>\n"
@@ -439,7 +441,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:206
+#: Websphere.xml:202
#, no-c-format
msgid ""
"Compared to the first strategy, this strategy requires to maintain an extra "
@@ -449,13 +451,13 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:215
+#: Websphere.xml:211
#, no-c-format
msgid "Strategy 3: Use EJB references"
msgstr ""
#. Tag: section
-#: Websphere.xml:215
+#: Websphere.xml:211
#, no-c-format
msgid ""
"This strategy is based on the usage of EJB references, from EJB to EJB and "
@@ -463,7 +465,7 @@
msgstr ""
#. Tag: listitem
-#: Websphere.xml:218
+#: Websphere.xml:214
#, no-c-format
msgid ""
"<listitem>In <literal>components.xml</literal>, add the following line:</"
@@ -471,7 +473,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:223
+#: Websphere.xml:219
#, no-c-format
msgid ""
"Follow the instructions in <xref linkend=\"config.integration.ejb.container"
@@ -479,7 +481,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:228
+#: Websphere.xml:224
#, no-c-format
msgid ""
"This is the most tedious strategy as each session bean referenced by another "
@@ -489,27 +491,27 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:239
+#: Websphere.xml:235
#, no-c-format
msgid "Configuring timeouts for Stateful Session Beans"
msgstr ""
#. Tag: para
-#: Websphere.xml:240
+#: Websphere.xml:236
#, no-c-format
msgid ""
"A timeout value has to be set for each stateful session bean used in the "
"application because stateful bean must not expire in WebSphere while Seam "
-"might still need thenm. At the time of writing this document, WebSphere does "
+"might still need them. At the time of writing this document, WebSphere does "
"not provide a way to configure a global timeout at neither the cluster, "
"server, application nor ejb-jar level. It has to be done for each stateful "
-"bean individually. This is done by adding a file named <literal>META-INF/ibm-"
-"ejb-jar-ext.xml</literal> in the EJB module, and declare the timeout value "
-"for each bean:"
+"bean individually. By default, the default timeout is 10 minutes. This is "
+"done by adding a file named <literal>META-INF/ibm-ejb-jar-ext.xml</literal> "
+"in the EJB module, and declare the timeout value for each bean:"
msgstr ""
#. Tag: programlisting
-#: Websphere.xml:246
+#: Websphere.xml:242
#, no-c-format
msgid ""
"<![CDATA[<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
@@ -529,24 +531,24 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:248
+#: Websphere.xml:244
#, no-c-format
msgid ""
"The <literal>time-out</literal> is expressed in seconds and must be higher "
"than the Seam conversation expiration timeout and a few minutes higher than "
"the user's HTTP session timeout (The session expiration timeout can trigger "
-"a few minutes after the number of minutes declared to expire s for the HTTP "
-"session expiration)."
+"a few minutes after the number of minutes declared to expire the HTTP "
+"session)."
msgstr ""
#. Tag: title
-#: Websphere.xml:257
+#: Websphere.xml:253
#, no-c-format
msgid "The <literal>jee5/booking</literal> example"
msgstr ""
#. Tag: para
-#: Websphere.xml:259
+#: Websphere.xml:255
#, no-c-format
msgid ""
"The<literal>jee5/booking</literal>example is based on the Hotel Booking "
@@ -557,23 +559,32 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:265
+#: Websphere.xml:261
#, no-c-format
msgid ""
-"For running this example, we'll use the second JNDI mapping strategy "
-"(\"Override the default names generated by WebSphere\") as we don't want to "
-"change the java code to add the <literal>@JndiName</literal> annotation as "
-"in the first strategy."
+"The example already has a breakout of configurations and build scripts for "
+"WebSphere. First thing, we are going to do is build and deploy this example. "
+"Then we'll go over some key changes that we needed."
msgstr ""
+#. Tag: para
+#: Websphere.xml:266
+#, no-c-format
+msgid ""
+"The tailored configuration files for WebSphere use the second JNDI mapping "
+"strategy (\"Override the default names generated by WebSphere\") as the goal "
+"was to not change any java code to add the <literal>@JndiName</literal> "
+"annotation as in the first strategy."
+msgstr ""
+
#. Tag: title
-#: Websphere.xml:271
+#: Websphere.xml:272
#, no-c-format
msgid "Building the <literal>jee5/booking</literal> example"
msgstr ""
#. Tag: para
-#: Websphere.xml:273
+#: Websphere.xml:274
#, no-c-format
msgid ""
"Building it only requires running the correct ant command: "
@@ -583,21 +594,21 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:280
+#: Websphere.xml:281
#, no-c-format
msgid "Deploying the <literal>jee5/booking</literal> example"
msgstr ""
#. Tag: para
-#: Websphere.xml:281
+#: Websphere.xml:282
#, no-c-format
msgid ""
-"The steps below are for the WAS version stated above.The ports are default "
-"values, if you changed them, you must substitute the values."
+"The steps below are for the WAS version stated above.The ports are the "
+"default values, if you changed them, you must substitute the values."
msgstr ""
#. Tag: listitem
-#: Websphere.xml:284
+#: Websphere.xml:285
#, no-c-format
msgid ""
"Log in to the administration console <programlisting><![CDATA[http://"
@@ -606,7 +617,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:291
+#: Websphere.xml:292
#, no-c-format
msgid ""
"Go to the <literal>WebSphere enterprise applications</literal> menu option "
@@ -615,7 +626,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:298
+#: Websphere.xml:299
#, no-c-format
msgid ""
"At the top of the <literal>Enterprise Applications</literal> table select "
@@ -624,13 +635,13 @@
msgstr ""
#. Tag: literal
-#: Websphere.xml:304
+#: Websphere.xml:305
#, no-c-format
msgid "Preparing for the application installation"
msgstr ""
#. Tag: para
-#: Websphere.xml:307
+#: Websphere.xml:308
#, no-c-format
msgid ""
"Browse to the <literal>examples/jee5/booking/dist-websphere7/jboss-seam-jee5."
@@ -638,25 +649,25 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:313 Websphere.xml:323 Websphere.xml:341
+#: Websphere.xml:314 Websphere.xml:324 Websphere.xml:342
#, no-c-format
msgid "Select the <literal>Next</literal> button."
msgstr ""
#. Tag: para
-#: Websphere.xml:318
+#: Websphere.xml:319
#, no-c-format
msgid "Select the <literal>Fast Path</literal> button."
msgstr ""
#. Tag: literal
-#: Websphere.xml:332
+#: Websphere.xml:333
#, no-c-format
msgid "Select installation options"
msgstr ""
#. Tag: para
-#: Websphere.xml:335
+#: Websphere.xml:336
#, no-c-format
msgid ""
"Select the <literal>Deploy enterprise beans and Allow EJB reference targets "
@@ -665,13 +676,13 @@
msgstr ""
#. Tag: literal
-#: Websphere.xml:350
+#: Websphere.xml:351
#, no-c-format
msgid "Map modules to servers"
msgstr ""
#. Tag: para
-#: Websphere.xml:353
+#: Websphere.xml:354
#, no-c-format
msgid ""
"No changes needed here as we only have one server. Select the <literal>Next</"
@@ -679,13 +690,13 @@
msgstr ""
#. Tag: literal
-#: Websphere.xml:362
+#: Websphere.xml:363
#, no-c-format
msgid "Map virtual hosts for Web modules"
msgstr ""
#. Tag: para
-#: Websphere.xml:365
+#: Websphere.xml:366
#, no-c-format
msgid ""
"No changes needed here as we only have one virtual host. Select the "
@@ -693,31 +704,31 @@
msgstr ""
#. Tag: literal
-#: Websphere.xml:374
+#: Websphere.xml:375
#, no-c-format
msgid "Summary"
msgstr ""
#. Tag: para
-#: Websphere.xml:377
+#: Websphere.xml:378
#, no-c-format
msgid "No changes needed here. Select the <literal>Finish</literal> button."
msgstr ""
#. Tag: literal
-#: Websphere.xml:384
+#: Websphere.xml:385
#, no-c-format
msgid "Installation"
msgstr ""
#. Tag: para
-#: Websphere.xml:387
+#: Websphere.xml:388
#, no-c-format
msgid "Now you will see WebSphere installing and deploying your application."
msgstr ""
#. Tag: para
-#: Websphere.xml:390
+#: Websphere.xml:391
#, no-c-format
msgid ""
"When done, select the <literal>Save</literal> link and you will be returned "
@@ -725,15 +736,15 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:399
+#: Websphere.xml:400
#, no-c-format
msgid ""
-"To start the application select our application in the list, then click on "
+"To start the application, select the application in the list, then click on "
"the <literal>Start</literal> button at the top of the table."
msgstr ""
#. Tag: para
-#: Websphere.xml:409
+#: Websphere.xml:410
#, no-c-format
msgid ""
"You can now access the application at <literal>http://localhost:9080/seam-"
@@ -741,13 +752,13 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:418
+#: Websphere.xml:419
#, no-c-format
msgid "Deviation from the original base files"
msgstr ""
#. Tag: section
-#: Websphere.xml:418
+#: Websphere.xml:419
#, no-c-format
msgid ""
"Below are the differences between the base configuration files and the "
@@ -756,7 +767,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:422
+#: Websphere.xml:423
#, no-c-format
msgid ""
"<literal>META-INF/ejb-jar.xml</literal> — Removed all the EJB "
@@ -764,37 +775,37 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:428
+#: Websphere.xml:429
#, no-c-format
msgid ""
"<literal>META-INF/ibm-ejb-jar-bnd.xml</literal> — This WebSphere "
"specific file has been added as we use the second JNDI mapping strategy. It "
-"defines, for each session bean, the name WebSphere will use to bind it its "
-"JNDI name space"
+"defines, for each session bean, the name WebSphere will use to bind it in "
+"its JNDI name space"
msgstr ""
#. Tag: para
-#: Websphere.xml:435
+#: Websphere.xml:436
#, no-c-format
msgid ""
"<literal>META-INF/ibm-ejb-jar-ext.xml</literal> — This WebSphere "
-"specific file defines to WebSphere, the timeout value for each stateful bean"
+"specific file defines the timeout value for each stateful bean"
msgstr ""
#. Tag: para
-#: Websphere.xml:441
+#: Websphere.xml:442
#, no-c-format
msgid ""
"<literal>META-INF/persistence.xml</literal> — The main changes here "
"are for the datasource JNDI path, switching to the WebSphere transaction "
"manager lookup class, turning off the <literal>hibernate.transaction."
"flush_before_completion</literal> toggle, and forcing the Hibernate dialect "
-"to be <literal>GlassfishDerbyDialect</literal> how as using the integrated "
-"Derby database"
+"to be <literal>GlassfishDerbyDialect</literal> as we are using the "
+"integrated Derby database"
msgstr ""
#. Tag: para
-#: Websphere.xml:451
+#: Websphere.xml:452
#, no-c-format
msgid ""
"<literal>WEB-INF/components.xml</literal> — the change here is "
@@ -803,7 +814,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:459
+#: Websphere.xml:460
#, no-c-format
msgid ""
"<literal>WEB-INF/web.xml</literal> — Remove all the <literal>ejb-local "
@@ -813,7 +824,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:467 Websphere.xml:549
+#: Websphere.xml:468
#, no-c-format
msgid ""
"<literal>import.sql</literal> — due to the cutomized hibernate Derby "
@@ -822,7 +833,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:474
+#: Websphere.xml:475
#, no-c-format
msgid ""
"Also the build procedure has been changed to include the <literal>log4j.jar</"
@@ -831,13 +842,13 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:486
+#: Websphere.xml:487
#, no-c-format
msgid "The <literal>jpa</literal> booking example"
msgstr ""
#. Tag: para
-#: Websphere.xml:488
+#: Websphere.xml:489
#, no-c-format
msgid ""
"This is the Hotel Booking example implemented in Seam POJOs and using "
@@ -845,7 +856,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:493
+#: Websphere.xml:494
#, no-c-format
msgid ""
"The example already has a breakout of configurations and build scripts for "
@@ -853,7 +864,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:498
+#: Websphere.xml:499
#, no-c-format
msgid ""
"First thing, we are going to do is build and deploy that example. Then we'll "
@@ -861,13 +872,13 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:504
+#: Websphere.xml:505
#, no-c-format
msgid "Building the <literal>jpa</literal> example"
msgstr ""
#. Tag: para
-#: Websphere.xml:505
+#: Websphere.xml:506
#, no-c-format
msgid ""
"Building it only requires running the correct ant command: "
@@ -877,13 +888,13 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:514
+#: Websphere.xml:515
#, no-c-format
msgid "Deploying the <literal>jpa</literal> example"
msgstr ""
#. Tag: para
-#: Websphere.xml:515
+#: Websphere.xml:516
#, no-c-format
msgid ""
"Deploying <literal>jpa</literal> application is very similar to the "
@@ -894,7 +905,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:521
+#: Websphere.xml:522
#, no-c-format
msgid ""
"Follow the same instructions as for the <literal>jee5/booking</literal> "
@@ -902,11 +913,11 @@
"literal> file on the first page and on the <literal>Map context roots for "
"Web modules</literal> page (after the <literal>Map virtual host for Web "
"module</literal>), enter the context root you want to use for your "
-"application in the <literal>Contect Root</literal> input field."
+"application in the <literal>Context Root</literal> input field."
msgstr ""
#. Tag: para
-#: Websphere.xml:528
+#: Websphere.xml:529
#, no-c-format
msgid ""
"When started, you can now access the application at the <literal>http://"
@@ -914,13 +925,13 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:534
+#: Websphere.xml:535
#, no-c-format
msgid "Deviation from the generic base files"
msgstr ""
#. Tag: section
-#: Websphere.xml:534
+#: Websphere.xml:535
#, no-c-format
msgid ""
"Below are the configuration file differences between the base configuration "
@@ -929,7 +940,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:539
+#: Websphere.xml:540
#, no-c-format
msgid ""
"<literal>META-INF/persistence.xml</literal> — The main changes here "
@@ -941,9 +952,18 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:556
+#: Websphere.xml:550
#, no-c-format
msgid ""
+"<literal>import.sql</literal> — due to the customized hibernate Derby "
+"dialect, the <literal>ID</literal> column can not be populated by this file "
+"and was removed."
+msgstr ""
+
+#. Tag: para
+#: Websphere.xml:557
+#, no-c-format
+msgid ""
"Also the build procedure have been changed to include the <literal>log4j."
"jar</literal> file and exclude the <literal>concurrent.jar</literal> and "
"<literal>jboss-common-core.jar</literal> files."
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/ml-IN/Configuration.po
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/ml-IN/Configuration.po 2009-08-26 19:14:02 UTC (rev 11432)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/ml-IN/Configuration.po 2009-08-26 19:19:33 UTC (rev 11433)
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-05-05 12:31+0000\n"
+"POT-Creation-Date: 2009-08-26 18:47+0000\n"
"PO-Revision-Date: 2008-04-04 01:24+0000\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
@@ -677,13 +677,63 @@
msgstr ""
#. Tag: title
+#: Configuration.xml:325
+#, no-c-format
+msgid "Enabling HTTP cache-control headers"
+msgstr ""
+
+#. Tag: para
#: Configuration.xml:326
#, no-c-format
+msgid ""
+"Seam does <emphasis>not</emphasis> automatically add <literal>cache-control</"
+"literal> HTTP headers to any resources served by the Seam resource servlet, "
+"or directly from your view directory by the servlet container. This means "
+"that your images, Javascript and CSS files, and resource representations "
+"from Seam resource servlet such as Seam Remoting Javascript interfaces are "
+"usually not cached by the browser. This is convenient in development but "
+"should be changed in production when optimizing the application."
+msgstr ""
+
+#. Tag: para
+#: Configuration.xml:334
+#, no-c-format
+msgid ""
+"You can configure a Seam filter to enable automatic addition of "
+"<literal>cache-control</literal> headers depending on the requested URI in "
+"<literal>components.xml</literal>:"
+msgstr ""
+
+#. Tag: programlisting
+#: Configuration.xml:339
+#, no-c-format
+msgid ""
+"<![CDATA[<web:cache-control-filter name=\"commonTypesCacheControlFilter\"\n"
+" regex-url-pattern=\".*(\\.gif|\\.png|\\.jpg|\\."
+"jpeg|\\.css|\\.js)\"\n"
+" value=\"max-age=86400\"/> <!-- 1 day -->\n"
+"\n"
+"<web:cache-control-filter name=\"anotherCacheControlFilter\"\n"
+" url-pattern=\"/my/cachable/resources/*\"\n"
+" value=\"max-age=432000\"/> <!-- 5 days -->]]>"
+msgstr ""
+
+#. Tag: para
+#: Configuration.xml:341
+#, no-c-format
+msgid ""
+"You do not have to name the filters unless you have more than one filter "
+"enabled."
+msgstr ""
+
+#. Tag: title
+#: Configuration.xml:348
+#, no-c-format
msgid "Adding custom filters"
msgstr ""
#. Tag: para
-#: Configuration.xml:327
+#: Configuration.xml:349
#, no-c-format
msgid ""
"Seam can install your filters for you, allowing you to specify "
@@ -695,7 +745,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:332
+#: Configuration.xml:354
#, no-c-format
msgid ""
"<![CDATA[@Startup\n"
@@ -707,7 +757,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:334
+#: Configuration.xml:356
#, no-c-format
msgid ""
"Adding the <literal>@Startup</literal> annotation means thar the component "
@@ -718,13 +768,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:343
+#: Configuration.xml:365
#, no-c-format
msgid "Integrating Seam with your EJB container"
msgstr ""
#. Tag: para
-#: Configuration.xml:345
+#: Configuration.xml:367
#, no-c-format
msgid ""
"In a Seam application, EJB components have a certain duality, as they are "
@@ -735,7 +785,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:350
+#: Configuration.xml:372
#, no-c-format
msgid ""
"We need to apply the <literal>SeamInterceptor</literal> to our Seam EJB "
@@ -747,7 +797,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:355
+#: Configuration.xml:377
#, no-c-format
msgid ""
"<![CDATA[<interceptors>\n"
@@ -768,7 +818,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:357
+#: Configuration.xml:379
#, no-c-format
msgid ""
"Seam needs to know where to go to find session beans in JNDI. One way to do "
@@ -782,19 +832,19 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:364
+#: Configuration.xml:386
#, no-c-format
msgid "For JBoss AS, the following pattern is correct:"
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:366
+#: Configuration.xml:388
#, no-c-format
msgid "<![CDATA[<core:init jndi-name=\"earName/#{ejbName}/local\" />]]>"
msgstr ""
#. Tag: para
-#: Configuration.xml:368
+#: Configuration.xml:390
#, no-c-format
msgid ""
"In this case, <literal>earName</literal> is the name of the EAR in which the "
@@ -804,7 +854,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:372
+#: Configuration.xml:394
#, no-c-format
msgid ""
"Outside the context of an EAR (when using the JBoss Embeddable EJB3 "
@@ -813,13 +863,13 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:375
+#: Configuration.xml:397
#, no-c-format
msgid "<![CDATA[<core:init jndi-name=\"#{ejbName}/local\" />]]>"
msgstr ""
#. Tag: para
-#: Configuration.xml:377
+#: Configuration.xml:399
#, no-c-format
msgid ""
"How these JNDI names are resolved and somehow locate an EJB component might "
@@ -828,7 +878,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:381
+#: Configuration.xml:403
#, no-c-format
msgid ""
"The folks at JBoss don't care much for XML, if you can't tell. So when they "
@@ -839,14 +889,14 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:387
+#: Configuration.xml:409
#, no-c-format
msgid ""
"The value of the <literal><ejb-name></literal> element in ejb-jar.xml"
msgstr ""
#. Tag: para
-#: Configuration.xml:390
+#: Configuration.xml:412
#, no-c-format
msgid ""
"The value of the <literal>name</literal> attribute in the @Stateless or "
@@ -854,13 +904,13 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:393
+#: Configuration.xml:415
#, no-c-format
msgid "The simple name of the bean class"
msgstr ""
#. Tag: para
-#: Configuration.xml:397
+#: Configuration.xml:419
#, no-c-format
msgid ""
"Let's look at an example. Assume that you have the following EJB bean and "
@@ -868,7 +918,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:399
+#: Configuration.xml:421
#, no-c-format
msgid ""
"<![CDATA[package com.example.myapp;\n"
@@ -895,7 +945,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:401
+#: Configuration.xml:423
#, no-c-format
msgid ""
"Assuming your EJB bean class is deployed in an EAR named myapp, the global "
@@ -907,7 +957,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:407
+#: Configuration.xml:429
#, no-c-format
msgid ""
"So what about the rest of the application servers? Well, according to the "
@@ -919,7 +969,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:413
+#: Configuration.xml:435
#, no-c-format
msgid ""
"There are two places you have to define the EJB reference when using Seam on "
@@ -930,7 +980,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:418
+#: Configuration.xml:440
#, no-c-format
msgid ""
"<![CDATA[<ejb-local-ref>\n"
@@ -942,7 +992,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:420
+#: Configuration.xml:442
#, no-c-format
msgid ""
"This reference will cover most uses of the component in a Seam application. "
@@ -953,7 +1003,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:425
+#: Configuration.xml:447
#, no-c-format
msgid ""
"Within the context of an EJB method call, you have to deal with a somewhat "
@@ -970,7 +1020,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:434
+#: Configuration.xml:456
#, no-c-format
msgid ""
"For application servers that stubbornly adhere to the EJB specification, EJB "
@@ -982,7 +1032,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:439
+#: Configuration.xml:461
#, no-c-format
msgid ""
"Let's assume that we have an EJB named RegisterAction (the name is resolved "
@@ -991,7 +1041,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:442
+#: Configuration.xml:464
#, no-c-format
msgid ""
"<![CDATA[@In(create = true)\n"
@@ -1000,7 +1050,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:444
+#: Configuration.xml:466
#, no-c-format
msgid ""
"In order for this injection to work, the link must be established in the ejb-"
@@ -1008,7 +1058,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:446
+#: Configuration.xml:468
#, no-c-format
msgid ""
"<![CDATA[<ejb-jar>\n"
@@ -1031,7 +1081,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:448
+#: Configuration.xml:470
#, no-c-format
msgid ""
"Notice that the contents of the <literal><ejb-local-ref></literal> are "
@@ -1043,7 +1093,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:454
+#: Configuration.xml:476
#, no-c-format
msgid ""
"But what about <literal>@EJB</literal>? It's true that you can inject one "
@@ -1061,7 +1111,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:464
+#: Configuration.xml:486
#, no-c-format
msgid ""
"That covers how JNDI names are defined and used. The lesson is that with "
@@ -1074,7 +1124,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:470
+#: Configuration.xml:492
#, no-c-format
msgid ""
"<![CDATA[<core:init jndi-name=\"java:comp/env/earName/#{ejbName}/local\" />]]"
@@ -1082,7 +1132,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:472
+#: Configuration.xml:494
#, no-c-format
msgid ""
"Finally, let's talk about transactions. In an EJB3 environment, we recommend "
@@ -1094,19 +1144,19 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:479
+#: Configuration.xml:501
#, no-c-format
msgid "<![CDATA[<transaction:ejb-transaction/>]]>"
msgstr ""
#. Tag: title
-#: Configuration.xml:484
+#: Configuration.xml:506
#, no-c-format
msgid "Don't forget!"
msgstr ""
#. Tag: para
-#: Configuration.xml:486
+#: Configuration.xml:508
#, no-c-format
msgid ""
"There is one final item you need to know about. You must place a "
@@ -1118,7 +1168,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:491
+#: Configuration.xml:513
#, no-c-format
msgid ""
"In a web archive (WAR) file, you must place a <literal>seam.properties</"
@@ -1127,7 +1177,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:494
+#: Configuration.xml:516
#, no-c-format
msgid ""
"That's why all the Seam examples have an empty <literal>seam.properties</"
@@ -1136,7 +1186,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:497
+#: Configuration.xml:519
#, no-c-format
msgid ""
"You might think this is silly and what kind of idiot framework designers "
@@ -1148,13 +1198,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:508
+#: Configuration.xml:530
#, no-c-format
msgid "Using Alternate JPA Providers"
msgstr ""
#. Tag: para
-#: Configuration.xml:510
+#: Configuration.xml:532
#, no-c-format
msgid ""
"Seam comes packaged and configured with Hibernate as the default JPA "
@@ -1163,13 +1213,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:516
+#: Configuration.xml:538
#, no-c-format
msgid "This is a workaround"
msgstr ""
#. Tag: para
-#: Configuration.xml:517
+#: Configuration.xml:539
#, no-c-format
msgid ""
"Configuration of the JPA provider will be easier in the future and will not "
@@ -1178,7 +1228,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:524
+#: Configuration.xml:546
#, no-c-format
msgid ""
"Telling seam about a different JPA provider can be be done in one of two "
@@ -1186,7 +1236,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:525
+#: Configuration.xml:547
#, no-c-format
msgid ""
"Update your application's <literal>components.xml</literal> so that the "
@@ -1195,7 +1245,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:530
+#: Configuration.xml:552
#, no-c-format
msgid ""
"<![CDATA[<component name=\"org.jboss.seam.persistence.persistenceProvider"
@@ -1206,7 +1256,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:531
+#: Configuration.xml:553
#, no-c-format
msgid ""
"If you want to take advantage of your JPA provider's non-standard features "
@@ -1218,7 +1268,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:538
+#: Configuration.xml:560
#, no-c-format
msgid ""
"<![CDATA[<component name=\"org.jboss.seam.persistence.persistenceProvider"
@@ -1228,7 +1278,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:539
+#: Configuration.xml:561
#, no-c-format
msgid ""
"All that is left is updating the <literal>persistence.xml</literal> file "
@@ -1238,13 +1288,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:547
+#: Configuration.xml:569
#, no-c-format
msgid "Configuring Seam in Java EE 5"
msgstr ""
#. Tag: para
-#: Configuration.xml:558
+#: Configuration.xml:580
#, no-c-format
msgid ""
"If you're running in a Java EE 5 environment, this is all the configuration "
@@ -1252,14 +1302,14 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:561 Configuration.xml:656 Configuration.xml:794
-#: Configuration.xml:827
+#: Configuration.xml:583 Configuration.xml:678 Configuration.xml:816
+#: Configuration.xml:849
#, no-c-format
msgid "Packaging"
msgstr ""
#. Tag: para
-#: Configuration.xml:563
+#: Configuration.xml:585
#, no-c-format
msgid ""
"Once you've packaged all this stuff together into an EAR, the archive "
@@ -1267,7 +1317,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:566
+#: Configuration.xml:588
#, no-c-format
msgid ""
"<![CDATA[my-application.ear/\n"
@@ -1307,7 +1357,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:568
+#: Configuration.xml:590
#, no-c-format
msgid ""
"You should declare <literal>jboss-seam.jar</literal> as an ejb module in "
@@ -1316,7 +1366,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:573
+#: Configuration.xml:595
#, no-c-format
msgid ""
"If you want to use jBPM or Drools, you must include the needed jars in the "
@@ -1324,7 +1374,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:575
+#: Configuration.xml:597
#, no-c-format
msgid ""
"If you want to use facelets (our recommendation), you must include "
@@ -1333,7 +1383,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:578
+#: Configuration.xml:600
#, no-c-format
msgid ""
"If you want to use the Seam tag library (most Seam applications do), you "
@@ -1344,7 +1394,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:583
+#: Configuration.xml:605
#, no-c-format
msgid ""
"If you want to use the Seam debug page (only works for applications using "
@@ -1353,7 +1403,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:586
+#: Configuration.xml:608
#, no-c-format
msgid ""
"Seam ships with several example applications that are deployable in any Java "
@@ -1361,7 +1411,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:589
+#: Configuration.xml:611
#, no-c-format
msgid ""
"I really wish that was all there was to say on the topic of configuration "
@@ -1371,13 +1421,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:598
+#: Configuration.xml:620
#, no-c-format
msgid "Configuring Seam in J2EE"
msgstr ""
#. Tag: para
-#: Configuration.xml:600
+#: Configuration.xml:622
#, no-c-format
msgid ""
"Seam is useful even if you're not yet ready to take the plunge into EJB 3.0. "
@@ -1389,7 +1439,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:615
+#: Configuration.xml:637
#, no-c-format
msgid ""
"Seam JavaBean components do not provide declarative transaction demarcation "
@@ -1401,7 +1451,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:621
+#: Configuration.xml:643
#, no-c-format
msgid ""
"The Seam distribution includes a version of the booking example application "
@@ -1411,13 +1461,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:626
+#: Configuration.xml:648
#, no-c-format
msgid "Boostrapping Hibernate in Seam"
msgstr ""
#. Tag: para
-#: Configuration.xml:628
+#: Configuration.xml:650
#, no-c-format
msgid ""
"Seam will bootstrap a Hibernate <literal>SessionFactory</literal> from your "
@@ -1426,7 +1476,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:631
+#: Configuration.xml:653
#, no-c-format
msgid ""
"<![CDATA[<persistence:hibernate-session-factory name="
@@ -1434,7 +1484,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:633
+#: Configuration.xml:655
#, no-c-format
msgid ""
"You will also need to configure a <emphasis>managed session</emphasis> if "
@@ -1443,7 +1493,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:636
+#: Configuration.xml:658
#, no-c-format
msgid ""
"<![CDATA[<persistence:managed-hibernate-session name=\"hibernateSession\"\n"
@@ -1452,13 +1502,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:641
+#: Configuration.xml:663
#, no-c-format
msgid "Boostrapping JPA in Seam"
msgstr ""
#. Tag: para
-#: Configuration.xml:643
+#: Configuration.xml:665
#, no-c-format
msgid ""
"Seam will bootstrap a JPA <literal>EntityManagerFactory</literal> from your "
@@ -1467,7 +1517,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:646
+#: Configuration.xml:668
#, no-c-format
msgid ""
"<![CDATA[<persistence:entity-manager-factory name=\"entityManagerFactory\"/"
@@ -1475,7 +1525,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:648
+#: Configuration.xml:670
#, no-c-format
msgid ""
"You will also need to configure a <emphasis>managed persistence context</"
@@ -1484,7 +1534,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:651
+#: Configuration.xml:673
#, no-c-format
msgid ""
"<![CDATA[<persistence:managed-persistence-context name=\"entityManager\"\n"
@@ -1493,13 +1543,13 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:658
+#: Configuration.xml:680
#, no-c-format
msgid "We can package our application as a WAR, in the following structure:"
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:660
+#: Configuration.xml:682
#, no-c-format
msgid ""
"<![CDATA[my-application.war/\n"
@@ -1536,7 +1586,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:662
+#: Configuration.xml:684
#, no-c-format
msgid ""
"If we want to deploy Hibernate in a non-EE environment like Tomcat or "
@@ -1544,13 +1594,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:669
+#: Configuration.xml:691
#, no-c-format
msgid "Configuring Seam in Java SE, without JBoss Embedded"
msgstr ""
#. Tag: para
-#: Configuration.xml:671
+#: Configuration.xml:693
#, no-c-format
msgid ""
"It is possible to use Seam completely outside of an EE environment. In this "
@@ -1560,7 +1610,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:675
+#: Configuration.xml:697
#, no-c-format
msgid ""
"<![CDATA[<transaction:entity-transaction entity-manager=\"#{entityManager}\"/"
@@ -1568,7 +1618,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:677
+#: Configuration.xml:699
#, no-c-format
msgid ""
"If you're using Hibernate, you can tell Seam to use the Hibernate "
@@ -1576,32 +1626,32 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:679
+#: Configuration.xml:701
#, no-c-format
msgid "<![CDATA[<transaction:hibernate-transaction session=\"#{session}\"/>]]>"
msgstr ""
#. Tag: para
-#: Configuration.xml:681
+#: Configuration.xml:703
#, no-c-format
msgid "Of course, you'll also need to define a datasource."
msgstr ""
#. Tag: para
-#: Configuration.xml:683
+#: Configuration.xml:705
#, no-c-format
msgid ""
"A better alternative is to use JBoss Embedded to get access to the EE APIs."
msgstr ""
#. Tag: title
-#: Configuration.xml:688
+#: Configuration.xml:710
#, no-c-format
msgid "Configuring Seam in Java SE, with JBoss Embedded"
msgstr ""
#. Tag: para
-#: Configuration.xml:690
+#: Configuration.xml:712
#, no-c-format
msgid ""
"JBoss Embedded lets you run EJB3 components outside the context of the Java "
@@ -1610,7 +1660,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:693
+#: Configuration.xml:715
#, no-c-format
msgid ""
"The Seam booking example application includes a TestNG integration test "
@@ -1618,19 +1668,19 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:705
+#: Configuration.xml:727
#, no-c-format
msgid "The booking example application may even be deployed to Tomcat."
msgstr ""
#. Tag: title
-#: Configuration.xml:717
+#: Configuration.xml:739
#, no-c-format
msgid "Installing Embedded JBoss"
msgstr ""
#. Tag: para
-#: Configuration.xml:720
+#: Configuration.xml:742
#, no-c-format
msgid ""
"Embedded JBoss must by installed into Tomcat for Seam applications to run "
@@ -1643,7 +1693,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:734
+#: Configuration.xml:756
#, no-c-format
msgid ""
"Copy all files and directories under the Embedded JBoss <literal>bootstrap</"
@@ -1653,7 +1703,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:741
+#: Configuration.xml:763
#, no-c-format
msgid ""
"Remove the <literal>annotations-api.jar</literal> file from the Tomcat "
@@ -1661,7 +1711,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:747
+#: Configuration.xml:769
#, no-c-format
msgid ""
"Next, two configuration files need to be updated to add Embedded JBoss-"
@@ -1669,7 +1719,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:753
+#: Configuration.xml:775
#, no-c-format
msgid ""
"Add the Embedded JBoss listener <literal>EmbeddedJBossBootstrapListener</"
@@ -1678,7 +1728,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:756
+#: Configuration.xml:778
#, no-c-format
msgid ""
"<![CDATA[<Server port=\"8005\" shutdown=\"SHUTDOWN\">\n"
@@ -1696,7 +1746,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:757
+#: Configuration.xml:779
#, no-c-format
msgid ""
"<![CDATA[ <!-- Add this listener -->\n"
@@ -1705,7 +1755,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:761
+#: Configuration.xml:783
#, no-c-format
msgid ""
"WAR file scanning should be enabled by adding the <literal>WebinfScanner</"
@@ -1713,7 +1763,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:764
+#: Configuration.xml:786
#, no-c-format
msgid ""
"<![CDATA[<Context>\n"
@@ -1728,7 +1778,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:765
+#: Configuration.xml:787
#, no-c-format
msgid ""
"<![CDATA[ <!-- Add this listener -->\n"
@@ -1736,13 +1786,13 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:766
+#: Configuration.xml:788
#, no-c-format
msgid "<![CDATA[</Context>]]>"
msgstr ""
#. Tag: para
-#: Configuration.xml:770
+#: Configuration.xml:792
#, no-c-format
msgid ""
"If you are using Sun JDK 6, you need to set the Java option <literal>sun."
@@ -1752,7 +1802,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:775
+#: Configuration.xml:797
#, no-c-format
msgid ""
"Open the script appropriate for your operating system in a text editor. Add "
@@ -1762,7 +1812,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:779
+#: Configuration.xml:801
#, no-c-format
msgid ""
"<![CDATA[set JAVA_OPTS=%JAVA_OPTS% -Dsun.lang.ClassLoader."
@@ -1770,13 +1820,13 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:781
+#: Configuration.xml:803
#, no-c-format
msgid "On Unix, use this syntax instead:"
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:783
+#: Configuration.xml:805
#, no-c-format
msgid ""
"<![CDATA[JAVA_OPTS=\"$JAVA_OPTS -Dsun.lang.ClassLoader.allowArraySyntax=true"
@@ -1784,7 +1834,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:788
+#: Configuration.xml:810
#, no-c-format
msgid ""
"For more configuration options, please see the Embedded JBoss Tomcat "
@@ -1793,7 +1843,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:796
+#: Configuration.xml:818
#, no-c-format
msgid ""
"The archive structure of a WAR-based deployment on an servlet engine like "
@@ -1801,7 +1851,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:799
+#: Configuration.xml:821
#, no-c-format
msgid ""
"<![CDATA[my-application.war/\n"
@@ -1839,7 +1889,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:801
+#: Configuration.xml:823
#, no-c-format
msgid ""
"Most of the Seam example applications may be deployed to Tomcat by running "
@@ -1847,13 +1897,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:809
+#: Configuration.xml:831
#, no-c-format
msgid "Configuring jBPM in Seam"
msgstr ""
#. Tag: para
-#: Configuration.xml:810
+#: Configuration.xml:832
#, no-c-format
msgid ""
"Seam's jBPM integration is not installed by default, so you'll need to "
@@ -1863,7 +1913,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:814
+#: Configuration.xml:836
#, no-c-format
msgid ""
"<![CDATA[<bpm:jbpm>\n"
@@ -1879,7 +1929,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:816
+#: Configuration.xml:838
#, no-c-format
msgid ""
"No further special configuration is needed if you only have pageflows. If "
@@ -1890,7 +1940,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:821
+#: Configuration.xml:843
#, no-c-format
msgid ""
"<![CDATA[<jbpm-configuration>\n"
@@ -1920,7 +1970,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:823
+#: Configuration.xml:845
#, no-c-format
msgid ""
"The most important thing to notice here is that jBPM transaction control is "
@@ -1928,7 +1978,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:829
+#: Configuration.xml:851
#, no-c-format
msgid ""
"There is not yet any well-defined packaging format for jBPM configuration "
@@ -1939,7 +1989,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:834
+#: Configuration.xml:856
#, no-c-format
msgid ""
"<![CDATA[my-application.ear/\n"
@@ -1986,13 +2036,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:841
+#: Configuration.xml:863
#, no-c-format
msgid "Configuring SFSB and Session Timeouts in JBoss AS"
msgstr ""
#. Tag: para
-#: Configuration.xml:843
+#: Configuration.xml:865
#, no-c-format
msgid ""
"It is very important that the timeout for Stateful Session Beans is set "
@@ -2004,7 +2054,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:849
+#: Configuration.xml:871
#, no-c-format
msgid ""
"The default SFSB timeout can be adjusted by modifying the value of "
@@ -2013,7 +2063,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:852
+#: Configuration.xml:874
#, no-c-format
msgid ""
"<![CDATA[<container-cache-conf>\n"
@@ -2038,7 +2088,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:854
+#: Configuration.xml:876
#, no-c-format
msgid ""
"The default HTTP session timeout can be modified in <literal>server/default/"
@@ -2049,7 +2099,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:859
+#: Configuration.xml:881
#, no-c-format
msgid ""
"<![CDATA[<session-config>\n"
@@ -2059,7 +2109,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:861
+#: Configuration.xml:883
#, no-c-format
msgid ""
"To override this value for your own application, simply include this entry "
@@ -2067,13 +2117,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:867
+#: Configuration.xml:889
#, no-c-format
msgid "Running Seam in a Portlet"
msgstr ""
#. Tag: para
-#: Configuration.xml:869
+#: Configuration.xml:891
#, no-c-format
msgid ""
"If you want to run your Seam application in a portlet, take a look at the "
@@ -2084,13 +2134,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:880
+#: Configuration.xml:902
#, no-c-format
msgid "Deploying custom resources"
msgstr ""
#. Tag: para
-#: Configuration.xml:882
+#: Configuration.xml:904
#, no-c-format
msgid ""
"Seam scans all jars containing <literal>/seam.properties</literal>, "
@@ -2101,7 +2151,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:889
+#: Configuration.xml:911
#, no-c-format
msgid ""
"You may also want Seam to handle custom resources. A common use case is to "
@@ -2111,7 +2161,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:896
+#: Configuration.xml:918
#, no-c-format
msgid ""
"<![CDATA[# A colon-separated list of annotation types to handle\n"
@@ -2119,7 +2169,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:898
+#: Configuration.xml:920
#, no-c-format
msgid ""
"Then, during application startup you can get hold of all classes annotated "
@@ -2127,7 +2177,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:903
+#: Configuration.xml:925
#, no-c-format
msgid ""
"<![CDATA[@Name(\"fooStartup\")\n"
@@ -2159,7 +2209,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:905
+#: Configuration.xml:927
#, no-c-format
msgid ""
"You can also handle <emphasis>any</emphasis> resource. For example, you "
@@ -2168,7 +2218,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:911
+#: Configuration.xml:933
#, no-c-format
msgid ""
"<![CDATA[public class FooDeploymentHandler implements DeploymentHandler {\n"
@@ -2192,7 +2242,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:913
+#: Configuration.xml:935
#, no-c-format
msgid ""
"Here we are just building a list of any files with the suffix <literal>.foo."
@@ -2200,7 +2250,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:918
+#: Configuration.xml:940
#, no-c-format
msgid ""
"Then, we need to register the deployment handler with Seam in <literal>/META-"
@@ -2209,7 +2259,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:925
+#: Configuration.xml:947
#, no-c-format
msgid ""
"<![CDATA[# For standard deployment\n"
@@ -2220,7 +2270,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:931
+#: Configuration.xml:953
#, no-c-format
msgid ""
"Seam uses deployment handlers internally to install components and "
@@ -2229,7 +2279,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:937
+#: Configuration.xml:959
#, no-c-format
msgid ""
"<![CDATA[@Name(\"fooStartup\")\n"
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/ml-IN/Webservices.po
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/ml-IN/Webservices.po 2009-08-26 19:14:02 UTC (rev 11432)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/ml-IN/Webservices.po 2009-08-26 19:19:33 UTC (rev 11433)
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-07-08 14:32+0000\n"
+"POT-Creation-Date: 2009-08-26 18:48+0000\n"
"PO-Revision-Date: 2008-04-04 01:24+0000\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
@@ -392,48 +392,56 @@
#: Webservices.xml:186
#, no-c-format
msgid ""
-"The URI starts with the pattern mapped in <literal>web.xml</literal> for the "
+"The URI starts with the host and context path of your application, e.g. "
+"<literal>http://your.hostname/myapp</literal>."
+msgstr ""
+
+#. Tag: para
+#: Webservices.xml:192
+#, no-c-format
+msgid ""
+"Then the pattern mapped in <literal>web.xml</literal> for the "
"<literal>SeamResourceServlet</literal>, e.g <literal>/seam/resource</"
-"literal> if you follow the common examples. Change this setting to expose "
-"your RESTful resources under a different base. Note that this is a global "
-"change and other Seam resources (e.g. <literal>s:graphicImage</literal>) are "
-"then also served under that base path."
+"literal> if you follow the common examples, is appended. Change this setting "
+"to expose your RESTful resources under a different base. Note that this is a "
+"global change and other Seam resources (e.g. <literal>s:graphicImage</"
+"literal>) are then also served under that base path."
msgstr ""
#. Tag: para
-#: Webservices.xml:195
+#: Webservices.xml:201
#, no-c-format
msgid ""
"The RESTEasy integration for Seam then appends a configurable string to the "
"base path, by default this is <literal>/rest</literal>. Hence, the full base "
-"path of your resources would e.g. be <literal>/seam/resource/rest</literal>. "
-"We recommend that you change this string in your application, you could for "
-"example add a version number to prepare for a future REST API upgrade of "
-"your services (old clients would keep the old URI base): <literal>/seam/"
-"resource/restv1</literal>."
+"path of your resources would e.g. be <literal>/myapp/seam/resource/rest</"
+"literal>. We recommend that you change this string in your application, you "
+"could for example add a version number to prepare for a future REST API "
+"upgrade of your services (old clients would keep the old URI base): "
+"<literal>/myapp/seam/resource/restv1</literal>."
msgstr ""
#. Tag: para
-#: Webservices.xml:204
+#: Webservices.xml:210
#, no-c-format
msgid ""
"Finally, the actual resource is available under the defined <literal>@Path</"
"literal>, e.g. a resource mapped with <literal>@Path(\"/customer\")</"
-"literal> would be available under <literal>/seam/resource/rest/customer</"
-"literal>."
+"literal> would be available under <literal>/myapp/seam/resource/rest/"
+"customer</literal>."
msgstr ""
#. Tag: para
-#: Webservices.xml:212
+#: Webservices.xml:218
#, no-c-format
msgid ""
"As an example, the following resource definition would return a plaintext "
"representation for any GET requests using the URI <literal>http://your."
-"hostname/seam/resource/rest/customer/123</literal>:"
+"hostname/myapp/seam/resource/rest/customer/123</literal>:"
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:217
+#: Webservices.xml:223
#, no-c-format
msgid ""
"<![CDATA[@Path(\"/customer\")\n"
@@ -450,7 +458,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:219
+#: Webservices.xml:225
#, no-c-format
msgid ""
"No additional configuration is required, you do not have to edit "
@@ -461,7 +469,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:225
+#: Webservices.xml:231
#, no-c-format
msgid ""
"<![CDATA[<components\n"
@@ -476,63 +484,39 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:227
+#: Webservices.xml:233
#, no-c-format
msgid ""
"You can then change the <literal>/rest</literal> prefix as mentioned earlier:"
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:231
+#: Webservices.xml:237
#, no-c-format
msgid "<![CDATA[<resteasy:application resource-path-prefix=\"/restv1\"/>]]>"
msgstr ""
#. Tag: para
-#: Webservices.xml:233
-#, no-c-format
-msgid ""
-"The full base path to your resources is now <literal>/seam/resource/restv1/"
-"{resource}</literal> - note that your <literal>@Path</literal> definitions "
-"and mappings do NOT change. This is an application-wide switch usually used "
-"for versioning of the HTTP API."
-msgstr ""
-
-#. Tag: para
#: Webservices.xml:239
#, no-c-format
msgid ""
-"You can disable stripping of the base path if you'd like to map the full "
-"path in your resources:"
+"The full base path to your resources is now <literal>/myapp/seam/resource/"
+"restv1/{resource}</literal> - note that your <literal>@Path</literal> "
+"definitions and mappings do NOT change. This is an application-wide switch "
+"usually used for versioning of the HTTP interface."
msgstr ""
-#. Tag: programlisting
-#: Webservices.xml:243
-#, no-c-format
-msgid "<![CDATA[<resteasy:application strip-seam-resource-path=\"false\"/>]]>"
-msgstr ""
-
#. Tag: para
#: Webservices.xml:245
#, no-c-format
msgid ""
-"The path of a resource is now mapped with e.g. <literal>@Path(\"/seam/"
-"resource/rest/customer\")</literal>. We do not recommend disabling this "
-"feature, as your resource class mappings are then bound to a particular "
-"deployment scenario."
-msgstr ""
-
-#. Tag: para
-#: Webservices.xml:251
-#, no-c-format
-msgid ""
"Seam will scan your classpath for any deployed <literal>@javax.ws.rs.Path</"
"literal> resources and any <literal>@javax.ws.rs.ext.Provider</literal> "
"classes. You can disable scanning and configure these classes manually:"
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:257
+#: Webservices.xml:251
#, no-c-format
msgid ""
"<![CDATA[<resteasy:application\n"
@@ -554,7 +538,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:259
+#: Webservices.xml:253
#, no-c-format
msgid ""
"The <literal>use-built-in-providers</literal> switch enables (default) or "
@@ -564,7 +548,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:265
+#: Webservices.xml:259
#, no-c-format
msgid ""
"RESTEasy supports plain EJBs (EJBs that are not Seam components) as "
@@ -576,20 +560,21 @@
"<literal>@Path</literal>, <literal>@GET</literal>, and so on - not the bean "
"implementation class. This allows you to keep your application deployment-"
"portable with the global Seam <literal>jndi-pattern</literal> switch on "
-"<literal><core:init/></literal>. Note that EJB resources will not be "
-"found even if scanning of resources is enabled, you always have to list them "
-"manually. Again, this is only relevant for EJB resources that are not also "
-"Seam components and that do not have a <literal>@Name</literal> annotation."
+"<literal><core:init/></literal>. Note that plain (non-Seam component) "
+"EJB resources will not be found even if scanning of resources is enabled, "
+"you always have to list them manually. Again, this whole paragraph is only "
+"relevant for EJB resources that are not also Seam components and that do not "
+"have an <literal>@Name</literal> annotation."
msgstr ""
#. Tag: para
-#: Webservices.xml:277
+#: Webservices.xml:272
#, no-c-format
msgid "Finally, you can configure media type and language URI extensions:"
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:281
+#: Webservices.xml:276
#, no-c-format
msgid ""
"<![CDATA[<resteasy:application>\n"
@@ -606,7 +591,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:283
+#: Webservices.xml:278
#, no-c-format
msgid ""
"This definition would map the URI suffix of <literal>.txt.deutsch</literal> "
@@ -616,13 +601,13 @@
msgstr ""
#. Tag: title
-#: Webservices.xml:292
+#: Webservices.xml:287
#, no-c-format
msgid "Resources and providers as Seam components"
msgstr ""
#. Tag: para
-#: Webservices.xml:294
+#: Webservices.xml:289
#, no-c-format
msgid ""
"Any resource and provider instances are managed by RESTEasy by default. That "
@@ -633,7 +618,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:301
+#: Webservices.xml:296
#, no-c-format
msgid ""
"You can write resources and providers as Seam components and benefit from "
@@ -642,7 +627,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:307
+#: Webservices.xml:302
#, no-c-format
msgid ""
"<![CDATA[@Name(\"customerResource\")\n"
@@ -663,7 +648,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:309
+#: Webservices.xml:304
#, no-c-format
msgid ""
"An instance of <literal>customerResource</literal> is now handled by Seam "
@@ -677,7 +662,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:318
+#: Webservices.xml:313
#, no-c-format
msgid ""
"You can annotate an interface and keep the implementation free from JAX-RS "
@@ -685,7 +670,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:322
+#: Webservices.xml:317
#, no-c-format
msgid ""
"<![CDATA[@Path(\"/customer\")\n"
@@ -700,7 +685,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:324
+#: Webservices.xml:319
#, no-c-format
msgid ""
"<![CDATA[@Name(\"customerResource\")\n"
@@ -718,7 +703,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:326
+#: Webservices.xml:321
#, no-c-format
msgid ""
"You can use <literal>SESSION</literal>-scoped Seam components. By default, "
@@ -733,7 +718,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:335
+#: Webservices.xml:330
#, no-c-format
msgid ""
"Assuming that your Seam application only uses event, application, or "
@@ -745,7 +730,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:342
+#: Webservices.xml:337
#, no-c-format
msgid ""
"If your RESTful Seam application has to preserve session state across REST "
@@ -753,14 +738,14 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:347
+#: Webservices.xml:342
#, no-c-format
msgid ""
"<![CDATA[<resteasy:application destroy-session-after-request=\"false\"/>]]>"
msgstr ""
#. Tag: para
-#: Webservices.xml:349
+#: Webservices.xml:344
#, no-c-format
msgid ""
"Every REST HTTP request will now create a new session that will only be "
@@ -771,7 +756,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:356
+#: Webservices.xml:351
#, no-c-format
msgid ""
"<literal>CONVERSATION</literal>-scoped resource components and mapping of "
@@ -780,7 +765,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:361
+#: Webservices.xml:356
#, no-c-format
msgid ""
"EJB Seam components are supported. Always annotate the local business "
@@ -789,7 +774,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:366
+#: Webservices.xml:361
#, no-c-format
msgid ""
"Provider classes can also be Seam components, only <literal>APPLICATION</"
@@ -799,13 +784,13 @@
msgstr ""
#. Tag: title
-#: Webservices.xml:375
+#: Webservices.xml:370
#, no-c-format
msgid "Securing resources"
msgstr ""
#. Tag: para
-#: Webservices.xml:377
+#: Webservices.xml:372
#, no-c-format
msgid ""
"You can enable the Seam authentication filter for HTTP Basic and Digest "
@@ -813,7 +798,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:382
+#: Webservices.xml:377
#, no-c-format
msgid ""
"<![CDATA[<web:authentication-filter url-pattern=\"/seam/resource/rest/*\" "
@@ -821,14 +806,14 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:384
+#: Webservices.xml:379
#, no-c-format
msgid ""
"See the Seam security chapter on how to write an authentication routine."
msgstr ""
#. Tag: para
-#: Webservices.xml:388
+#: Webservices.xml:383
#, no-c-format
msgid ""
"After successful authentication, authorization rules with the common "
@@ -839,13 +824,13 @@
msgstr ""
#. Tag: title
-#: Webservices.xml:398
+#: Webservices.xml:393
#, no-c-format
msgid "Mapping exceptions to HTTP responses"
msgstr ""
#. Tag: para
-#: Webservices.xml:400
+#: Webservices.xml:395
#, no-c-format
msgid ""
"Section 3.3.4 of the JAX-RS specification defines how checked or unchecked "
@@ -858,7 +843,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:408
+#: Webservices.xml:403
#, no-c-format
msgid ""
"Exception handling within Seam requires that the Seam filter is executed for "
@@ -870,7 +855,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:415
+#: Webservices.xml:410
#, no-c-format
msgid ""
"<![CDATA[<filter>\n"
@@ -885,7 +870,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:417
+#: Webservices.xml:412
#, no-c-format
msgid ""
"To convert the unchecked <literal>UnsupportedOperationException</literal> "
@@ -895,7 +880,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:423
+#: Webservices.xml:418
#, no-c-format
msgid ""
"<![CDATA[<exception class=\"java.lang.UnsupportedOperationException\">\n"
@@ -906,13 +891,13 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:425
+#: Webservices.xml:420
#, no-c-format
msgid "Custom or checked exceptions are handled the same:"
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:429
+#: Webservices.xml:424
#, no-c-format
msgid ""
"<![CDATA[<exception class=\"my.CustomException\" log=\"false\">\n"
@@ -924,7 +909,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:431
+#: Webservices.xml:426
#, no-c-format
msgid ""
"You do not have to send an HTTP error to the client if an exception occurs. "
@@ -935,7 +920,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:438
+#: Webservices.xml:433
#, no-c-format
msgid ""
"Note that the HTTP response still passes through the servlet container, so "
@@ -946,13 +931,13 @@
msgstr ""
#. Tag: title
-#: Webservices.xml:447
+#: Webservices.xml:442
#, no-c-format
msgid "Testing resources and providers"
msgstr ""
#. Tag: para
-#: Webservices.xml:449
+#: Webservices.xml:444
#, no-c-format
msgid ""
"Seam includes a unit testing utility class that helps you create unit tests "
@@ -962,7 +947,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:455
+#: Webservices.xml:450
#, no-c-format
msgid ""
"<![CDATA[import org.jboss.seam.mock.ResourceRequestEnvironment;\n"
@@ -1019,7 +1004,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:457
+#: Webservices.xml:452
#, no-c-format
msgid ""
"This test only executes local calls, it does not communicate with the "
@@ -1032,7 +1017,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:465
+#: Webservices.xml:460
#, no-c-format
msgid ""
"Note that a <literal>ResourceRequest</literal> has to be executed in a "
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/ml-IN/Websphere.po
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/ml-IN/Websphere.po 2009-08-26 19:14:02 UTC (rev 11432)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/ml-IN/Websphere.po 2009-08-26 19:19:33 UTC (rev 11433)
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-08-22 13:17+0000\n"
+"POT-Creation-Date: 2009-08-26 18:48+0000\n"
"PO-Revision-Date: 2008-04-04 01:24+0000\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
@@ -76,25 +76,27 @@
#, no-c-format
msgid ""
"The following sections in this chapter assume that WebSphere is correctly "
-"installed and is functional, and a profile has been successfully created."
+"installed and is functional, and a WebSphere \"profile\" has been "
+"successfully created."
msgstr ""
#. Tag: para
#: Websphere.xml:40
#, no-c-format
msgid ""
-"This chapter explain how to compile, deploy and run some sample applications "
-"in WebSphere. These sample applications require a database. WebSphere comes "
-"by default with a set of sample applications called \"Default Application\". "
-"This set of sample applications use a Derby database running on the Derby "
-"instance installed with WebSphere. In order to keep this simple we'll use "
-"this Derby database created for the \"Default Applications\". However, to "
-"run the sample application with the Derby database \"as-is\", a patched "
-"Hibernate dialect must be used (The patch changes the default \"auto\" key "
-"generation strategy) as explained in <xref linkend=\"glassfish\"/>. If you "
-"want to use another database, it's just a matter of creating a connection "
-"pool in WebSphere pointing to this database, declare the correct Hibernate "
-"dialect and set the correct JNDI name in <literal>persistence.xml</literal>."
+"This chapter explains how to compile, deploy and run some sample "
+"applications in WebSphere. These sample applications require a database. "
+"WebSphere comes by default with a set of sample applications called "
+"\"Default Application\". This set of sample applications use a Derby "
+"database running on the Derby instance installed within WebSphere. In order "
+"to keep this simple we'll use this Derby database created for the \"Default "
+"Applications\". However, to run the sample application with the Derby "
+"database \"as-is\", a patched Hibernate dialect must be used (The patch "
+"changes the default \"auto\" key generation strategy) as explained in <xref "
+"linkend=\"glassfish\"/>. If you want to use another database, it's just a "
+"matter of creating a connection pool in WebSphere pointing to this database, "
+"declare the correct Hibernate dialect and set the correct JNDI name in "
+"<literal>persistence.xml</literal>."
msgstr ""
#. Tag: title
@@ -144,14 +146,14 @@
#, no-c-format
msgid ""
"On the right navigation menu, select <literal>Web Container Settings/Web "
-"container</literal>)"
+"container</literal>"
msgstr ""
#. Tag: listitem
#: Websphere.xml:73
#, no-c-format
msgid ""
-"On the right navigation menu, select <literal>custom properties</literal>) "
+"On the right navigation menu, select <literal>custom properties</literal> "
"and add the following properties:"
msgstr ""
@@ -170,7 +172,7 @@
#. Tag: listitem
#: Websphere.xml:84
#, no-c-format
-msgid "Save and restart the server"
+msgid "Save the configuration and restart the server"
msgstr ""
#. Tag: title
@@ -189,38 +191,38 @@
msgstr ""
#. Tag: listitem
-#: Websphere.xml:97
+#: Websphere.xml:96
#, no-c-format
msgid ""
"The global <literal>jndi-pattern</literal> switch on the <literal><core:"
-"init></literal>. in <literal>components.xml</literal>. The switch can use "
-"a special placeholder \"<literal>#{ejbName}</literal>\" that resolves to the "
-"unqualified name of the EJB"
+"init></literal>tag in <literal>components.xml</literal>. The switch can "
+"use a special placeholder \"<literal>#{ejbName}</literal>\" that resolves to "
+"the unqualified name of the EJB"
msgstr ""
#. Tag: para
-#: Websphere.xml:102
+#: Websphere.xml:100
#, no-c-format
msgid "The <literal>@JndiName</literal> annotation"
msgstr ""
#. Tag: para
-#: Websphere.xml:108
+#: Websphere.xml:106
#, no-c-format
msgid "gives detailed explanations on how those mechanisms work."
msgstr ""
#. Tag: para
-#: Websphere.xml:112
+#: Websphere.xml:110
#, no-c-format
msgid ""
-"By default, WebSphere will bind the session bean in its local JNDI name "
-"space under a \"short\" binding name that adheres to the following pattern "
+"By default, WebSphere will bind session beans in its local JNDI name space "
+"under a \"short\" binding name that adheres to the following pattern "
"<literal>ejblocal:<package.qualified.local.interface.name></literal>."
msgstr ""
#. Tag: para
-#: Websphere.xml:117
+#: Websphere.xml:115
#, no-c-format
msgid ""
"For a detailed description on how WebSphere v7 organizes and binds EJBs in "
@@ -228,7 +230,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:120
+#: Websphere.xml:118
#, no-c-format
msgid ""
"As explained before, Seam needs to lookup for session bean as they appear in "
@@ -236,35 +238,35 @@
msgstr ""
#. Tag: listitem
-#: Websphere.xml:124
+#: Websphere.xml:121
#, no-c-format
msgid ""
"Specify which JNDI name Seam must use for each session bean using the "
-"<literal>@JndiName</literal> annotation in the java source file"
+"<literal>@JndiName</literal> annotation in the java source file,"
msgstr ""
#. Tag: listitem
-#: Websphere.xml:127
+#: Websphere.xml:123
#, no-c-format
msgid ""
"Override the default session bean names generated by WebSphere to conform to "
-"the <literal>jndi-pattern</literal> attribute"
+"the <literal>jndi-pattern</literal> attribute,"
msgstr ""
#. Tag: listitem
-#: Websphere.xml:130
+#: Websphere.xml:126
#, no-c-format
-msgid "Use EJB references"
+msgid "Use EJB references."
msgstr ""
#. Tag: title
-#: Websphere.xml:137
+#: Websphere.xml:133
#, no-c-format
msgid "Strategy 1: Specify which JNDI name Seam must use for each Session Bean"
msgstr ""
#. Tag: para
-#: Websphere.xml:138
+#: Websphere.xml:134
#, no-c-format
msgid ""
"This strategy is the simplest and fastest one regarding development. It uses "
@@ -272,7 +274,7 @@
msgstr ""
#. Tag: listitem
-#: Websphere.xml:141
+#: Websphere.xml:137
#, no-c-format
msgid ""
"Add a <literal>@JndiName(\"ejblocal:<package.qualified.local.interface."
@@ -280,20 +282,20 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:145 Websphere.xml:188
+#: Websphere.xml:141 Websphere.xml:184
#, no-c-format
msgid ""
"<para>In <literal>components.xml</literal>, add the following line:</para>"
msgstr ""
#. Tag: programlisting
-#: Websphere.xml:147 Websphere.xml:220
+#: Websphere.xml:143 Websphere.xml:216
#, no-c-format
msgid "<![CDATA[<core:init jndi-name=\"java:comp/env/#{ejbName}\" />]]>"
msgstr ""
#. Tag: para
-#: Websphere.xml:151
+#: Websphere.xml:147
#, no-c-format
msgid ""
"Add a file named <literal>WEB-INF/classes/seam-jndi.properties</literal> in "
@@ -301,7 +303,7 @@
msgstr ""
#. Tag: programlisting
-#: Websphere.xml:153
+#: Websphere.xml:149
#, no-c-format
msgid ""
"com.ibm.websphere.naming.hostname.normalizer=com.ibm.ws.naming.util."
@@ -323,13 +325,13 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:157
+#: Websphere.xml:153
#, no-c-format
msgid "At the end of <literal>web.xml</literal>, add the following lines:"
msgstr ""
#. Tag: programlisting
-#: Websphere.xml:159
+#: Websphere.xml:155
#, no-c-format
msgid ""
"<![CDATA[<ejb-local-ref>\n"
@@ -341,7 +343,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:164
+#: Websphere.xml:160
#, no-c-format
msgid ""
"That's all folks! No need to update any file during the development, nor to "
@@ -349,23 +351,23 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:167
+#: Websphere.xml:163
#, no-c-format
msgid ""
-"Compared to the other strategies, this strategy has the advantage not to "
-"have to manage any EJBs reference and also not to have to maintain extra "
+"Compared to the other strategies, this strategy has the advantage to not "
+"have to manage any EJBs reference and also to not have to maintain extra "
"files. The only drawback is one extra line in the java source code with the "
"<literal>@JndiName</literal> annotation"
msgstr ""
#. Tag: title
-#: Websphere.xml:174
+#: Websphere.xml:170
#, no-c-format
msgid "Strategy 2: Override the default names generated by WebSphere"
msgstr ""
#. Tag: section
-#: Websphere.xml:174
+#: Websphere.xml:170
#, no-c-format
msgid ""
"There is no simple way to globally override the default naming strategy for "
@@ -374,13 +376,13 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:177
+#: Websphere.xml:173
#, no-c-format
msgid "To use this strategy:"
msgstr ""
#. Tag: para
-#: Websphere.xml:181
+#: Websphere.xml:177
#, no-c-format
msgid ""
"Add a file named <literal>META-INF/ibm-ejb-jar-ext.xml</literal> in the EJB "
@@ -405,13 +407,13 @@
msgstr ""
#. Tag: programlisting
-#: Websphere.xml:190
+#: Websphere.xml:186
#, no-c-format
msgid "<![CDATA[<core:init jndi-name=\"ejblocal:#{ejbName}\" />]]>"
msgstr ""
#. Tag: para
-#: Websphere.xml:194
+#: Websphere.xml:190
#, no-c-format
msgid ""
"Add a file named <literal>WEB-INF/classes/seam-jndi.properties</literal> as "
@@ -419,7 +421,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:199
+#: Websphere.xml:195
#, no-c-format
msgid ""
"In <literal>web.xml</literal>, add the following lines (Note the different "
@@ -427,7 +429,7 @@
msgstr ""
#. Tag: programlisting
-#: Websphere.xml:201
+#: Websphere.xml:197
#, no-c-format
msgid ""
"<![CDATA[<ejb-local-ref>\n"
@@ -439,7 +441,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:206
+#: Websphere.xml:202
#, no-c-format
msgid ""
"Compared to the first strategy, this strategy requires to maintain an extra "
@@ -449,13 +451,13 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:215
+#: Websphere.xml:211
#, no-c-format
msgid "Strategy 3: Use EJB references"
msgstr ""
#. Tag: section
-#: Websphere.xml:215
+#: Websphere.xml:211
#, no-c-format
msgid ""
"This strategy is based on the usage of EJB references, from EJB to EJB and "
@@ -463,7 +465,7 @@
msgstr ""
#. Tag: listitem
-#: Websphere.xml:218
+#: Websphere.xml:214
#, no-c-format
msgid ""
"<listitem>In <literal>components.xml</literal>, add the following line:</"
@@ -471,7 +473,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:223
+#: Websphere.xml:219
#, no-c-format
msgid ""
"Follow the instructions in <xref linkend=\"config.integration.ejb.container"
@@ -479,7 +481,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:228
+#: Websphere.xml:224
#, no-c-format
msgid ""
"This is the most tedious strategy as each session bean referenced by another "
@@ -489,27 +491,27 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:239
+#: Websphere.xml:235
#, no-c-format
msgid "Configuring timeouts for Stateful Session Beans"
msgstr ""
#. Tag: para
-#: Websphere.xml:240
+#: Websphere.xml:236
#, no-c-format
msgid ""
"A timeout value has to be set for each stateful session bean used in the "
"application because stateful bean must not expire in WebSphere while Seam "
-"might still need thenm. At the time of writing this document, WebSphere does "
+"might still need them. At the time of writing this document, WebSphere does "
"not provide a way to configure a global timeout at neither the cluster, "
"server, application nor ejb-jar level. It has to be done for each stateful "
-"bean individually. This is done by adding a file named <literal>META-INF/ibm-"
-"ejb-jar-ext.xml</literal> in the EJB module, and declare the timeout value "
-"for each bean:"
+"bean individually. By default, the default timeout is 10 minutes. This is "
+"done by adding a file named <literal>META-INF/ibm-ejb-jar-ext.xml</literal> "
+"in the EJB module, and declare the timeout value for each bean:"
msgstr ""
#. Tag: programlisting
-#: Websphere.xml:246
+#: Websphere.xml:242
#, no-c-format
msgid ""
"<![CDATA[<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
@@ -529,24 +531,24 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:248
+#: Websphere.xml:244
#, no-c-format
msgid ""
"The <literal>time-out</literal> is expressed in seconds and must be higher "
"than the Seam conversation expiration timeout and a few minutes higher than "
"the user's HTTP session timeout (The session expiration timeout can trigger "
-"a few minutes after the number of minutes declared to expire s for the HTTP "
-"session expiration)."
+"a few minutes after the number of minutes declared to expire the HTTP "
+"session)."
msgstr ""
#. Tag: title
-#: Websphere.xml:257
+#: Websphere.xml:253
#, no-c-format
msgid "The <literal>jee5/booking</literal> example"
msgstr ""
#. Tag: para
-#: Websphere.xml:259
+#: Websphere.xml:255
#, no-c-format
msgid ""
"The<literal>jee5/booking</literal>example is based on the Hotel Booking "
@@ -557,23 +559,32 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:265
+#: Websphere.xml:261
#, no-c-format
msgid ""
-"For running this example, we'll use the second JNDI mapping strategy "
-"(\"Override the default names generated by WebSphere\") as we don't want to "
-"change the java code to add the <literal>@JndiName</literal> annotation as "
-"in the first strategy."
+"The example already has a breakout of configurations and build scripts for "
+"WebSphere. First thing, we are going to do is build and deploy this example. "
+"Then we'll go over some key changes that we needed."
msgstr ""
+#. Tag: para
+#: Websphere.xml:266
+#, no-c-format
+msgid ""
+"The tailored configuration files for WebSphere use the second JNDI mapping "
+"strategy (\"Override the default names generated by WebSphere\") as the goal "
+"was to not change any java code to add the <literal>@JndiName</literal> "
+"annotation as in the first strategy."
+msgstr ""
+
#. Tag: title
-#: Websphere.xml:271
+#: Websphere.xml:272
#, no-c-format
msgid "Building the <literal>jee5/booking</literal> example"
msgstr ""
#. Tag: para
-#: Websphere.xml:273
+#: Websphere.xml:274
#, no-c-format
msgid ""
"Building it only requires running the correct ant command: "
@@ -583,21 +594,21 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:280
+#: Websphere.xml:281
#, no-c-format
msgid "Deploying the <literal>jee5/booking</literal> example"
msgstr ""
#. Tag: para
-#: Websphere.xml:281
+#: Websphere.xml:282
#, no-c-format
msgid ""
-"The steps below are for the WAS version stated above.The ports are default "
-"values, if you changed them, you must substitute the values."
+"The steps below are for the WAS version stated above.The ports are the "
+"default values, if you changed them, you must substitute the values."
msgstr ""
#. Tag: listitem
-#: Websphere.xml:284
+#: Websphere.xml:285
#, no-c-format
msgid ""
"Log in to the administration console <programlisting><![CDATA[http://"
@@ -606,7 +617,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:291
+#: Websphere.xml:292
#, no-c-format
msgid ""
"Go to the <literal>WebSphere enterprise applications</literal> menu option "
@@ -615,7 +626,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:298
+#: Websphere.xml:299
#, no-c-format
msgid ""
"At the top of the <literal>Enterprise Applications</literal> table select "
@@ -624,13 +635,13 @@
msgstr ""
#. Tag: literal
-#: Websphere.xml:304
+#: Websphere.xml:305
#, no-c-format
msgid "Preparing for the application installation"
msgstr ""
#. Tag: para
-#: Websphere.xml:307
+#: Websphere.xml:308
#, no-c-format
msgid ""
"Browse to the <literal>examples/jee5/booking/dist-websphere7/jboss-seam-jee5."
@@ -638,25 +649,25 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:313 Websphere.xml:323 Websphere.xml:341
+#: Websphere.xml:314 Websphere.xml:324 Websphere.xml:342
#, no-c-format
msgid "Select the <literal>Next</literal> button."
msgstr ""
#. Tag: para
-#: Websphere.xml:318
+#: Websphere.xml:319
#, no-c-format
msgid "Select the <literal>Fast Path</literal> button."
msgstr ""
#. Tag: literal
-#: Websphere.xml:332
+#: Websphere.xml:333
#, no-c-format
msgid "Select installation options"
msgstr ""
#. Tag: para
-#: Websphere.xml:335
+#: Websphere.xml:336
#, no-c-format
msgid ""
"Select the <literal>Deploy enterprise beans and Allow EJB reference targets "
@@ -665,13 +676,13 @@
msgstr ""
#. Tag: literal
-#: Websphere.xml:350
+#: Websphere.xml:351
#, no-c-format
msgid "Map modules to servers"
msgstr ""
#. Tag: para
-#: Websphere.xml:353
+#: Websphere.xml:354
#, no-c-format
msgid ""
"No changes needed here as we only have one server. Select the <literal>Next</"
@@ -679,13 +690,13 @@
msgstr ""
#. Tag: literal
-#: Websphere.xml:362
+#: Websphere.xml:363
#, no-c-format
msgid "Map virtual hosts for Web modules"
msgstr ""
#. Tag: para
-#: Websphere.xml:365
+#: Websphere.xml:366
#, no-c-format
msgid ""
"No changes needed here as we only have one virtual host. Select the "
@@ -693,31 +704,31 @@
msgstr ""
#. Tag: literal
-#: Websphere.xml:374
+#: Websphere.xml:375
#, no-c-format
msgid "Summary"
msgstr ""
#. Tag: para
-#: Websphere.xml:377
+#: Websphere.xml:378
#, no-c-format
msgid "No changes needed here. Select the <literal>Finish</literal> button."
msgstr ""
#. Tag: literal
-#: Websphere.xml:384
+#: Websphere.xml:385
#, no-c-format
msgid "Installation"
msgstr ""
#. Tag: para
-#: Websphere.xml:387
+#: Websphere.xml:388
#, no-c-format
msgid "Now you will see WebSphere installing and deploying your application."
msgstr ""
#. Tag: para
-#: Websphere.xml:390
+#: Websphere.xml:391
#, no-c-format
msgid ""
"When done, select the <literal>Save</literal> link and you will be returned "
@@ -725,15 +736,15 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:399
+#: Websphere.xml:400
#, no-c-format
msgid ""
-"To start the application select our application in the list, then click on "
+"To start the application, select the application in the list, then click on "
"the <literal>Start</literal> button at the top of the table."
msgstr ""
#. Tag: para
-#: Websphere.xml:409
+#: Websphere.xml:410
#, no-c-format
msgid ""
"You can now access the application at <literal>http://localhost:9080/seam-"
@@ -741,13 +752,13 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:418
+#: Websphere.xml:419
#, no-c-format
msgid "Deviation from the original base files"
msgstr ""
#. Tag: section
-#: Websphere.xml:418
+#: Websphere.xml:419
#, no-c-format
msgid ""
"Below are the differences between the base configuration files and the "
@@ -756,7 +767,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:422
+#: Websphere.xml:423
#, no-c-format
msgid ""
"<literal>META-INF/ejb-jar.xml</literal> — Removed all the EJB "
@@ -764,37 +775,37 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:428
+#: Websphere.xml:429
#, no-c-format
msgid ""
"<literal>META-INF/ibm-ejb-jar-bnd.xml</literal> — This WebSphere "
"specific file has been added as we use the second JNDI mapping strategy. It "
-"defines, for each session bean, the name WebSphere will use to bind it its "
-"JNDI name space"
+"defines, for each session bean, the name WebSphere will use to bind it in "
+"its JNDI name space"
msgstr ""
#. Tag: para
-#: Websphere.xml:435
+#: Websphere.xml:436
#, no-c-format
msgid ""
"<literal>META-INF/ibm-ejb-jar-ext.xml</literal> — This WebSphere "
-"specific file defines to WebSphere, the timeout value for each stateful bean"
+"specific file defines the timeout value for each stateful bean"
msgstr ""
#. Tag: para
-#: Websphere.xml:441
+#: Websphere.xml:442
#, no-c-format
msgid ""
"<literal>META-INF/persistence.xml</literal> — The main changes here "
"are for the datasource JNDI path, switching to the WebSphere transaction "
"manager lookup class, turning off the <literal>hibernate.transaction."
"flush_before_completion</literal> toggle, and forcing the Hibernate dialect "
-"to be <literal>GlassfishDerbyDialect</literal> how as using the integrated "
-"Derby database"
+"to be <literal>GlassfishDerbyDialect</literal> as we are using the "
+"integrated Derby database"
msgstr ""
#. Tag: para
-#: Websphere.xml:451
+#: Websphere.xml:452
#, no-c-format
msgid ""
"<literal>WEB-INF/components.xml</literal> — the change here is "
@@ -803,7 +814,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:459
+#: Websphere.xml:460
#, no-c-format
msgid ""
"<literal>WEB-INF/web.xml</literal> — Remove all the <literal>ejb-local "
@@ -813,7 +824,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:467 Websphere.xml:549
+#: Websphere.xml:468
#, no-c-format
msgid ""
"<literal>import.sql</literal> — due to the cutomized hibernate Derby "
@@ -822,7 +833,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:474
+#: Websphere.xml:475
#, no-c-format
msgid ""
"Also the build procedure has been changed to include the <literal>log4j.jar</"
@@ -831,13 +842,13 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:486
+#: Websphere.xml:487
#, no-c-format
msgid "The <literal>jpa</literal> booking example"
msgstr ""
#. Tag: para
-#: Websphere.xml:488
+#: Websphere.xml:489
#, no-c-format
msgid ""
"This is the Hotel Booking example implemented in Seam POJOs and using "
@@ -845,7 +856,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:493
+#: Websphere.xml:494
#, no-c-format
msgid ""
"The example already has a breakout of configurations and build scripts for "
@@ -853,7 +864,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:498
+#: Websphere.xml:499
#, no-c-format
msgid ""
"First thing, we are going to do is build and deploy that example. Then we'll "
@@ -861,13 +872,13 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:504
+#: Websphere.xml:505
#, no-c-format
msgid "Building the <literal>jpa</literal> example"
msgstr ""
#. Tag: para
-#: Websphere.xml:505
+#: Websphere.xml:506
#, no-c-format
msgid ""
"Building it only requires running the correct ant command: "
@@ -877,13 +888,13 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:514
+#: Websphere.xml:515
#, no-c-format
msgid "Deploying the <literal>jpa</literal> example"
msgstr ""
#. Tag: para
-#: Websphere.xml:515
+#: Websphere.xml:516
#, no-c-format
msgid ""
"Deploying <literal>jpa</literal> application is very similar to the "
@@ -894,7 +905,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:521
+#: Websphere.xml:522
#, no-c-format
msgid ""
"Follow the same instructions as for the <literal>jee5/booking</literal> "
@@ -902,11 +913,11 @@
"literal> file on the first page and on the <literal>Map context roots for "
"Web modules</literal> page (after the <literal>Map virtual host for Web "
"module</literal>), enter the context root you want to use for your "
-"application in the <literal>Contect Root</literal> input field."
+"application in the <literal>Context Root</literal> input field."
msgstr ""
#. Tag: para
-#: Websphere.xml:528
+#: Websphere.xml:529
#, no-c-format
msgid ""
"When started, you can now access the application at the <literal>http://"
@@ -914,13 +925,13 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:534
+#: Websphere.xml:535
#, no-c-format
msgid "Deviation from the generic base files"
msgstr ""
#. Tag: section
-#: Websphere.xml:534
+#: Websphere.xml:535
#, no-c-format
msgid ""
"Below are the configuration file differences between the base configuration "
@@ -929,7 +940,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:539
+#: Websphere.xml:540
#, no-c-format
msgid ""
"<literal>META-INF/persistence.xml</literal> — The main changes here "
@@ -941,9 +952,18 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:556
+#: Websphere.xml:550
#, no-c-format
msgid ""
+"<literal>import.sql</literal> — due to the customized hibernate Derby "
+"dialect, the <literal>ID</literal> column can not be populated by this file "
+"and was removed."
+msgstr ""
+
+#. Tag: para
+#: Websphere.xml:557
+#, no-c-format
+msgid ""
"Also the build procedure have been changed to include the <literal>log4j."
"jar</literal> file and exclude the <literal>concurrent.jar</literal> and "
"<literal>jboss-common-core.jar</literal> files."
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/mr-IN/Configuration.po
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/mr-IN/Configuration.po 2009-08-26 19:14:02 UTC (rev 11432)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/mr-IN/Configuration.po 2009-08-26 19:19:33 UTC (rev 11433)
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-05-05 12:31+0000\n"
+"POT-Creation-Date: 2009-08-26 18:47+0000\n"
"PO-Revision-Date: 2008-04-04 01:24+0000\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
@@ -677,13 +677,63 @@
msgstr ""
#. Tag: title
+#: Configuration.xml:325
+#, no-c-format
+msgid "Enabling HTTP cache-control headers"
+msgstr ""
+
+#. Tag: para
#: Configuration.xml:326
#, no-c-format
+msgid ""
+"Seam does <emphasis>not</emphasis> automatically add <literal>cache-control</"
+"literal> HTTP headers to any resources served by the Seam resource servlet, "
+"or directly from your view directory by the servlet container. This means "
+"that your images, Javascript and CSS files, and resource representations "
+"from Seam resource servlet such as Seam Remoting Javascript interfaces are "
+"usually not cached by the browser. This is convenient in development but "
+"should be changed in production when optimizing the application."
+msgstr ""
+
+#. Tag: para
+#: Configuration.xml:334
+#, no-c-format
+msgid ""
+"You can configure a Seam filter to enable automatic addition of "
+"<literal>cache-control</literal> headers depending on the requested URI in "
+"<literal>components.xml</literal>:"
+msgstr ""
+
+#. Tag: programlisting
+#: Configuration.xml:339
+#, no-c-format
+msgid ""
+"<![CDATA[<web:cache-control-filter name=\"commonTypesCacheControlFilter\"\n"
+" regex-url-pattern=\".*(\\.gif|\\.png|\\.jpg|\\."
+"jpeg|\\.css|\\.js)\"\n"
+" value=\"max-age=86400\"/> <!-- 1 day -->\n"
+"\n"
+"<web:cache-control-filter name=\"anotherCacheControlFilter\"\n"
+" url-pattern=\"/my/cachable/resources/*\"\n"
+" value=\"max-age=432000\"/> <!-- 5 days -->]]>"
+msgstr ""
+
+#. Tag: para
+#: Configuration.xml:341
+#, no-c-format
+msgid ""
+"You do not have to name the filters unless you have more than one filter "
+"enabled."
+msgstr ""
+
+#. Tag: title
+#: Configuration.xml:348
+#, no-c-format
msgid "Adding custom filters"
msgstr ""
#. Tag: para
-#: Configuration.xml:327
+#: Configuration.xml:349
#, no-c-format
msgid ""
"Seam can install your filters for you, allowing you to specify "
@@ -695,7 +745,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:332
+#: Configuration.xml:354
#, no-c-format
msgid ""
"<![CDATA[@Startup\n"
@@ -707,7 +757,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:334
+#: Configuration.xml:356
#, no-c-format
msgid ""
"Adding the <literal>@Startup</literal> annotation means thar the component "
@@ -718,13 +768,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:343
+#: Configuration.xml:365
#, no-c-format
msgid "Integrating Seam with your EJB container"
msgstr ""
#. Tag: para
-#: Configuration.xml:345
+#: Configuration.xml:367
#, no-c-format
msgid ""
"In a Seam application, EJB components have a certain duality, as they are "
@@ -735,7 +785,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:350
+#: Configuration.xml:372
#, no-c-format
msgid ""
"We need to apply the <literal>SeamInterceptor</literal> to our Seam EJB "
@@ -747,7 +797,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:355
+#: Configuration.xml:377
#, no-c-format
msgid ""
"<![CDATA[<interceptors>\n"
@@ -768,7 +818,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:357
+#: Configuration.xml:379
#, no-c-format
msgid ""
"Seam needs to know where to go to find session beans in JNDI. One way to do "
@@ -782,19 +832,19 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:364
+#: Configuration.xml:386
#, no-c-format
msgid "For JBoss AS, the following pattern is correct:"
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:366
+#: Configuration.xml:388
#, no-c-format
msgid "<![CDATA[<core:init jndi-name=\"earName/#{ejbName}/local\" />]]>"
msgstr ""
#. Tag: para
-#: Configuration.xml:368
+#: Configuration.xml:390
#, no-c-format
msgid ""
"In this case, <literal>earName</literal> is the name of the EAR in which the "
@@ -804,7 +854,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:372
+#: Configuration.xml:394
#, no-c-format
msgid ""
"Outside the context of an EAR (when using the JBoss Embeddable EJB3 "
@@ -813,13 +863,13 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:375
+#: Configuration.xml:397
#, no-c-format
msgid "<![CDATA[<core:init jndi-name=\"#{ejbName}/local\" />]]>"
msgstr ""
#. Tag: para
-#: Configuration.xml:377
+#: Configuration.xml:399
#, no-c-format
msgid ""
"How these JNDI names are resolved and somehow locate an EJB component might "
@@ -828,7 +878,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:381
+#: Configuration.xml:403
#, no-c-format
msgid ""
"The folks at JBoss don't care much for XML, if you can't tell. So when they "
@@ -839,14 +889,14 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:387
+#: Configuration.xml:409
#, no-c-format
msgid ""
"The value of the <literal><ejb-name></literal> element in ejb-jar.xml"
msgstr ""
#. Tag: para
-#: Configuration.xml:390
+#: Configuration.xml:412
#, no-c-format
msgid ""
"The value of the <literal>name</literal> attribute in the @Stateless or "
@@ -854,13 +904,13 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:393
+#: Configuration.xml:415
#, no-c-format
msgid "The simple name of the bean class"
msgstr ""
#. Tag: para
-#: Configuration.xml:397
+#: Configuration.xml:419
#, no-c-format
msgid ""
"Let's look at an example. Assume that you have the following EJB bean and "
@@ -868,7 +918,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:399
+#: Configuration.xml:421
#, no-c-format
msgid ""
"<![CDATA[package com.example.myapp;\n"
@@ -895,7 +945,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:401
+#: Configuration.xml:423
#, no-c-format
msgid ""
"Assuming your EJB bean class is deployed in an EAR named myapp, the global "
@@ -907,7 +957,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:407
+#: Configuration.xml:429
#, no-c-format
msgid ""
"So what about the rest of the application servers? Well, according to the "
@@ -919,7 +969,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:413
+#: Configuration.xml:435
#, no-c-format
msgid ""
"There are two places you have to define the EJB reference when using Seam on "
@@ -930,7 +980,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:418
+#: Configuration.xml:440
#, no-c-format
msgid ""
"<![CDATA[<ejb-local-ref>\n"
@@ -942,7 +992,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:420
+#: Configuration.xml:442
#, no-c-format
msgid ""
"This reference will cover most uses of the component in a Seam application. "
@@ -953,7 +1003,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:425
+#: Configuration.xml:447
#, no-c-format
msgid ""
"Within the context of an EJB method call, you have to deal with a somewhat "
@@ -970,7 +1020,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:434
+#: Configuration.xml:456
#, no-c-format
msgid ""
"For application servers that stubbornly adhere to the EJB specification, EJB "
@@ -982,7 +1032,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:439
+#: Configuration.xml:461
#, no-c-format
msgid ""
"Let's assume that we have an EJB named RegisterAction (the name is resolved "
@@ -991,7 +1041,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:442
+#: Configuration.xml:464
#, no-c-format
msgid ""
"<![CDATA[@In(create = true)\n"
@@ -1000,7 +1050,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:444
+#: Configuration.xml:466
#, no-c-format
msgid ""
"In order for this injection to work, the link must be established in the ejb-"
@@ -1008,7 +1058,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:446
+#: Configuration.xml:468
#, no-c-format
msgid ""
"<![CDATA[<ejb-jar>\n"
@@ -1031,7 +1081,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:448
+#: Configuration.xml:470
#, no-c-format
msgid ""
"Notice that the contents of the <literal><ejb-local-ref></literal> are "
@@ -1043,7 +1093,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:454
+#: Configuration.xml:476
#, no-c-format
msgid ""
"But what about <literal>@EJB</literal>? It's true that you can inject one "
@@ -1061,7 +1111,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:464
+#: Configuration.xml:486
#, no-c-format
msgid ""
"That covers how JNDI names are defined and used. The lesson is that with "
@@ -1074,7 +1124,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:470
+#: Configuration.xml:492
#, no-c-format
msgid ""
"<![CDATA[<core:init jndi-name=\"java:comp/env/earName/#{ejbName}/local\" />]]"
@@ -1082,7 +1132,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:472
+#: Configuration.xml:494
#, no-c-format
msgid ""
"Finally, let's talk about transactions. In an EJB3 environment, we recommend "
@@ -1094,19 +1144,19 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:479
+#: Configuration.xml:501
#, no-c-format
msgid "<![CDATA[<transaction:ejb-transaction/>]]>"
msgstr ""
#. Tag: title
-#: Configuration.xml:484
+#: Configuration.xml:506
#, no-c-format
msgid "Don't forget!"
msgstr ""
#. Tag: para
-#: Configuration.xml:486
+#: Configuration.xml:508
#, no-c-format
msgid ""
"There is one final item you need to know about. You must place a "
@@ -1118,7 +1168,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:491
+#: Configuration.xml:513
#, no-c-format
msgid ""
"In a web archive (WAR) file, you must place a <literal>seam.properties</"
@@ -1127,7 +1177,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:494
+#: Configuration.xml:516
#, no-c-format
msgid ""
"That's why all the Seam examples have an empty <literal>seam.properties</"
@@ -1136,7 +1186,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:497
+#: Configuration.xml:519
#, no-c-format
msgid ""
"You might think this is silly and what kind of idiot framework designers "
@@ -1148,13 +1198,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:508
+#: Configuration.xml:530
#, no-c-format
msgid "Using Alternate JPA Providers"
msgstr ""
#. Tag: para
-#: Configuration.xml:510
+#: Configuration.xml:532
#, no-c-format
msgid ""
"Seam comes packaged and configured with Hibernate as the default JPA "
@@ -1163,13 +1213,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:516
+#: Configuration.xml:538
#, no-c-format
msgid "This is a workaround"
msgstr ""
#. Tag: para
-#: Configuration.xml:517
+#: Configuration.xml:539
#, no-c-format
msgid ""
"Configuration of the JPA provider will be easier in the future and will not "
@@ -1178,7 +1228,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:524
+#: Configuration.xml:546
#, no-c-format
msgid ""
"Telling seam about a different JPA provider can be be done in one of two "
@@ -1186,7 +1236,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:525
+#: Configuration.xml:547
#, no-c-format
msgid ""
"Update your application's <literal>components.xml</literal> so that the "
@@ -1195,7 +1245,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:530
+#: Configuration.xml:552
#, no-c-format
msgid ""
"<![CDATA[<component name=\"org.jboss.seam.persistence.persistenceProvider"
@@ -1206,7 +1256,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:531
+#: Configuration.xml:553
#, no-c-format
msgid ""
"If you want to take advantage of your JPA provider's non-standard features "
@@ -1218,7 +1268,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:538
+#: Configuration.xml:560
#, no-c-format
msgid ""
"<![CDATA[<component name=\"org.jboss.seam.persistence.persistenceProvider"
@@ -1228,7 +1278,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:539
+#: Configuration.xml:561
#, no-c-format
msgid ""
"All that is left is updating the <literal>persistence.xml</literal> file "
@@ -1238,13 +1288,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:547
+#: Configuration.xml:569
#, no-c-format
msgid "Configuring Seam in Java EE 5"
msgstr ""
#. Tag: para
-#: Configuration.xml:558
+#: Configuration.xml:580
#, no-c-format
msgid ""
"If you're running in a Java EE 5 environment, this is all the configuration "
@@ -1252,14 +1302,14 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:561 Configuration.xml:656 Configuration.xml:794
-#: Configuration.xml:827
+#: Configuration.xml:583 Configuration.xml:678 Configuration.xml:816
+#: Configuration.xml:849
#, no-c-format
msgid "Packaging"
msgstr ""
#. Tag: para
-#: Configuration.xml:563
+#: Configuration.xml:585
#, no-c-format
msgid ""
"Once you've packaged all this stuff together into an EAR, the archive "
@@ -1267,7 +1317,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:566
+#: Configuration.xml:588
#, no-c-format
msgid ""
"<![CDATA[my-application.ear/\n"
@@ -1307,7 +1357,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:568
+#: Configuration.xml:590
#, no-c-format
msgid ""
"You should declare <literal>jboss-seam.jar</literal> as an ejb module in "
@@ -1316,7 +1366,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:573
+#: Configuration.xml:595
#, no-c-format
msgid ""
"If you want to use jBPM or Drools, you must include the needed jars in the "
@@ -1324,7 +1374,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:575
+#: Configuration.xml:597
#, no-c-format
msgid ""
"If you want to use facelets (our recommendation), you must include "
@@ -1333,7 +1383,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:578
+#: Configuration.xml:600
#, no-c-format
msgid ""
"If you want to use the Seam tag library (most Seam applications do), you "
@@ -1344,7 +1394,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:583
+#: Configuration.xml:605
#, no-c-format
msgid ""
"If you want to use the Seam debug page (only works for applications using "
@@ -1353,7 +1403,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:586
+#: Configuration.xml:608
#, no-c-format
msgid ""
"Seam ships with several example applications that are deployable in any Java "
@@ -1361,7 +1411,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:589
+#: Configuration.xml:611
#, no-c-format
msgid ""
"I really wish that was all there was to say on the topic of configuration "
@@ -1371,13 +1421,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:598
+#: Configuration.xml:620
#, no-c-format
msgid "Configuring Seam in J2EE"
msgstr ""
#. Tag: para
-#: Configuration.xml:600
+#: Configuration.xml:622
#, no-c-format
msgid ""
"Seam is useful even if you're not yet ready to take the plunge into EJB 3.0. "
@@ -1389,7 +1439,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:615
+#: Configuration.xml:637
#, no-c-format
msgid ""
"Seam JavaBean components do not provide declarative transaction demarcation "
@@ -1401,7 +1451,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:621
+#: Configuration.xml:643
#, no-c-format
msgid ""
"The Seam distribution includes a version of the booking example application "
@@ -1411,13 +1461,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:626
+#: Configuration.xml:648
#, no-c-format
msgid "Boostrapping Hibernate in Seam"
msgstr ""
#. Tag: para
-#: Configuration.xml:628
+#: Configuration.xml:650
#, no-c-format
msgid ""
"Seam will bootstrap a Hibernate <literal>SessionFactory</literal> from your "
@@ -1426,7 +1476,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:631
+#: Configuration.xml:653
#, no-c-format
msgid ""
"<![CDATA[<persistence:hibernate-session-factory name="
@@ -1434,7 +1484,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:633
+#: Configuration.xml:655
#, no-c-format
msgid ""
"You will also need to configure a <emphasis>managed session</emphasis> if "
@@ -1443,7 +1493,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:636
+#: Configuration.xml:658
#, no-c-format
msgid ""
"<![CDATA[<persistence:managed-hibernate-session name=\"hibernateSession\"\n"
@@ -1452,13 +1502,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:641
+#: Configuration.xml:663
#, no-c-format
msgid "Boostrapping JPA in Seam"
msgstr ""
#. Tag: para
-#: Configuration.xml:643
+#: Configuration.xml:665
#, no-c-format
msgid ""
"Seam will bootstrap a JPA <literal>EntityManagerFactory</literal> from your "
@@ -1467,7 +1517,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:646
+#: Configuration.xml:668
#, no-c-format
msgid ""
"<![CDATA[<persistence:entity-manager-factory name=\"entityManagerFactory\"/"
@@ -1475,7 +1525,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:648
+#: Configuration.xml:670
#, no-c-format
msgid ""
"You will also need to configure a <emphasis>managed persistence context</"
@@ -1484,7 +1534,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:651
+#: Configuration.xml:673
#, no-c-format
msgid ""
"<![CDATA[<persistence:managed-persistence-context name=\"entityManager\"\n"
@@ -1493,13 +1543,13 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:658
+#: Configuration.xml:680
#, no-c-format
msgid "We can package our application as a WAR, in the following structure:"
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:660
+#: Configuration.xml:682
#, no-c-format
msgid ""
"<![CDATA[my-application.war/\n"
@@ -1536,7 +1586,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:662
+#: Configuration.xml:684
#, no-c-format
msgid ""
"If we want to deploy Hibernate in a non-EE environment like Tomcat or "
@@ -1544,13 +1594,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:669
+#: Configuration.xml:691
#, no-c-format
msgid "Configuring Seam in Java SE, without JBoss Embedded"
msgstr ""
#. Tag: para
-#: Configuration.xml:671
+#: Configuration.xml:693
#, no-c-format
msgid ""
"It is possible to use Seam completely outside of an EE environment. In this "
@@ -1560,7 +1610,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:675
+#: Configuration.xml:697
#, no-c-format
msgid ""
"<![CDATA[<transaction:entity-transaction entity-manager=\"#{entityManager}\"/"
@@ -1568,7 +1618,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:677
+#: Configuration.xml:699
#, no-c-format
msgid ""
"If you're using Hibernate, you can tell Seam to use the Hibernate "
@@ -1576,32 +1626,32 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:679
+#: Configuration.xml:701
#, no-c-format
msgid "<![CDATA[<transaction:hibernate-transaction session=\"#{session}\"/>]]>"
msgstr ""
#. Tag: para
-#: Configuration.xml:681
+#: Configuration.xml:703
#, no-c-format
msgid "Of course, you'll also need to define a datasource."
msgstr ""
#. Tag: para
-#: Configuration.xml:683
+#: Configuration.xml:705
#, no-c-format
msgid ""
"A better alternative is to use JBoss Embedded to get access to the EE APIs."
msgstr ""
#. Tag: title
-#: Configuration.xml:688
+#: Configuration.xml:710
#, no-c-format
msgid "Configuring Seam in Java SE, with JBoss Embedded"
msgstr ""
#. Tag: para
-#: Configuration.xml:690
+#: Configuration.xml:712
#, no-c-format
msgid ""
"JBoss Embedded lets you run EJB3 components outside the context of the Java "
@@ -1610,7 +1660,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:693
+#: Configuration.xml:715
#, no-c-format
msgid ""
"The Seam booking example application includes a TestNG integration test "
@@ -1618,19 +1668,19 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:705
+#: Configuration.xml:727
#, no-c-format
msgid "The booking example application may even be deployed to Tomcat."
msgstr ""
#. Tag: title
-#: Configuration.xml:717
+#: Configuration.xml:739
#, no-c-format
msgid "Installing Embedded JBoss"
msgstr ""
#. Tag: para
-#: Configuration.xml:720
+#: Configuration.xml:742
#, no-c-format
msgid ""
"Embedded JBoss must by installed into Tomcat for Seam applications to run "
@@ -1643,7 +1693,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:734
+#: Configuration.xml:756
#, no-c-format
msgid ""
"Copy all files and directories under the Embedded JBoss <literal>bootstrap</"
@@ -1653,7 +1703,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:741
+#: Configuration.xml:763
#, no-c-format
msgid ""
"Remove the <literal>annotations-api.jar</literal> file from the Tomcat "
@@ -1661,7 +1711,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:747
+#: Configuration.xml:769
#, no-c-format
msgid ""
"Next, two configuration files need to be updated to add Embedded JBoss-"
@@ -1669,7 +1719,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:753
+#: Configuration.xml:775
#, no-c-format
msgid ""
"Add the Embedded JBoss listener <literal>EmbeddedJBossBootstrapListener</"
@@ -1678,7 +1728,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:756
+#: Configuration.xml:778
#, no-c-format
msgid ""
"<![CDATA[<Server port=\"8005\" shutdown=\"SHUTDOWN\">\n"
@@ -1696,7 +1746,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:757
+#: Configuration.xml:779
#, no-c-format
msgid ""
"<![CDATA[ <!-- Add this listener -->\n"
@@ -1705,7 +1755,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:761
+#: Configuration.xml:783
#, no-c-format
msgid ""
"WAR file scanning should be enabled by adding the <literal>WebinfScanner</"
@@ -1713,7 +1763,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:764
+#: Configuration.xml:786
#, no-c-format
msgid ""
"<![CDATA[<Context>\n"
@@ -1728,7 +1778,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:765
+#: Configuration.xml:787
#, no-c-format
msgid ""
"<![CDATA[ <!-- Add this listener -->\n"
@@ -1736,13 +1786,13 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:766
+#: Configuration.xml:788
#, no-c-format
msgid "<![CDATA[</Context>]]>"
msgstr ""
#. Tag: para
-#: Configuration.xml:770
+#: Configuration.xml:792
#, no-c-format
msgid ""
"If you are using Sun JDK 6, you need to set the Java option <literal>sun."
@@ -1752,7 +1802,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:775
+#: Configuration.xml:797
#, no-c-format
msgid ""
"Open the script appropriate for your operating system in a text editor. Add "
@@ -1762,7 +1812,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:779
+#: Configuration.xml:801
#, no-c-format
msgid ""
"<![CDATA[set JAVA_OPTS=%JAVA_OPTS% -Dsun.lang.ClassLoader."
@@ -1770,13 +1820,13 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:781
+#: Configuration.xml:803
#, no-c-format
msgid "On Unix, use this syntax instead:"
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:783
+#: Configuration.xml:805
#, no-c-format
msgid ""
"<![CDATA[JAVA_OPTS=\"$JAVA_OPTS -Dsun.lang.ClassLoader.allowArraySyntax=true"
@@ -1784,7 +1834,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:788
+#: Configuration.xml:810
#, no-c-format
msgid ""
"For more configuration options, please see the Embedded JBoss Tomcat "
@@ -1793,7 +1843,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:796
+#: Configuration.xml:818
#, no-c-format
msgid ""
"The archive structure of a WAR-based deployment on an servlet engine like "
@@ -1801,7 +1851,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:799
+#: Configuration.xml:821
#, no-c-format
msgid ""
"<![CDATA[my-application.war/\n"
@@ -1839,7 +1889,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:801
+#: Configuration.xml:823
#, no-c-format
msgid ""
"Most of the Seam example applications may be deployed to Tomcat by running "
@@ -1847,13 +1897,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:809
+#: Configuration.xml:831
#, no-c-format
msgid "Configuring jBPM in Seam"
msgstr ""
#. Tag: para
-#: Configuration.xml:810
+#: Configuration.xml:832
#, no-c-format
msgid ""
"Seam's jBPM integration is not installed by default, so you'll need to "
@@ -1863,7 +1913,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:814
+#: Configuration.xml:836
#, no-c-format
msgid ""
"<![CDATA[<bpm:jbpm>\n"
@@ -1879,7 +1929,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:816
+#: Configuration.xml:838
#, no-c-format
msgid ""
"No further special configuration is needed if you only have pageflows. If "
@@ -1890,7 +1940,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:821
+#: Configuration.xml:843
#, no-c-format
msgid ""
"<![CDATA[<jbpm-configuration>\n"
@@ -1920,7 +1970,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:823
+#: Configuration.xml:845
#, no-c-format
msgid ""
"The most important thing to notice here is that jBPM transaction control is "
@@ -1928,7 +1978,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:829
+#: Configuration.xml:851
#, no-c-format
msgid ""
"There is not yet any well-defined packaging format for jBPM configuration "
@@ -1939,7 +1989,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:834
+#: Configuration.xml:856
#, no-c-format
msgid ""
"<![CDATA[my-application.ear/\n"
@@ -1986,13 +2036,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:841
+#: Configuration.xml:863
#, no-c-format
msgid "Configuring SFSB and Session Timeouts in JBoss AS"
msgstr ""
#. Tag: para
-#: Configuration.xml:843
+#: Configuration.xml:865
#, no-c-format
msgid ""
"It is very important that the timeout for Stateful Session Beans is set "
@@ -2004,7 +2054,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:849
+#: Configuration.xml:871
#, no-c-format
msgid ""
"The default SFSB timeout can be adjusted by modifying the value of "
@@ -2013,7 +2063,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:852
+#: Configuration.xml:874
#, no-c-format
msgid ""
"<![CDATA[<container-cache-conf>\n"
@@ -2038,7 +2088,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:854
+#: Configuration.xml:876
#, no-c-format
msgid ""
"The default HTTP session timeout can be modified in <literal>server/default/"
@@ -2049,7 +2099,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:859
+#: Configuration.xml:881
#, no-c-format
msgid ""
"<![CDATA[<session-config>\n"
@@ -2059,7 +2109,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:861
+#: Configuration.xml:883
#, no-c-format
msgid ""
"To override this value for your own application, simply include this entry "
@@ -2067,13 +2117,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:867
+#: Configuration.xml:889
#, no-c-format
msgid "Running Seam in a Portlet"
msgstr ""
#. Tag: para
-#: Configuration.xml:869
+#: Configuration.xml:891
#, no-c-format
msgid ""
"If you want to run your Seam application in a portlet, take a look at the "
@@ -2084,13 +2134,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:880
+#: Configuration.xml:902
#, no-c-format
msgid "Deploying custom resources"
msgstr ""
#. Tag: para
-#: Configuration.xml:882
+#: Configuration.xml:904
#, no-c-format
msgid ""
"Seam scans all jars containing <literal>/seam.properties</literal>, "
@@ -2101,7 +2151,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:889
+#: Configuration.xml:911
#, no-c-format
msgid ""
"You may also want Seam to handle custom resources. A common use case is to "
@@ -2111,7 +2161,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:896
+#: Configuration.xml:918
#, no-c-format
msgid ""
"<![CDATA[# A colon-separated list of annotation types to handle\n"
@@ -2119,7 +2169,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:898
+#: Configuration.xml:920
#, no-c-format
msgid ""
"Then, during application startup you can get hold of all classes annotated "
@@ -2127,7 +2177,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:903
+#: Configuration.xml:925
#, no-c-format
msgid ""
"<![CDATA[@Name(\"fooStartup\")\n"
@@ -2159,7 +2209,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:905
+#: Configuration.xml:927
#, no-c-format
msgid ""
"You can also handle <emphasis>any</emphasis> resource. For example, you "
@@ -2168,7 +2218,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:911
+#: Configuration.xml:933
#, no-c-format
msgid ""
"<![CDATA[public class FooDeploymentHandler implements DeploymentHandler {\n"
@@ -2192,7 +2242,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:913
+#: Configuration.xml:935
#, no-c-format
msgid ""
"Here we are just building a list of any files with the suffix <literal>.foo."
@@ -2200,7 +2250,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:918
+#: Configuration.xml:940
#, no-c-format
msgid ""
"Then, we need to register the deployment handler with Seam in <literal>/META-"
@@ -2209,7 +2259,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:925
+#: Configuration.xml:947
#, no-c-format
msgid ""
"<![CDATA[# For standard deployment\n"
@@ -2220,7 +2270,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:931
+#: Configuration.xml:953
#, no-c-format
msgid ""
"Seam uses deployment handlers internally to install components and "
@@ -2229,7 +2279,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:937
+#: Configuration.xml:959
#, no-c-format
msgid ""
"<![CDATA[@Name(\"fooStartup\")\n"
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/mr-IN/Webservices.po
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/mr-IN/Webservices.po 2009-08-26 19:14:02 UTC (rev 11432)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/mr-IN/Webservices.po 2009-08-26 19:19:33 UTC (rev 11433)
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-07-08 14:32+0000\n"
+"POT-Creation-Date: 2009-08-26 18:48+0000\n"
"PO-Revision-Date: 2008-04-04 01:24+0000\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
@@ -392,48 +392,56 @@
#: Webservices.xml:186
#, no-c-format
msgid ""
-"The URI starts with the pattern mapped in <literal>web.xml</literal> for the "
+"The URI starts with the host and context path of your application, e.g. "
+"<literal>http://your.hostname/myapp</literal>."
+msgstr ""
+
+#. Tag: para
+#: Webservices.xml:192
+#, no-c-format
+msgid ""
+"Then the pattern mapped in <literal>web.xml</literal> for the "
"<literal>SeamResourceServlet</literal>, e.g <literal>/seam/resource</"
-"literal> if you follow the common examples. Change this setting to expose "
-"your RESTful resources under a different base. Note that this is a global "
-"change and other Seam resources (e.g. <literal>s:graphicImage</literal>) are "
-"then also served under that base path."
+"literal> if you follow the common examples, is appended. Change this setting "
+"to expose your RESTful resources under a different base. Note that this is a "
+"global change and other Seam resources (e.g. <literal>s:graphicImage</"
+"literal>) are then also served under that base path."
msgstr ""
#. Tag: para
-#: Webservices.xml:195
+#: Webservices.xml:201
#, no-c-format
msgid ""
"The RESTEasy integration for Seam then appends a configurable string to the "
"base path, by default this is <literal>/rest</literal>. Hence, the full base "
-"path of your resources would e.g. be <literal>/seam/resource/rest</literal>. "
-"We recommend that you change this string in your application, you could for "
-"example add a version number to prepare for a future REST API upgrade of "
-"your services (old clients would keep the old URI base): <literal>/seam/"
-"resource/restv1</literal>."
+"path of your resources would e.g. be <literal>/myapp/seam/resource/rest</"
+"literal>. We recommend that you change this string in your application, you "
+"could for example add a version number to prepare for a future REST API "
+"upgrade of your services (old clients would keep the old URI base): "
+"<literal>/myapp/seam/resource/restv1</literal>."
msgstr ""
#. Tag: para
-#: Webservices.xml:204
+#: Webservices.xml:210
#, no-c-format
msgid ""
"Finally, the actual resource is available under the defined <literal>@Path</"
"literal>, e.g. a resource mapped with <literal>@Path(\"/customer\")</"
-"literal> would be available under <literal>/seam/resource/rest/customer</"
-"literal>."
+"literal> would be available under <literal>/myapp/seam/resource/rest/"
+"customer</literal>."
msgstr ""
#. Tag: para
-#: Webservices.xml:212
+#: Webservices.xml:218
#, no-c-format
msgid ""
"As an example, the following resource definition would return a plaintext "
"representation for any GET requests using the URI <literal>http://your."
-"hostname/seam/resource/rest/customer/123</literal>:"
+"hostname/myapp/seam/resource/rest/customer/123</literal>:"
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:217
+#: Webservices.xml:223
#, no-c-format
msgid ""
"<![CDATA[@Path(\"/customer\")\n"
@@ -450,7 +458,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:219
+#: Webservices.xml:225
#, no-c-format
msgid ""
"No additional configuration is required, you do not have to edit "
@@ -461,7 +469,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:225
+#: Webservices.xml:231
#, no-c-format
msgid ""
"<![CDATA[<components\n"
@@ -476,63 +484,39 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:227
+#: Webservices.xml:233
#, no-c-format
msgid ""
"You can then change the <literal>/rest</literal> prefix as mentioned earlier:"
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:231
+#: Webservices.xml:237
#, no-c-format
msgid "<![CDATA[<resteasy:application resource-path-prefix=\"/restv1\"/>]]>"
msgstr ""
#. Tag: para
-#: Webservices.xml:233
-#, no-c-format
-msgid ""
-"The full base path to your resources is now <literal>/seam/resource/restv1/"
-"{resource}</literal> - note that your <literal>@Path</literal> definitions "
-"and mappings do NOT change. This is an application-wide switch usually used "
-"for versioning of the HTTP API."
-msgstr ""
-
-#. Tag: para
#: Webservices.xml:239
#, no-c-format
msgid ""
-"You can disable stripping of the base path if you'd like to map the full "
-"path in your resources:"
+"The full base path to your resources is now <literal>/myapp/seam/resource/"
+"restv1/{resource}</literal> - note that your <literal>@Path</literal> "
+"definitions and mappings do NOT change. This is an application-wide switch "
+"usually used for versioning of the HTTP interface."
msgstr ""
-#. Tag: programlisting
-#: Webservices.xml:243
-#, no-c-format
-msgid "<![CDATA[<resteasy:application strip-seam-resource-path=\"false\"/>]]>"
-msgstr ""
-
#. Tag: para
#: Webservices.xml:245
#, no-c-format
msgid ""
-"The path of a resource is now mapped with e.g. <literal>@Path(\"/seam/"
-"resource/rest/customer\")</literal>. We do not recommend disabling this "
-"feature, as your resource class mappings are then bound to a particular "
-"deployment scenario."
-msgstr ""
-
-#. Tag: para
-#: Webservices.xml:251
-#, no-c-format
-msgid ""
"Seam will scan your classpath for any deployed <literal>@javax.ws.rs.Path</"
"literal> resources and any <literal>@javax.ws.rs.ext.Provider</literal> "
"classes. You can disable scanning and configure these classes manually:"
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:257
+#: Webservices.xml:251
#, no-c-format
msgid ""
"<![CDATA[<resteasy:application\n"
@@ -554,7 +538,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:259
+#: Webservices.xml:253
#, no-c-format
msgid ""
"The <literal>use-built-in-providers</literal> switch enables (default) or "
@@ -564,7 +548,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:265
+#: Webservices.xml:259
#, no-c-format
msgid ""
"RESTEasy supports plain EJBs (EJBs that are not Seam components) as "
@@ -576,20 +560,21 @@
"<literal>@Path</literal>, <literal>@GET</literal>, and so on - not the bean "
"implementation class. This allows you to keep your application deployment-"
"portable with the global Seam <literal>jndi-pattern</literal> switch on "
-"<literal><core:init/></literal>. Note that EJB resources will not be "
-"found even if scanning of resources is enabled, you always have to list them "
-"manually. Again, this is only relevant for EJB resources that are not also "
-"Seam components and that do not have a <literal>@Name</literal> annotation."
+"<literal><core:init/></literal>. Note that plain (non-Seam component) "
+"EJB resources will not be found even if scanning of resources is enabled, "
+"you always have to list them manually. Again, this whole paragraph is only "
+"relevant for EJB resources that are not also Seam components and that do not "
+"have an <literal>@Name</literal> annotation."
msgstr ""
#. Tag: para
-#: Webservices.xml:277
+#: Webservices.xml:272
#, no-c-format
msgid "Finally, you can configure media type and language URI extensions:"
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:281
+#: Webservices.xml:276
#, no-c-format
msgid ""
"<![CDATA[<resteasy:application>\n"
@@ -606,7 +591,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:283
+#: Webservices.xml:278
#, no-c-format
msgid ""
"This definition would map the URI suffix of <literal>.txt.deutsch</literal> "
@@ -616,13 +601,13 @@
msgstr ""
#. Tag: title
-#: Webservices.xml:292
+#: Webservices.xml:287
#, no-c-format
msgid "Resources and providers as Seam components"
msgstr ""
#. Tag: para
-#: Webservices.xml:294
+#: Webservices.xml:289
#, no-c-format
msgid ""
"Any resource and provider instances are managed by RESTEasy by default. That "
@@ -633,7 +618,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:301
+#: Webservices.xml:296
#, no-c-format
msgid ""
"You can write resources and providers as Seam components and benefit from "
@@ -642,7 +627,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:307
+#: Webservices.xml:302
#, no-c-format
msgid ""
"<![CDATA[@Name(\"customerResource\")\n"
@@ -663,7 +648,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:309
+#: Webservices.xml:304
#, no-c-format
msgid ""
"An instance of <literal>customerResource</literal> is now handled by Seam "
@@ -677,7 +662,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:318
+#: Webservices.xml:313
#, no-c-format
msgid ""
"You can annotate an interface and keep the implementation free from JAX-RS "
@@ -685,7 +670,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:322
+#: Webservices.xml:317
#, no-c-format
msgid ""
"<![CDATA[@Path(\"/customer\")\n"
@@ -700,7 +685,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:324
+#: Webservices.xml:319
#, no-c-format
msgid ""
"<![CDATA[@Name(\"customerResource\")\n"
@@ -718,7 +703,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:326
+#: Webservices.xml:321
#, no-c-format
msgid ""
"You can use <literal>SESSION</literal>-scoped Seam components. By default, "
@@ -733,7 +718,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:335
+#: Webservices.xml:330
#, no-c-format
msgid ""
"Assuming that your Seam application only uses event, application, or "
@@ -745,7 +730,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:342
+#: Webservices.xml:337
#, no-c-format
msgid ""
"If your RESTful Seam application has to preserve session state across REST "
@@ -753,14 +738,14 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:347
+#: Webservices.xml:342
#, no-c-format
msgid ""
"<![CDATA[<resteasy:application destroy-session-after-request=\"false\"/>]]>"
msgstr ""
#. Tag: para
-#: Webservices.xml:349
+#: Webservices.xml:344
#, no-c-format
msgid ""
"Every REST HTTP request will now create a new session that will only be "
@@ -771,7 +756,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:356
+#: Webservices.xml:351
#, no-c-format
msgid ""
"<literal>CONVERSATION</literal>-scoped resource components and mapping of "
@@ -780,7 +765,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:361
+#: Webservices.xml:356
#, no-c-format
msgid ""
"EJB Seam components are supported. Always annotate the local business "
@@ -789,7 +774,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:366
+#: Webservices.xml:361
#, no-c-format
msgid ""
"Provider classes can also be Seam components, only <literal>APPLICATION</"
@@ -799,13 +784,13 @@
msgstr ""
#. Tag: title
-#: Webservices.xml:375
+#: Webservices.xml:370
#, no-c-format
msgid "Securing resources"
msgstr ""
#. Tag: para
-#: Webservices.xml:377
+#: Webservices.xml:372
#, no-c-format
msgid ""
"You can enable the Seam authentication filter for HTTP Basic and Digest "
@@ -813,7 +798,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:382
+#: Webservices.xml:377
#, no-c-format
msgid ""
"<![CDATA[<web:authentication-filter url-pattern=\"/seam/resource/rest/*\" "
@@ -821,14 +806,14 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:384
+#: Webservices.xml:379
#, no-c-format
msgid ""
"See the Seam security chapter on how to write an authentication routine."
msgstr ""
#. Tag: para
-#: Webservices.xml:388
+#: Webservices.xml:383
#, no-c-format
msgid ""
"After successful authentication, authorization rules with the common "
@@ -839,13 +824,13 @@
msgstr ""
#. Tag: title
-#: Webservices.xml:398
+#: Webservices.xml:393
#, no-c-format
msgid "Mapping exceptions to HTTP responses"
msgstr ""
#. Tag: para
-#: Webservices.xml:400
+#: Webservices.xml:395
#, no-c-format
msgid ""
"Section 3.3.4 of the JAX-RS specification defines how checked or unchecked "
@@ -858,7 +843,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:408
+#: Webservices.xml:403
#, no-c-format
msgid ""
"Exception handling within Seam requires that the Seam filter is executed for "
@@ -870,7 +855,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:415
+#: Webservices.xml:410
#, no-c-format
msgid ""
"<![CDATA[<filter>\n"
@@ -885,7 +870,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:417
+#: Webservices.xml:412
#, no-c-format
msgid ""
"To convert the unchecked <literal>UnsupportedOperationException</literal> "
@@ -895,7 +880,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:423
+#: Webservices.xml:418
#, no-c-format
msgid ""
"<![CDATA[<exception class=\"java.lang.UnsupportedOperationException\">\n"
@@ -906,13 +891,13 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:425
+#: Webservices.xml:420
#, no-c-format
msgid "Custom or checked exceptions are handled the same:"
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:429
+#: Webservices.xml:424
#, no-c-format
msgid ""
"<![CDATA[<exception class=\"my.CustomException\" log=\"false\">\n"
@@ -924,7 +909,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:431
+#: Webservices.xml:426
#, no-c-format
msgid ""
"You do not have to send an HTTP error to the client if an exception occurs. "
@@ -935,7 +920,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:438
+#: Webservices.xml:433
#, no-c-format
msgid ""
"Note that the HTTP response still passes through the servlet container, so "
@@ -946,13 +931,13 @@
msgstr ""
#. Tag: title
-#: Webservices.xml:447
+#: Webservices.xml:442
#, no-c-format
msgid "Testing resources and providers"
msgstr ""
#. Tag: para
-#: Webservices.xml:449
+#: Webservices.xml:444
#, no-c-format
msgid ""
"Seam includes a unit testing utility class that helps you create unit tests "
@@ -962,7 +947,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:455
+#: Webservices.xml:450
#, no-c-format
msgid ""
"<![CDATA[import org.jboss.seam.mock.ResourceRequestEnvironment;\n"
@@ -1019,7 +1004,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:457
+#: Webservices.xml:452
#, no-c-format
msgid ""
"This test only executes local calls, it does not communicate with the "
@@ -1032,7 +1017,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:465
+#: Webservices.xml:460
#, no-c-format
msgid ""
"Note that a <literal>ResourceRequest</literal> has to be executed in a "
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/mr-IN/Websphere.po
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/mr-IN/Websphere.po 2009-08-26 19:14:02 UTC (rev 11432)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/mr-IN/Websphere.po 2009-08-26 19:19:33 UTC (rev 11433)
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-08-22 13:17+0000\n"
+"POT-Creation-Date: 2009-08-26 18:48+0000\n"
"PO-Revision-Date: 2008-04-04 01:24+0000\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
@@ -76,25 +76,27 @@
#, no-c-format
msgid ""
"The following sections in this chapter assume that WebSphere is correctly "
-"installed and is functional, and a profile has been successfully created."
+"installed and is functional, and a WebSphere \"profile\" has been "
+"successfully created."
msgstr ""
#. Tag: para
#: Websphere.xml:40
#, no-c-format
msgid ""
-"This chapter explain how to compile, deploy and run some sample applications "
-"in WebSphere. These sample applications require a database. WebSphere comes "
-"by default with a set of sample applications called \"Default Application\". "
-"This set of sample applications use a Derby database running on the Derby "
-"instance installed with WebSphere. In order to keep this simple we'll use "
-"this Derby database created for the \"Default Applications\". However, to "
-"run the sample application with the Derby database \"as-is\", a patched "
-"Hibernate dialect must be used (The patch changes the default \"auto\" key "
-"generation strategy) as explained in <xref linkend=\"glassfish\"/>. If you "
-"want to use another database, it's just a matter of creating a connection "
-"pool in WebSphere pointing to this database, declare the correct Hibernate "
-"dialect and set the correct JNDI name in <literal>persistence.xml</literal>."
+"This chapter explains how to compile, deploy and run some sample "
+"applications in WebSphere. These sample applications require a database. "
+"WebSphere comes by default with a set of sample applications called "
+"\"Default Application\". This set of sample applications use a Derby "
+"database running on the Derby instance installed within WebSphere. In order "
+"to keep this simple we'll use this Derby database created for the \"Default "
+"Applications\". However, to run the sample application with the Derby "
+"database \"as-is\", a patched Hibernate dialect must be used (The patch "
+"changes the default \"auto\" key generation strategy) as explained in <xref "
+"linkend=\"glassfish\"/>. If you want to use another database, it's just a "
+"matter of creating a connection pool in WebSphere pointing to this database, "
+"declare the correct Hibernate dialect and set the correct JNDI name in "
+"<literal>persistence.xml</literal>."
msgstr ""
#. Tag: title
@@ -144,14 +146,14 @@
#, no-c-format
msgid ""
"On the right navigation menu, select <literal>Web Container Settings/Web "
-"container</literal>)"
+"container</literal>"
msgstr ""
#. Tag: listitem
#: Websphere.xml:73
#, no-c-format
msgid ""
-"On the right navigation menu, select <literal>custom properties</literal>) "
+"On the right navigation menu, select <literal>custom properties</literal> "
"and add the following properties:"
msgstr ""
@@ -170,7 +172,7 @@
#. Tag: listitem
#: Websphere.xml:84
#, no-c-format
-msgid "Save and restart the server"
+msgid "Save the configuration and restart the server"
msgstr ""
#. Tag: title
@@ -189,38 +191,38 @@
msgstr ""
#. Tag: listitem
-#: Websphere.xml:97
+#: Websphere.xml:96
#, no-c-format
msgid ""
"The global <literal>jndi-pattern</literal> switch on the <literal><core:"
-"init></literal>. in <literal>components.xml</literal>. The switch can use "
-"a special placeholder \"<literal>#{ejbName}</literal>\" that resolves to the "
-"unqualified name of the EJB"
+"init></literal>tag in <literal>components.xml</literal>. The switch can "
+"use a special placeholder \"<literal>#{ejbName}</literal>\" that resolves to "
+"the unqualified name of the EJB"
msgstr ""
#. Tag: para
-#: Websphere.xml:102
+#: Websphere.xml:100
#, no-c-format
msgid "The <literal>@JndiName</literal> annotation"
msgstr ""
#. Tag: para
-#: Websphere.xml:108
+#: Websphere.xml:106
#, no-c-format
msgid "gives detailed explanations on how those mechanisms work."
msgstr ""
#. Tag: para
-#: Websphere.xml:112
+#: Websphere.xml:110
#, no-c-format
msgid ""
-"By default, WebSphere will bind the session bean in its local JNDI name "
-"space under a \"short\" binding name that adheres to the following pattern "
+"By default, WebSphere will bind session beans in its local JNDI name space "
+"under a \"short\" binding name that adheres to the following pattern "
"<literal>ejblocal:<package.qualified.local.interface.name></literal>."
msgstr ""
#. Tag: para
-#: Websphere.xml:117
+#: Websphere.xml:115
#, no-c-format
msgid ""
"For a detailed description on how WebSphere v7 organizes and binds EJBs in "
@@ -228,7 +230,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:120
+#: Websphere.xml:118
#, no-c-format
msgid ""
"As explained before, Seam needs to lookup for session bean as they appear in "
@@ -236,35 +238,35 @@
msgstr ""
#. Tag: listitem
-#: Websphere.xml:124
+#: Websphere.xml:121
#, no-c-format
msgid ""
"Specify which JNDI name Seam must use for each session bean using the "
-"<literal>@JndiName</literal> annotation in the java source file"
+"<literal>@JndiName</literal> annotation in the java source file,"
msgstr ""
#. Tag: listitem
-#: Websphere.xml:127
+#: Websphere.xml:123
#, no-c-format
msgid ""
"Override the default session bean names generated by WebSphere to conform to "
-"the <literal>jndi-pattern</literal> attribute"
+"the <literal>jndi-pattern</literal> attribute,"
msgstr ""
#. Tag: listitem
-#: Websphere.xml:130
+#: Websphere.xml:126
#, no-c-format
-msgid "Use EJB references"
+msgid "Use EJB references."
msgstr ""
#. Tag: title
-#: Websphere.xml:137
+#: Websphere.xml:133
#, no-c-format
msgid "Strategy 1: Specify which JNDI name Seam must use for each Session Bean"
msgstr ""
#. Tag: para
-#: Websphere.xml:138
+#: Websphere.xml:134
#, no-c-format
msgid ""
"This strategy is the simplest and fastest one regarding development. It uses "
@@ -272,7 +274,7 @@
msgstr ""
#. Tag: listitem
-#: Websphere.xml:141
+#: Websphere.xml:137
#, no-c-format
msgid ""
"Add a <literal>@JndiName(\"ejblocal:<package.qualified.local.interface."
@@ -280,20 +282,20 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:145 Websphere.xml:188
+#: Websphere.xml:141 Websphere.xml:184
#, no-c-format
msgid ""
"<para>In <literal>components.xml</literal>, add the following line:</para>"
msgstr ""
#. Tag: programlisting
-#: Websphere.xml:147 Websphere.xml:220
+#: Websphere.xml:143 Websphere.xml:216
#, no-c-format
msgid "<![CDATA[<core:init jndi-name=\"java:comp/env/#{ejbName}\" />]]>"
msgstr ""
#. Tag: para
-#: Websphere.xml:151
+#: Websphere.xml:147
#, no-c-format
msgid ""
"Add a file named <literal>WEB-INF/classes/seam-jndi.properties</literal> in "
@@ -301,7 +303,7 @@
msgstr ""
#. Tag: programlisting
-#: Websphere.xml:153
+#: Websphere.xml:149
#, no-c-format
msgid ""
"com.ibm.websphere.naming.hostname.normalizer=com.ibm.ws.naming.util."
@@ -323,13 +325,13 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:157
+#: Websphere.xml:153
#, no-c-format
msgid "At the end of <literal>web.xml</literal>, add the following lines:"
msgstr ""
#. Tag: programlisting
-#: Websphere.xml:159
+#: Websphere.xml:155
#, no-c-format
msgid ""
"<![CDATA[<ejb-local-ref>\n"
@@ -341,7 +343,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:164
+#: Websphere.xml:160
#, no-c-format
msgid ""
"That's all folks! No need to update any file during the development, nor to "
@@ -349,23 +351,23 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:167
+#: Websphere.xml:163
#, no-c-format
msgid ""
-"Compared to the other strategies, this strategy has the advantage not to "
-"have to manage any EJBs reference and also not to have to maintain extra "
+"Compared to the other strategies, this strategy has the advantage to not "
+"have to manage any EJBs reference and also to not have to maintain extra "
"files. The only drawback is one extra line in the java source code with the "
"<literal>@JndiName</literal> annotation"
msgstr ""
#. Tag: title
-#: Websphere.xml:174
+#: Websphere.xml:170
#, no-c-format
msgid "Strategy 2: Override the default names generated by WebSphere"
msgstr ""
#. Tag: section
-#: Websphere.xml:174
+#: Websphere.xml:170
#, no-c-format
msgid ""
"There is no simple way to globally override the default naming strategy for "
@@ -374,13 +376,13 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:177
+#: Websphere.xml:173
#, no-c-format
msgid "To use this strategy:"
msgstr ""
#. Tag: para
-#: Websphere.xml:181
+#: Websphere.xml:177
#, no-c-format
msgid ""
"Add a file named <literal>META-INF/ibm-ejb-jar-ext.xml</literal> in the EJB "
@@ -405,13 +407,13 @@
msgstr ""
#. Tag: programlisting
-#: Websphere.xml:190
+#: Websphere.xml:186
#, no-c-format
msgid "<![CDATA[<core:init jndi-name=\"ejblocal:#{ejbName}\" />]]>"
msgstr ""
#. Tag: para
-#: Websphere.xml:194
+#: Websphere.xml:190
#, no-c-format
msgid ""
"Add a file named <literal>WEB-INF/classes/seam-jndi.properties</literal> as "
@@ -419,7 +421,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:199
+#: Websphere.xml:195
#, no-c-format
msgid ""
"In <literal>web.xml</literal>, add the following lines (Note the different "
@@ -427,7 +429,7 @@
msgstr ""
#. Tag: programlisting
-#: Websphere.xml:201
+#: Websphere.xml:197
#, no-c-format
msgid ""
"<![CDATA[<ejb-local-ref>\n"
@@ -439,7 +441,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:206
+#: Websphere.xml:202
#, no-c-format
msgid ""
"Compared to the first strategy, this strategy requires to maintain an extra "
@@ -449,13 +451,13 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:215
+#: Websphere.xml:211
#, no-c-format
msgid "Strategy 3: Use EJB references"
msgstr ""
#. Tag: section
-#: Websphere.xml:215
+#: Websphere.xml:211
#, no-c-format
msgid ""
"This strategy is based on the usage of EJB references, from EJB to EJB and "
@@ -463,7 +465,7 @@
msgstr ""
#. Tag: listitem
-#: Websphere.xml:218
+#: Websphere.xml:214
#, no-c-format
msgid ""
"<listitem>In <literal>components.xml</literal>, add the following line:</"
@@ -471,7 +473,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:223
+#: Websphere.xml:219
#, no-c-format
msgid ""
"Follow the instructions in <xref linkend=\"config.integration.ejb.container"
@@ -479,7 +481,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:228
+#: Websphere.xml:224
#, no-c-format
msgid ""
"This is the most tedious strategy as each session bean referenced by another "
@@ -489,27 +491,27 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:239
+#: Websphere.xml:235
#, no-c-format
msgid "Configuring timeouts for Stateful Session Beans"
msgstr ""
#. Tag: para
-#: Websphere.xml:240
+#: Websphere.xml:236
#, no-c-format
msgid ""
"A timeout value has to be set for each stateful session bean used in the "
"application because stateful bean must not expire in WebSphere while Seam "
-"might still need thenm. At the time of writing this document, WebSphere does "
+"might still need them. At the time of writing this document, WebSphere does "
"not provide a way to configure a global timeout at neither the cluster, "
"server, application nor ejb-jar level. It has to be done for each stateful "
-"bean individually. This is done by adding a file named <literal>META-INF/ibm-"
-"ejb-jar-ext.xml</literal> in the EJB module, and declare the timeout value "
-"for each bean:"
+"bean individually. By default, the default timeout is 10 minutes. This is "
+"done by adding a file named <literal>META-INF/ibm-ejb-jar-ext.xml</literal> "
+"in the EJB module, and declare the timeout value for each bean:"
msgstr ""
#. Tag: programlisting
-#: Websphere.xml:246
+#: Websphere.xml:242
#, no-c-format
msgid ""
"<![CDATA[<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
@@ -529,24 +531,24 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:248
+#: Websphere.xml:244
#, no-c-format
msgid ""
"The <literal>time-out</literal> is expressed in seconds and must be higher "
"than the Seam conversation expiration timeout and a few minutes higher than "
"the user's HTTP session timeout (The session expiration timeout can trigger "
-"a few minutes after the number of minutes declared to expire s for the HTTP "
-"session expiration)."
+"a few minutes after the number of minutes declared to expire the HTTP "
+"session)."
msgstr ""
#. Tag: title
-#: Websphere.xml:257
+#: Websphere.xml:253
#, no-c-format
msgid "The <literal>jee5/booking</literal> example"
msgstr ""
#. Tag: para
-#: Websphere.xml:259
+#: Websphere.xml:255
#, no-c-format
msgid ""
"The<literal>jee5/booking</literal>example is based on the Hotel Booking "
@@ -557,23 +559,32 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:265
+#: Websphere.xml:261
#, no-c-format
msgid ""
-"For running this example, we'll use the second JNDI mapping strategy "
-"(\"Override the default names generated by WebSphere\") as we don't want to "
-"change the java code to add the <literal>@JndiName</literal> annotation as "
-"in the first strategy."
+"The example already has a breakout of configurations and build scripts for "
+"WebSphere. First thing, we are going to do is build and deploy this example. "
+"Then we'll go over some key changes that we needed."
msgstr ""
+#. Tag: para
+#: Websphere.xml:266
+#, no-c-format
+msgid ""
+"The tailored configuration files for WebSphere use the second JNDI mapping "
+"strategy (\"Override the default names generated by WebSphere\") as the goal "
+"was to not change any java code to add the <literal>@JndiName</literal> "
+"annotation as in the first strategy."
+msgstr ""
+
#. Tag: title
-#: Websphere.xml:271
+#: Websphere.xml:272
#, no-c-format
msgid "Building the <literal>jee5/booking</literal> example"
msgstr ""
#. Tag: para
-#: Websphere.xml:273
+#: Websphere.xml:274
#, no-c-format
msgid ""
"Building it only requires running the correct ant command: "
@@ -583,21 +594,21 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:280
+#: Websphere.xml:281
#, no-c-format
msgid "Deploying the <literal>jee5/booking</literal> example"
msgstr ""
#. Tag: para
-#: Websphere.xml:281
+#: Websphere.xml:282
#, no-c-format
msgid ""
-"The steps below are for the WAS version stated above.The ports are default "
-"values, if you changed them, you must substitute the values."
+"The steps below are for the WAS version stated above.The ports are the "
+"default values, if you changed them, you must substitute the values."
msgstr ""
#. Tag: listitem
-#: Websphere.xml:284
+#: Websphere.xml:285
#, no-c-format
msgid ""
"Log in to the administration console <programlisting><![CDATA[http://"
@@ -606,7 +617,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:291
+#: Websphere.xml:292
#, no-c-format
msgid ""
"Go to the <literal>WebSphere enterprise applications</literal> menu option "
@@ -615,7 +626,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:298
+#: Websphere.xml:299
#, no-c-format
msgid ""
"At the top of the <literal>Enterprise Applications</literal> table select "
@@ -624,13 +635,13 @@
msgstr ""
#. Tag: literal
-#: Websphere.xml:304
+#: Websphere.xml:305
#, no-c-format
msgid "Preparing for the application installation"
msgstr ""
#. Tag: para
-#: Websphere.xml:307
+#: Websphere.xml:308
#, no-c-format
msgid ""
"Browse to the <literal>examples/jee5/booking/dist-websphere7/jboss-seam-jee5."
@@ -638,25 +649,25 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:313 Websphere.xml:323 Websphere.xml:341
+#: Websphere.xml:314 Websphere.xml:324 Websphere.xml:342
#, no-c-format
msgid "Select the <literal>Next</literal> button."
msgstr ""
#. Tag: para
-#: Websphere.xml:318
+#: Websphere.xml:319
#, no-c-format
msgid "Select the <literal>Fast Path</literal> button."
msgstr ""
#. Tag: literal
-#: Websphere.xml:332
+#: Websphere.xml:333
#, no-c-format
msgid "Select installation options"
msgstr ""
#. Tag: para
-#: Websphere.xml:335
+#: Websphere.xml:336
#, no-c-format
msgid ""
"Select the <literal>Deploy enterprise beans and Allow EJB reference targets "
@@ -665,13 +676,13 @@
msgstr ""
#. Tag: literal
-#: Websphere.xml:350
+#: Websphere.xml:351
#, no-c-format
msgid "Map modules to servers"
msgstr ""
#. Tag: para
-#: Websphere.xml:353
+#: Websphere.xml:354
#, no-c-format
msgid ""
"No changes needed here as we only have one server. Select the <literal>Next</"
@@ -679,13 +690,13 @@
msgstr ""
#. Tag: literal
-#: Websphere.xml:362
+#: Websphere.xml:363
#, no-c-format
msgid "Map virtual hosts for Web modules"
msgstr ""
#. Tag: para
-#: Websphere.xml:365
+#: Websphere.xml:366
#, no-c-format
msgid ""
"No changes needed here as we only have one virtual host. Select the "
@@ -693,31 +704,31 @@
msgstr ""
#. Tag: literal
-#: Websphere.xml:374
+#: Websphere.xml:375
#, no-c-format
msgid "Summary"
msgstr ""
#. Tag: para
-#: Websphere.xml:377
+#: Websphere.xml:378
#, no-c-format
msgid "No changes needed here. Select the <literal>Finish</literal> button."
msgstr ""
#. Tag: literal
-#: Websphere.xml:384
+#: Websphere.xml:385
#, no-c-format
msgid "Installation"
msgstr ""
#. Tag: para
-#: Websphere.xml:387
+#: Websphere.xml:388
#, no-c-format
msgid "Now you will see WebSphere installing and deploying your application."
msgstr ""
#. Tag: para
-#: Websphere.xml:390
+#: Websphere.xml:391
#, no-c-format
msgid ""
"When done, select the <literal>Save</literal> link and you will be returned "
@@ -725,15 +736,15 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:399
+#: Websphere.xml:400
#, no-c-format
msgid ""
-"To start the application select our application in the list, then click on "
+"To start the application, select the application in the list, then click on "
"the <literal>Start</literal> button at the top of the table."
msgstr ""
#. Tag: para
-#: Websphere.xml:409
+#: Websphere.xml:410
#, no-c-format
msgid ""
"You can now access the application at <literal>http://localhost:9080/seam-"
@@ -741,13 +752,13 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:418
+#: Websphere.xml:419
#, no-c-format
msgid "Deviation from the original base files"
msgstr ""
#. Tag: section
-#: Websphere.xml:418
+#: Websphere.xml:419
#, no-c-format
msgid ""
"Below are the differences between the base configuration files and the "
@@ -756,7 +767,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:422
+#: Websphere.xml:423
#, no-c-format
msgid ""
"<literal>META-INF/ejb-jar.xml</literal> — Removed all the EJB "
@@ -764,37 +775,37 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:428
+#: Websphere.xml:429
#, no-c-format
msgid ""
"<literal>META-INF/ibm-ejb-jar-bnd.xml</literal> — This WebSphere "
"specific file has been added as we use the second JNDI mapping strategy. It "
-"defines, for each session bean, the name WebSphere will use to bind it its "
-"JNDI name space"
+"defines, for each session bean, the name WebSphere will use to bind it in "
+"its JNDI name space"
msgstr ""
#. Tag: para
-#: Websphere.xml:435
+#: Websphere.xml:436
#, no-c-format
msgid ""
"<literal>META-INF/ibm-ejb-jar-ext.xml</literal> — This WebSphere "
-"specific file defines to WebSphere, the timeout value for each stateful bean"
+"specific file defines the timeout value for each stateful bean"
msgstr ""
#. Tag: para
-#: Websphere.xml:441
+#: Websphere.xml:442
#, no-c-format
msgid ""
"<literal>META-INF/persistence.xml</literal> — The main changes here "
"are for the datasource JNDI path, switching to the WebSphere transaction "
"manager lookup class, turning off the <literal>hibernate.transaction."
"flush_before_completion</literal> toggle, and forcing the Hibernate dialect "
-"to be <literal>GlassfishDerbyDialect</literal> how as using the integrated "
-"Derby database"
+"to be <literal>GlassfishDerbyDialect</literal> as we are using the "
+"integrated Derby database"
msgstr ""
#. Tag: para
-#: Websphere.xml:451
+#: Websphere.xml:452
#, no-c-format
msgid ""
"<literal>WEB-INF/components.xml</literal> — the change here is "
@@ -803,7 +814,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:459
+#: Websphere.xml:460
#, no-c-format
msgid ""
"<literal>WEB-INF/web.xml</literal> — Remove all the <literal>ejb-local "
@@ -813,7 +824,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:467 Websphere.xml:549
+#: Websphere.xml:468
#, no-c-format
msgid ""
"<literal>import.sql</literal> — due to the cutomized hibernate Derby "
@@ -822,7 +833,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:474
+#: Websphere.xml:475
#, no-c-format
msgid ""
"Also the build procedure has been changed to include the <literal>log4j.jar</"
@@ -831,13 +842,13 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:486
+#: Websphere.xml:487
#, no-c-format
msgid "The <literal>jpa</literal> booking example"
msgstr ""
#. Tag: para
-#: Websphere.xml:488
+#: Websphere.xml:489
#, no-c-format
msgid ""
"This is the Hotel Booking example implemented in Seam POJOs and using "
@@ -845,7 +856,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:493
+#: Websphere.xml:494
#, no-c-format
msgid ""
"The example already has a breakout of configurations and build scripts for "
@@ -853,7 +864,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:498
+#: Websphere.xml:499
#, no-c-format
msgid ""
"First thing, we are going to do is build and deploy that example. Then we'll "
@@ -861,13 +872,13 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:504
+#: Websphere.xml:505
#, no-c-format
msgid "Building the <literal>jpa</literal> example"
msgstr ""
#. Tag: para
-#: Websphere.xml:505
+#: Websphere.xml:506
#, no-c-format
msgid ""
"Building it only requires running the correct ant command: "
@@ -877,13 +888,13 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:514
+#: Websphere.xml:515
#, no-c-format
msgid "Deploying the <literal>jpa</literal> example"
msgstr ""
#. Tag: para
-#: Websphere.xml:515
+#: Websphere.xml:516
#, no-c-format
msgid ""
"Deploying <literal>jpa</literal> application is very similar to the "
@@ -894,7 +905,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:521
+#: Websphere.xml:522
#, no-c-format
msgid ""
"Follow the same instructions as for the <literal>jee5/booking</literal> "
@@ -902,11 +913,11 @@
"literal> file on the first page and on the <literal>Map context roots for "
"Web modules</literal> page (after the <literal>Map virtual host for Web "
"module</literal>), enter the context root you want to use for your "
-"application in the <literal>Contect Root</literal> input field."
+"application in the <literal>Context Root</literal> input field."
msgstr ""
#. Tag: para
-#: Websphere.xml:528
+#: Websphere.xml:529
#, no-c-format
msgid ""
"When started, you can now access the application at the <literal>http://"
@@ -914,13 +925,13 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:534
+#: Websphere.xml:535
#, no-c-format
msgid "Deviation from the generic base files"
msgstr ""
#. Tag: section
-#: Websphere.xml:534
+#: Websphere.xml:535
#, no-c-format
msgid ""
"Below are the configuration file differences between the base configuration "
@@ -929,7 +940,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:539
+#: Websphere.xml:540
#, no-c-format
msgid ""
"<literal>META-INF/persistence.xml</literal> — The main changes here "
@@ -941,9 +952,18 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:556
+#: Websphere.xml:550
#, no-c-format
msgid ""
+"<literal>import.sql</literal> — due to the customized hibernate Derby "
+"dialect, the <literal>ID</literal> column can not be populated by this file "
+"and was removed."
+msgstr ""
+
+#. Tag: para
+#: Websphere.xml:557
+#, no-c-format
+msgid ""
"Also the build procedure have been changed to include the <literal>log4j."
"jar</literal> file and exclude the <literal>concurrent.jar</literal> and "
"<literal>jboss-common-core.jar</literal> files."
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/or-IN/Configuration.po
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/or-IN/Configuration.po 2009-08-26 19:14:02 UTC (rev 11432)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/or-IN/Configuration.po 2009-08-26 19:19:33 UTC (rev 11433)
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-05-05 12:31+0000\n"
+"POT-Creation-Date: 2009-08-26 18:47+0000\n"
"PO-Revision-Date: 2008-04-04 01:24+0000\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
@@ -677,13 +677,63 @@
msgstr ""
#. Tag: title
+#: Configuration.xml:325
+#, no-c-format
+msgid "Enabling HTTP cache-control headers"
+msgstr ""
+
+#. Tag: para
#: Configuration.xml:326
#, no-c-format
+msgid ""
+"Seam does <emphasis>not</emphasis> automatically add <literal>cache-control</"
+"literal> HTTP headers to any resources served by the Seam resource servlet, "
+"or directly from your view directory by the servlet container. This means "
+"that your images, Javascript and CSS files, and resource representations "
+"from Seam resource servlet such as Seam Remoting Javascript interfaces are "
+"usually not cached by the browser. This is convenient in development but "
+"should be changed in production when optimizing the application."
+msgstr ""
+
+#. Tag: para
+#: Configuration.xml:334
+#, no-c-format
+msgid ""
+"You can configure a Seam filter to enable automatic addition of "
+"<literal>cache-control</literal> headers depending on the requested URI in "
+"<literal>components.xml</literal>:"
+msgstr ""
+
+#. Tag: programlisting
+#: Configuration.xml:339
+#, no-c-format
+msgid ""
+"<![CDATA[<web:cache-control-filter name=\"commonTypesCacheControlFilter\"\n"
+" regex-url-pattern=\".*(\\.gif|\\.png|\\.jpg|\\."
+"jpeg|\\.css|\\.js)\"\n"
+" value=\"max-age=86400\"/> <!-- 1 day -->\n"
+"\n"
+"<web:cache-control-filter name=\"anotherCacheControlFilter\"\n"
+" url-pattern=\"/my/cachable/resources/*\"\n"
+" value=\"max-age=432000\"/> <!-- 5 days -->]]>"
+msgstr ""
+
+#. Tag: para
+#: Configuration.xml:341
+#, no-c-format
+msgid ""
+"You do not have to name the filters unless you have more than one filter "
+"enabled."
+msgstr ""
+
+#. Tag: title
+#: Configuration.xml:348
+#, no-c-format
msgid "Adding custom filters"
msgstr ""
#. Tag: para
-#: Configuration.xml:327
+#: Configuration.xml:349
#, no-c-format
msgid ""
"Seam can install your filters for you, allowing you to specify "
@@ -695,7 +745,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:332
+#: Configuration.xml:354
#, no-c-format
msgid ""
"<![CDATA[@Startup\n"
@@ -707,7 +757,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:334
+#: Configuration.xml:356
#, no-c-format
msgid ""
"Adding the <literal>@Startup</literal> annotation means thar the component "
@@ -718,13 +768,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:343
+#: Configuration.xml:365
#, no-c-format
msgid "Integrating Seam with your EJB container"
msgstr ""
#. Tag: para
-#: Configuration.xml:345
+#: Configuration.xml:367
#, no-c-format
msgid ""
"In a Seam application, EJB components have a certain duality, as they are "
@@ -735,7 +785,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:350
+#: Configuration.xml:372
#, no-c-format
msgid ""
"We need to apply the <literal>SeamInterceptor</literal> to our Seam EJB "
@@ -747,7 +797,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:355
+#: Configuration.xml:377
#, no-c-format
msgid ""
"<![CDATA[<interceptors>\n"
@@ -768,7 +818,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:357
+#: Configuration.xml:379
#, no-c-format
msgid ""
"Seam needs to know where to go to find session beans in JNDI. One way to do "
@@ -782,19 +832,19 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:364
+#: Configuration.xml:386
#, no-c-format
msgid "For JBoss AS, the following pattern is correct:"
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:366
+#: Configuration.xml:388
#, no-c-format
msgid "<![CDATA[<core:init jndi-name=\"earName/#{ejbName}/local\" />]]>"
msgstr ""
#. Tag: para
-#: Configuration.xml:368
+#: Configuration.xml:390
#, no-c-format
msgid ""
"In this case, <literal>earName</literal> is the name of the EAR in which the "
@@ -804,7 +854,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:372
+#: Configuration.xml:394
#, no-c-format
msgid ""
"Outside the context of an EAR (when using the JBoss Embeddable EJB3 "
@@ -813,13 +863,13 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:375
+#: Configuration.xml:397
#, no-c-format
msgid "<![CDATA[<core:init jndi-name=\"#{ejbName}/local\" />]]>"
msgstr ""
#. Tag: para
-#: Configuration.xml:377
+#: Configuration.xml:399
#, no-c-format
msgid ""
"How these JNDI names are resolved and somehow locate an EJB component might "
@@ -828,7 +878,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:381
+#: Configuration.xml:403
#, no-c-format
msgid ""
"The folks at JBoss don't care much for XML, if you can't tell. So when they "
@@ -839,14 +889,14 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:387
+#: Configuration.xml:409
#, no-c-format
msgid ""
"The value of the <literal><ejb-name></literal> element in ejb-jar.xml"
msgstr ""
#. Tag: para
-#: Configuration.xml:390
+#: Configuration.xml:412
#, no-c-format
msgid ""
"The value of the <literal>name</literal> attribute in the @Stateless or "
@@ -854,13 +904,13 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:393
+#: Configuration.xml:415
#, no-c-format
msgid "The simple name of the bean class"
msgstr ""
#. Tag: para
-#: Configuration.xml:397
+#: Configuration.xml:419
#, no-c-format
msgid ""
"Let's look at an example. Assume that you have the following EJB bean and "
@@ -868,7 +918,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:399
+#: Configuration.xml:421
#, no-c-format
msgid ""
"<![CDATA[package com.example.myapp;\n"
@@ -895,7 +945,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:401
+#: Configuration.xml:423
#, no-c-format
msgid ""
"Assuming your EJB bean class is deployed in an EAR named myapp, the global "
@@ -907,7 +957,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:407
+#: Configuration.xml:429
#, no-c-format
msgid ""
"So what about the rest of the application servers? Well, according to the "
@@ -919,7 +969,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:413
+#: Configuration.xml:435
#, no-c-format
msgid ""
"There are two places you have to define the EJB reference when using Seam on "
@@ -930,7 +980,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:418
+#: Configuration.xml:440
#, no-c-format
msgid ""
"<![CDATA[<ejb-local-ref>\n"
@@ -942,7 +992,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:420
+#: Configuration.xml:442
#, no-c-format
msgid ""
"This reference will cover most uses of the component in a Seam application. "
@@ -953,7 +1003,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:425
+#: Configuration.xml:447
#, no-c-format
msgid ""
"Within the context of an EJB method call, you have to deal with a somewhat "
@@ -970,7 +1020,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:434
+#: Configuration.xml:456
#, no-c-format
msgid ""
"For application servers that stubbornly adhere to the EJB specification, EJB "
@@ -982,7 +1032,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:439
+#: Configuration.xml:461
#, no-c-format
msgid ""
"Let's assume that we have an EJB named RegisterAction (the name is resolved "
@@ -991,7 +1041,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:442
+#: Configuration.xml:464
#, no-c-format
msgid ""
"<![CDATA[@In(create = true)\n"
@@ -1000,7 +1050,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:444
+#: Configuration.xml:466
#, no-c-format
msgid ""
"In order for this injection to work, the link must be established in the ejb-"
@@ -1008,7 +1058,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:446
+#: Configuration.xml:468
#, no-c-format
msgid ""
"<![CDATA[<ejb-jar>\n"
@@ -1031,7 +1081,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:448
+#: Configuration.xml:470
#, no-c-format
msgid ""
"Notice that the contents of the <literal><ejb-local-ref></literal> are "
@@ -1043,7 +1093,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:454
+#: Configuration.xml:476
#, no-c-format
msgid ""
"But what about <literal>@EJB</literal>? It's true that you can inject one "
@@ -1061,7 +1111,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:464
+#: Configuration.xml:486
#, no-c-format
msgid ""
"That covers how JNDI names are defined and used. The lesson is that with "
@@ -1074,7 +1124,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:470
+#: Configuration.xml:492
#, no-c-format
msgid ""
"<![CDATA[<core:init jndi-name=\"java:comp/env/earName/#{ejbName}/local\" />]]"
@@ -1082,7 +1132,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:472
+#: Configuration.xml:494
#, no-c-format
msgid ""
"Finally, let's talk about transactions. In an EJB3 environment, we recommend "
@@ -1094,19 +1144,19 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:479
+#: Configuration.xml:501
#, no-c-format
msgid "<![CDATA[<transaction:ejb-transaction/>]]>"
msgstr ""
#. Tag: title
-#: Configuration.xml:484
+#: Configuration.xml:506
#, no-c-format
msgid "Don't forget!"
msgstr ""
#. Tag: para
-#: Configuration.xml:486
+#: Configuration.xml:508
#, no-c-format
msgid ""
"There is one final item you need to know about. You must place a "
@@ -1118,7 +1168,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:491
+#: Configuration.xml:513
#, no-c-format
msgid ""
"In a web archive (WAR) file, you must place a <literal>seam.properties</"
@@ -1127,7 +1177,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:494
+#: Configuration.xml:516
#, no-c-format
msgid ""
"That's why all the Seam examples have an empty <literal>seam.properties</"
@@ -1136,7 +1186,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:497
+#: Configuration.xml:519
#, no-c-format
msgid ""
"You might think this is silly and what kind of idiot framework designers "
@@ -1148,13 +1198,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:508
+#: Configuration.xml:530
#, no-c-format
msgid "Using Alternate JPA Providers"
msgstr ""
#. Tag: para
-#: Configuration.xml:510
+#: Configuration.xml:532
#, no-c-format
msgid ""
"Seam comes packaged and configured with Hibernate as the default JPA "
@@ -1163,13 +1213,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:516
+#: Configuration.xml:538
#, no-c-format
msgid "This is a workaround"
msgstr ""
#. Tag: para
-#: Configuration.xml:517
+#: Configuration.xml:539
#, no-c-format
msgid ""
"Configuration of the JPA provider will be easier in the future and will not "
@@ -1178,7 +1228,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:524
+#: Configuration.xml:546
#, no-c-format
msgid ""
"Telling seam about a different JPA provider can be be done in one of two "
@@ -1186,7 +1236,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:525
+#: Configuration.xml:547
#, no-c-format
msgid ""
"Update your application's <literal>components.xml</literal> so that the "
@@ -1195,7 +1245,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:530
+#: Configuration.xml:552
#, no-c-format
msgid ""
"<![CDATA[<component name=\"org.jboss.seam.persistence.persistenceProvider"
@@ -1206,7 +1256,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:531
+#: Configuration.xml:553
#, no-c-format
msgid ""
"If you want to take advantage of your JPA provider's non-standard features "
@@ -1218,7 +1268,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:538
+#: Configuration.xml:560
#, no-c-format
msgid ""
"<![CDATA[<component name=\"org.jboss.seam.persistence.persistenceProvider"
@@ -1228,7 +1278,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:539
+#: Configuration.xml:561
#, no-c-format
msgid ""
"All that is left is updating the <literal>persistence.xml</literal> file "
@@ -1238,13 +1288,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:547
+#: Configuration.xml:569
#, no-c-format
msgid "Configuring Seam in Java EE 5"
msgstr ""
#. Tag: para
-#: Configuration.xml:558
+#: Configuration.xml:580
#, no-c-format
msgid ""
"If you're running in a Java EE 5 environment, this is all the configuration "
@@ -1252,14 +1302,14 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:561 Configuration.xml:656 Configuration.xml:794
-#: Configuration.xml:827
+#: Configuration.xml:583 Configuration.xml:678 Configuration.xml:816
+#: Configuration.xml:849
#, no-c-format
msgid "Packaging"
msgstr ""
#. Tag: para
-#: Configuration.xml:563
+#: Configuration.xml:585
#, no-c-format
msgid ""
"Once you've packaged all this stuff together into an EAR, the archive "
@@ -1267,7 +1317,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:566
+#: Configuration.xml:588
#, no-c-format
msgid ""
"<![CDATA[my-application.ear/\n"
@@ -1307,7 +1357,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:568
+#: Configuration.xml:590
#, no-c-format
msgid ""
"You should declare <literal>jboss-seam.jar</literal> as an ejb module in "
@@ -1316,7 +1366,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:573
+#: Configuration.xml:595
#, no-c-format
msgid ""
"If you want to use jBPM or Drools, you must include the needed jars in the "
@@ -1324,7 +1374,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:575
+#: Configuration.xml:597
#, no-c-format
msgid ""
"If you want to use facelets (our recommendation), you must include "
@@ -1333,7 +1383,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:578
+#: Configuration.xml:600
#, no-c-format
msgid ""
"If you want to use the Seam tag library (most Seam applications do), you "
@@ -1344,7 +1394,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:583
+#: Configuration.xml:605
#, no-c-format
msgid ""
"If you want to use the Seam debug page (only works for applications using "
@@ -1353,7 +1403,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:586
+#: Configuration.xml:608
#, no-c-format
msgid ""
"Seam ships with several example applications that are deployable in any Java "
@@ -1361,7 +1411,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:589
+#: Configuration.xml:611
#, no-c-format
msgid ""
"I really wish that was all there was to say on the topic of configuration "
@@ -1371,13 +1421,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:598
+#: Configuration.xml:620
#, no-c-format
msgid "Configuring Seam in J2EE"
msgstr ""
#. Tag: para
-#: Configuration.xml:600
+#: Configuration.xml:622
#, no-c-format
msgid ""
"Seam is useful even if you're not yet ready to take the plunge into EJB 3.0. "
@@ -1389,7 +1439,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:615
+#: Configuration.xml:637
#, no-c-format
msgid ""
"Seam JavaBean components do not provide declarative transaction demarcation "
@@ -1401,7 +1451,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:621
+#: Configuration.xml:643
#, no-c-format
msgid ""
"The Seam distribution includes a version of the booking example application "
@@ -1411,13 +1461,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:626
+#: Configuration.xml:648
#, no-c-format
msgid "Boostrapping Hibernate in Seam"
msgstr ""
#. Tag: para
-#: Configuration.xml:628
+#: Configuration.xml:650
#, no-c-format
msgid ""
"Seam will bootstrap a Hibernate <literal>SessionFactory</literal> from your "
@@ -1426,7 +1476,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:631
+#: Configuration.xml:653
#, no-c-format
msgid ""
"<![CDATA[<persistence:hibernate-session-factory name="
@@ -1434,7 +1484,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:633
+#: Configuration.xml:655
#, no-c-format
msgid ""
"You will also need to configure a <emphasis>managed session</emphasis> if "
@@ -1443,7 +1493,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:636
+#: Configuration.xml:658
#, no-c-format
msgid ""
"<![CDATA[<persistence:managed-hibernate-session name=\"hibernateSession\"\n"
@@ -1452,13 +1502,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:641
+#: Configuration.xml:663
#, no-c-format
msgid "Boostrapping JPA in Seam"
msgstr ""
#. Tag: para
-#: Configuration.xml:643
+#: Configuration.xml:665
#, no-c-format
msgid ""
"Seam will bootstrap a JPA <literal>EntityManagerFactory</literal> from your "
@@ -1467,7 +1517,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:646
+#: Configuration.xml:668
#, no-c-format
msgid ""
"<![CDATA[<persistence:entity-manager-factory name=\"entityManagerFactory\"/"
@@ -1475,7 +1525,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:648
+#: Configuration.xml:670
#, no-c-format
msgid ""
"You will also need to configure a <emphasis>managed persistence context</"
@@ -1484,7 +1534,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:651
+#: Configuration.xml:673
#, no-c-format
msgid ""
"<![CDATA[<persistence:managed-persistence-context name=\"entityManager\"\n"
@@ -1493,13 +1543,13 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:658
+#: Configuration.xml:680
#, no-c-format
msgid "We can package our application as a WAR, in the following structure:"
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:660
+#: Configuration.xml:682
#, no-c-format
msgid ""
"<![CDATA[my-application.war/\n"
@@ -1536,7 +1586,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:662
+#: Configuration.xml:684
#, no-c-format
msgid ""
"If we want to deploy Hibernate in a non-EE environment like Tomcat or "
@@ -1544,13 +1594,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:669
+#: Configuration.xml:691
#, no-c-format
msgid "Configuring Seam in Java SE, without JBoss Embedded"
msgstr ""
#. Tag: para
-#: Configuration.xml:671
+#: Configuration.xml:693
#, no-c-format
msgid ""
"It is possible to use Seam completely outside of an EE environment. In this "
@@ -1560,7 +1610,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:675
+#: Configuration.xml:697
#, no-c-format
msgid ""
"<![CDATA[<transaction:entity-transaction entity-manager=\"#{entityManager}\"/"
@@ -1568,7 +1618,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:677
+#: Configuration.xml:699
#, no-c-format
msgid ""
"If you're using Hibernate, you can tell Seam to use the Hibernate "
@@ -1576,32 +1626,32 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:679
+#: Configuration.xml:701
#, no-c-format
msgid "<![CDATA[<transaction:hibernate-transaction session=\"#{session}\"/>]]>"
msgstr ""
#. Tag: para
-#: Configuration.xml:681
+#: Configuration.xml:703
#, no-c-format
msgid "Of course, you'll also need to define a datasource."
msgstr ""
#. Tag: para
-#: Configuration.xml:683
+#: Configuration.xml:705
#, no-c-format
msgid ""
"A better alternative is to use JBoss Embedded to get access to the EE APIs."
msgstr ""
#. Tag: title
-#: Configuration.xml:688
+#: Configuration.xml:710
#, no-c-format
msgid "Configuring Seam in Java SE, with JBoss Embedded"
msgstr ""
#. Tag: para
-#: Configuration.xml:690
+#: Configuration.xml:712
#, no-c-format
msgid ""
"JBoss Embedded lets you run EJB3 components outside the context of the Java "
@@ -1610,7 +1660,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:693
+#: Configuration.xml:715
#, no-c-format
msgid ""
"The Seam booking example application includes a TestNG integration test "
@@ -1618,19 +1668,19 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:705
+#: Configuration.xml:727
#, no-c-format
msgid "The booking example application may even be deployed to Tomcat."
msgstr ""
#. Tag: title
-#: Configuration.xml:717
+#: Configuration.xml:739
#, no-c-format
msgid "Installing Embedded JBoss"
msgstr ""
#. Tag: para
-#: Configuration.xml:720
+#: Configuration.xml:742
#, no-c-format
msgid ""
"Embedded JBoss must by installed into Tomcat for Seam applications to run "
@@ -1643,7 +1693,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:734
+#: Configuration.xml:756
#, no-c-format
msgid ""
"Copy all files and directories under the Embedded JBoss <literal>bootstrap</"
@@ -1653,7 +1703,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:741
+#: Configuration.xml:763
#, no-c-format
msgid ""
"Remove the <literal>annotations-api.jar</literal> file from the Tomcat "
@@ -1661,7 +1711,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:747
+#: Configuration.xml:769
#, no-c-format
msgid ""
"Next, two configuration files need to be updated to add Embedded JBoss-"
@@ -1669,7 +1719,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:753
+#: Configuration.xml:775
#, no-c-format
msgid ""
"Add the Embedded JBoss listener <literal>EmbeddedJBossBootstrapListener</"
@@ -1678,7 +1728,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:756
+#: Configuration.xml:778
#, no-c-format
msgid ""
"<![CDATA[<Server port=\"8005\" shutdown=\"SHUTDOWN\">\n"
@@ -1696,7 +1746,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:757
+#: Configuration.xml:779
#, no-c-format
msgid ""
"<![CDATA[ <!-- Add this listener -->\n"
@@ -1705,7 +1755,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:761
+#: Configuration.xml:783
#, no-c-format
msgid ""
"WAR file scanning should be enabled by adding the <literal>WebinfScanner</"
@@ -1713,7 +1763,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:764
+#: Configuration.xml:786
#, no-c-format
msgid ""
"<![CDATA[<Context>\n"
@@ -1728,7 +1778,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:765
+#: Configuration.xml:787
#, no-c-format
msgid ""
"<![CDATA[ <!-- Add this listener -->\n"
@@ -1736,13 +1786,13 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:766
+#: Configuration.xml:788
#, no-c-format
msgid "<![CDATA[</Context>]]>"
msgstr ""
#. Tag: para
-#: Configuration.xml:770
+#: Configuration.xml:792
#, no-c-format
msgid ""
"If you are using Sun JDK 6, you need to set the Java option <literal>sun."
@@ -1752,7 +1802,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:775
+#: Configuration.xml:797
#, no-c-format
msgid ""
"Open the script appropriate for your operating system in a text editor. Add "
@@ -1762,7 +1812,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:779
+#: Configuration.xml:801
#, no-c-format
msgid ""
"<![CDATA[set JAVA_OPTS=%JAVA_OPTS% -Dsun.lang.ClassLoader."
@@ -1770,13 +1820,13 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:781
+#: Configuration.xml:803
#, no-c-format
msgid "On Unix, use this syntax instead:"
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:783
+#: Configuration.xml:805
#, no-c-format
msgid ""
"<![CDATA[JAVA_OPTS=\"$JAVA_OPTS -Dsun.lang.ClassLoader.allowArraySyntax=true"
@@ -1784,7 +1834,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:788
+#: Configuration.xml:810
#, no-c-format
msgid ""
"For more configuration options, please see the Embedded JBoss Tomcat "
@@ -1793,7 +1843,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:796
+#: Configuration.xml:818
#, no-c-format
msgid ""
"The archive structure of a WAR-based deployment on an servlet engine like "
@@ -1801,7 +1851,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:799
+#: Configuration.xml:821
#, no-c-format
msgid ""
"<![CDATA[my-application.war/\n"
@@ -1839,7 +1889,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:801
+#: Configuration.xml:823
#, no-c-format
msgid ""
"Most of the Seam example applications may be deployed to Tomcat by running "
@@ -1847,13 +1897,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:809
+#: Configuration.xml:831
#, no-c-format
msgid "Configuring jBPM in Seam"
msgstr ""
#. Tag: para
-#: Configuration.xml:810
+#: Configuration.xml:832
#, no-c-format
msgid ""
"Seam's jBPM integration is not installed by default, so you'll need to "
@@ -1863,7 +1913,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:814
+#: Configuration.xml:836
#, no-c-format
msgid ""
"<![CDATA[<bpm:jbpm>\n"
@@ -1879,7 +1929,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:816
+#: Configuration.xml:838
#, no-c-format
msgid ""
"No further special configuration is needed if you only have pageflows. If "
@@ -1890,7 +1940,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:821
+#: Configuration.xml:843
#, no-c-format
msgid ""
"<![CDATA[<jbpm-configuration>\n"
@@ -1920,7 +1970,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:823
+#: Configuration.xml:845
#, no-c-format
msgid ""
"The most important thing to notice here is that jBPM transaction control is "
@@ -1928,7 +1978,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:829
+#: Configuration.xml:851
#, no-c-format
msgid ""
"There is not yet any well-defined packaging format for jBPM configuration "
@@ -1939,7 +1989,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:834
+#: Configuration.xml:856
#, no-c-format
msgid ""
"<![CDATA[my-application.ear/\n"
@@ -1986,13 +2036,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:841
+#: Configuration.xml:863
#, no-c-format
msgid "Configuring SFSB and Session Timeouts in JBoss AS"
msgstr ""
#. Tag: para
-#: Configuration.xml:843
+#: Configuration.xml:865
#, no-c-format
msgid ""
"It is very important that the timeout for Stateful Session Beans is set "
@@ -2004,7 +2054,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:849
+#: Configuration.xml:871
#, no-c-format
msgid ""
"The default SFSB timeout can be adjusted by modifying the value of "
@@ -2013,7 +2063,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:852
+#: Configuration.xml:874
#, no-c-format
msgid ""
"<![CDATA[<container-cache-conf>\n"
@@ -2038,7 +2088,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:854
+#: Configuration.xml:876
#, no-c-format
msgid ""
"The default HTTP session timeout can be modified in <literal>server/default/"
@@ -2049,7 +2099,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:859
+#: Configuration.xml:881
#, no-c-format
msgid ""
"<![CDATA[<session-config>\n"
@@ -2059,7 +2109,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:861
+#: Configuration.xml:883
#, no-c-format
msgid ""
"To override this value for your own application, simply include this entry "
@@ -2067,13 +2117,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:867
+#: Configuration.xml:889
#, no-c-format
msgid "Running Seam in a Portlet"
msgstr ""
#. Tag: para
-#: Configuration.xml:869
+#: Configuration.xml:891
#, no-c-format
msgid ""
"If you want to run your Seam application in a portlet, take a look at the "
@@ -2084,13 +2134,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:880
+#: Configuration.xml:902
#, no-c-format
msgid "Deploying custom resources"
msgstr ""
#. Tag: para
-#: Configuration.xml:882
+#: Configuration.xml:904
#, no-c-format
msgid ""
"Seam scans all jars containing <literal>/seam.properties</literal>, "
@@ -2101,7 +2151,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:889
+#: Configuration.xml:911
#, no-c-format
msgid ""
"You may also want Seam to handle custom resources. A common use case is to "
@@ -2111,7 +2161,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:896
+#: Configuration.xml:918
#, no-c-format
msgid ""
"<![CDATA[# A colon-separated list of annotation types to handle\n"
@@ -2119,7 +2169,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:898
+#: Configuration.xml:920
#, no-c-format
msgid ""
"Then, during application startup you can get hold of all classes annotated "
@@ -2127,7 +2177,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:903
+#: Configuration.xml:925
#, no-c-format
msgid ""
"<![CDATA[@Name(\"fooStartup\")\n"
@@ -2159,7 +2209,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:905
+#: Configuration.xml:927
#, no-c-format
msgid ""
"You can also handle <emphasis>any</emphasis> resource. For example, you "
@@ -2168,7 +2218,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:911
+#: Configuration.xml:933
#, no-c-format
msgid ""
"<![CDATA[public class FooDeploymentHandler implements DeploymentHandler {\n"
@@ -2192,7 +2242,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:913
+#: Configuration.xml:935
#, no-c-format
msgid ""
"Here we are just building a list of any files with the suffix <literal>.foo."
@@ -2200,7 +2250,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:918
+#: Configuration.xml:940
#, no-c-format
msgid ""
"Then, we need to register the deployment handler with Seam in <literal>/META-"
@@ -2209,7 +2259,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:925
+#: Configuration.xml:947
#, no-c-format
msgid ""
"<![CDATA[# For standard deployment\n"
@@ -2220,7 +2270,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:931
+#: Configuration.xml:953
#, no-c-format
msgid ""
"Seam uses deployment handlers internally to install components and "
@@ -2229,7 +2279,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:937
+#: Configuration.xml:959
#, no-c-format
msgid ""
"<![CDATA[@Name(\"fooStartup\")\n"
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/or-IN/Webservices.po
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/or-IN/Webservices.po 2009-08-26 19:14:02 UTC (rev 11432)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/or-IN/Webservices.po 2009-08-26 19:19:33 UTC (rev 11433)
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-07-08 14:32+0000\n"
+"POT-Creation-Date: 2009-08-26 18:48+0000\n"
"PO-Revision-Date: 2008-04-04 01:24+0000\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
@@ -392,48 +392,56 @@
#: Webservices.xml:186
#, no-c-format
msgid ""
-"The URI starts with the pattern mapped in <literal>web.xml</literal> for the "
+"The URI starts with the host and context path of your application, e.g. "
+"<literal>http://your.hostname/myapp</literal>."
+msgstr ""
+
+#. Tag: para
+#: Webservices.xml:192
+#, no-c-format
+msgid ""
+"Then the pattern mapped in <literal>web.xml</literal> for the "
"<literal>SeamResourceServlet</literal>, e.g <literal>/seam/resource</"
-"literal> if you follow the common examples. Change this setting to expose "
-"your RESTful resources under a different base. Note that this is a global "
-"change and other Seam resources (e.g. <literal>s:graphicImage</literal>) are "
-"then also served under that base path."
+"literal> if you follow the common examples, is appended. Change this setting "
+"to expose your RESTful resources under a different base. Note that this is a "
+"global change and other Seam resources (e.g. <literal>s:graphicImage</"
+"literal>) are then also served under that base path."
msgstr ""
#. Tag: para
-#: Webservices.xml:195
+#: Webservices.xml:201
#, no-c-format
msgid ""
"The RESTEasy integration for Seam then appends a configurable string to the "
"base path, by default this is <literal>/rest</literal>. Hence, the full base "
-"path of your resources would e.g. be <literal>/seam/resource/rest</literal>. "
-"We recommend that you change this string in your application, you could for "
-"example add a version number to prepare for a future REST API upgrade of "
-"your services (old clients would keep the old URI base): <literal>/seam/"
-"resource/restv1</literal>."
+"path of your resources would e.g. be <literal>/myapp/seam/resource/rest</"
+"literal>. We recommend that you change this string in your application, you "
+"could for example add a version number to prepare for a future REST API "
+"upgrade of your services (old clients would keep the old URI base): "
+"<literal>/myapp/seam/resource/restv1</literal>."
msgstr ""
#. Tag: para
-#: Webservices.xml:204
+#: Webservices.xml:210
#, no-c-format
msgid ""
"Finally, the actual resource is available under the defined <literal>@Path</"
"literal>, e.g. a resource mapped with <literal>@Path(\"/customer\")</"
-"literal> would be available under <literal>/seam/resource/rest/customer</"
-"literal>."
+"literal> would be available under <literal>/myapp/seam/resource/rest/"
+"customer</literal>."
msgstr ""
#. Tag: para
-#: Webservices.xml:212
+#: Webservices.xml:218
#, no-c-format
msgid ""
"As an example, the following resource definition would return a plaintext "
"representation for any GET requests using the URI <literal>http://your."
-"hostname/seam/resource/rest/customer/123</literal>:"
+"hostname/myapp/seam/resource/rest/customer/123</literal>:"
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:217
+#: Webservices.xml:223
#, no-c-format
msgid ""
"<![CDATA[@Path(\"/customer\")\n"
@@ -450,7 +458,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:219
+#: Webservices.xml:225
#, no-c-format
msgid ""
"No additional configuration is required, you do not have to edit "
@@ -461,7 +469,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:225
+#: Webservices.xml:231
#, no-c-format
msgid ""
"<![CDATA[<components\n"
@@ -476,63 +484,39 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:227
+#: Webservices.xml:233
#, no-c-format
msgid ""
"You can then change the <literal>/rest</literal> prefix as mentioned earlier:"
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:231
+#: Webservices.xml:237
#, no-c-format
msgid "<![CDATA[<resteasy:application resource-path-prefix=\"/restv1\"/>]]>"
msgstr ""
#. Tag: para
-#: Webservices.xml:233
-#, no-c-format
-msgid ""
-"The full base path to your resources is now <literal>/seam/resource/restv1/"
-"{resource}</literal> - note that your <literal>@Path</literal> definitions "
-"and mappings do NOT change. This is an application-wide switch usually used "
-"for versioning of the HTTP API."
-msgstr ""
-
-#. Tag: para
#: Webservices.xml:239
#, no-c-format
msgid ""
-"You can disable stripping of the base path if you'd like to map the full "
-"path in your resources:"
+"The full base path to your resources is now <literal>/myapp/seam/resource/"
+"restv1/{resource}</literal> - note that your <literal>@Path</literal> "
+"definitions and mappings do NOT change. This is an application-wide switch "
+"usually used for versioning of the HTTP interface."
msgstr ""
-#. Tag: programlisting
-#: Webservices.xml:243
-#, no-c-format
-msgid "<![CDATA[<resteasy:application strip-seam-resource-path=\"false\"/>]]>"
-msgstr ""
-
#. Tag: para
#: Webservices.xml:245
#, no-c-format
msgid ""
-"The path of a resource is now mapped with e.g. <literal>@Path(\"/seam/"
-"resource/rest/customer\")</literal>. We do not recommend disabling this "
-"feature, as your resource class mappings are then bound to a particular "
-"deployment scenario."
-msgstr ""
-
-#. Tag: para
-#: Webservices.xml:251
-#, no-c-format
-msgid ""
"Seam will scan your classpath for any deployed <literal>@javax.ws.rs.Path</"
"literal> resources and any <literal>@javax.ws.rs.ext.Provider</literal> "
"classes. You can disable scanning and configure these classes manually:"
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:257
+#: Webservices.xml:251
#, no-c-format
msgid ""
"<![CDATA[<resteasy:application\n"
@@ -554,7 +538,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:259
+#: Webservices.xml:253
#, no-c-format
msgid ""
"The <literal>use-built-in-providers</literal> switch enables (default) or "
@@ -564,7 +548,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:265
+#: Webservices.xml:259
#, no-c-format
msgid ""
"RESTEasy supports plain EJBs (EJBs that are not Seam components) as "
@@ -576,20 +560,21 @@
"<literal>@Path</literal>, <literal>@GET</literal>, and so on - not the bean "
"implementation class. This allows you to keep your application deployment-"
"portable with the global Seam <literal>jndi-pattern</literal> switch on "
-"<literal><core:init/></literal>. Note that EJB resources will not be "
-"found even if scanning of resources is enabled, you always have to list them "
-"manually. Again, this is only relevant for EJB resources that are not also "
-"Seam components and that do not have a <literal>@Name</literal> annotation."
+"<literal><core:init/></literal>. Note that plain (non-Seam component) "
+"EJB resources will not be found even if scanning of resources is enabled, "
+"you always have to list them manually. Again, this whole paragraph is only "
+"relevant for EJB resources that are not also Seam components and that do not "
+"have an <literal>@Name</literal> annotation."
msgstr ""
#. Tag: para
-#: Webservices.xml:277
+#: Webservices.xml:272
#, no-c-format
msgid "Finally, you can configure media type and language URI extensions:"
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:281
+#: Webservices.xml:276
#, no-c-format
msgid ""
"<![CDATA[<resteasy:application>\n"
@@ -606,7 +591,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:283
+#: Webservices.xml:278
#, no-c-format
msgid ""
"This definition would map the URI suffix of <literal>.txt.deutsch</literal> "
@@ -616,13 +601,13 @@
msgstr ""
#. Tag: title
-#: Webservices.xml:292
+#: Webservices.xml:287
#, no-c-format
msgid "Resources and providers as Seam components"
msgstr ""
#. Tag: para
-#: Webservices.xml:294
+#: Webservices.xml:289
#, no-c-format
msgid ""
"Any resource and provider instances are managed by RESTEasy by default. That "
@@ -633,7 +618,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:301
+#: Webservices.xml:296
#, no-c-format
msgid ""
"You can write resources and providers as Seam components and benefit from "
@@ -642,7 +627,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:307
+#: Webservices.xml:302
#, no-c-format
msgid ""
"<![CDATA[@Name(\"customerResource\")\n"
@@ -663,7 +648,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:309
+#: Webservices.xml:304
#, no-c-format
msgid ""
"An instance of <literal>customerResource</literal> is now handled by Seam "
@@ -677,7 +662,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:318
+#: Webservices.xml:313
#, no-c-format
msgid ""
"You can annotate an interface and keep the implementation free from JAX-RS "
@@ -685,7 +670,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:322
+#: Webservices.xml:317
#, no-c-format
msgid ""
"<![CDATA[@Path(\"/customer\")\n"
@@ -700,7 +685,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:324
+#: Webservices.xml:319
#, no-c-format
msgid ""
"<![CDATA[@Name(\"customerResource\")\n"
@@ -718,7 +703,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:326
+#: Webservices.xml:321
#, no-c-format
msgid ""
"You can use <literal>SESSION</literal>-scoped Seam components. By default, "
@@ -733,7 +718,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:335
+#: Webservices.xml:330
#, no-c-format
msgid ""
"Assuming that your Seam application only uses event, application, or "
@@ -745,7 +730,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:342
+#: Webservices.xml:337
#, no-c-format
msgid ""
"If your RESTful Seam application has to preserve session state across REST "
@@ -753,14 +738,14 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:347
+#: Webservices.xml:342
#, no-c-format
msgid ""
"<![CDATA[<resteasy:application destroy-session-after-request=\"false\"/>]]>"
msgstr ""
#. Tag: para
-#: Webservices.xml:349
+#: Webservices.xml:344
#, no-c-format
msgid ""
"Every REST HTTP request will now create a new session that will only be "
@@ -771,7 +756,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:356
+#: Webservices.xml:351
#, no-c-format
msgid ""
"<literal>CONVERSATION</literal>-scoped resource components and mapping of "
@@ -780,7 +765,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:361
+#: Webservices.xml:356
#, no-c-format
msgid ""
"EJB Seam components are supported. Always annotate the local business "
@@ -789,7 +774,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:366
+#: Webservices.xml:361
#, no-c-format
msgid ""
"Provider classes can also be Seam components, only <literal>APPLICATION</"
@@ -799,13 +784,13 @@
msgstr ""
#. Tag: title
-#: Webservices.xml:375
+#: Webservices.xml:370
#, no-c-format
msgid "Securing resources"
msgstr ""
#. Tag: para
-#: Webservices.xml:377
+#: Webservices.xml:372
#, no-c-format
msgid ""
"You can enable the Seam authentication filter for HTTP Basic and Digest "
@@ -813,7 +798,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:382
+#: Webservices.xml:377
#, no-c-format
msgid ""
"<![CDATA[<web:authentication-filter url-pattern=\"/seam/resource/rest/*\" "
@@ -821,14 +806,14 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:384
+#: Webservices.xml:379
#, no-c-format
msgid ""
"See the Seam security chapter on how to write an authentication routine."
msgstr ""
#. Tag: para
-#: Webservices.xml:388
+#: Webservices.xml:383
#, no-c-format
msgid ""
"After successful authentication, authorization rules with the common "
@@ -839,13 +824,13 @@
msgstr ""
#. Tag: title
-#: Webservices.xml:398
+#: Webservices.xml:393
#, no-c-format
msgid "Mapping exceptions to HTTP responses"
msgstr ""
#. Tag: para
-#: Webservices.xml:400
+#: Webservices.xml:395
#, no-c-format
msgid ""
"Section 3.3.4 of the JAX-RS specification defines how checked or unchecked "
@@ -858,7 +843,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:408
+#: Webservices.xml:403
#, no-c-format
msgid ""
"Exception handling within Seam requires that the Seam filter is executed for "
@@ -870,7 +855,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:415
+#: Webservices.xml:410
#, no-c-format
msgid ""
"<![CDATA[<filter>\n"
@@ -885,7 +870,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:417
+#: Webservices.xml:412
#, no-c-format
msgid ""
"To convert the unchecked <literal>UnsupportedOperationException</literal> "
@@ -895,7 +880,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:423
+#: Webservices.xml:418
#, no-c-format
msgid ""
"<![CDATA[<exception class=\"java.lang.UnsupportedOperationException\">\n"
@@ -906,13 +891,13 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:425
+#: Webservices.xml:420
#, no-c-format
msgid "Custom or checked exceptions are handled the same:"
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:429
+#: Webservices.xml:424
#, no-c-format
msgid ""
"<![CDATA[<exception class=\"my.CustomException\" log=\"false\">\n"
@@ -924,7 +909,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:431
+#: Webservices.xml:426
#, no-c-format
msgid ""
"You do not have to send an HTTP error to the client if an exception occurs. "
@@ -935,7 +920,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:438
+#: Webservices.xml:433
#, no-c-format
msgid ""
"Note that the HTTP response still passes through the servlet container, so "
@@ -946,13 +931,13 @@
msgstr ""
#. Tag: title
-#: Webservices.xml:447
+#: Webservices.xml:442
#, no-c-format
msgid "Testing resources and providers"
msgstr ""
#. Tag: para
-#: Webservices.xml:449
+#: Webservices.xml:444
#, no-c-format
msgid ""
"Seam includes a unit testing utility class that helps you create unit tests "
@@ -962,7 +947,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:455
+#: Webservices.xml:450
#, no-c-format
msgid ""
"<![CDATA[import org.jboss.seam.mock.ResourceRequestEnvironment;\n"
@@ -1019,7 +1004,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:457
+#: Webservices.xml:452
#, no-c-format
msgid ""
"This test only executes local calls, it does not communicate with the "
@@ -1032,7 +1017,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:465
+#: Webservices.xml:460
#, no-c-format
msgid ""
"Note that a <literal>ResourceRequest</literal> has to be executed in a "
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/or-IN/Websphere.po
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/or-IN/Websphere.po 2009-08-26 19:14:02 UTC (rev 11432)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/or-IN/Websphere.po 2009-08-26 19:19:33 UTC (rev 11433)
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-08-22 13:17+0000\n"
+"POT-Creation-Date: 2009-08-26 18:48+0000\n"
"PO-Revision-Date: 2008-04-04 01:24+0000\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
@@ -76,25 +76,27 @@
#, no-c-format
msgid ""
"The following sections in this chapter assume that WebSphere is correctly "
-"installed and is functional, and a profile has been successfully created."
+"installed and is functional, and a WebSphere \"profile\" has been "
+"successfully created."
msgstr ""
#. Tag: para
#: Websphere.xml:40
#, no-c-format
msgid ""
-"This chapter explain how to compile, deploy and run some sample applications "
-"in WebSphere. These sample applications require a database. WebSphere comes "
-"by default with a set of sample applications called \"Default Application\". "
-"This set of sample applications use a Derby database running on the Derby "
-"instance installed with WebSphere. In order to keep this simple we'll use "
-"this Derby database created for the \"Default Applications\". However, to "
-"run the sample application with the Derby database \"as-is\", a patched "
-"Hibernate dialect must be used (The patch changes the default \"auto\" key "
-"generation strategy) as explained in <xref linkend=\"glassfish\"/>. If you "
-"want to use another database, it's just a matter of creating a connection "
-"pool in WebSphere pointing to this database, declare the correct Hibernate "
-"dialect and set the correct JNDI name in <literal>persistence.xml</literal>."
+"This chapter explains how to compile, deploy and run some sample "
+"applications in WebSphere. These sample applications require a database. "
+"WebSphere comes by default with a set of sample applications called "
+"\"Default Application\". This set of sample applications use a Derby "
+"database running on the Derby instance installed within WebSphere. In order "
+"to keep this simple we'll use this Derby database created for the \"Default "
+"Applications\". However, to run the sample application with the Derby "
+"database \"as-is\", a patched Hibernate dialect must be used (The patch "
+"changes the default \"auto\" key generation strategy) as explained in <xref "
+"linkend=\"glassfish\"/>. If you want to use another database, it's just a "
+"matter of creating a connection pool in WebSphere pointing to this database, "
+"declare the correct Hibernate dialect and set the correct JNDI name in "
+"<literal>persistence.xml</literal>."
msgstr ""
#. Tag: title
@@ -144,14 +146,14 @@
#, no-c-format
msgid ""
"On the right navigation menu, select <literal>Web Container Settings/Web "
-"container</literal>)"
+"container</literal>"
msgstr ""
#. Tag: listitem
#: Websphere.xml:73
#, no-c-format
msgid ""
-"On the right navigation menu, select <literal>custom properties</literal>) "
+"On the right navigation menu, select <literal>custom properties</literal> "
"and add the following properties:"
msgstr ""
@@ -170,7 +172,7 @@
#. Tag: listitem
#: Websphere.xml:84
#, no-c-format
-msgid "Save and restart the server"
+msgid "Save the configuration and restart the server"
msgstr ""
#. Tag: title
@@ -189,38 +191,38 @@
msgstr ""
#. Tag: listitem
-#: Websphere.xml:97
+#: Websphere.xml:96
#, no-c-format
msgid ""
"The global <literal>jndi-pattern</literal> switch on the <literal><core:"
-"init></literal>. in <literal>components.xml</literal>. The switch can use "
-"a special placeholder \"<literal>#{ejbName}</literal>\" that resolves to the "
-"unqualified name of the EJB"
+"init></literal>tag in <literal>components.xml</literal>. The switch can "
+"use a special placeholder \"<literal>#{ejbName}</literal>\" that resolves to "
+"the unqualified name of the EJB"
msgstr ""
#. Tag: para
-#: Websphere.xml:102
+#: Websphere.xml:100
#, no-c-format
msgid "The <literal>@JndiName</literal> annotation"
msgstr ""
#. Tag: para
-#: Websphere.xml:108
+#: Websphere.xml:106
#, no-c-format
msgid "gives detailed explanations on how those mechanisms work."
msgstr ""
#. Tag: para
-#: Websphere.xml:112
+#: Websphere.xml:110
#, no-c-format
msgid ""
-"By default, WebSphere will bind the session bean in its local JNDI name "
-"space under a \"short\" binding name that adheres to the following pattern "
+"By default, WebSphere will bind session beans in its local JNDI name space "
+"under a \"short\" binding name that adheres to the following pattern "
"<literal>ejblocal:<package.qualified.local.interface.name></literal>."
msgstr ""
#. Tag: para
-#: Websphere.xml:117
+#: Websphere.xml:115
#, no-c-format
msgid ""
"For a detailed description on how WebSphere v7 organizes and binds EJBs in "
@@ -228,7 +230,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:120
+#: Websphere.xml:118
#, no-c-format
msgid ""
"As explained before, Seam needs to lookup for session bean as they appear in "
@@ -236,35 +238,35 @@
msgstr ""
#. Tag: listitem
-#: Websphere.xml:124
+#: Websphere.xml:121
#, no-c-format
msgid ""
"Specify which JNDI name Seam must use for each session bean using the "
-"<literal>@JndiName</literal> annotation in the java source file"
+"<literal>@JndiName</literal> annotation in the java source file,"
msgstr ""
#. Tag: listitem
-#: Websphere.xml:127
+#: Websphere.xml:123
#, no-c-format
msgid ""
"Override the default session bean names generated by WebSphere to conform to "
-"the <literal>jndi-pattern</literal> attribute"
+"the <literal>jndi-pattern</literal> attribute,"
msgstr ""
#. Tag: listitem
-#: Websphere.xml:130
+#: Websphere.xml:126
#, no-c-format
-msgid "Use EJB references"
+msgid "Use EJB references."
msgstr ""
#. Tag: title
-#: Websphere.xml:137
+#: Websphere.xml:133
#, no-c-format
msgid "Strategy 1: Specify which JNDI name Seam must use for each Session Bean"
msgstr ""
#. Tag: para
-#: Websphere.xml:138
+#: Websphere.xml:134
#, no-c-format
msgid ""
"This strategy is the simplest and fastest one regarding development. It uses "
@@ -272,7 +274,7 @@
msgstr ""
#. Tag: listitem
-#: Websphere.xml:141
+#: Websphere.xml:137
#, no-c-format
msgid ""
"Add a <literal>@JndiName(\"ejblocal:<package.qualified.local.interface."
@@ -280,20 +282,20 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:145 Websphere.xml:188
+#: Websphere.xml:141 Websphere.xml:184
#, no-c-format
msgid ""
"<para>In <literal>components.xml</literal>, add the following line:</para>"
msgstr ""
#. Tag: programlisting
-#: Websphere.xml:147 Websphere.xml:220
+#: Websphere.xml:143 Websphere.xml:216
#, no-c-format
msgid "<![CDATA[<core:init jndi-name=\"java:comp/env/#{ejbName}\" />]]>"
msgstr ""
#. Tag: para
-#: Websphere.xml:151
+#: Websphere.xml:147
#, no-c-format
msgid ""
"Add a file named <literal>WEB-INF/classes/seam-jndi.properties</literal> in "
@@ -301,7 +303,7 @@
msgstr ""
#. Tag: programlisting
-#: Websphere.xml:153
+#: Websphere.xml:149
#, no-c-format
msgid ""
"com.ibm.websphere.naming.hostname.normalizer=com.ibm.ws.naming.util."
@@ -323,13 +325,13 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:157
+#: Websphere.xml:153
#, no-c-format
msgid "At the end of <literal>web.xml</literal>, add the following lines:"
msgstr ""
#. Tag: programlisting
-#: Websphere.xml:159
+#: Websphere.xml:155
#, no-c-format
msgid ""
"<![CDATA[<ejb-local-ref>\n"
@@ -341,7 +343,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:164
+#: Websphere.xml:160
#, no-c-format
msgid ""
"That's all folks! No need to update any file during the development, nor to "
@@ -349,23 +351,23 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:167
+#: Websphere.xml:163
#, no-c-format
msgid ""
-"Compared to the other strategies, this strategy has the advantage not to "
-"have to manage any EJBs reference and also not to have to maintain extra "
+"Compared to the other strategies, this strategy has the advantage to not "
+"have to manage any EJBs reference and also to not have to maintain extra "
"files. The only drawback is one extra line in the java source code with the "
"<literal>@JndiName</literal> annotation"
msgstr ""
#. Tag: title
-#: Websphere.xml:174
+#: Websphere.xml:170
#, no-c-format
msgid "Strategy 2: Override the default names generated by WebSphere"
msgstr ""
#. Tag: section
-#: Websphere.xml:174
+#: Websphere.xml:170
#, no-c-format
msgid ""
"There is no simple way to globally override the default naming strategy for "
@@ -374,13 +376,13 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:177
+#: Websphere.xml:173
#, no-c-format
msgid "To use this strategy:"
msgstr ""
#. Tag: para
-#: Websphere.xml:181
+#: Websphere.xml:177
#, no-c-format
msgid ""
"Add a file named <literal>META-INF/ibm-ejb-jar-ext.xml</literal> in the EJB "
@@ -405,13 +407,13 @@
msgstr ""
#. Tag: programlisting
-#: Websphere.xml:190
+#: Websphere.xml:186
#, no-c-format
msgid "<![CDATA[<core:init jndi-name=\"ejblocal:#{ejbName}\" />]]>"
msgstr ""
#. Tag: para
-#: Websphere.xml:194
+#: Websphere.xml:190
#, no-c-format
msgid ""
"Add a file named <literal>WEB-INF/classes/seam-jndi.properties</literal> as "
@@ -419,7 +421,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:199
+#: Websphere.xml:195
#, no-c-format
msgid ""
"In <literal>web.xml</literal>, add the following lines (Note the different "
@@ -427,7 +429,7 @@
msgstr ""
#. Tag: programlisting
-#: Websphere.xml:201
+#: Websphere.xml:197
#, no-c-format
msgid ""
"<![CDATA[<ejb-local-ref>\n"
@@ -439,7 +441,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:206
+#: Websphere.xml:202
#, no-c-format
msgid ""
"Compared to the first strategy, this strategy requires to maintain an extra "
@@ -449,13 +451,13 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:215
+#: Websphere.xml:211
#, no-c-format
msgid "Strategy 3: Use EJB references"
msgstr ""
#. Tag: section
-#: Websphere.xml:215
+#: Websphere.xml:211
#, no-c-format
msgid ""
"This strategy is based on the usage of EJB references, from EJB to EJB and "
@@ -463,7 +465,7 @@
msgstr ""
#. Tag: listitem
-#: Websphere.xml:218
+#: Websphere.xml:214
#, no-c-format
msgid ""
"<listitem>In <literal>components.xml</literal>, add the following line:</"
@@ -471,7 +473,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:223
+#: Websphere.xml:219
#, no-c-format
msgid ""
"Follow the instructions in <xref linkend=\"config.integration.ejb.container"
@@ -479,7 +481,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:228
+#: Websphere.xml:224
#, no-c-format
msgid ""
"This is the most tedious strategy as each session bean referenced by another "
@@ -489,27 +491,27 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:239
+#: Websphere.xml:235
#, no-c-format
msgid "Configuring timeouts for Stateful Session Beans"
msgstr ""
#. Tag: para
-#: Websphere.xml:240
+#: Websphere.xml:236
#, no-c-format
msgid ""
"A timeout value has to be set for each stateful session bean used in the "
"application because stateful bean must not expire in WebSphere while Seam "
-"might still need thenm. At the time of writing this document, WebSphere does "
+"might still need them. At the time of writing this document, WebSphere does "
"not provide a way to configure a global timeout at neither the cluster, "
"server, application nor ejb-jar level. It has to be done for each stateful "
-"bean individually. This is done by adding a file named <literal>META-INF/ibm-"
-"ejb-jar-ext.xml</literal> in the EJB module, and declare the timeout value "
-"for each bean:"
+"bean individually. By default, the default timeout is 10 minutes. This is "
+"done by adding a file named <literal>META-INF/ibm-ejb-jar-ext.xml</literal> "
+"in the EJB module, and declare the timeout value for each bean:"
msgstr ""
#. Tag: programlisting
-#: Websphere.xml:246
+#: Websphere.xml:242
#, no-c-format
msgid ""
"<![CDATA[<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
@@ -529,24 +531,24 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:248
+#: Websphere.xml:244
#, no-c-format
msgid ""
"The <literal>time-out</literal> is expressed in seconds and must be higher "
"than the Seam conversation expiration timeout and a few minutes higher than "
"the user's HTTP session timeout (The session expiration timeout can trigger "
-"a few minutes after the number of minutes declared to expire s for the HTTP "
-"session expiration)."
+"a few minutes after the number of minutes declared to expire the HTTP "
+"session)."
msgstr ""
#. Tag: title
-#: Websphere.xml:257
+#: Websphere.xml:253
#, no-c-format
msgid "The <literal>jee5/booking</literal> example"
msgstr ""
#. Tag: para
-#: Websphere.xml:259
+#: Websphere.xml:255
#, no-c-format
msgid ""
"The<literal>jee5/booking</literal>example is based on the Hotel Booking "
@@ -557,23 +559,32 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:265
+#: Websphere.xml:261
#, no-c-format
msgid ""
-"For running this example, we'll use the second JNDI mapping strategy "
-"(\"Override the default names generated by WebSphere\") as we don't want to "
-"change the java code to add the <literal>@JndiName</literal> annotation as "
-"in the first strategy."
+"The example already has a breakout of configurations and build scripts for "
+"WebSphere. First thing, we are going to do is build and deploy this example. "
+"Then we'll go over some key changes that we needed."
msgstr ""
+#. Tag: para
+#: Websphere.xml:266
+#, no-c-format
+msgid ""
+"The tailored configuration files for WebSphere use the second JNDI mapping "
+"strategy (\"Override the default names generated by WebSphere\") as the goal "
+"was to not change any java code to add the <literal>@JndiName</literal> "
+"annotation as in the first strategy."
+msgstr ""
+
#. Tag: title
-#: Websphere.xml:271
+#: Websphere.xml:272
#, no-c-format
msgid "Building the <literal>jee5/booking</literal> example"
msgstr ""
#. Tag: para
-#: Websphere.xml:273
+#: Websphere.xml:274
#, no-c-format
msgid ""
"Building it only requires running the correct ant command: "
@@ -583,21 +594,21 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:280
+#: Websphere.xml:281
#, no-c-format
msgid "Deploying the <literal>jee5/booking</literal> example"
msgstr ""
#. Tag: para
-#: Websphere.xml:281
+#: Websphere.xml:282
#, no-c-format
msgid ""
-"The steps below are for the WAS version stated above.The ports are default "
-"values, if you changed them, you must substitute the values."
+"The steps below are for the WAS version stated above.The ports are the "
+"default values, if you changed them, you must substitute the values."
msgstr ""
#. Tag: listitem
-#: Websphere.xml:284
+#: Websphere.xml:285
#, no-c-format
msgid ""
"Log in to the administration console <programlisting><![CDATA[http://"
@@ -606,7 +617,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:291
+#: Websphere.xml:292
#, no-c-format
msgid ""
"Go to the <literal>WebSphere enterprise applications</literal> menu option "
@@ -615,7 +626,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:298
+#: Websphere.xml:299
#, no-c-format
msgid ""
"At the top of the <literal>Enterprise Applications</literal> table select "
@@ -624,13 +635,13 @@
msgstr ""
#. Tag: literal
-#: Websphere.xml:304
+#: Websphere.xml:305
#, no-c-format
msgid "Preparing for the application installation"
msgstr ""
#. Tag: para
-#: Websphere.xml:307
+#: Websphere.xml:308
#, no-c-format
msgid ""
"Browse to the <literal>examples/jee5/booking/dist-websphere7/jboss-seam-jee5."
@@ -638,25 +649,25 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:313 Websphere.xml:323 Websphere.xml:341
+#: Websphere.xml:314 Websphere.xml:324 Websphere.xml:342
#, no-c-format
msgid "Select the <literal>Next</literal> button."
msgstr ""
#. Tag: para
-#: Websphere.xml:318
+#: Websphere.xml:319
#, no-c-format
msgid "Select the <literal>Fast Path</literal> button."
msgstr ""
#. Tag: literal
-#: Websphere.xml:332
+#: Websphere.xml:333
#, no-c-format
msgid "Select installation options"
msgstr ""
#. Tag: para
-#: Websphere.xml:335
+#: Websphere.xml:336
#, no-c-format
msgid ""
"Select the <literal>Deploy enterprise beans and Allow EJB reference targets "
@@ -665,13 +676,13 @@
msgstr ""
#. Tag: literal
-#: Websphere.xml:350
+#: Websphere.xml:351
#, no-c-format
msgid "Map modules to servers"
msgstr ""
#. Tag: para
-#: Websphere.xml:353
+#: Websphere.xml:354
#, no-c-format
msgid ""
"No changes needed here as we only have one server. Select the <literal>Next</"
@@ -679,13 +690,13 @@
msgstr ""
#. Tag: literal
-#: Websphere.xml:362
+#: Websphere.xml:363
#, no-c-format
msgid "Map virtual hosts for Web modules"
msgstr ""
#. Tag: para
-#: Websphere.xml:365
+#: Websphere.xml:366
#, no-c-format
msgid ""
"No changes needed here as we only have one virtual host. Select the "
@@ -693,31 +704,31 @@
msgstr ""
#. Tag: literal
-#: Websphere.xml:374
+#: Websphere.xml:375
#, no-c-format
msgid "Summary"
msgstr ""
#. Tag: para
-#: Websphere.xml:377
+#: Websphere.xml:378
#, no-c-format
msgid "No changes needed here. Select the <literal>Finish</literal> button."
msgstr ""
#. Tag: literal
-#: Websphere.xml:384
+#: Websphere.xml:385
#, no-c-format
msgid "Installation"
msgstr ""
#. Tag: para
-#: Websphere.xml:387
+#: Websphere.xml:388
#, no-c-format
msgid "Now you will see WebSphere installing and deploying your application."
msgstr ""
#. Tag: para
-#: Websphere.xml:390
+#: Websphere.xml:391
#, no-c-format
msgid ""
"When done, select the <literal>Save</literal> link and you will be returned "
@@ -725,15 +736,15 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:399
+#: Websphere.xml:400
#, no-c-format
msgid ""
-"To start the application select our application in the list, then click on "
+"To start the application, select the application in the list, then click on "
"the <literal>Start</literal> button at the top of the table."
msgstr ""
#. Tag: para
-#: Websphere.xml:409
+#: Websphere.xml:410
#, no-c-format
msgid ""
"You can now access the application at <literal>http://localhost:9080/seam-"
@@ -741,13 +752,13 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:418
+#: Websphere.xml:419
#, no-c-format
msgid "Deviation from the original base files"
msgstr ""
#. Tag: section
-#: Websphere.xml:418
+#: Websphere.xml:419
#, no-c-format
msgid ""
"Below are the differences between the base configuration files and the "
@@ -756,7 +767,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:422
+#: Websphere.xml:423
#, no-c-format
msgid ""
"<literal>META-INF/ejb-jar.xml</literal> — Removed all the EJB "
@@ -764,37 +775,37 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:428
+#: Websphere.xml:429
#, no-c-format
msgid ""
"<literal>META-INF/ibm-ejb-jar-bnd.xml</literal> — This WebSphere "
"specific file has been added as we use the second JNDI mapping strategy. It "
-"defines, for each session bean, the name WebSphere will use to bind it its "
-"JNDI name space"
+"defines, for each session bean, the name WebSphere will use to bind it in "
+"its JNDI name space"
msgstr ""
#. Tag: para
-#: Websphere.xml:435
+#: Websphere.xml:436
#, no-c-format
msgid ""
"<literal>META-INF/ibm-ejb-jar-ext.xml</literal> — This WebSphere "
-"specific file defines to WebSphere, the timeout value for each stateful bean"
+"specific file defines the timeout value for each stateful bean"
msgstr ""
#. Tag: para
-#: Websphere.xml:441
+#: Websphere.xml:442
#, no-c-format
msgid ""
"<literal>META-INF/persistence.xml</literal> — The main changes here "
"are for the datasource JNDI path, switching to the WebSphere transaction "
"manager lookup class, turning off the <literal>hibernate.transaction."
"flush_before_completion</literal> toggle, and forcing the Hibernate dialect "
-"to be <literal>GlassfishDerbyDialect</literal> how as using the integrated "
-"Derby database"
+"to be <literal>GlassfishDerbyDialect</literal> as we are using the "
+"integrated Derby database"
msgstr ""
#. Tag: para
-#: Websphere.xml:451
+#: Websphere.xml:452
#, no-c-format
msgid ""
"<literal>WEB-INF/components.xml</literal> — the change here is "
@@ -803,7 +814,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:459
+#: Websphere.xml:460
#, no-c-format
msgid ""
"<literal>WEB-INF/web.xml</literal> — Remove all the <literal>ejb-local "
@@ -813,7 +824,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:467 Websphere.xml:549
+#: Websphere.xml:468
#, no-c-format
msgid ""
"<literal>import.sql</literal> — due to the cutomized hibernate Derby "
@@ -822,7 +833,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:474
+#: Websphere.xml:475
#, no-c-format
msgid ""
"Also the build procedure has been changed to include the <literal>log4j.jar</"
@@ -831,13 +842,13 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:486
+#: Websphere.xml:487
#, no-c-format
msgid "The <literal>jpa</literal> booking example"
msgstr ""
#. Tag: para
-#: Websphere.xml:488
+#: Websphere.xml:489
#, no-c-format
msgid ""
"This is the Hotel Booking example implemented in Seam POJOs and using "
@@ -845,7 +856,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:493
+#: Websphere.xml:494
#, no-c-format
msgid ""
"The example already has a breakout of configurations and build scripts for "
@@ -853,7 +864,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:498
+#: Websphere.xml:499
#, no-c-format
msgid ""
"First thing, we are going to do is build and deploy that example. Then we'll "
@@ -861,13 +872,13 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:504
+#: Websphere.xml:505
#, no-c-format
msgid "Building the <literal>jpa</literal> example"
msgstr ""
#. Tag: para
-#: Websphere.xml:505
+#: Websphere.xml:506
#, no-c-format
msgid ""
"Building it only requires running the correct ant command: "
@@ -877,13 +888,13 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:514
+#: Websphere.xml:515
#, no-c-format
msgid "Deploying the <literal>jpa</literal> example"
msgstr ""
#. Tag: para
-#: Websphere.xml:515
+#: Websphere.xml:516
#, no-c-format
msgid ""
"Deploying <literal>jpa</literal> application is very similar to the "
@@ -894,7 +905,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:521
+#: Websphere.xml:522
#, no-c-format
msgid ""
"Follow the same instructions as for the <literal>jee5/booking</literal> "
@@ -902,11 +913,11 @@
"literal> file on the first page and on the <literal>Map context roots for "
"Web modules</literal> page (after the <literal>Map virtual host for Web "
"module</literal>), enter the context root you want to use for your "
-"application in the <literal>Contect Root</literal> input field."
+"application in the <literal>Context Root</literal> input field."
msgstr ""
#. Tag: para
-#: Websphere.xml:528
+#: Websphere.xml:529
#, no-c-format
msgid ""
"When started, you can now access the application at the <literal>http://"
@@ -914,13 +925,13 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:534
+#: Websphere.xml:535
#, no-c-format
msgid "Deviation from the generic base files"
msgstr ""
#. Tag: section
-#: Websphere.xml:534
+#: Websphere.xml:535
#, no-c-format
msgid ""
"Below are the configuration file differences between the base configuration "
@@ -929,7 +940,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:539
+#: Websphere.xml:540
#, no-c-format
msgid ""
"<literal>META-INF/persistence.xml</literal> — The main changes here "
@@ -941,9 +952,18 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:556
+#: Websphere.xml:550
#, no-c-format
msgid ""
+"<literal>import.sql</literal> — due to the customized hibernate Derby "
+"dialect, the <literal>ID</literal> column can not be populated by this file "
+"and was removed."
+msgstr ""
+
+#. Tag: para
+#: Websphere.xml:557
+#, no-c-format
+msgid ""
"Also the build procedure have been changed to include the <literal>log4j."
"jar</literal> file and exclude the <literal>concurrent.jar</literal> and "
"<literal>jboss-common-core.jar</literal> files."
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/pa-IN/Configuration.po
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/pa-IN/Configuration.po 2009-08-26 19:14:02 UTC (rev 11432)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/pa-IN/Configuration.po 2009-08-26 19:19:33 UTC (rev 11433)
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-05-05 12:31+0000\n"
+"POT-Creation-Date: 2009-08-26 18:47+0000\n"
"PO-Revision-Date: 2008-04-04 01:24+0000\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
@@ -677,13 +677,63 @@
msgstr ""
#. Tag: title
+#: Configuration.xml:325
+#, no-c-format
+msgid "Enabling HTTP cache-control headers"
+msgstr ""
+
+#. Tag: para
#: Configuration.xml:326
#, no-c-format
+msgid ""
+"Seam does <emphasis>not</emphasis> automatically add <literal>cache-control</"
+"literal> HTTP headers to any resources served by the Seam resource servlet, "
+"or directly from your view directory by the servlet container. This means "
+"that your images, Javascript and CSS files, and resource representations "
+"from Seam resource servlet such as Seam Remoting Javascript interfaces are "
+"usually not cached by the browser. This is convenient in development but "
+"should be changed in production when optimizing the application."
+msgstr ""
+
+#. Tag: para
+#: Configuration.xml:334
+#, no-c-format
+msgid ""
+"You can configure a Seam filter to enable automatic addition of "
+"<literal>cache-control</literal> headers depending on the requested URI in "
+"<literal>components.xml</literal>:"
+msgstr ""
+
+#. Tag: programlisting
+#: Configuration.xml:339
+#, no-c-format
+msgid ""
+"<![CDATA[<web:cache-control-filter name=\"commonTypesCacheControlFilter\"\n"
+" regex-url-pattern=\".*(\\.gif|\\.png|\\.jpg|\\."
+"jpeg|\\.css|\\.js)\"\n"
+" value=\"max-age=86400\"/> <!-- 1 day -->\n"
+"\n"
+"<web:cache-control-filter name=\"anotherCacheControlFilter\"\n"
+" url-pattern=\"/my/cachable/resources/*\"\n"
+" value=\"max-age=432000\"/> <!-- 5 days -->]]>"
+msgstr ""
+
+#. Tag: para
+#: Configuration.xml:341
+#, no-c-format
+msgid ""
+"You do not have to name the filters unless you have more than one filter "
+"enabled."
+msgstr ""
+
+#. Tag: title
+#: Configuration.xml:348
+#, no-c-format
msgid "Adding custom filters"
msgstr ""
#. Tag: para
-#: Configuration.xml:327
+#: Configuration.xml:349
#, no-c-format
msgid ""
"Seam can install your filters for you, allowing you to specify "
@@ -695,7 +745,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:332
+#: Configuration.xml:354
#, no-c-format
msgid ""
"<![CDATA[@Startup\n"
@@ -707,7 +757,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:334
+#: Configuration.xml:356
#, no-c-format
msgid ""
"Adding the <literal>@Startup</literal> annotation means thar the component "
@@ -718,13 +768,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:343
+#: Configuration.xml:365
#, no-c-format
msgid "Integrating Seam with your EJB container"
msgstr ""
#. Tag: para
-#: Configuration.xml:345
+#: Configuration.xml:367
#, no-c-format
msgid ""
"In a Seam application, EJB components have a certain duality, as they are "
@@ -735,7 +785,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:350
+#: Configuration.xml:372
#, no-c-format
msgid ""
"We need to apply the <literal>SeamInterceptor</literal> to our Seam EJB "
@@ -747,7 +797,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:355
+#: Configuration.xml:377
#, no-c-format
msgid ""
"<![CDATA[<interceptors>\n"
@@ -768,7 +818,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:357
+#: Configuration.xml:379
#, no-c-format
msgid ""
"Seam needs to know where to go to find session beans in JNDI. One way to do "
@@ -782,19 +832,19 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:364
+#: Configuration.xml:386
#, no-c-format
msgid "For JBoss AS, the following pattern is correct:"
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:366
+#: Configuration.xml:388
#, no-c-format
msgid "<![CDATA[<core:init jndi-name=\"earName/#{ejbName}/local\" />]]>"
msgstr ""
#. Tag: para
-#: Configuration.xml:368
+#: Configuration.xml:390
#, no-c-format
msgid ""
"In this case, <literal>earName</literal> is the name of the EAR in which the "
@@ -804,7 +854,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:372
+#: Configuration.xml:394
#, no-c-format
msgid ""
"Outside the context of an EAR (when using the JBoss Embeddable EJB3 "
@@ -813,13 +863,13 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:375
+#: Configuration.xml:397
#, no-c-format
msgid "<![CDATA[<core:init jndi-name=\"#{ejbName}/local\" />]]>"
msgstr ""
#. Tag: para
-#: Configuration.xml:377
+#: Configuration.xml:399
#, no-c-format
msgid ""
"How these JNDI names are resolved and somehow locate an EJB component might "
@@ -828,7 +878,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:381
+#: Configuration.xml:403
#, no-c-format
msgid ""
"The folks at JBoss don't care much for XML, if you can't tell. So when they "
@@ -839,14 +889,14 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:387
+#: Configuration.xml:409
#, no-c-format
msgid ""
"The value of the <literal><ejb-name></literal> element in ejb-jar.xml"
msgstr ""
#. Tag: para
-#: Configuration.xml:390
+#: Configuration.xml:412
#, no-c-format
msgid ""
"The value of the <literal>name</literal> attribute in the @Stateless or "
@@ -854,13 +904,13 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:393
+#: Configuration.xml:415
#, no-c-format
msgid "The simple name of the bean class"
msgstr ""
#. Tag: para
-#: Configuration.xml:397
+#: Configuration.xml:419
#, no-c-format
msgid ""
"Let's look at an example. Assume that you have the following EJB bean and "
@@ -868,7 +918,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:399
+#: Configuration.xml:421
#, no-c-format
msgid ""
"<![CDATA[package com.example.myapp;\n"
@@ -895,7 +945,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:401
+#: Configuration.xml:423
#, no-c-format
msgid ""
"Assuming your EJB bean class is deployed in an EAR named myapp, the global "
@@ -907,7 +957,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:407
+#: Configuration.xml:429
#, no-c-format
msgid ""
"So what about the rest of the application servers? Well, according to the "
@@ -919,7 +969,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:413
+#: Configuration.xml:435
#, no-c-format
msgid ""
"There are two places you have to define the EJB reference when using Seam on "
@@ -930,7 +980,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:418
+#: Configuration.xml:440
#, no-c-format
msgid ""
"<![CDATA[<ejb-local-ref>\n"
@@ -942,7 +992,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:420
+#: Configuration.xml:442
#, no-c-format
msgid ""
"This reference will cover most uses of the component in a Seam application. "
@@ -953,7 +1003,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:425
+#: Configuration.xml:447
#, no-c-format
msgid ""
"Within the context of an EJB method call, you have to deal with a somewhat "
@@ -970,7 +1020,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:434
+#: Configuration.xml:456
#, no-c-format
msgid ""
"For application servers that stubbornly adhere to the EJB specification, EJB "
@@ -982,7 +1032,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:439
+#: Configuration.xml:461
#, no-c-format
msgid ""
"Let's assume that we have an EJB named RegisterAction (the name is resolved "
@@ -991,7 +1041,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:442
+#: Configuration.xml:464
#, no-c-format
msgid ""
"<![CDATA[@In(create = true)\n"
@@ -1000,7 +1050,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:444
+#: Configuration.xml:466
#, no-c-format
msgid ""
"In order for this injection to work, the link must be established in the ejb-"
@@ -1008,7 +1058,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:446
+#: Configuration.xml:468
#, no-c-format
msgid ""
"<![CDATA[<ejb-jar>\n"
@@ -1031,7 +1081,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:448
+#: Configuration.xml:470
#, no-c-format
msgid ""
"Notice that the contents of the <literal><ejb-local-ref></literal> are "
@@ -1043,7 +1093,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:454
+#: Configuration.xml:476
#, no-c-format
msgid ""
"But what about <literal>@EJB</literal>? It's true that you can inject one "
@@ -1061,7 +1111,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:464
+#: Configuration.xml:486
#, no-c-format
msgid ""
"That covers how JNDI names are defined and used. The lesson is that with "
@@ -1074,7 +1124,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:470
+#: Configuration.xml:492
#, no-c-format
msgid ""
"<![CDATA[<core:init jndi-name=\"java:comp/env/earName/#{ejbName}/local\" />]]"
@@ -1082,7 +1132,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:472
+#: Configuration.xml:494
#, no-c-format
msgid ""
"Finally, let's talk about transactions. In an EJB3 environment, we recommend "
@@ -1094,19 +1144,19 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:479
+#: Configuration.xml:501
#, no-c-format
msgid "<![CDATA[<transaction:ejb-transaction/>]]>"
msgstr ""
#. Tag: title
-#: Configuration.xml:484
+#: Configuration.xml:506
#, no-c-format
msgid "Don't forget!"
msgstr ""
#. Tag: para
-#: Configuration.xml:486
+#: Configuration.xml:508
#, no-c-format
msgid ""
"There is one final item you need to know about. You must place a "
@@ -1118,7 +1168,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:491
+#: Configuration.xml:513
#, no-c-format
msgid ""
"In a web archive (WAR) file, you must place a <literal>seam.properties</"
@@ -1127,7 +1177,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:494
+#: Configuration.xml:516
#, no-c-format
msgid ""
"That's why all the Seam examples have an empty <literal>seam.properties</"
@@ -1136,7 +1186,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:497
+#: Configuration.xml:519
#, no-c-format
msgid ""
"You might think this is silly and what kind of idiot framework designers "
@@ -1148,13 +1198,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:508
+#: Configuration.xml:530
#, no-c-format
msgid "Using Alternate JPA Providers"
msgstr ""
#. Tag: para
-#: Configuration.xml:510
+#: Configuration.xml:532
#, no-c-format
msgid ""
"Seam comes packaged and configured with Hibernate as the default JPA "
@@ -1163,13 +1213,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:516
+#: Configuration.xml:538
#, no-c-format
msgid "This is a workaround"
msgstr ""
#. Tag: para
-#: Configuration.xml:517
+#: Configuration.xml:539
#, no-c-format
msgid ""
"Configuration of the JPA provider will be easier in the future and will not "
@@ -1178,7 +1228,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:524
+#: Configuration.xml:546
#, no-c-format
msgid ""
"Telling seam about a different JPA provider can be be done in one of two "
@@ -1186,7 +1236,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:525
+#: Configuration.xml:547
#, no-c-format
msgid ""
"Update your application's <literal>components.xml</literal> so that the "
@@ -1195,7 +1245,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:530
+#: Configuration.xml:552
#, no-c-format
msgid ""
"<![CDATA[<component name=\"org.jboss.seam.persistence.persistenceProvider"
@@ -1206,7 +1256,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:531
+#: Configuration.xml:553
#, no-c-format
msgid ""
"If you want to take advantage of your JPA provider's non-standard features "
@@ -1218,7 +1268,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:538
+#: Configuration.xml:560
#, no-c-format
msgid ""
"<![CDATA[<component name=\"org.jboss.seam.persistence.persistenceProvider"
@@ -1228,7 +1278,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:539
+#: Configuration.xml:561
#, no-c-format
msgid ""
"All that is left is updating the <literal>persistence.xml</literal> file "
@@ -1238,13 +1288,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:547
+#: Configuration.xml:569
#, no-c-format
msgid "Configuring Seam in Java EE 5"
msgstr ""
#. Tag: para
-#: Configuration.xml:558
+#: Configuration.xml:580
#, no-c-format
msgid ""
"If you're running in a Java EE 5 environment, this is all the configuration "
@@ -1252,14 +1302,14 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:561 Configuration.xml:656 Configuration.xml:794
-#: Configuration.xml:827
+#: Configuration.xml:583 Configuration.xml:678 Configuration.xml:816
+#: Configuration.xml:849
#, no-c-format
msgid "Packaging"
msgstr ""
#. Tag: para
-#: Configuration.xml:563
+#: Configuration.xml:585
#, no-c-format
msgid ""
"Once you've packaged all this stuff together into an EAR, the archive "
@@ -1267,7 +1317,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:566
+#: Configuration.xml:588
#, no-c-format
msgid ""
"<![CDATA[my-application.ear/\n"
@@ -1307,7 +1357,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:568
+#: Configuration.xml:590
#, no-c-format
msgid ""
"You should declare <literal>jboss-seam.jar</literal> as an ejb module in "
@@ -1316,7 +1366,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:573
+#: Configuration.xml:595
#, no-c-format
msgid ""
"If you want to use jBPM or Drools, you must include the needed jars in the "
@@ -1324,7 +1374,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:575
+#: Configuration.xml:597
#, no-c-format
msgid ""
"If you want to use facelets (our recommendation), you must include "
@@ -1333,7 +1383,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:578
+#: Configuration.xml:600
#, no-c-format
msgid ""
"If you want to use the Seam tag library (most Seam applications do), you "
@@ -1344,7 +1394,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:583
+#: Configuration.xml:605
#, no-c-format
msgid ""
"If you want to use the Seam debug page (only works for applications using "
@@ -1353,7 +1403,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:586
+#: Configuration.xml:608
#, no-c-format
msgid ""
"Seam ships with several example applications that are deployable in any Java "
@@ -1361,7 +1411,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:589
+#: Configuration.xml:611
#, no-c-format
msgid ""
"I really wish that was all there was to say on the topic of configuration "
@@ -1371,13 +1421,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:598
+#: Configuration.xml:620
#, no-c-format
msgid "Configuring Seam in J2EE"
msgstr ""
#. Tag: para
-#: Configuration.xml:600
+#: Configuration.xml:622
#, no-c-format
msgid ""
"Seam is useful even if you're not yet ready to take the plunge into EJB 3.0. "
@@ -1389,7 +1439,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:615
+#: Configuration.xml:637
#, no-c-format
msgid ""
"Seam JavaBean components do not provide declarative transaction demarcation "
@@ -1401,7 +1451,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:621
+#: Configuration.xml:643
#, no-c-format
msgid ""
"The Seam distribution includes a version of the booking example application "
@@ -1411,13 +1461,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:626
+#: Configuration.xml:648
#, no-c-format
msgid "Boostrapping Hibernate in Seam"
msgstr ""
#. Tag: para
-#: Configuration.xml:628
+#: Configuration.xml:650
#, no-c-format
msgid ""
"Seam will bootstrap a Hibernate <literal>SessionFactory</literal> from your "
@@ -1426,7 +1476,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:631
+#: Configuration.xml:653
#, no-c-format
msgid ""
"<![CDATA[<persistence:hibernate-session-factory name="
@@ -1434,7 +1484,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:633
+#: Configuration.xml:655
#, no-c-format
msgid ""
"You will also need to configure a <emphasis>managed session</emphasis> if "
@@ -1443,7 +1493,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:636
+#: Configuration.xml:658
#, no-c-format
msgid ""
"<![CDATA[<persistence:managed-hibernate-session name=\"hibernateSession\"\n"
@@ -1452,13 +1502,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:641
+#: Configuration.xml:663
#, no-c-format
msgid "Boostrapping JPA in Seam"
msgstr ""
#. Tag: para
-#: Configuration.xml:643
+#: Configuration.xml:665
#, no-c-format
msgid ""
"Seam will bootstrap a JPA <literal>EntityManagerFactory</literal> from your "
@@ -1467,7 +1517,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:646
+#: Configuration.xml:668
#, no-c-format
msgid ""
"<![CDATA[<persistence:entity-manager-factory name=\"entityManagerFactory\"/"
@@ -1475,7 +1525,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:648
+#: Configuration.xml:670
#, no-c-format
msgid ""
"You will also need to configure a <emphasis>managed persistence context</"
@@ -1484,7 +1534,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:651
+#: Configuration.xml:673
#, no-c-format
msgid ""
"<![CDATA[<persistence:managed-persistence-context name=\"entityManager\"\n"
@@ -1493,13 +1543,13 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:658
+#: Configuration.xml:680
#, no-c-format
msgid "We can package our application as a WAR, in the following structure:"
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:660
+#: Configuration.xml:682
#, no-c-format
msgid ""
"<![CDATA[my-application.war/\n"
@@ -1536,7 +1586,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:662
+#: Configuration.xml:684
#, no-c-format
msgid ""
"If we want to deploy Hibernate in a non-EE environment like Tomcat or "
@@ -1544,13 +1594,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:669
+#: Configuration.xml:691
#, no-c-format
msgid "Configuring Seam in Java SE, without JBoss Embedded"
msgstr ""
#. Tag: para
-#: Configuration.xml:671
+#: Configuration.xml:693
#, no-c-format
msgid ""
"It is possible to use Seam completely outside of an EE environment. In this "
@@ -1560,7 +1610,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:675
+#: Configuration.xml:697
#, no-c-format
msgid ""
"<![CDATA[<transaction:entity-transaction entity-manager=\"#{entityManager}\"/"
@@ -1568,7 +1618,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:677
+#: Configuration.xml:699
#, no-c-format
msgid ""
"If you're using Hibernate, you can tell Seam to use the Hibernate "
@@ -1576,32 +1626,32 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:679
+#: Configuration.xml:701
#, no-c-format
msgid "<![CDATA[<transaction:hibernate-transaction session=\"#{session}\"/>]]>"
msgstr ""
#. Tag: para
-#: Configuration.xml:681
+#: Configuration.xml:703
#, no-c-format
msgid "Of course, you'll also need to define a datasource."
msgstr ""
#. Tag: para
-#: Configuration.xml:683
+#: Configuration.xml:705
#, no-c-format
msgid ""
"A better alternative is to use JBoss Embedded to get access to the EE APIs."
msgstr ""
#. Tag: title
-#: Configuration.xml:688
+#: Configuration.xml:710
#, no-c-format
msgid "Configuring Seam in Java SE, with JBoss Embedded"
msgstr ""
#. Tag: para
-#: Configuration.xml:690
+#: Configuration.xml:712
#, no-c-format
msgid ""
"JBoss Embedded lets you run EJB3 components outside the context of the Java "
@@ -1610,7 +1660,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:693
+#: Configuration.xml:715
#, no-c-format
msgid ""
"The Seam booking example application includes a TestNG integration test "
@@ -1618,19 +1668,19 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:705
+#: Configuration.xml:727
#, no-c-format
msgid "The booking example application may even be deployed to Tomcat."
msgstr ""
#. Tag: title
-#: Configuration.xml:717
+#: Configuration.xml:739
#, no-c-format
msgid "Installing Embedded JBoss"
msgstr ""
#. Tag: para
-#: Configuration.xml:720
+#: Configuration.xml:742
#, no-c-format
msgid ""
"Embedded JBoss must by installed into Tomcat for Seam applications to run "
@@ -1643,7 +1693,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:734
+#: Configuration.xml:756
#, no-c-format
msgid ""
"Copy all files and directories under the Embedded JBoss <literal>bootstrap</"
@@ -1653,7 +1703,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:741
+#: Configuration.xml:763
#, no-c-format
msgid ""
"Remove the <literal>annotations-api.jar</literal> file from the Tomcat "
@@ -1661,7 +1711,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:747
+#: Configuration.xml:769
#, no-c-format
msgid ""
"Next, two configuration files need to be updated to add Embedded JBoss-"
@@ -1669,7 +1719,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:753
+#: Configuration.xml:775
#, no-c-format
msgid ""
"Add the Embedded JBoss listener <literal>EmbeddedJBossBootstrapListener</"
@@ -1678,7 +1728,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:756
+#: Configuration.xml:778
#, no-c-format
msgid ""
"<![CDATA[<Server port=\"8005\" shutdown=\"SHUTDOWN\">\n"
@@ -1696,7 +1746,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:757
+#: Configuration.xml:779
#, no-c-format
msgid ""
"<![CDATA[ <!-- Add this listener -->\n"
@@ -1705,7 +1755,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:761
+#: Configuration.xml:783
#, no-c-format
msgid ""
"WAR file scanning should be enabled by adding the <literal>WebinfScanner</"
@@ -1713,7 +1763,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:764
+#: Configuration.xml:786
#, no-c-format
msgid ""
"<![CDATA[<Context>\n"
@@ -1728,7 +1778,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:765
+#: Configuration.xml:787
#, no-c-format
msgid ""
"<![CDATA[ <!-- Add this listener -->\n"
@@ -1736,13 +1786,13 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:766
+#: Configuration.xml:788
#, no-c-format
msgid "<![CDATA[</Context>]]>"
msgstr ""
#. Tag: para
-#: Configuration.xml:770
+#: Configuration.xml:792
#, no-c-format
msgid ""
"If you are using Sun JDK 6, you need to set the Java option <literal>sun."
@@ -1752,7 +1802,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:775
+#: Configuration.xml:797
#, no-c-format
msgid ""
"Open the script appropriate for your operating system in a text editor. Add "
@@ -1762,7 +1812,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:779
+#: Configuration.xml:801
#, no-c-format
msgid ""
"<![CDATA[set JAVA_OPTS=%JAVA_OPTS% -Dsun.lang.ClassLoader."
@@ -1770,13 +1820,13 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:781
+#: Configuration.xml:803
#, no-c-format
msgid "On Unix, use this syntax instead:"
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:783
+#: Configuration.xml:805
#, no-c-format
msgid ""
"<![CDATA[JAVA_OPTS=\"$JAVA_OPTS -Dsun.lang.ClassLoader.allowArraySyntax=true"
@@ -1784,7 +1834,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:788
+#: Configuration.xml:810
#, no-c-format
msgid ""
"For more configuration options, please see the Embedded JBoss Tomcat "
@@ -1793,7 +1843,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:796
+#: Configuration.xml:818
#, no-c-format
msgid ""
"The archive structure of a WAR-based deployment on an servlet engine like "
@@ -1801,7 +1851,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:799
+#: Configuration.xml:821
#, no-c-format
msgid ""
"<![CDATA[my-application.war/\n"
@@ -1839,7 +1889,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:801
+#: Configuration.xml:823
#, no-c-format
msgid ""
"Most of the Seam example applications may be deployed to Tomcat by running "
@@ -1847,13 +1897,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:809
+#: Configuration.xml:831
#, no-c-format
msgid "Configuring jBPM in Seam"
msgstr ""
#. Tag: para
-#: Configuration.xml:810
+#: Configuration.xml:832
#, no-c-format
msgid ""
"Seam's jBPM integration is not installed by default, so you'll need to "
@@ -1863,7 +1913,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:814
+#: Configuration.xml:836
#, no-c-format
msgid ""
"<![CDATA[<bpm:jbpm>\n"
@@ -1879,7 +1929,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:816
+#: Configuration.xml:838
#, no-c-format
msgid ""
"No further special configuration is needed if you only have pageflows. If "
@@ -1890,7 +1940,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:821
+#: Configuration.xml:843
#, no-c-format
msgid ""
"<![CDATA[<jbpm-configuration>\n"
@@ -1920,7 +1970,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:823
+#: Configuration.xml:845
#, no-c-format
msgid ""
"The most important thing to notice here is that jBPM transaction control is "
@@ -1928,7 +1978,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:829
+#: Configuration.xml:851
#, no-c-format
msgid ""
"There is not yet any well-defined packaging format for jBPM configuration "
@@ -1939,7 +1989,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:834
+#: Configuration.xml:856
#, no-c-format
msgid ""
"<![CDATA[my-application.ear/\n"
@@ -1986,13 +2036,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:841
+#: Configuration.xml:863
#, no-c-format
msgid "Configuring SFSB and Session Timeouts in JBoss AS"
msgstr ""
#. Tag: para
-#: Configuration.xml:843
+#: Configuration.xml:865
#, no-c-format
msgid ""
"It is very important that the timeout for Stateful Session Beans is set "
@@ -2004,7 +2054,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:849
+#: Configuration.xml:871
#, no-c-format
msgid ""
"The default SFSB timeout can be adjusted by modifying the value of "
@@ -2013,7 +2063,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:852
+#: Configuration.xml:874
#, no-c-format
msgid ""
"<![CDATA[<container-cache-conf>\n"
@@ -2038,7 +2088,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:854
+#: Configuration.xml:876
#, no-c-format
msgid ""
"The default HTTP session timeout can be modified in <literal>server/default/"
@@ -2049,7 +2099,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:859
+#: Configuration.xml:881
#, no-c-format
msgid ""
"<![CDATA[<session-config>\n"
@@ -2059,7 +2109,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:861
+#: Configuration.xml:883
#, no-c-format
msgid ""
"To override this value for your own application, simply include this entry "
@@ -2067,13 +2117,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:867
+#: Configuration.xml:889
#, no-c-format
msgid "Running Seam in a Portlet"
msgstr ""
#. Tag: para
-#: Configuration.xml:869
+#: Configuration.xml:891
#, no-c-format
msgid ""
"If you want to run your Seam application in a portlet, take a look at the "
@@ -2084,13 +2134,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:880
+#: Configuration.xml:902
#, no-c-format
msgid "Deploying custom resources"
msgstr ""
#. Tag: para
-#: Configuration.xml:882
+#: Configuration.xml:904
#, no-c-format
msgid ""
"Seam scans all jars containing <literal>/seam.properties</literal>, "
@@ -2101,7 +2151,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:889
+#: Configuration.xml:911
#, no-c-format
msgid ""
"You may also want Seam to handle custom resources. A common use case is to "
@@ -2111,7 +2161,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:896
+#: Configuration.xml:918
#, no-c-format
msgid ""
"<![CDATA[# A colon-separated list of annotation types to handle\n"
@@ -2119,7 +2169,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:898
+#: Configuration.xml:920
#, no-c-format
msgid ""
"Then, during application startup you can get hold of all classes annotated "
@@ -2127,7 +2177,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:903
+#: Configuration.xml:925
#, no-c-format
msgid ""
"<![CDATA[@Name(\"fooStartup\")\n"
@@ -2159,7 +2209,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:905
+#: Configuration.xml:927
#, no-c-format
msgid ""
"You can also handle <emphasis>any</emphasis> resource. For example, you "
@@ -2168,7 +2218,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:911
+#: Configuration.xml:933
#, no-c-format
msgid ""
"<![CDATA[public class FooDeploymentHandler implements DeploymentHandler {\n"
@@ -2192,7 +2242,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:913
+#: Configuration.xml:935
#, no-c-format
msgid ""
"Here we are just building a list of any files with the suffix <literal>.foo."
@@ -2200,7 +2250,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:918
+#: Configuration.xml:940
#, no-c-format
msgid ""
"Then, we need to register the deployment handler with Seam in <literal>/META-"
@@ -2209,7 +2259,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:925
+#: Configuration.xml:947
#, no-c-format
msgid ""
"<![CDATA[# For standard deployment\n"
@@ -2220,7 +2270,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:931
+#: Configuration.xml:953
#, no-c-format
msgid ""
"Seam uses deployment handlers internally to install components and "
@@ -2229,7 +2279,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:937
+#: Configuration.xml:959
#, no-c-format
msgid ""
"<![CDATA[@Name(\"fooStartup\")\n"
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/pa-IN/Webservices.po
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/pa-IN/Webservices.po 2009-08-26 19:14:02 UTC (rev 11432)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/pa-IN/Webservices.po 2009-08-26 19:19:33 UTC (rev 11433)
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-07-08 14:32+0000\n"
+"POT-Creation-Date: 2009-08-26 18:48+0000\n"
"PO-Revision-Date: 2008-04-04 01:24+0000\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
@@ -392,48 +392,56 @@
#: Webservices.xml:186
#, no-c-format
msgid ""
-"The URI starts with the pattern mapped in <literal>web.xml</literal> for the "
+"The URI starts with the host and context path of your application, e.g. "
+"<literal>http://your.hostname/myapp</literal>."
+msgstr ""
+
+#. Tag: para
+#: Webservices.xml:192
+#, no-c-format
+msgid ""
+"Then the pattern mapped in <literal>web.xml</literal> for the "
"<literal>SeamResourceServlet</literal>, e.g <literal>/seam/resource</"
-"literal> if you follow the common examples. Change this setting to expose "
-"your RESTful resources under a different base. Note that this is a global "
-"change and other Seam resources (e.g. <literal>s:graphicImage</literal>) are "
-"then also served under that base path."
+"literal> if you follow the common examples, is appended. Change this setting "
+"to expose your RESTful resources under a different base. Note that this is a "
+"global change and other Seam resources (e.g. <literal>s:graphicImage</"
+"literal>) are then also served under that base path."
msgstr ""
#. Tag: para
-#: Webservices.xml:195
+#: Webservices.xml:201
#, no-c-format
msgid ""
"The RESTEasy integration for Seam then appends a configurable string to the "
"base path, by default this is <literal>/rest</literal>. Hence, the full base "
-"path of your resources would e.g. be <literal>/seam/resource/rest</literal>. "
-"We recommend that you change this string in your application, you could for "
-"example add a version number to prepare for a future REST API upgrade of "
-"your services (old clients would keep the old URI base): <literal>/seam/"
-"resource/restv1</literal>."
+"path of your resources would e.g. be <literal>/myapp/seam/resource/rest</"
+"literal>. We recommend that you change this string in your application, you "
+"could for example add a version number to prepare for a future REST API "
+"upgrade of your services (old clients would keep the old URI base): "
+"<literal>/myapp/seam/resource/restv1</literal>."
msgstr ""
#. Tag: para
-#: Webservices.xml:204
+#: Webservices.xml:210
#, no-c-format
msgid ""
"Finally, the actual resource is available under the defined <literal>@Path</"
"literal>, e.g. a resource mapped with <literal>@Path(\"/customer\")</"
-"literal> would be available under <literal>/seam/resource/rest/customer</"
-"literal>."
+"literal> would be available under <literal>/myapp/seam/resource/rest/"
+"customer</literal>."
msgstr ""
#. Tag: para
-#: Webservices.xml:212
+#: Webservices.xml:218
#, no-c-format
msgid ""
"As an example, the following resource definition would return a plaintext "
"representation for any GET requests using the URI <literal>http://your."
-"hostname/seam/resource/rest/customer/123</literal>:"
+"hostname/myapp/seam/resource/rest/customer/123</literal>:"
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:217
+#: Webservices.xml:223
#, no-c-format
msgid ""
"<![CDATA[@Path(\"/customer\")\n"
@@ -450,7 +458,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:219
+#: Webservices.xml:225
#, no-c-format
msgid ""
"No additional configuration is required, you do not have to edit "
@@ -461,7 +469,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:225
+#: Webservices.xml:231
#, no-c-format
msgid ""
"<![CDATA[<components\n"
@@ -476,63 +484,39 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:227
+#: Webservices.xml:233
#, no-c-format
msgid ""
"You can then change the <literal>/rest</literal> prefix as mentioned earlier:"
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:231
+#: Webservices.xml:237
#, no-c-format
msgid "<![CDATA[<resteasy:application resource-path-prefix=\"/restv1\"/>]]>"
msgstr ""
#. Tag: para
-#: Webservices.xml:233
-#, no-c-format
-msgid ""
-"The full base path to your resources is now <literal>/seam/resource/restv1/"
-"{resource}</literal> - note that your <literal>@Path</literal> definitions "
-"and mappings do NOT change. This is an application-wide switch usually used "
-"for versioning of the HTTP API."
-msgstr ""
-
-#. Tag: para
#: Webservices.xml:239
#, no-c-format
msgid ""
-"You can disable stripping of the base path if you'd like to map the full "
-"path in your resources:"
+"The full base path to your resources is now <literal>/myapp/seam/resource/"
+"restv1/{resource}</literal> - note that your <literal>@Path</literal> "
+"definitions and mappings do NOT change. This is an application-wide switch "
+"usually used for versioning of the HTTP interface."
msgstr ""
-#. Tag: programlisting
-#: Webservices.xml:243
-#, no-c-format
-msgid "<![CDATA[<resteasy:application strip-seam-resource-path=\"false\"/>]]>"
-msgstr ""
-
#. Tag: para
#: Webservices.xml:245
#, no-c-format
msgid ""
-"The path of a resource is now mapped with e.g. <literal>@Path(\"/seam/"
-"resource/rest/customer\")</literal>. We do not recommend disabling this "
-"feature, as your resource class mappings are then bound to a particular "
-"deployment scenario."
-msgstr ""
-
-#. Tag: para
-#: Webservices.xml:251
-#, no-c-format
-msgid ""
"Seam will scan your classpath for any deployed <literal>@javax.ws.rs.Path</"
"literal> resources and any <literal>@javax.ws.rs.ext.Provider</literal> "
"classes. You can disable scanning and configure these classes manually:"
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:257
+#: Webservices.xml:251
#, no-c-format
msgid ""
"<![CDATA[<resteasy:application\n"
@@ -554,7 +538,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:259
+#: Webservices.xml:253
#, no-c-format
msgid ""
"The <literal>use-built-in-providers</literal> switch enables (default) or "
@@ -564,7 +548,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:265
+#: Webservices.xml:259
#, no-c-format
msgid ""
"RESTEasy supports plain EJBs (EJBs that are not Seam components) as "
@@ -576,20 +560,21 @@
"<literal>@Path</literal>, <literal>@GET</literal>, and so on - not the bean "
"implementation class. This allows you to keep your application deployment-"
"portable with the global Seam <literal>jndi-pattern</literal> switch on "
-"<literal><core:init/></literal>. Note that EJB resources will not be "
-"found even if scanning of resources is enabled, you always have to list them "
-"manually. Again, this is only relevant for EJB resources that are not also "
-"Seam components and that do not have a <literal>@Name</literal> annotation."
+"<literal><core:init/></literal>. Note that plain (non-Seam component) "
+"EJB resources will not be found even if scanning of resources is enabled, "
+"you always have to list them manually. Again, this whole paragraph is only "
+"relevant for EJB resources that are not also Seam components and that do not "
+"have an <literal>@Name</literal> annotation."
msgstr ""
#. Tag: para
-#: Webservices.xml:277
+#: Webservices.xml:272
#, no-c-format
msgid "Finally, you can configure media type and language URI extensions:"
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:281
+#: Webservices.xml:276
#, no-c-format
msgid ""
"<![CDATA[<resteasy:application>\n"
@@ -606,7 +591,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:283
+#: Webservices.xml:278
#, no-c-format
msgid ""
"This definition would map the URI suffix of <literal>.txt.deutsch</literal> "
@@ -616,13 +601,13 @@
msgstr ""
#. Tag: title
-#: Webservices.xml:292
+#: Webservices.xml:287
#, no-c-format
msgid "Resources and providers as Seam components"
msgstr ""
#. Tag: para
-#: Webservices.xml:294
+#: Webservices.xml:289
#, no-c-format
msgid ""
"Any resource and provider instances are managed by RESTEasy by default. That "
@@ -633,7 +618,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:301
+#: Webservices.xml:296
#, no-c-format
msgid ""
"You can write resources and providers as Seam components and benefit from "
@@ -642,7 +627,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:307
+#: Webservices.xml:302
#, no-c-format
msgid ""
"<![CDATA[@Name(\"customerResource\")\n"
@@ -663,7 +648,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:309
+#: Webservices.xml:304
#, no-c-format
msgid ""
"An instance of <literal>customerResource</literal> is now handled by Seam "
@@ -677,7 +662,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:318
+#: Webservices.xml:313
#, no-c-format
msgid ""
"You can annotate an interface and keep the implementation free from JAX-RS "
@@ -685,7 +670,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:322
+#: Webservices.xml:317
#, no-c-format
msgid ""
"<![CDATA[@Path(\"/customer\")\n"
@@ -700,7 +685,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:324
+#: Webservices.xml:319
#, no-c-format
msgid ""
"<![CDATA[@Name(\"customerResource\")\n"
@@ -718,7 +703,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:326
+#: Webservices.xml:321
#, no-c-format
msgid ""
"You can use <literal>SESSION</literal>-scoped Seam components. By default, "
@@ -733,7 +718,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:335
+#: Webservices.xml:330
#, no-c-format
msgid ""
"Assuming that your Seam application only uses event, application, or "
@@ -745,7 +730,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:342
+#: Webservices.xml:337
#, no-c-format
msgid ""
"If your RESTful Seam application has to preserve session state across REST "
@@ -753,14 +738,14 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:347
+#: Webservices.xml:342
#, no-c-format
msgid ""
"<![CDATA[<resteasy:application destroy-session-after-request=\"false\"/>]]>"
msgstr ""
#. Tag: para
-#: Webservices.xml:349
+#: Webservices.xml:344
#, no-c-format
msgid ""
"Every REST HTTP request will now create a new session that will only be "
@@ -771,7 +756,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:356
+#: Webservices.xml:351
#, no-c-format
msgid ""
"<literal>CONVERSATION</literal>-scoped resource components and mapping of "
@@ -780,7 +765,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:361
+#: Webservices.xml:356
#, no-c-format
msgid ""
"EJB Seam components are supported. Always annotate the local business "
@@ -789,7 +774,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:366
+#: Webservices.xml:361
#, no-c-format
msgid ""
"Provider classes can also be Seam components, only <literal>APPLICATION</"
@@ -799,13 +784,13 @@
msgstr ""
#. Tag: title
-#: Webservices.xml:375
+#: Webservices.xml:370
#, no-c-format
msgid "Securing resources"
msgstr ""
#. Tag: para
-#: Webservices.xml:377
+#: Webservices.xml:372
#, no-c-format
msgid ""
"You can enable the Seam authentication filter for HTTP Basic and Digest "
@@ -813,7 +798,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:382
+#: Webservices.xml:377
#, no-c-format
msgid ""
"<![CDATA[<web:authentication-filter url-pattern=\"/seam/resource/rest/*\" "
@@ -821,14 +806,14 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:384
+#: Webservices.xml:379
#, no-c-format
msgid ""
"See the Seam security chapter on how to write an authentication routine."
msgstr ""
#. Tag: para
-#: Webservices.xml:388
+#: Webservices.xml:383
#, no-c-format
msgid ""
"After successful authentication, authorization rules with the common "
@@ -839,13 +824,13 @@
msgstr ""
#. Tag: title
-#: Webservices.xml:398
+#: Webservices.xml:393
#, no-c-format
msgid "Mapping exceptions to HTTP responses"
msgstr ""
#. Tag: para
-#: Webservices.xml:400
+#: Webservices.xml:395
#, no-c-format
msgid ""
"Section 3.3.4 of the JAX-RS specification defines how checked or unchecked "
@@ -858,7 +843,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:408
+#: Webservices.xml:403
#, no-c-format
msgid ""
"Exception handling within Seam requires that the Seam filter is executed for "
@@ -870,7 +855,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:415
+#: Webservices.xml:410
#, no-c-format
msgid ""
"<![CDATA[<filter>\n"
@@ -885,7 +870,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:417
+#: Webservices.xml:412
#, no-c-format
msgid ""
"To convert the unchecked <literal>UnsupportedOperationException</literal> "
@@ -895,7 +880,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:423
+#: Webservices.xml:418
#, no-c-format
msgid ""
"<![CDATA[<exception class=\"java.lang.UnsupportedOperationException\">\n"
@@ -906,13 +891,13 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:425
+#: Webservices.xml:420
#, no-c-format
msgid "Custom or checked exceptions are handled the same:"
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:429
+#: Webservices.xml:424
#, no-c-format
msgid ""
"<![CDATA[<exception class=\"my.CustomException\" log=\"false\">\n"
@@ -924,7 +909,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:431
+#: Webservices.xml:426
#, no-c-format
msgid ""
"You do not have to send an HTTP error to the client if an exception occurs. "
@@ -935,7 +920,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:438
+#: Webservices.xml:433
#, no-c-format
msgid ""
"Note that the HTTP response still passes through the servlet container, so "
@@ -946,13 +931,13 @@
msgstr ""
#. Tag: title
-#: Webservices.xml:447
+#: Webservices.xml:442
#, no-c-format
msgid "Testing resources and providers"
msgstr ""
#. Tag: para
-#: Webservices.xml:449
+#: Webservices.xml:444
#, no-c-format
msgid ""
"Seam includes a unit testing utility class that helps you create unit tests "
@@ -962,7 +947,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:455
+#: Webservices.xml:450
#, no-c-format
msgid ""
"<![CDATA[import org.jboss.seam.mock.ResourceRequestEnvironment;\n"
@@ -1019,7 +1004,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:457
+#: Webservices.xml:452
#, no-c-format
msgid ""
"This test only executes local calls, it does not communicate with the "
@@ -1032,7 +1017,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:465
+#: Webservices.xml:460
#, no-c-format
msgid ""
"Note that a <literal>ResourceRequest</literal> has to be executed in a "
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/pa-IN/Websphere.po
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/pa-IN/Websphere.po 2009-08-26 19:14:02 UTC (rev 11432)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/pa-IN/Websphere.po 2009-08-26 19:19:33 UTC (rev 11433)
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-08-22 13:17+0000\n"
+"POT-Creation-Date: 2009-08-26 18:48+0000\n"
"PO-Revision-Date: 2008-04-04 01:24+0000\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
@@ -76,25 +76,27 @@
#, no-c-format
msgid ""
"The following sections in this chapter assume that WebSphere is correctly "
-"installed and is functional, and a profile has been successfully created."
+"installed and is functional, and a WebSphere \"profile\" has been "
+"successfully created."
msgstr ""
#. Tag: para
#: Websphere.xml:40
#, no-c-format
msgid ""
-"This chapter explain how to compile, deploy and run some sample applications "
-"in WebSphere. These sample applications require a database. WebSphere comes "
-"by default with a set of sample applications called \"Default Application\". "
-"This set of sample applications use a Derby database running on the Derby "
-"instance installed with WebSphere. In order to keep this simple we'll use "
-"this Derby database created for the \"Default Applications\". However, to "
-"run the sample application with the Derby database \"as-is\", a patched "
-"Hibernate dialect must be used (The patch changes the default \"auto\" key "
-"generation strategy) as explained in <xref linkend=\"glassfish\"/>. If you "
-"want to use another database, it's just a matter of creating a connection "
-"pool in WebSphere pointing to this database, declare the correct Hibernate "
-"dialect and set the correct JNDI name in <literal>persistence.xml</literal>."
+"This chapter explains how to compile, deploy and run some sample "
+"applications in WebSphere. These sample applications require a database. "
+"WebSphere comes by default with a set of sample applications called "
+"\"Default Application\". This set of sample applications use a Derby "
+"database running on the Derby instance installed within WebSphere. In order "
+"to keep this simple we'll use this Derby database created for the \"Default "
+"Applications\". However, to run the sample application with the Derby "
+"database \"as-is\", a patched Hibernate dialect must be used (The patch "
+"changes the default \"auto\" key generation strategy) as explained in <xref "
+"linkend=\"glassfish\"/>. If you want to use another database, it's just a "
+"matter of creating a connection pool in WebSphere pointing to this database, "
+"declare the correct Hibernate dialect and set the correct JNDI name in "
+"<literal>persistence.xml</literal>."
msgstr ""
#. Tag: title
@@ -144,14 +146,14 @@
#, no-c-format
msgid ""
"On the right navigation menu, select <literal>Web Container Settings/Web "
-"container</literal>)"
+"container</literal>"
msgstr ""
#. Tag: listitem
#: Websphere.xml:73
#, no-c-format
msgid ""
-"On the right navigation menu, select <literal>custom properties</literal>) "
+"On the right navigation menu, select <literal>custom properties</literal> "
"and add the following properties:"
msgstr ""
@@ -170,7 +172,7 @@
#. Tag: listitem
#: Websphere.xml:84
#, no-c-format
-msgid "Save and restart the server"
+msgid "Save the configuration and restart the server"
msgstr ""
#. Tag: title
@@ -189,38 +191,38 @@
msgstr ""
#. Tag: listitem
-#: Websphere.xml:97
+#: Websphere.xml:96
#, no-c-format
msgid ""
"The global <literal>jndi-pattern</literal> switch on the <literal><core:"
-"init></literal>. in <literal>components.xml</literal>. The switch can use "
-"a special placeholder \"<literal>#{ejbName}</literal>\" that resolves to the "
-"unqualified name of the EJB"
+"init></literal>tag in <literal>components.xml</literal>. The switch can "
+"use a special placeholder \"<literal>#{ejbName}</literal>\" that resolves to "
+"the unqualified name of the EJB"
msgstr ""
#. Tag: para
-#: Websphere.xml:102
+#: Websphere.xml:100
#, no-c-format
msgid "The <literal>@JndiName</literal> annotation"
msgstr ""
#. Tag: para
-#: Websphere.xml:108
+#: Websphere.xml:106
#, no-c-format
msgid "gives detailed explanations on how those mechanisms work."
msgstr ""
#. Tag: para
-#: Websphere.xml:112
+#: Websphere.xml:110
#, no-c-format
msgid ""
-"By default, WebSphere will bind the session bean in its local JNDI name "
-"space under a \"short\" binding name that adheres to the following pattern "
+"By default, WebSphere will bind session beans in its local JNDI name space "
+"under a \"short\" binding name that adheres to the following pattern "
"<literal>ejblocal:<package.qualified.local.interface.name></literal>."
msgstr ""
#. Tag: para
-#: Websphere.xml:117
+#: Websphere.xml:115
#, no-c-format
msgid ""
"For a detailed description on how WebSphere v7 organizes and binds EJBs in "
@@ -228,7 +230,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:120
+#: Websphere.xml:118
#, no-c-format
msgid ""
"As explained before, Seam needs to lookup for session bean as they appear in "
@@ -236,35 +238,35 @@
msgstr ""
#. Tag: listitem
-#: Websphere.xml:124
+#: Websphere.xml:121
#, no-c-format
msgid ""
"Specify which JNDI name Seam must use for each session bean using the "
-"<literal>@JndiName</literal> annotation in the java source file"
+"<literal>@JndiName</literal> annotation in the java source file,"
msgstr ""
#. Tag: listitem
-#: Websphere.xml:127
+#: Websphere.xml:123
#, no-c-format
msgid ""
"Override the default session bean names generated by WebSphere to conform to "
-"the <literal>jndi-pattern</literal> attribute"
+"the <literal>jndi-pattern</literal> attribute,"
msgstr ""
#. Tag: listitem
-#: Websphere.xml:130
+#: Websphere.xml:126
#, no-c-format
-msgid "Use EJB references"
+msgid "Use EJB references."
msgstr ""
#. Tag: title
-#: Websphere.xml:137
+#: Websphere.xml:133
#, no-c-format
msgid "Strategy 1: Specify which JNDI name Seam must use for each Session Bean"
msgstr ""
#. Tag: para
-#: Websphere.xml:138
+#: Websphere.xml:134
#, no-c-format
msgid ""
"This strategy is the simplest and fastest one regarding development. It uses "
@@ -272,7 +274,7 @@
msgstr ""
#. Tag: listitem
-#: Websphere.xml:141
+#: Websphere.xml:137
#, no-c-format
msgid ""
"Add a <literal>@JndiName(\"ejblocal:<package.qualified.local.interface."
@@ -280,20 +282,20 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:145 Websphere.xml:188
+#: Websphere.xml:141 Websphere.xml:184
#, no-c-format
msgid ""
"<para>In <literal>components.xml</literal>, add the following line:</para>"
msgstr ""
#. Tag: programlisting
-#: Websphere.xml:147 Websphere.xml:220
+#: Websphere.xml:143 Websphere.xml:216
#, no-c-format
msgid "<![CDATA[<core:init jndi-name=\"java:comp/env/#{ejbName}\" />]]>"
msgstr ""
#. Tag: para
-#: Websphere.xml:151
+#: Websphere.xml:147
#, no-c-format
msgid ""
"Add a file named <literal>WEB-INF/classes/seam-jndi.properties</literal> in "
@@ -301,7 +303,7 @@
msgstr ""
#. Tag: programlisting
-#: Websphere.xml:153
+#: Websphere.xml:149
#, no-c-format
msgid ""
"com.ibm.websphere.naming.hostname.normalizer=com.ibm.ws.naming.util."
@@ -323,13 +325,13 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:157
+#: Websphere.xml:153
#, no-c-format
msgid "At the end of <literal>web.xml</literal>, add the following lines:"
msgstr ""
#. Tag: programlisting
-#: Websphere.xml:159
+#: Websphere.xml:155
#, no-c-format
msgid ""
"<![CDATA[<ejb-local-ref>\n"
@@ -341,7 +343,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:164
+#: Websphere.xml:160
#, no-c-format
msgid ""
"That's all folks! No need to update any file during the development, nor to "
@@ -349,23 +351,23 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:167
+#: Websphere.xml:163
#, no-c-format
msgid ""
-"Compared to the other strategies, this strategy has the advantage not to "
-"have to manage any EJBs reference and also not to have to maintain extra "
+"Compared to the other strategies, this strategy has the advantage to not "
+"have to manage any EJBs reference and also to not have to maintain extra "
"files. The only drawback is one extra line in the java source code with the "
"<literal>@JndiName</literal> annotation"
msgstr ""
#. Tag: title
-#: Websphere.xml:174
+#: Websphere.xml:170
#, no-c-format
msgid "Strategy 2: Override the default names generated by WebSphere"
msgstr ""
#. Tag: section
-#: Websphere.xml:174
+#: Websphere.xml:170
#, no-c-format
msgid ""
"There is no simple way to globally override the default naming strategy for "
@@ -374,13 +376,13 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:177
+#: Websphere.xml:173
#, no-c-format
msgid "To use this strategy:"
msgstr ""
#. Tag: para
-#: Websphere.xml:181
+#: Websphere.xml:177
#, no-c-format
msgid ""
"Add a file named <literal>META-INF/ibm-ejb-jar-ext.xml</literal> in the EJB "
@@ -405,13 +407,13 @@
msgstr ""
#. Tag: programlisting
-#: Websphere.xml:190
+#: Websphere.xml:186
#, no-c-format
msgid "<![CDATA[<core:init jndi-name=\"ejblocal:#{ejbName}\" />]]>"
msgstr ""
#. Tag: para
-#: Websphere.xml:194
+#: Websphere.xml:190
#, no-c-format
msgid ""
"Add a file named <literal>WEB-INF/classes/seam-jndi.properties</literal> as "
@@ -419,7 +421,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:199
+#: Websphere.xml:195
#, no-c-format
msgid ""
"In <literal>web.xml</literal>, add the following lines (Note the different "
@@ -427,7 +429,7 @@
msgstr ""
#. Tag: programlisting
-#: Websphere.xml:201
+#: Websphere.xml:197
#, no-c-format
msgid ""
"<![CDATA[<ejb-local-ref>\n"
@@ -439,7 +441,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:206
+#: Websphere.xml:202
#, no-c-format
msgid ""
"Compared to the first strategy, this strategy requires to maintain an extra "
@@ -449,13 +451,13 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:215
+#: Websphere.xml:211
#, no-c-format
msgid "Strategy 3: Use EJB references"
msgstr ""
#. Tag: section
-#: Websphere.xml:215
+#: Websphere.xml:211
#, no-c-format
msgid ""
"This strategy is based on the usage of EJB references, from EJB to EJB and "
@@ -463,7 +465,7 @@
msgstr ""
#. Tag: listitem
-#: Websphere.xml:218
+#: Websphere.xml:214
#, no-c-format
msgid ""
"<listitem>In <literal>components.xml</literal>, add the following line:</"
@@ -471,7 +473,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:223
+#: Websphere.xml:219
#, no-c-format
msgid ""
"Follow the instructions in <xref linkend=\"config.integration.ejb.container"
@@ -479,7 +481,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:228
+#: Websphere.xml:224
#, no-c-format
msgid ""
"This is the most tedious strategy as each session bean referenced by another "
@@ -489,27 +491,27 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:239
+#: Websphere.xml:235
#, no-c-format
msgid "Configuring timeouts for Stateful Session Beans"
msgstr ""
#. Tag: para
-#: Websphere.xml:240
+#: Websphere.xml:236
#, no-c-format
msgid ""
"A timeout value has to be set for each stateful session bean used in the "
"application because stateful bean must not expire in WebSphere while Seam "
-"might still need thenm. At the time of writing this document, WebSphere does "
+"might still need them. At the time of writing this document, WebSphere does "
"not provide a way to configure a global timeout at neither the cluster, "
"server, application nor ejb-jar level. It has to be done for each stateful "
-"bean individually. This is done by adding a file named <literal>META-INF/ibm-"
-"ejb-jar-ext.xml</literal> in the EJB module, and declare the timeout value "
-"for each bean:"
+"bean individually. By default, the default timeout is 10 minutes. This is "
+"done by adding a file named <literal>META-INF/ibm-ejb-jar-ext.xml</literal> "
+"in the EJB module, and declare the timeout value for each bean:"
msgstr ""
#. Tag: programlisting
-#: Websphere.xml:246
+#: Websphere.xml:242
#, no-c-format
msgid ""
"<![CDATA[<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
@@ -529,24 +531,24 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:248
+#: Websphere.xml:244
#, no-c-format
msgid ""
"The <literal>time-out</literal> is expressed in seconds and must be higher "
"than the Seam conversation expiration timeout and a few minutes higher than "
"the user's HTTP session timeout (The session expiration timeout can trigger "
-"a few minutes after the number of minutes declared to expire s for the HTTP "
-"session expiration)."
+"a few minutes after the number of minutes declared to expire the HTTP "
+"session)."
msgstr ""
#. Tag: title
-#: Websphere.xml:257
+#: Websphere.xml:253
#, no-c-format
msgid "The <literal>jee5/booking</literal> example"
msgstr ""
#. Tag: para
-#: Websphere.xml:259
+#: Websphere.xml:255
#, no-c-format
msgid ""
"The<literal>jee5/booking</literal>example is based on the Hotel Booking "
@@ -557,23 +559,32 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:265
+#: Websphere.xml:261
#, no-c-format
msgid ""
-"For running this example, we'll use the second JNDI mapping strategy "
-"(\"Override the default names generated by WebSphere\") as we don't want to "
-"change the java code to add the <literal>@JndiName</literal> annotation as "
-"in the first strategy."
+"The example already has a breakout of configurations and build scripts for "
+"WebSphere. First thing, we are going to do is build and deploy this example. "
+"Then we'll go over some key changes that we needed."
msgstr ""
+#. Tag: para
+#: Websphere.xml:266
+#, no-c-format
+msgid ""
+"The tailored configuration files for WebSphere use the second JNDI mapping "
+"strategy (\"Override the default names generated by WebSphere\") as the goal "
+"was to not change any java code to add the <literal>@JndiName</literal> "
+"annotation as in the first strategy."
+msgstr ""
+
#. Tag: title
-#: Websphere.xml:271
+#: Websphere.xml:272
#, no-c-format
msgid "Building the <literal>jee5/booking</literal> example"
msgstr ""
#. Tag: para
-#: Websphere.xml:273
+#: Websphere.xml:274
#, no-c-format
msgid ""
"Building it only requires running the correct ant command: "
@@ -583,21 +594,21 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:280
+#: Websphere.xml:281
#, no-c-format
msgid "Deploying the <literal>jee5/booking</literal> example"
msgstr ""
#. Tag: para
-#: Websphere.xml:281
+#: Websphere.xml:282
#, no-c-format
msgid ""
-"The steps below are for the WAS version stated above.The ports are default "
-"values, if you changed them, you must substitute the values."
+"The steps below are for the WAS version stated above.The ports are the "
+"default values, if you changed them, you must substitute the values."
msgstr ""
#. Tag: listitem
-#: Websphere.xml:284
+#: Websphere.xml:285
#, no-c-format
msgid ""
"Log in to the administration console <programlisting><![CDATA[http://"
@@ -606,7 +617,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:291
+#: Websphere.xml:292
#, no-c-format
msgid ""
"Go to the <literal>WebSphere enterprise applications</literal> menu option "
@@ -615,7 +626,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:298
+#: Websphere.xml:299
#, no-c-format
msgid ""
"At the top of the <literal>Enterprise Applications</literal> table select "
@@ -624,13 +635,13 @@
msgstr ""
#. Tag: literal
-#: Websphere.xml:304
+#: Websphere.xml:305
#, no-c-format
msgid "Preparing for the application installation"
msgstr ""
#. Tag: para
-#: Websphere.xml:307
+#: Websphere.xml:308
#, no-c-format
msgid ""
"Browse to the <literal>examples/jee5/booking/dist-websphere7/jboss-seam-jee5."
@@ -638,25 +649,25 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:313 Websphere.xml:323 Websphere.xml:341
+#: Websphere.xml:314 Websphere.xml:324 Websphere.xml:342
#, no-c-format
msgid "Select the <literal>Next</literal> button."
msgstr ""
#. Tag: para
-#: Websphere.xml:318
+#: Websphere.xml:319
#, no-c-format
msgid "Select the <literal>Fast Path</literal> button."
msgstr ""
#. Tag: literal
-#: Websphere.xml:332
+#: Websphere.xml:333
#, no-c-format
msgid "Select installation options"
msgstr ""
#. Tag: para
-#: Websphere.xml:335
+#: Websphere.xml:336
#, no-c-format
msgid ""
"Select the <literal>Deploy enterprise beans and Allow EJB reference targets "
@@ -665,13 +676,13 @@
msgstr ""
#. Tag: literal
-#: Websphere.xml:350
+#: Websphere.xml:351
#, no-c-format
msgid "Map modules to servers"
msgstr ""
#. Tag: para
-#: Websphere.xml:353
+#: Websphere.xml:354
#, no-c-format
msgid ""
"No changes needed here as we only have one server. Select the <literal>Next</"
@@ -679,13 +690,13 @@
msgstr ""
#. Tag: literal
-#: Websphere.xml:362
+#: Websphere.xml:363
#, no-c-format
msgid "Map virtual hosts for Web modules"
msgstr ""
#. Tag: para
-#: Websphere.xml:365
+#: Websphere.xml:366
#, no-c-format
msgid ""
"No changes needed here as we only have one virtual host. Select the "
@@ -693,31 +704,31 @@
msgstr ""
#. Tag: literal
-#: Websphere.xml:374
+#: Websphere.xml:375
#, no-c-format
msgid "Summary"
msgstr ""
#. Tag: para
-#: Websphere.xml:377
+#: Websphere.xml:378
#, no-c-format
msgid "No changes needed here. Select the <literal>Finish</literal> button."
msgstr ""
#. Tag: literal
-#: Websphere.xml:384
+#: Websphere.xml:385
#, no-c-format
msgid "Installation"
msgstr ""
#. Tag: para
-#: Websphere.xml:387
+#: Websphere.xml:388
#, no-c-format
msgid "Now you will see WebSphere installing and deploying your application."
msgstr ""
#. Tag: para
-#: Websphere.xml:390
+#: Websphere.xml:391
#, no-c-format
msgid ""
"When done, select the <literal>Save</literal> link and you will be returned "
@@ -725,15 +736,15 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:399
+#: Websphere.xml:400
#, no-c-format
msgid ""
-"To start the application select our application in the list, then click on "
+"To start the application, select the application in the list, then click on "
"the <literal>Start</literal> button at the top of the table."
msgstr ""
#. Tag: para
-#: Websphere.xml:409
+#: Websphere.xml:410
#, no-c-format
msgid ""
"You can now access the application at <literal>http://localhost:9080/seam-"
@@ -741,13 +752,13 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:418
+#: Websphere.xml:419
#, no-c-format
msgid "Deviation from the original base files"
msgstr ""
#. Tag: section
-#: Websphere.xml:418
+#: Websphere.xml:419
#, no-c-format
msgid ""
"Below are the differences between the base configuration files and the "
@@ -756,7 +767,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:422
+#: Websphere.xml:423
#, no-c-format
msgid ""
"<literal>META-INF/ejb-jar.xml</literal> — Removed all the EJB "
@@ -764,37 +775,37 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:428
+#: Websphere.xml:429
#, no-c-format
msgid ""
"<literal>META-INF/ibm-ejb-jar-bnd.xml</literal> — This WebSphere "
"specific file has been added as we use the second JNDI mapping strategy. It "
-"defines, for each session bean, the name WebSphere will use to bind it its "
-"JNDI name space"
+"defines, for each session bean, the name WebSphere will use to bind it in "
+"its JNDI name space"
msgstr ""
#. Tag: para
-#: Websphere.xml:435
+#: Websphere.xml:436
#, no-c-format
msgid ""
"<literal>META-INF/ibm-ejb-jar-ext.xml</literal> — This WebSphere "
-"specific file defines to WebSphere, the timeout value for each stateful bean"
+"specific file defines the timeout value for each stateful bean"
msgstr ""
#. Tag: para
-#: Websphere.xml:441
+#: Websphere.xml:442
#, no-c-format
msgid ""
"<literal>META-INF/persistence.xml</literal> — The main changes here "
"are for the datasource JNDI path, switching to the WebSphere transaction "
"manager lookup class, turning off the <literal>hibernate.transaction."
"flush_before_completion</literal> toggle, and forcing the Hibernate dialect "
-"to be <literal>GlassfishDerbyDialect</literal> how as using the integrated "
-"Derby database"
+"to be <literal>GlassfishDerbyDialect</literal> as we are using the "
+"integrated Derby database"
msgstr ""
#. Tag: para
-#: Websphere.xml:451
+#: Websphere.xml:452
#, no-c-format
msgid ""
"<literal>WEB-INF/components.xml</literal> — the change here is "
@@ -803,7 +814,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:459
+#: Websphere.xml:460
#, no-c-format
msgid ""
"<literal>WEB-INF/web.xml</literal> — Remove all the <literal>ejb-local "
@@ -813,7 +824,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:467 Websphere.xml:549
+#: Websphere.xml:468
#, no-c-format
msgid ""
"<literal>import.sql</literal> — due to the cutomized hibernate Derby "
@@ -822,7 +833,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:474
+#: Websphere.xml:475
#, no-c-format
msgid ""
"Also the build procedure has been changed to include the <literal>log4j.jar</"
@@ -831,13 +842,13 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:486
+#: Websphere.xml:487
#, no-c-format
msgid "The <literal>jpa</literal> booking example"
msgstr ""
#. Tag: para
-#: Websphere.xml:488
+#: Websphere.xml:489
#, no-c-format
msgid ""
"This is the Hotel Booking example implemented in Seam POJOs and using "
@@ -845,7 +856,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:493
+#: Websphere.xml:494
#, no-c-format
msgid ""
"The example already has a breakout of configurations and build scripts for "
@@ -853,7 +864,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:498
+#: Websphere.xml:499
#, no-c-format
msgid ""
"First thing, we are going to do is build and deploy that example. Then we'll "
@@ -861,13 +872,13 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:504
+#: Websphere.xml:505
#, no-c-format
msgid "Building the <literal>jpa</literal> example"
msgstr ""
#. Tag: para
-#: Websphere.xml:505
+#: Websphere.xml:506
#, no-c-format
msgid ""
"Building it only requires running the correct ant command: "
@@ -877,13 +888,13 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:514
+#: Websphere.xml:515
#, no-c-format
msgid "Deploying the <literal>jpa</literal> example"
msgstr ""
#. Tag: para
-#: Websphere.xml:515
+#: Websphere.xml:516
#, no-c-format
msgid ""
"Deploying <literal>jpa</literal> application is very similar to the "
@@ -894,7 +905,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:521
+#: Websphere.xml:522
#, no-c-format
msgid ""
"Follow the same instructions as for the <literal>jee5/booking</literal> "
@@ -902,11 +913,11 @@
"literal> file on the first page and on the <literal>Map context roots for "
"Web modules</literal> page (after the <literal>Map virtual host for Web "
"module</literal>), enter the context root you want to use for your "
-"application in the <literal>Contect Root</literal> input field."
+"application in the <literal>Context Root</literal> input field."
msgstr ""
#. Tag: para
-#: Websphere.xml:528
+#: Websphere.xml:529
#, no-c-format
msgid ""
"When started, you can now access the application at the <literal>http://"
@@ -914,13 +925,13 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:534
+#: Websphere.xml:535
#, no-c-format
msgid "Deviation from the generic base files"
msgstr ""
#. Tag: section
-#: Websphere.xml:534
+#: Websphere.xml:535
#, no-c-format
msgid ""
"Below are the configuration file differences between the base configuration "
@@ -929,7 +940,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:539
+#: Websphere.xml:540
#, no-c-format
msgid ""
"<literal>META-INF/persistence.xml</literal> — The main changes here "
@@ -941,9 +952,18 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:556
+#: Websphere.xml:550
#, no-c-format
msgid ""
+"<literal>import.sql</literal> — due to the customized hibernate Derby "
+"dialect, the <literal>ID</literal> column can not be populated by this file "
+"and was removed."
+msgstr ""
+
+#. Tag: para
+#: Websphere.xml:557
+#, no-c-format
+msgid ""
"Also the build procedure have been changed to include the <literal>log4j."
"jar</literal> file and exclude the <literal>concurrent.jar</literal> and "
"<literal>jboss-common-core.jar</literal> files."
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Annotations.pot
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Annotations.pot 2009-08-26 19:14:02 UTC (rev 11432)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Annotations.pot 2009-08-26 19:19:33 UTC (rev 11433)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-08-22 13:17+0000\n"
+"POT-Creation-Date: 2009-08-26 18:47+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Author_Group.pot
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Author_Group.pot 2009-08-26 19:14:02 UTC (rev 11432)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Author_Group.pot 2009-08-26 19:19:33 UTC (rev 11433)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-08-22 13:17+0000\n"
+"POT-Creation-Date: 2009-08-26 18:47+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Book_Info.pot
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Book_Info.pot 2009-08-26 19:14:02 UTC (rev 11432)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Book_Info.pot 2009-08-26 19:19:33 UTC (rev 11433)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-08-22 13:17+0000\n"
+"POT-Creation-Date: 2009-08-26 18:47+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Cache.pot
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Cache.pot 2009-08-26 19:14:02 UTC (rev 11432)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Cache.pot 2009-08-26 19:19:33 UTC (rev 11433)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-08-22 13:17+0000\n"
+"POT-Creation-Date: 2009-08-26 18:47+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/ClusteringAndEJBPassivation.pot
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/ClusteringAndEJBPassivation.pot 2009-08-26 19:14:02 UTC (rev 11432)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/ClusteringAndEJBPassivation.pot 2009-08-26 19:19:33 UTC (rev 11433)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-08-22 13:17+0000\n"
+"POT-Creation-Date: 2009-08-26 18:47+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Components.pot
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Components.pot 2009-08-26 19:14:02 UTC (rev 11432)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Components.pot 2009-08-26 19:19:33 UTC (rev 11433)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-08-22 13:17+0000\n"
+"POT-Creation-Date: 2009-08-26 18:47+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Concepts.pot
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Concepts.pot 2009-08-26 19:14:02 UTC (rev 11432)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Concepts.pot 2009-08-26 19:19:33 UTC (rev 11433)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-08-22 13:17+0000\n"
+"POT-Creation-Date: 2009-08-26 18:47+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Configuration.pot
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Configuration.pot 2009-08-26 19:14:02 UTC (rev 11432)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Configuration.pot 2009-08-26 19:19:33 UTC (rev 11433)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-08-22 13:17+0000\n"
+"POT-Creation-Date: 2009-08-26 18:47+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
@@ -678,13 +678,63 @@
msgstr ""
#. Tag: title
+#: Configuration.xml:325
+#, no-c-format
+msgid "Enabling HTTP cache-control headers"
+msgstr ""
+
+#. Tag: para
#: Configuration.xml:326
#, no-c-format
+msgid ""
+"Seam does <emphasis>not</emphasis> automatically add <literal>cache-control</"
+"literal> HTTP headers to any resources served by the Seam resource servlet, "
+"or directly from your view directory by the servlet container. This means "
+"that your images, Javascript and CSS files, and resource representations "
+"from Seam resource servlet such as Seam Remoting Javascript interfaces are "
+"usually not cached by the browser. This is convenient in development but "
+"should be changed in production when optimizing the application."
+msgstr ""
+
+#. Tag: para
+#: Configuration.xml:334
+#, no-c-format
+msgid ""
+"You can configure a Seam filter to enable automatic addition of "
+"<literal>cache-control</literal> headers depending on the requested URI in "
+"<literal>components.xml</literal>:"
+msgstr ""
+
+#. Tag: programlisting
+#: Configuration.xml:339
+#, no-c-format
+msgid ""
+"<![CDATA[<web:cache-control-filter name=\"commonTypesCacheControlFilter\"\n"
+" regex-url-pattern=\".*(\\.gif|\\.png|\\.jpg|\\."
+"jpeg|\\.css|\\.js)\"\n"
+" value=\"max-age=86400\"/> <!-- 1 day -->\n"
+"\n"
+"<web:cache-control-filter name=\"anotherCacheControlFilter\"\n"
+" url-pattern=\"/my/cachable/resources/*\"\n"
+" value=\"max-age=432000\"/> <!-- 5 days -->]]>"
+msgstr ""
+
+#. Tag: para
+#: Configuration.xml:341
+#, no-c-format
+msgid ""
+"You do not have to name the filters unless you have more than one filter "
+"enabled."
+msgstr ""
+
+#. Tag: title
+#: Configuration.xml:348
+#, no-c-format
msgid "Adding custom filters"
msgstr ""
#. Tag: para
-#: Configuration.xml:327
+#: Configuration.xml:349
#, no-c-format
msgid ""
"Seam can install your filters for you, allowing you to specify "
@@ -696,7 +746,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:332
+#: Configuration.xml:354
#, no-c-format
msgid ""
"<![CDATA[@Startup\n"
@@ -708,7 +758,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:334
+#: Configuration.xml:356
#, no-c-format
msgid ""
"Adding the <literal>@Startup</literal> annotation means thar the component "
@@ -719,13 +769,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:343
+#: Configuration.xml:365
#, no-c-format
msgid "Integrating Seam with your EJB container"
msgstr ""
#. Tag: para
-#: Configuration.xml:345
+#: Configuration.xml:367
#, no-c-format
msgid ""
"In a Seam application, EJB components have a certain duality, as they are "
@@ -736,7 +786,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:350
+#: Configuration.xml:372
#, no-c-format
msgid ""
"We need to apply the <literal>SeamInterceptor</literal> to our Seam EJB "
@@ -748,7 +798,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:355
+#: Configuration.xml:377
#, no-c-format
msgid ""
"<![CDATA[<interceptors>\n"
@@ -769,7 +819,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:357
+#: Configuration.xml:379
#, no-c-format
msgid ""
"Seam needs to know where to go to find session beans in JNDI. One way to do "
@@ -783,19 +833,19 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:364
+#: Configuration.xml:386
#, no-c-format
msgid "For JBoss AS, the following pattern is correct:"
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:366
+#: Configuration.xml:388
#, no-c-format
msgid "<![CDATA[<core:init jndi-name=\"earName/#{ejbName}/local\" />]]>"
msgstr ""
#. Tag: para
-#: Configuration.xml:368
+#: Configuration.xml:390
#, no-c-format
msgid ""
"In this case, <literal>earName</literal> is the name of the EAR in which the "
@@ -805,7 +855,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:372
+#: Configuration.xml:394
#, no-c-format
msgid ""
"Outside the context of an EAR (when using the JBoss Embeddable EJB3 "
@@ -814,13 +864,13 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:375
+#: Configuration.xml:397
#, no-c-format
msgid "<![CDATA[<core:init jndi-name=\"#{ejbName}/local\" />]]>"
msgstr ""
#. Tag: para
-#: Configuration.xml:377
+#: Configuration.xml:399
#, no-c-format
msgid ""
"How these JNDI names are resolved and somehow locate an EJB component might "
@@ -829,7 +879,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:381
+#: Configuration.xml:403
#, no-c-format
msgid ""
"The folks at JBoss don't care much for XML, if you can't tell. So when they "
@@ -840,14 +890,14 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:387
+#: Configuration.xml:409
#, no-c-format
msgid ""
"The value of the <literal><ejb-name></literal> element in ejb-jar.xml"
msgstr ""
#. Tag: para
-#: Configuration.xml:390
+#: Configuration.xml:412
#, no-c-format
msgid ""
"The value of the <literal>name</literal> attribute in the @Stateless or "
@@ -855,13 +905,13 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:393
+#: Configuration.xml:415
#, no-c-format
msgid "The simple name of the bean class"
msgstr ""
#. Tag: para
-#: Configuration.xml:397
+#: Configuration.xml:419
#, no-c-format
msgid ""
"Let's look at an example. Assume that you have the following EJB bean and "
@@ -869,7 +919,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:399
+#: Configuration.xml:421
#, no-c-format
msgid ""
"<![CDATA[package com.example.myapp;\n"
@@ -896,7 +946,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:401
+#: Configuration.xml:423
#, no-c-format
msgid ""
"Assuming your EJB bean class is deployed in an EAR named myapp, the global "
@@ -908,7 +958,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:407
+#: Configuration.xml:429
#, no-c-format
msgid ""
"So what about the rest of the application servers? Well, according to the "
@@ -920,7 +970,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:413
+#: Configuration.xml:435
#, no-c-format
msgid ""
"There are two places you have to define the EJB reference when using Seam on "
@@ -931,7 +981,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:418
+#: Configuration.xml:440
#, no-c-format
msgid ""
"<![CDATA[<ejb-local-ref>\n"
@@ -943,7 +993,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:420
+#: Configuration.xml:442
#, no-c-format
msgid ""
"This reference will cover most uses of the component in a Seam application. "
@@ -954,7 +1004,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:425
+#: Configuration.xml:447
#, no-c-format
msgid ""
"Within the context of an EJB method call, you have to deal with a somewhat "
@@ -971,7 +1021,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:434
+#: Configuration.xml:456
#, no-c-format
msgid ""
"For application servers that stubbornly adhere to the EJB specification, EJB "
@@ -983,7 +1033,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:439
+#: Configuration.xml:461
#, no-c-format
msgid ""
"Let's assume that we have an EJB named RegisterAction (the name is resolved "
@@ -992,7 +1042,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:442
+#: Configuration.xml:464
#, no-c-format
msgid ""
"<![CDATA[@In(create = true)\n"
@@ -1001,7 +1051,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:444
+#: Configuration.xml:466
#, no-c-format
msgid ""
"In order for this injection to work, the link must be established in the ejb-"
@@ -1009,7 +1059,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:446
+#: Configuration.xml:468
#, no-c-format
msgid ""
"<![CDATA[<ejb-jar>\n"
@@ -1032,7 +1082,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:448
+#: Configuration.xml:470
#, no-c-format
msgid ""
"Notice that the contents of the <literal><ejb-local-ref></literal> are "
@@ -1044,7 +1094,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:454
+#: Configuration.xml:476
#, no-c-format
msgid ""
"But what about <literal>@EJB</literal>? It's true that you can inject one "
@@ -1062,7 +1112,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:464
+#: Configuration.xml:486
#, no-c-format
msgid ""
"That covers how JNDI names are defined and used. The lesson is that with "
@@ -1075,7 +1125,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:470
+#: Configuration.xml:492
#, no-c-format
msgid ""
"<![CDATA[<core:init jndi-name=\"java:comp/env/earName/#{ejbName}/local\" />]]"
@@ -1083,7 +1133,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:472
+#: Configuration.xml:494
#, no-c-format
msgid ""
"Finally, let's talk about transactions. In an EJB3 environment, we recommend "
@@ -1095,19 +1145,19 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:479
+#: Configuration.xml:501
#, no-c-format
msgid "<![CDATA[<transaction:ejb-transaction/>]]>"
msgstr ""
#. Tag: title
-#: Configuration.xml:484
+#: Configuration.xml:506
#, no-c-format
msgid "Don't forget!"
msgstr ""
#. Tag: para
-#: Configuration.xml:486
+#: Configuration.xml:508
#, no-c-format
msgid ""
"There is one final item you need to know about. You must place a "
@@ -1119,7 +1169,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:491
+#: Configuration.xml:513
#, no-c-format
msgid ""
"In a web archive (WAR) file, you must place a <literal>seam.properties</"
@@ -1128,7 +1178,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:494
+#: Configuration.xml:516
#, no-c-format
msgid ""
"That's why all the Seam examples have an empty <literal>seam.properties</"
@@ -1137,7 +1187,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:497
+#: Configuration.xml:519
#, no-c-format
msgid ""
"You might think this is silly and what kind of idiot framework designers "
@@ -1149,13 +1199,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:508
+#: Configuration.xml:530
#, no-c-format
msgid "Using Alternate JPA Providers"
msgstr ""
#. Tag: para
-#: Configuration.xml:510
+#: Configuration.xml:532
#, no-c-format
msgid ""
"Seam comes packaged and configured with Hibernate as the default JPA "
@@ -1164,13 +1214,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:516
+#: Configuration.xml:538
#, no-c-format
msgid "This is a workaround"
msgstr ""
#. Tag: para
-#: Configuration.xml:517
+#: Configuration.xml:539
#, no-c-format
msgid ""
"Configuration of the JPA provider will be easier in the future and will not "
@@ -1179,7 +1229,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:524
+#: Configuration.xml:546
#, no-c-format
msgid ""
"Telling seam about a different JPA provider can be be done in one of two "
@@ -1187,7 +1237,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:525
+#: Configuration.xml:547
#, no-c-format
msgid ""
"Update your application's <literal>components.xml</literal> so that the "
@@ -1196,7 +1246,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:530
+#: Configuration.xml:552
#, no-c-format
msgid ""
"<![CDATA[<component name=\"org.jboss.seam.persistence.persistenceProvider"
@@ -1207,7 +1257,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:531
+#: Configuration.xml:553
#, no-c-format
msgid ""
"If you want to take advantage of your JPA provider's non-standard features "
@@ -1219,7 +1269,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:538
+#: Configuration.xml:560
#, no-c-format
msgid ""
"<![CDATA[<component name=\"org.jboss.seam.persistence.persistenceProvider"
@@ -1229,7 +1279,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:539
+#: Configuration.xml:561
#, no-c-format
msgid ""
"All that is left is updating the <literal>persistence.xml</literal> file "
@@ -1239,13 +1289,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:547
+#: Configuration.xml:569
#, no-c-format
msgid "Configuring Seam in Java EE 5"
msgstr ""
#. Tag: para
-#: Configuration.xml:558
+#: Configuration.xml:580
#, no-c-format
msgid ""
"If you're running in a Java EE 5 environment, this is all the configuration "
@@ -1253,14 +1303,14 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:561 Configuration.xml:656 Configuration.xml:794
-#: Configuration.xml:827
+#: Configuration.xml:583 Configuration.xml:678 Configuration.xml:816
+#: Configuration.xml:849
#, no-c-format
msgid "Packaging"
msgstr ""
#. Tag: para
-#: Configuration.xml:563
+#: Configuration.xml:585
#, no-c-format
msgid ""
"Once you've packaged all this stuff together into an EAR, the archive "
@@ -1268,7 +1318,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:566
+#: Configuration.xml:588
#, no-c-format
msgid ""
"<![CDATA[my-application.ear/\n"
@@ -1308,7 +1358,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:568
+#: Configuration.xml:590
#, no-c-format
msgid ""
"You should declare <literal>jboss-seam.jar</literal> as an ejb module in "
@@ -1317,7 +1367,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:573
+#: Configuration.xml:595
#, no-c-format
msgid ""
"If you want to use jBPM or Drools, you must include the needed jars in the "
@@ -1325,7 +1375,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:575
+#: Configuration.xml:597
#, no-c-format
msgid ""
"If you want to use facelets (our recommendation), you must include "
@@ -1334,7 +1384,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:578
+#: Configuration.xml:600
#, no-c-format
msgid ""
"If you want to use the Seam tag library (most Seam applications do), you "
@@ -1345,7 +1395,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:583
+#: Configuration.xml:605
#, no-c-format
msgid ""
"If you want to use the Seam debug page (only works for applications using "
@@ -1354,7 +1404,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:586
+#: Configuration.xml:608
#, no-c-format
msgid ""
"Seam ships with several example applications that are deployable in any Java "
@@ -1362,7 +1412,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:589
+#: Configuration.xml:611
#, no-c-format
msgid ""
"I really wish that was all there was to say on the topic of configuration "
@@ -1372,13 +1422,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:598
+#: Configuration.xml:620
#, no-c-format
msgid "Configuring Seam in J2EE"
msgstr ""
#. Tag: para
-#: Configuration.xml:600
+#: Configuration.xml:622
#, no-c-format
msgid ""
"Seam is useful even if you're not yet ready to take the plunge into EJB 3.0. "
@@ -1390,7 +1440,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:615
+#: Configuration.xml:637
#, no-c-format
msgid ""
"Seam JavaBean components do not provide declarative transaction demarcation "
@@ -1402,7 +1452,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:621
+#: Configuration.xml:643
#, no-c-format
msgid ""
"The Seam distribution includes a version of the booking example application "
@@ -1412,13 +1462,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:626
+#: Configuration.xml:648
#, no-c-format
msgid "Boostrapping Hibernate in Seam"
msgstr ""
#. Tag: para
-#: Configuration.xml:628
+#: Configuration.xml:650
#, no-c-format
msgid ""
"Seam will bootstrap a Hibernate <literal>SessionFactory</literal> from your "
@@ -1427,7 +1477,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:631
+#: Configuration.xml:653
#, no-c-format
msgid ""
"<![CDATA[<persistence:hibernate-session-factory name="
@@ -1435,7 +1485,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:633
+#: Configuration.xml:655
#, no-c-format
msgid ""
"You will also need to configure a <emphasis>managed session</emphasis> if "
@@ -1444,7 +1494,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:636
+#: Configuration.xml:658
#, no-c-format
msgid ""
"<![CDATA[<persistence:managed-hibernate-session name=\"hibernateSession\"\n"
@@ -1453,13 +1503,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:641
+#: Configuration.xml:663
#, no-c-format
msgid "Boostrapping JPA in Seam"
msgstr ""
#. Tag: para
-#: Configuration.xml:643
+#: Configuration.xml:665
#, no-c-format
msgid ""
"Seam will bootstrap a JPA <literal>EntityManagerFactory</literal> from your "
@@ -1468,7 +1518,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:646
+#: Configuration.xml:668
#, no-c-format
msgid ""
"<![CDATA[<persistence:entity-manager-factory name=\"entityManagerFactory\"/"
@@ -1476,7 +1526,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:648
+#: Configuration.xml:670
#, no-c-format
msgid ""
"You will also need to configure a <emphasis>managed persistence context</"
@@ -1485,7 +1535,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:651
+#: Configuration.xml:673
#, no-c-format
msgid ""
"<![CDATA[<persistence:managed-persistence-context name=\"entityManager\"\n"
@@ -1494,13 +1544,13 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:658
+#: Configuration.xml:680
#, no-c-format
msgid "We can package our application as a WAR, in the following structure:"
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:660
+#: Configuration.xml:682
#, no-c-format
msgid ""
"<![CDATA[my-application.war/\n"
@@ -1537,7 +1587,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:662
+#: Configuration.xml:684
#, no-c-format
msgid ""
"If we want to deploy Hibernate in a non-EE environment like Tomcat or "
@@ -1545,13 +1595,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:669
+#: Configuration.xml:691
#, no-c-format
msgid "Configuring Seam in Java SE, without JBoss Embedded"
msgstr ""
#. Tag: para
-#: Configuration.xml:671
+#: Configuration.xml:693
#, no-c-format
msgid ""
"It is possible to use Seam completely outside of an EE environment. In this "
@@ -1561,7 +1611,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:675
+#: Configuration.xml:697
#, no-c-format
msgid ""
"<![CDATA[<transaction:entity-transaction entity-manager=\"#{entityManager}\"/"
@@ -1569,7 +1619,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:677
+#: Configuration.xml:699
#, no-c-format
msgid ""
"If you're using Hibernate, you can tell Seam to use the Hibernate "
@@ -1577,32 +1627,32 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:679
+#: Configuration.xml:701
#, no-c-format
msgid "<![CDATA[<transaction:hibernate-transaction session=\"#{session}\"/>]]>"
msgstr ""
#. Tag: para
-#: Configuration.xml:681
+#: Configuration.xml:703
#, no-c-format
msgid "Of course, you'll also need to define a datasource."
msgstr ""
#. Tag: para
-#: Configuration.xml:683
+#: Configuration.xml:705
#, no-c-format
msgid ""
"A better alternative is to use JBoss Embedded to get access to the EE APIs."
msgstr ""
#. Tag: title
-#: Configuration.xml:688
+#: Configuration.xml:710
#, no-c-format
msgid "Configuring Seam in Java SE, with JBoss Embedded"
msgstr ""
#. Tag: para
-#: Configuration.xml:690
+#: Configuration.xml:712
#, no-c-format
msgid ""
"JBoss Embedded lets you run EJB3 components outside the context of the Java "
@@ -1611,7 +1661,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:693
+#: Configuration.xml:715
#, no-c-format
msgid ""
"The Seam booking example application includes a TestNG integration test "
@@ -1619,19 +1669,19 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:705
+#: Configuration.xml:727
#, no-c-format
msgid "The booking example application may even be deployed to Tomcat."
msgstr ""
#. Tag: title
-#: Configuration.xml:717
+#: Configuration.xml:739
#, no-c-format
msgid "Installing Embedded JBoss"
msgstr ""
#. Tag: para
-#: Configuration.xml:720
+#: Configuration.xml:742
#, no-c-format
msgid ""
"Embedded JBoss must by installed into Tomcat for Seam applications to run "
@@ -1644,7 +1694,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:734
+#: Configuration.xml:756
#, no-c-format
msgid ""
"Copy all files and directories under the Embedded JBoss <literal>bootstrap</"
@@ -1654,7 +1704,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:741
+#: Configuration.xml:763
#, no-c-format
msgid ""
"Remove the <literal>annotations-api.jar</literal> file from the Tomcat "
@@ -1662,7 +1712,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:747
+#: Configuration.xml:769
#, no-c-format
msgid ""
"Next, two configuration files need to be updated to add Embedded JBoss-"
@@ -1670,7 +1720,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:753
+#: Configuration.xml:775
#, no-c-format
msgid ""
"Add the Embedded JBoss listener <literal>EmbeddedJBossBootstrapListener</"
@@ -1679,7 +1729,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:756
+#: Configuration.xml:778
#, no-c-format
msgid ""
"<![CDATA[<Server port=\"8005\" shutdown=\"SHUTDOWN\">\n"
@@ -1697,7 +1747,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:757
+#: Configuration.xml:779
#, no-c-format
msgid ""
"<![CDATA[ <!-- Add this listener -->\n"
@@ -1706,7 +1756,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:761
+#: Configuration.xml:783
#, no-c-format
msgid ""
"WAR file scanning should be enabled by adding the <literal>WebinfScanner</"
@@ -1714,7 +1764,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:764
+#: Configuration.xml:786
#, no-c-format
msgid ""
"<![CDATA[<Context>\n"
@@ -1729,7 +1779,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:765
+#: Configuration.xml:787
#, no-c-format
msgid ""
"<![CDATA[ <!-- Add this listener -->\n"
@@ -1737,13 +1787,13 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:766
+#: Configuration.xml:788
#, no-c-format
msgid "<![CDATA[</Context>]]>"
msgstr ""
#. Tag: para
-#: Configuration.xml:770
+#: Configuration.xml:792
#, no-c-format
msgid ""
"If you are using Sun JDK 6, you need to set the Java option <literal>sun."
@@ -1753,7 +1803,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:775
+#: Configuration.xml:797
#, no-c-format
msgid ""
"Open the script appropriate for your operating system in a text editor. Add "
@@ -1763,7 +1813,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:779
+#: Configuration.xml:801
#, no-c-format
msgid ""
"<![CDATA[set JAVA_OPTS=%JAVA_OPTS% -Dsun.lang.ClassLoader."
@@ -1771,13 +1821,13 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:781
+#: Configuration.xml:803
#, no-c-format
msgid "On Unix, use this syntax instead:"
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:783
+#: Configuration.xml:805
#, no-c-format
msgid ""
"<![CDATA[JAVA_OPTS=\"$JAVA_OPTS -Dsun.lang.ClassLoader.allowArraySyntax=true"
@@ -1785,7 +1835,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:788
+#: Configuration.xml:810
#, no-c-format
msgid ""
"For more configuration options, please see the Embedded JBoss Tomcat "
@@ -1794,7 +1844,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:796
+#: Configuration.xml:818
#, no-c-format
msgid ""
"The archive structure of a WAR-based deployment on an servlet engine like "
@@ -1802,7 +1852,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:799
+#: Configuration.xml:821
#, no-c-format
msgid ""
"<![CDATA[my-application.war/\n"
@@ -1840,7 +1890,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:801
+#: Configuration.xml:823
#, no-c-format
msgid ""
"Most of the Seam example applications may be deployed to Tomcat by running "
@@ -1848,13 +1898,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:809
+#: Configuration.xml:831
#, no-c-format
msgid "Configuring jBPM in Seam"
msgstr ""
#. Tag: para
-#: Configuration.xml:810
+#: Configuration.xml:832
#, no-c-format
msgid ""
"Seam's jBPM integration is not installed by default, so you'll need to "
@@ -1864,7 +1914,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:814
+#: Configuration.xml:836
#, no-c-format
msgid ""
"<![CDATA[<bpm:jbpm>\n"
@@ -1880,7 +1930,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:816
+#: Configuration.xml:838
#, no-c-format
msgid ""
"No further special configuration is needed if you only have pageflows. If "
@@ -1891,7 +1941,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:821
+#: Configuration.xml:843
#, no-c-format
msgid ""
"<![CDATA[<jbpm-configuration>\n"
@@ -1921,7 +1971,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:823
+#: Configuration.xml:845
#, no-c-format
msgid ""
"The most important thing to notice here is that jBPM transaction control is "
@@ -1929,7 +1979,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:829
+#: Configuration.xml:851
#, no-c-format
msgid ""
"There is not yet any well-defined packaging format for jBPM configuration "
@@ -1940,7 +1990,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:834
+#: Configuration.xml:856
#, no-c-format
msgid ""
"<![CDATA[my-application.ear/\n"
@@ -1987,13 +2037,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:841
+#: Configuration.xml:863
#, no-c-format
msgid "Configuring SFSB and Session Timeouts in JBoss AS"
msgstr ""
#. Tag: para
-#: Configuration.xml:843
+#: Configuration.xml:865
#, no-c-format
msgid ""
"It is very important that the timeout for Stateful Session Beans is set "
@@ -2005,7 +2055,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:849
+#: Configuration.xml:871
#, no-c-format
msgid ""
"The default SFSB timeout can be adjusted by modifying the value of "
@@ -2014,7 +2064,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:852
+#: Configuration.xml:874
#, no-c-format
msgid ""
"<![CDATA[<container-cache-conf>\n"
@@ -2039,7 +2089,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:854
+#: Configuration.xml:876
#, no-c-format
msgid ""
"The default HTTP session timeout can be modified in <literal>server/default/"
@@ -2050,7 +2100,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:859
+#: Configuration.xml:881
#, no-c-format
msgid ""
"<![CDATA[<session-config>\n"
@@ -2060,7 +2110,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:861
+#: Configuration.xml:883
#, no-c-format
msgid ""
"To override this value for your own application, simply include this entry "
@@ -2068,13 +2118,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:867
+#: Configuration.xml:889
#, no-c-format
msgid "Running Seam in a Portlet"
msgstr ""
#. Tag: para
-#: Configuration.xml:869
+#: Configuration.xml:891
#, no-c-format
msgid ""
"If you want to run your Seam application in a portlet, take a look at the "
@@ -2085,13 +2135,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:880
+#: Configuration.xml:902
#, no-c-format
msgid "Deploying custom resources"
msgstr ""
#. Tag: para
-#: Configuration.xml:882
+#: Configuration.xml:904
#, no-c-format
msgid ""
"Seam scans all jars containing <literal>/seam.properties</literal>, "
@@ -2102,7 +2152,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:889
+#: Configuration.xml:911
#, no-c-format
msgid ""
"You may also want Seam to handle custom resources. A common use case is to "
@@ -2112,7 +2162,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:896
+#: Configuration.xml:918
#, no-c-format
msgid ""
"<![CDATA[# A colon-separated list of annotation types to handle\n"
@@ -2120,7 +2170,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:898
+#: Configuration.xml:920
#, no-c-format
msgid ""
"Then, during application startup you can get hold of all classes annotated "
@@ -2128,7 +2178,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:903
+#: Configuration.xml:925
#, no-c-format
msgid ""
"<![CDATA[@Name(\"fooStartup\")\n"
@@ -2160,7 +2210,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:905
+#: Configuration.xml:927
#, no-c-format
msgid ""
"You can also handle <emphasis>any</emphasis> resource. For example, you "
@@ -2169,7 +2219,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:911
+#: Configuration.xml:933
#, no-c-format
msgid ""
"<![CDATA[public class FooDeploymentHandler implements DeploymentHandler {\n"
@@ -2193,7 +2243,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:913
+#: Configuration.xml:935
#, no-c-format
msgid ""
"Here we are just building a list of any files with the suffix <literal>.foo."
@@ -2201,7 +2251,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:918
+#: Configuration.xml:940
#, no-c-format
msgid ""
"Then, we need to register the deployment handler with Seam in <literal>/META-"
@@ -2210,7 +2260,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:925
+#: Configuration.xml:947
#, no-c-format
msgid ""
"<![CDATA[# For standard deployment\n"
@@ -2221,7 +2271,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:931
+#: Configuration.xml:953
#, no-c-format
msgid ""
"Seam uses deployment handlers internally to install components and "
@@ -2230,7 +2280,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:937
+#: Configuration.xml:959
#, no-c-format
msgid ""
"<![CDATA[@Name(\"fooStartup\")\n"
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Controls.pot
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Controls.pot 2009-08-26 19:14:02 UTC (rev 11432)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Controls.pot 2009-08-26 19:19:33 UTC (rev 11433)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-08-22 13:17+0000\n"
+"POT-Creation-Date: 2009-08-26 18:47+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Conversations.pot
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Conversations.pot 2009-08-26 19:14:02 UTC (rev 11432)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Conversations.pot 2009-08-26 19:19:33 UTC (rev 11433)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-08-22 13:17+0000\n"
+"POT-Creation-Date: 2009-08-26 18:47+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Dependencies.pot
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Dependencies.pot 2009-08-26 19:14:02 UTC (rev 11432)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Dependencies.pot 2009-08-26 19:19:33 UTC (rev 11433)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-08-22 13:17+0000\n"
+"POT-Creation-Date: 2009-08-26 18:48+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Drools.pot
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Drools.pot 2009-08-26 19:14:02 UTC (rev 11432)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Drools.pot 2009-08-26 19:19:33 UTC (rev 11433)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-08-22 13:17+0000\n"
+"POT-Creation-Date: 2009-08-26 18:48+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Elenhancements.pot
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Elenhancements.pot 2009-08-26 19:14:02 UTC (rev 11432)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Elenhancements.pot 2009-08-26 19:19:33 UTC (rev 11433)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-08-22 13:17+0000\n"
+"POT-Creation-Date: 2009-08-26 18:48+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Events.pot
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Events.pot 2009-08-26 19:14:02 UTC (rev 11432)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Events.pot 2009-08-26 19:19:33 UTC (rev 11433)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-08-22 13:17+0000\n"
+"POT-Creation-Date: 2009-08-26 18:48+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Excel.pot
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Excel.pot 2009-08-26 19:14:02 UTC (rev 11432)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Excel.pot 2009-08-26 19:19:33 UTC (rev 11433)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-08-22 13:17+0000\n"
+"POT-Creation-Date: 2009-08-26 18:48+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Feedback.pot
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Feedback.pot 2009-08-26 19:14:02 UTC (rev 11432)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Feedback.pot 2009-08-26 19:19:33 UTC (rev 11433)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-08-22 13:17+0000\n"
+"POT-Creation-Date: 2009-08-26 18:48+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Framework.pot
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Framework.pot 2009-08-26 19:14:02 UTC (rev 11432)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Framework.pot 2009-08-26 19:19:33 UTC (rev 11433)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-08-22 13:17+0000\n"
+"POT-Creation-Date: 2009-08-26 18:48+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Getting_Started_With_JBoss_Tools.pot
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Getting_Started_With_JBoss_Tools.pot 2009-08-26 19:14:02 UTC (rev 11432)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Getting_Started_With_JBoss_Tools.pot 2009-08-26 19:19:33 UTC (rev 11433)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-08-22 13:17+0000\n"
+"POT-Creation-Date: 2009-08-26 18:48+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Gettingstarted.pot
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Gettingstarted.pot 2009-08-26 19:14:02 UTC (rev 11432)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Gettingstarted.pot 2009-08-26 19:19:33 UTC (rev 11433)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-08-22 13:17+0000\n"
+"POT-Creation-Date: 2009-08-26 18:48+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Glassfish.pot
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Glassfish.pot 2009-08-26 19:14:02 UTC (rev 11432)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Glassfish.pot 2009-08-26 19:19:33 UTC (rev 11433)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-08-22 13:17+0000\n"
+"POT-Creation-Date: 2009-08-26 18:48+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Groovy.pot
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Groovy.pot 2009-08-26 19:14:02 UTC (rev 11432)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Groovy.pot 2009-08-26 19:19:33 UTC (rev 11433)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-08-22 13:17+0000\n"
+"POT-Creation-Date: 2009-08-26 18:48+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Guice.pot
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Guice.pot 2009-08-26 19:14:02 UTC (rev 11432)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Guice.pot 2009-08-26 19:19:33 UTC (rev 11433)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-08-22 13:17+0000\n"
+"POT-Creation-Date: 2009-08-26 18:48+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Gwt.pot
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Gwt.pot 2009-08-26 19:14:02 UTC (rev 11432)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Gwt.pot 2009-08-26 19:19:33 UTC (rev 11433)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-08-22 13:17+0000\n"
+"POT-Creation-Date: 2009-08-26 18:48+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Hsearch.pot
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Hsearch.pot 2009-08-26 19:14:02 UTC (rev 11432)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Hsearch.pot 2009-08-26 19:19:33 UTC (rev 11433)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-08-22 13:17+0000\n"
+"POT-Creation-Date: 2009-08-26 18:48+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/I18n.pot
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/I18n.pot 2009-08-26 19:14:02 UTC (rev 11432)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/I18n.pot 2009-08-26 19:19:33 UTC (rev 11433)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-08-22 13:17+0000\n"
+"POT-Creation-Date: 2009-08-26 18:48+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Itext.pot
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Itext.pot 2009-08-26 19:14:02 UTC (rev 11432)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Itext.pot 2009-08-26 19:19:33 UTC (rev 11433)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-08-22 13:17+0000\n"
+"POT-Creation-Date: 2009-08-26 18:48+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Jbpm.pot
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Jbpm.pot 2009-08-26 19:14:02 UTC (rev 11432)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Jbpm.pot 2009-08-26 19:19:33 UTC (rev 11433)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-08-22 13:17+0000\n"
+"POT-Creation-Date: 2009-08-26 18:48+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Jms.pot
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Jms.pot 2009-08-26 19:14:02 UTC (rev 11432)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Jms.pot 2009-08-26 19:19:33 UTC (rev 11433)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-08-22 13:17+0000\n"
+"POT-Creation-Date: 2009-08-26 18:48+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Mail.pot
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Mail.pot 2009-08-26 19:14:02 UTC (rev 11432)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Mail.pot 2009-08-26 19:19:33 UTC (rev 11433)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-08-22 13:17+0000\n"
+"POT-Creation-Date: 2009-08-26 18:48+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Performance.pot
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Performance.pot 2009-08-26 19:14:02 UTC (rev 11432)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Performance.pot 2009-08-26 19:19:33 UTC (rev 11433)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-08-22 13:17+0000\n"
+"POT-Creation-Date: 2009-08-26 18:48+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Persistence.pot
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Persistence.pot 2009-08-26 19:14:02 UTC (rev 11432)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Persistence.pot 2009-08-26 19:19:33 UTC (rev 11433)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-08-22 13:17+0000\n"
+"POT-Creation-Date: 2009-08-26 18:48+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Preface.pot
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Preface.pot 2009-08-26 19:14:02 UTC (rev 11432)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Preface.pot 2009-08-26 19:19:33 UTC (rev 11433)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-08-22 13:17+0000\n"
+"POT-Creation-Date: 2009-08-26 18:48+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Remoting.pot
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Remoting.pot 2009-08-26 19:14:02 UTC (rev 11432)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Remoting.pot 2009-08-26 19:19:33 UTC (rev 11433)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-08-22 13:17+0000\n"
+"POT-Creation-Date: 2009-08-26 18:48+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Revision_History.pot
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Revision_History.pot 2009-08-26 19:14:02 UTC (rev 11432)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Revision_History.pot 2009-08-26 19:19:33 UTC (rev 11433)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-08-22 13:17+0000\n"
+"POT-Creation-Date: 2009-08-26 18:48+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Rss.pot
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Rss.pot 2009-08-26 19:14:02 UTC (rev 11432)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Rss.pot 2009-08-26 19:19:33 UTC (rev 11433)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-08-22 13:17+0000\n"
+"POT-Creation-Date: 2009-08-26 18:48+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Security.pot
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Security.pot 2009-08-26 19:14:02 UTC (rev 11432)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Security.pot 2009-08-26 19:19:33 UTC (rev 11433)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-08-22 13:17+0000\n"
+"POT-Creation-Date: 2009-08-26 18:48+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Spring.pot
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Spring.pot 2009-08-26 19:14:02 UTC (rev 11432)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Spring.pot 2009-08-26 19:19:33 UTC (rev 11433)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-08-22 13:17+0000\n"
+"POT-Creation-Date: 2009-08-26 18:48+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Testing.pot
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Testing.pot 2009-08-26 19:14:02 UTC (rev 11432)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Testing.pot 2009-08-26 19:19:33 UTC (rev 11433)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-08-22 13:17+0000\n"
+"POT-Creation-Date: 2009-08-26 18:48+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Text.pot
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Text.pot 2009-08-26 19:14:02 UTC (rev 11432)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Text.pot 2009-08-26 19:19:33 UTC (rev 11433)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-08-22 13:17+0000\n"
+"POT-Creation-Date: 2009-08-26 18:48+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Tools.pot
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Tools.pot 2009-08-26 19:14:02 UTC (rev 11432)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Tools.pot 2009-08-26 19:19:33 UTC (rev 11433)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-08-22 13:17+0000\n"
+"POT-Creation-Date: 2009-08-26 18:48+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Tutorial.pot
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Tutorial.pot 2009-08-26 19:14:02 UTC (rev 11432)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Tutorial.pot 2009-08-26 19:19:33 UTC (rev 11433)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-08-22 13:17+0000\n"
+"POT-Creation-Date: 2009-08-26 18:48+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Validation.pot
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Validation.pot 2009-08-26 19:14:02 UTC (rev 11432)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Validation.pot 2009-08-26 19:19:33 UTC (rev 11433)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-08-22 13:17+0000\n"
+"POT-Creation-Date: 2009-08-26 18:48+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Weblogic.pot
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Weblogic.pot 2009-08-26 19:14:02 UTC (rev 11432)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Weblogic.pot 2009-08-26 19:19:33 UTC (rev 11433)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-08-22 13:17+0000\n"
+"POT-Creation-Date: 2009-08-26 18:48+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Webservices.pot
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Webservices.pot 2009-08-26 19:14:02 UTC (rev 11432)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Webservices.pot 2009-08-26 19:19:33 UTC (rev 11433)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-08-22 13:17+0000\n"
+"POT-Creation-Date: 2009-08-26 18:48+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
@@ -393,48 +393,56 @@
#: Webservices.xml:186
#, no-c-format
msgid ""
-"The URI starts with the pattern mapped in <literal>web.xml</literal> for the "
+"The URI starts with the host and context path of your application, e.g. "
+"<literal>http://your.hostname/myapp</literal>."
+msgstr ""
+
+#. Tag: para
+#: Webservices.xml:192
+#, no-c-format
+msgid ""
+"Then the pattern mapped in <literal>web.xml</literal> for the "
"<literal>SeamResourceServlet</literal>, e.g <literal>/seam/resource</"
-"literal> if you follow the common examples. Change this setting to expose "
-"your RESTful resources under a different base. Note that this is a global "
-"change and other Seam resources (e.g. <literal>s:graphicImage</literal>) are "
-"then also served under that base path."
+"literal> if you follow the common examples, is appended. Change this setting "
+"to expose your RESTful resources under a different base. Note that this is a "
+"global change and other Seam resources (e.g. <literal>s:graphicImage</"
+"literal>) are then also served under that base path."
msgstr ""
#. Tag: para
-#: Webservices.xml:195
+#: Webservices.xml:201
#, no-c-format
msgid ""
"The RESTEasy integration for Seam then appends a configurable string to the "
"base path, by default this is <literal>/rest</literal>. Hence, the full base "
-"path of your resources would e.g. be <literal>/seam/resource/rest</literal>. "
-"We recommend that you change this string in your application, you could for "
-"example add a version number to prepare for a future REST API upgrade of "
-"your services (old clients would keep the old URI base): <literal>/seam/"
-"resource/restv1</literal>."
+"path of your resources would e.g. be <literal>/myapp/seam/resource/rest</"
+"literal>. We recommend that you change this string in your application, you "
+"could for example add a version number to prepare for a future REST API "
+"upgrade of your services (old clients would keep the old URI base): "
+"<literal>/myapp/seam/resource/restv1</literal>."
msgstr ""
#. Tag: para
-#: Webservices.xml:204
+#: Webservices.xml:210
#, no-c-format
msgid ""
"Finally, the actual resource is available under the defined <literal>@Path</"
"literal>, e.g. a resource mapped with <literal>@Path(\"/customer\")</"
-"literal> would be available under <literal>/seam/resource/rest/customer</"
-"literal>."
+"literal> would be available under <literal>/myapp/seam/resource/rest/"
+"customer</literal>."
msgstr ""
#. Tag: para
-#: Webservices.xml:212
+#: Webservices.xml:218
#, no-c-format
msgid ""
"As an example, the following resource definition would return a plaintext "
"representation for any GET requests using the URI <literal>http://your."
-"hostname/seam/resource/rest/customer/123</literal>:"
+"hostname/myapp/seam/resource/rest/customer/123</literal>:"
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:217
+#: Webservices.xml:223
#, no-c-format
msgid ""
"<![CDATA[@Path(\"/customer\")\n"
@@ -451,7 +459,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:219
+#: Webservices.xml:225
#, no-c-format
msgid ""
"No additional configuration is required, you do not have to edit "
@@ -462,7 +470,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:225
+#: Webservices.xml:231
#, no-c-format
msgid ""
"<![CDATA[<components\n"
@@ -477,63 +485,39 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:227
+#: Webservices.xml:233
#, no-c-format
msgid ""
"You can then change the <literal>/rest</literal> prefix as mentioned earlier:"
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:231
+#: Webservices.xml:237
#, no-c-format
msgid "<![CDATA[<resteasy:application resource-path-prefix=\"/restv1\"/>]]>"
msgstr ""
#. Tag: para
-#: Webservices.xml:233
-#, no-c-format
-msgid ""
-"The full base path to your resources is now <literal>/seam/resource/restv1/"
-"{resource}</literal> - note that your <literal>@Path</literal> definitions "
-"and mappings do NOT change. This is an application-wide switch usually used "
-"for versioning of the HTTP API."
-msgstr ""
-
-#. Tag: para
#: Webservices.xml:239
#, no-c-format
msgid ""
-"You can disable stripping of the base path if you'd like to map the full "
-"path in your resources:"
+"The full base path to your resources is now <literal>/myapp/seam/resource/"
+"restv1/{resource}</literal> - note that your <literal>@Path</literal> "
+"definitions and mappings do NOT change. This is an application-wide switch "
+"usually used for versioning of the HTTP interface."
msgstr ""
-#. Tag: programlisting
-#: Webservices.xml:243
-#, no-c-format
-msgid "<![CDATA[<resteasy:application strip-seam-resource-path=\"false\"/>]]>"
-msgstr ""
-
#. Tag: para
#: Webservices.xml:245
#, no-c-format
msgid ""
-"The path of a resource is now mapped with e.g. <literal>@Path(\"/seam/"
-"resource/rest/customer\")</literal>. We do not recommend disabling this "
-"feature, as your resource class mappings are then bound to a particular "
-"deployment scenario."
-msgstr ""
-
-#. Tag: para
-#: Webservices.xml:251
-#, no-c-format
-msgid ""
"Seam will scan your classpath for any deployed <literal>@javax.ws.rs.Path</"
"literal> resources and any <literal>@javax.ws.rs.ext.Provider</literal> "
"classes. You can disable scanning and configure these classes manually:"
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:257
+#: Webservices.xml:251
#, no-c-format
msgid ""
"<![CDATA[<resteasy:application\n"
@@ -555,7 +539,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:259
+#: Webservices.xml:253
#, no-c-format
msgid ""
"The <literal>use-built-in-providers</literal> switch enables (default) or "
@@ -565,7 +549,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:265
+#: Webservices.xml:259
#, no-c-format
msgid ""
"RESTEasy supports plain EJBs (EJBs that are not Seam components) as "
@@ -577,20 +561,21 @@
"<literal>@Path</literal>, <literal>@GET</literal>, and so on - not the bean "
"implementation class. This allows you to keep your application deployment-"
"portable with the global Seam <literal>jndi-pattern</literal> switch on "
-"<literal><core:init/></literal>. Note that EJB resources will not be "
-"found even if scanning of resources is enabled, you always have to list them "
-"manually. Again, this is only relevant for EJB resources that are not also "
-"Seam components and that do not have a <literal>@Name</literal> annotation."
+"<literal><core:init/></literal>. Note that plain (non-Seam component) "
+"EJB resources will not be found even if scanning of resources is enabled, "
+"you always have to list them manually. Again, this whole paragraph is only "
+"relevant for EJB resources that are not also Seam components and that do not "
+"have an <literal>@Name</literal> annotation."
msgstr ""
#. Tag: para
-#: Webservices.xml:277
+#: Webservices.xml:272
#, no-c-format
msgid "Finally, you can configure media type and language URI extensions:"
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:281
+#: Webservices.xml:276
#, no-c-format
msgid ""
"<![CDATA[<resteasy:application>\n"
@@ -607,7 +592,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:283
+#: Webservices.xml:278
#, no-c-format
msgid ""
"This definition would map the URI suffix of <literal>.txt.deutsch</literal> "
@@ -617,13 +602,13 @@
msgstr ""
#. Tag: title
-#: Webservices.xml:292
+#: Webservices.xml:287
#, no-c-format
msgid "Resources and providers as Seam components"
msgstr ""
#. Tag: para
-#: Webservices.xml:294
+#: Webservices.xml:289
#, no-c-format
msgid ""
"Any resource and provider instances are managed by RESTEasy by default. That "
@@ -634,7 +619,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:301
+#: Webservices.xml:296
#, no-c-format
msgid ""
"You can write resources and providers as Seam components and benefit from "
@@ -643,7 +628,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:307
+#: Webservices.xml:302
#, no-c-format
msgid ""
"<![CDATA[@Name(\"customerResource\")\n"
@@ -664,7 +649,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:309
+#: Webservices.xml:304
#, no-c-format
msgid ""
"An instance of <literal>customerResource</literal> is now handled by Seam "
@@ -678,7 +663,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:318
+#: Webservices.xml:313
#, no-c-format
msgid ""
"You can annotate an interface and keep the implementation free from JAX-RS "
@@ -686,7 +671,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:322
+#: Webservices.xml:317
#, no-c-format
msgid ""
"<![CDATA[@Path(\"/customer\")\n"
@@ -701,7 +686,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:324
+#: Webservices.xml:319
#, no-c-format
msgid ""
"<![CDATA[@Name(\"customerResource\")\n"
@@ -719,7 +704,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:326
+#: Webservices.xml:321
#, no-c-format
msgid ""
"You can use <literal>SESSION</literal>-scoped Seam components. By default, "
@@ -734,7 +719,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:335
+#: Webservices.xml:330
#, no-c-format
msgid ""
"Assuming that your Seam application only uses event, application, or "
@@ -746,7 +731,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:342
+#: Webservices.xml:337
#, no-c-format
msgid ""
"If your RESTful Seam application has to preserve session state across REST "
@@ -754,14 +739,14 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:347
+#: Webservices.xml:342
#, no-c-format
msgid ""
"<![CDATA[<resteasy:application destroy-session-after-request=\"false\"/>]]>"
msgstr ""
#. Tag: para
-#: Webservices.xml:349
+#: Webservices.xml:344
#, no-c-format
msgid ""
"Every REST HTTP request will now create a new session that will only be "
@@ -772,7 +757,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:356
+#: Webservices.xml:351
#, no-c-format
msgid ""
"<literal>CONVERSATION</literal>-scoped resource components and mapping of "
@@ -781,7 +766,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:361
+#: Webservices.xml:356
#, no-c-format
msgid ""
"EJB Seam components are supported. Always annotate the local business "
@@ -790,7 +775,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:366
+#: Webservices.xml:361
#, no-c-format
msgid ""
"Provider classes can also be Seam components, only <literal>APPLICATION</"
@@ -800,13 +785,13 @@
msgstr ""
#. Tag: title
-#: Webservices.xml:375
+#: Webservices.xml:370
#, no-c-format
msgid "Securing resources"
msgstr ""
#. Tag: para
-#: Webservices.xml:377
+#: Webservices.xml:372
#, no-c-format
msgid ""
"You can enable the Seam authentication filter for HTTP Basic and Digest "
@@ -814,7 +799,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:382
+#: Webservices.xml:377
#, no-c-format
msgid ""
"<![CDATA[<web:authentication-filter url-pattern=\"/seam/resource/rest/*\" "
@@ -822,14 +807,14 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:384
+#: Webservices.xml:379
#, no-c-format
msgid ""
"See the Seam security chapter on how to write an authentication routine."
msgstr ""
#. Tag: para
-#: Webservices.xml:388
+#: Webservices.xml:383
#, no-c-format
msgid ""
"After successful authentication, authorization rules with the common "
@@ -840,13 +825,13 @@
msgstr ""
#. Tag: title
-#: Webservices.xml:398
+#: Webservices.xml:393
#, no-c-format
msgid "Mapping exceptions to HTTP responses"
msgstr ""
#. Tag: para
-#: Webservices.xml:400
+#: Webservices.xml:395
#, no-c-format
msgid ""
"Section 3.3.4 of the JAX-RS specification defines how checked or unchecked "
@@ -859,7 +844,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:408
+#: Webservices.xml:403
#, no-c-format
msgid ""
"Exception handling within Seam requires that the Seam filter is executed for "
@@ -871,7 +856,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:415
+#: Webservices.xml:410
#, no-c-format
msgid ""
"<![CDATA[<filter>\n"
@@ -886,7 +871,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:417
+#: Webservices.xml:412
#, no-c-format
msgid ""
"To convert the unchecked <literal>UnsupportedOperationException</literal> "
@@ -896,7 +881,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:423
+#: Webservices.xml:418
#, no-c-format
msgid ""
"<![CDATA[<exception class=\"java.lang.UnsupportedOperationException\">\n"
@@ -907,13 +892,13 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:425
+#: Webservices.xml:420
#, no-c-format
msgid "Custom or checked exceptions are handled the same:"
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:429
+#: Webservices.xml:424
#, no-c-format
msgid ""
"<![CDATA[<exception class=\"my.CustomException\" log=\"false\">\n"
@@ -925,7 +910,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:431
+#: Webservices.xml:426
#, no-c-format
msgid ""
"You do not have to send an HTTP error to the client if an exception occurs. "
@@ -936,7 +921,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:438
+#: Webservices.xml:433
#, no-c-format
msgid ""
"Note that the HTTP response still passes through the servlet container, so "
@@ -947,13 +932,13 @@
msgstr ""
#. Tag: title
-#: Webservices.xml:447
+#: Webservices.xml:442
#, no-c-format
msgid "Testing resources and providers"
msgstr ""
#. Tag: para
-#: Webservices.xml:449
+#: Webservices.xml:444
#, no-c-format
msgid ""
"Seam includes a unit testing utility class that helps you create unit tests "
@@ -963,7 +948,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:455
+#: Webservices.xml:450
#, no-c-format
msgid ""
"<![CDATA[import org.jboss.seam.mock.ResourceRequestEnvironment;\n"
@@ -1020,7 +1005,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:457
+#: Webservices.xml:452
#, no-c-format
msgid ""
"This test only executes local calls, it does not communicate with the "
@@ -1033,7 +1018,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:465
+#: Webservices.xml:460
#, no-c-format
msgid ""
"Note that a <literal>ResourceRequest</literal> has to be executed in a "
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Websphere.pot
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Websphere.pot 2009-08-26 19:14:02 UTC (rev 11432)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Websphere.pot 2009-08-26 19:19:33 UTC (rev 11433)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-08-22 13:17+0000\n"
+"POT-Creation-Date: 2009-08-26 18:48+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
@@ -77,25 +77,27 @@
#, no-c-format
msgid ""
"The following sections in this chapter assume that WebSphere is correctly "
-"installed and is functional, and a profile has been successfully created."
+"installed and is functional, and a WebSphere \"profile\" has been "
+"successfully created."
msgstr ""
#. Tag: para
#: Websphere.xml:40
#, no-c-format
msgid ""
-"This chapter explain how to compile, deploy and run some sample applications "
-"in WebSphere. These sample applications require a database. WebSphere comes "
-"by default with a set of sample applications called \"Default Application\". "
-"This set of sample applications use a Derby database running on the Derby "
-"instance installed with WebSphere. In order to keep this simple we'll use "
-"this Derby database created for the \"Default Applications\". However, to "
-"run the sample application with the Derby database \"as-is\", a patched "
-"Hibernate dialect must be used (The patch changes the default \"auto\" key "
-"generation strategy) as explained in <xref linkend=\"glassfish\"/>. If you "
-"want to use another database, it's just a matter of creating a connection "
-"pool in WebSphere pointing to this database, declare the correct Hibernate "
-"dialect and set the correct JNDI name in <literal>persistence.xml</literal>."
+"This chapter explains how to compile, deploy and run some sample "
+"applications in WebSphere. These sample applications require a database. "
+"WebSphere comes by default with a set of sample applications called "
+"\"Default Application\". This set of sample applications use a Derby "
+"database running on the Derby instance installed within WebSphere. In order "
+"to keep this simple we'll use this Derby database created for the \"Default "
+"Applications\". However, to run the sample application with the Derby "
+"database \"as-is\", a patched Hibernate dialect must be used (The patch "
+"changes the default \"auto\" key generation strategy) as explained in <xref "
+"linkend=\"glassfish\"/>. If you want to use another database, it's just a "
+"matter of creating a connection pool in WebSphere pointing to this database, "
+"declare the correct Hibernate dialect and set the correct JNDI name in "
+"<literal>persistence.xml</literal>."
msgstr ""
#. Tag: title
@@ -145,14 +147,14 @@
#, no-c-format
msgid ""
"On the right navigation menu, select <literal>Web Container Settings/Web "
-"container</literal>)"
+"container</literal>"
msgstr ""
#. Tag: listitem
#: Websphere.xml:73
#, no-c-format
msgid ""
-"On the right navigation menu, select <literal>custom properties</literal>) "
+"On the right navigation menu, select <literal>custom properties</literal> "
"and add the following properties:"
msgstr ""
@@ -171,7 +173,7 @@
#. Tag: listitem
#: Websphere.xml:84
#, no-c-format
-msgid "Save and restart the server"
+msgid "Save the configuration and restart the server"
msgstr ""
#. Tag: title
@@ -190,38 +192,38 @@
msgstr ""
#. Tag: listitem
-#: Websphere.xml:97
+#: Websphere.xml:96
#, no-c-format
msgid ""
"The global <literal>jndi-pattern</literal> switch on the <literal><core:"
-"init></literal>. in <literal>components.xml</literal>. The switch can use "
-"a special placeholder \"<literal>#{ejbName}</literal>\" that resolves to the "
-"unqualified name of the EJB"
+"init></literal>tag in <literal>components.xml</literal>. The switch can "
+"use a special placeholder \"<literal>#{ejbName}</literal>\" that resolves to "
+"the unqualified name of the EJB"
msgstr ""
#. Tag: para
-#: Websphere.xml:102
+#: Websphere.xml:100
#, no-c-format
msgid "The <literal>@JndiName</literal> annotation"
msgstr ""
#. Tag: para
-#: Websphere.xml:108
+#: Websphere.xml:106
#, no-c-format
msgid "gives detailed explanations on how those mechanisms work."
msgstr ""
#. Tag: para
-#: Websphere.xml:112
+#: Websphere.xml:110
#, no-c-format
msgid ""
-"By default, WebSphere will bind the session bean in its local JNDI name "
-"space under a \"short\" binding name that adheres to the following pattern "
+"By default, WebSphere will bind session beans in its local JNDI name space "
+"under a \"short\" binding name that adheres to the following pattern "
"<literal>ejblocal:<package.qualified.local.interface.name></literal>."
msgstr ""
#. Tag: para
-#: Websphere.xml:117
+#: Websphere.xml:115
#, no-c-format
msgid ""
"For a detailed description on how WebSphere v7 organizes and binds EJBs in "
@@ -229,7 +231,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:120
+#: Websphere.xml:118
#, no-c-format
msgid ""
"As explained before, Seam needs to lookup for session bean as they appear in "
@@ -237,35 +239,35 @@
msgstr ""
#. Tag: listitem
-#: Websphere.xml:124
+#: Websphere.xml:121
#, no-c-format
msgid ""
"Specify which JNDI name Seam must use for each session bean using the "
-"<literal>@JndiName</literal> annotation in the java source file"
+"<literal>@JndiName</literal> annotation in the java source file,"
msgstr ""
#. Tag: listitem
-#: Websphere.xml:127
+#: Websphere.xml:123
#, no-c-format
msgid ""
"Override the default session bean names generated by WebSphere to conform to "
-"the <literal>jndi-pattern</literal> attribute"
+"the <literal>jndi-pattern</literal> attribute,"
msgstr ""
#. Tag: listitem
-#: Websphere.xml:130
+#: Websphere.xml:126
#, no-c-format
-msgid "Use EJB references"
+msgid "Use EJB references."
msgstr ""
#. Tag: title
-#: Websphere.xml:137
+#: Websphere.xml:133
#, no-c-format
msgid "Strategy 1: Specify which JNDI name Seam must use for each Session Bean"
msgstr ""
#. Tag: para
-#: Websphere.xml:138
+#: Websphere.xml:134
#, no-c-format
msgid ""
"This strategy is the simplest and fastest one regarding development. It uses "
@@ -273,7 +275,7 @@
msgstr ""
#. Tag: listitem
-#: Websphere.xml:141
+#: Websphere.xml:137
#, no-c-format
msgid ""
"Add a <literal>@JndiName(\"ejblocal:<package.qualified.local.interface."
@@ -281,20 +283,20 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:145 Websphere.xml:188
+#: Websphere.xml:141 Websphere.xml:184
#, no-c-format
msgid ""
"<para>In <literal>components.xml</literal>, add the following line:</para>"
msgstr ""
#. Tag: programlisting
-#: Websphere.xml:147 Websphere.xml:220
+#: Websphere.xml:143 Websphere.xml:216
#, no-c-format
msgid "<![CDATA[<core:init jndi-name=\"java:comp/env/#{ejbName}\" />]]>"
msgstr ""
#. Tag: para
-#: Websphere.xml:151
+#: Websphere.xml:147
#, no-c-format
msgid ""
"Add a file named <literal>WEB-INF/classes/seam-jndi.properties</literal> in "
@@ -302,7 +304,7 @@
msgstr ""
#. Tag: programlisting
-#: Websphere.xml:153
+#: Websphere.xml:149
#, no-c-format
msgid ""
"com.ibm.websphere.naming.hostname.normalizer=com.ibm.ws.naming.util."
@@ -324,13 +326,13 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:157
+#: Websphere.xml:153
#, no-c-format
msgid "At the end of <literal>web.xml</literal>, add the following lines:"
msgstr ""
#. Tag: programlisting
-#: Websphere.xml:159
+#: Websphere.xml:155
#, no-c-format
msgid ""
"<![CDATA[<ejb-local-ref>\n"
@@ -342,7 +344,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:164
+#: Websphere.xml:160
#, no-c-format
msgid ""
"That's all folks! No need to update any file during the development, nor to "
@@ -350,23 +352,23 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:167
+#: Websphere.xml:163
#, no-c-format
msgid ""
-"Compared to the other strategies, this strategy has the advantage not to "
-"have to manage any EJBs reference and also not to have to maintain extra "
+"Compared to the other strategies, this strategy has the advantage to not "
+"have to manage any EJBs reference and also to not have to maintain extra "
"files. The only drawback is one extra line in the java source code with the "
"<literal>@JndiName</literal> annotation"
msgstr ""
#. Tag: title
-#: Websphere.xml:174
+#: Websphere.xml:170
#, no-c-format
msgid "Strategy 2: Override the default names generated by WebSphere"
msgstr ""
#. Tag: section
-#: Websphere.xml:174
+#: Websphere.xml:170
#, no-c-format
msgid ""
"There is no simple way to globally override the default naming strategy for "
@@ -375,13 +377,13 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:177
+#: Websphere.xml:173
#, no-c-format
msgid "To use this strategy:"
msgstr ""
#. Tag: para
-#: Websphere.xml:181
+#: Websphere.xml:177
#, no-c-format
msgid ""
"Add a file named <literal>META-INF/ibm-ejb-jar-ext.xml</literal> in the EJB "
@@ -406,13 +408,13 @@
msgstr ""
#. Tag: programlisting
-#: Websphere.xml:190
+#: Websphere.xml:186
#, no-c-format
msgid "<![CDATA[<core:init jndi-name=\"ejblocal:#{ejbName}\" />]]>"
msgstr ""
#. Tag: para
-#: Websphere.xml:194
+#: Websphere.xml:190
#, no-c-format
msgid ""
"Add a file named <literal>WEB-INF/classes/seam-jndi.properties</literal> as "
@@ -420,7 +422,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:199
+#: Websphere.xml:195
#, no-c-format
msgid ""
"In <literal>web.xml</literal>, add the following lines (Note the different "
@@ -428,7 +430,7 @@
msgstr ""
#. Tag: programlisting
-#: Websphere.xml:201
+#: Websphere.xml:197
#, no-c-format
msgid ""
"<![CDATA[<ejb-local-ref>\n"
@@ -440,7 +442,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:206
+#: Websphere.xml:202
#, no-c-format
msgid ""
"Compared to the first strategy, this strategy requires to maintain an extra "
@@ -450,13 +452,13 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:215
+#: Websphere.xml:211
#, no-c-format
msgid "Strategy 3: Use EJB references"
msgstr ""
#. Tag: section
-#: Websphere.xml:215
+#: Websphere.xml:211
#, no-c-format
msgid ""
"This strategy is based on the usage of EJB references, from EJB to EJB and "
@@ -464,7 +466,7 @@
msgstr ""
#. Tag: listitem
-#: Websphere.xml:218
+#: Websphere.xml:214
#, no-c-format
msgid ""
"<listitem>In <literal>components.xml</literal>, add the following line:</"
@@ -472,7 +474,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:223
+#: Websphere.xml:219
#, no-c-format
msgid ""
"Follow the instructions in <xref linkend=\"config.integration.ejb.container"
@@ -480,7 +482,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:228
+#: Websphere.xml:224
#, no-c-format
msgid ""
"This is the most tedious strategy as each session bean referenced by another "
@@ -490,27 +492,27 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:239
+#: Websphere.xml:235
#, no-c-format
msgid "Configuring timeouts for Stateful Session Beans"
msgstr ""
#. Tag: para
-#: Websphere.xml:240
+#: Websphere.xml:236
#, no-c-format
msgid ""
"A timeout value has to be set for each stateful session bean used in the "
"application because stateful bean must not expire in WebSphere while Seam "
-"might still need thenm. At the time of writing this document, WebSphere does "
+"might still need them. At the time of writing this document, WebSphere does "
"not provide a way to configure a global timeout at neither the cluster, "
"server, application nor ejb-jar level. It has to be done for each stateful "
-"bean individually. This is done by adding a file named <literal>META-INF/ibm-"
-"ejb-jar-ext.xml</literal> in the EJB module, and declare the timeout value "
-"for each bean:"
+"bean individually. By default, the default timeout is 10 minutes. This is "
+"done by adding a file named <literal>META-INF/ibm-ejb-jar-ext.xml</literal> "
+"in the EJB module, and declare the timeout value for each bean:"
msgstr ""
#. Tag: programlisting
-#: Websphere.xml:246
+#: Websphere.xml:242
#, no-c-format
msgid ""
"<![CDATA[<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
@@ -530,24 +532,24 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:248
+#: Websphere.xml:244
#, no-c-format
msgid ""
"The <literal>time-out</literal> is expressed in seconds and must be higher "
"than the Seam conversation expiration timeout and a few minutes higher than "
"the user's HTTP session timeout (The session expiration timeout can trigger "
-"a few minutes after the number of minutes declared to expire s for the HTTP "
-"session expiration)."
+"a few minutes after the number of minutes declared to expire the HTTP "
+"session)."
msgstr ""
#. Tag: title
-#: Websphere.xml:257
+#: Websphere.xml:253
#, no-c-format
msgid "The <literal>jee5/booking</literal> example"
msgstr ""
#. Tag: para
-#: Websphere.xml:259
+#: Websphere.xml:255
#, no-c-format
msgid ""
"The<literal>jee5/booking</literal>example is based on the Hotel Booking "
@@ -558,23 +560,32 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:265
+#: Websphere.xml:261
#, no-c-format
msgid ""
-"For running this example, we'll use the second JNDI mapping strategy "
-"(\"Override the default names generated by WebSphere\") as we don't want to "
-"change the java code to add the <literal>@JndiName</literal> annotation as "
-"in the first strategy."
+"The example already has a breakout of configurations and build scripts for "
+"WebSphere. First thing, we are going to do is build and deploy this example. "
+"Then we'll go over some key changes that we needed."
msgstr ""
+#. Tag: para
+#: Websphere.xml:266
+#, no-c-format
+msgid ""
+"The tailored configuration files for WebSphere use the second JNDI mapping "
+"strategy (\"Override the default names generated by WebSphere\") as the goal "
+"was to not change any java code to add the <literal>@JndiName</literal> "
+"annotation as in the first strategy."
+msgstr ""
+
#. Tag: title
-#: Websphere.xml:271
+#: Websphere.xml:272
#, no-c-format
msgid "Building the <literal>jee5/booking</literal> example"
msgstr ""
#. Tag: para
-#: Websphere.xml:273
+#: Websphere.xml:274
#, no-c-format
msgid ""
"Building it only requires running the correct ant command: "
@@ -584,21 +595,21 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:280
+#: Websphere.xml:281
#, no-c-format
msgid "Deploying the <literal>jee5/booking</literal> example"
msgstr ""
#. Tag: para
-#: Websphere.xml:281
+#: Websphere.xml:282
#, no-c-format
msgid ""
-"The steps below are for the WAS version stated above.The ports are default "
-"values, if you changed them, you must substitute the values."
+"The steps below are for the WAS version stated above.The ports are the "
+"default values, if you changed them, you must substitute the values."
msgstr ""
#. Tag: listitem
-#: Websphere.xml:284
+#: Websphere.xml:285
#, no-c-format
msgid ""
"Log in to the administration console <programlisting><![CDATA[http://"
@@ -607,7 +618,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:291
+#: Websphere.xml:292
#, no-c-format
msgid ""
"Go to the <literal>WebSphere enterprise applications</literal> menu option "
@@ -616,7 +627,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:298
+#: Websphere.xml:299
#, no-c-format
msgid ""
"At the top of the <literal>Enterprise Applications</literal> table select "
@@ -625,13 +636,13 @@
msgstr ""
#. Tag: literal
-#: Websphere.xml:304
+#: Websphere.xml:305
#, no-c-format
msgid "Preparing for the application installation"
msgstr ""
#. Tag: para
-#: Websphere.xml:307
+#: Websphere.xml:308
#, no-c-format
msgid ""
"Browse to the <literal>examples/jee5/booking/dist-websphere7/jboss-seam-jee5."
@@ -639,25 +650,25 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:313 Websphere.xml:323 Websphere.xml:341
+#: Websphere.xml:314 Websphere.xml:324 Websphere.xml:342
#, no-c-format
msgid "Select the <literal>Next</literal> button."
msgstr ""
#. Tag: para
-#: Websphere.xml:318
+#: Websphere.xml:319
#, no-c-format
msgid "Select the <literal>Fast Path</literal> button."
msgstr ""
#. Tag: literal
-#: Websphere.xml:332
+#: Websphere.xml:333
#, no-c-format
msgid "Select installation options"
msgstr ""
#. Tag: para
-#: Websphere.xml:335
+#: Websphere.xml:336
#, no-c-format
msgid ""
"Select the <literal>Deploy enterprise beans and Allow EJB reference targets "
@@ -666,13 +677,13 @@
msgstr ""
#. Tag: literal
-#: Websphere.xml:350
+#: Websphere.xml:351
#, no-c-format
msgid "Map modules to servers"
msgstr ""
#. Tag: para
-#: Websphere.xml:353
+#: Websphere.xml:354
#, no-c-format
msgid ""
"No changes needed here as we only have one server. Select the <literal>Next</"
@@ -680,13 +691,13 @@
msgstr ""
#. Tag: literal
-#: Websphere.xml:362
+#: Websphere.xml:363
#, no-c-format
msgid "Map virtual hosts for Web modules"
msgstr ""
#. Tag: para
-#: Websphere.xml:365
+#: Websphere.xml:366
#, no-c-format
msgid ""
"No changes needed here as we only have one virtual host. Select the "
@@ -694,31 +705,31 @@
msgstr ""
#. Tag: literal
-#: Websphere.xml:374
+#: Websphere.xml:375
#, no-c-format
msgid "Summary"
msgstr ""
#. Tag: para
-#: Websphere.xml:377
+#: Websphere.xml:378
#, no-c-format
msgid "No changes needed here. Select the <literal>Finish</literal> button."
msgstr ""
#. Tag: literal
-#: Websphere.xml:384
+#: Websphere.xml:385
#, no-c-format
msgid "Installation"
msgstr ""
#. Tag: para
-#: Websphere.xml:387
+#: Websphere.xml:388
#, no-c-format
msgid "Now you will see WebSphere installing and deploying your application."
msgstr ""
#. Tag: para
-#: Websphere.xml:390
+#: Websphere.xml:391
#, no-c-format
msgid ""
"When done, select the <literal>Save</literal> link and you will be returned "
@@ -726,15 +737,15 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:399
+#: Websphere.xml:400
#, no-c-format
msgid ""
-"To start the application select our application in the list, then click on "
+"To start the application, select the application in the list, then click on "
"the <literal>Start</literal> button at the top of the table."
msgstr ""
#. Tag: para
-#: Websphere.xml:409
+#: Websphere.xml:410
#, no-c-format
msgid ""
"You can now access the application at <literal>http://localhost:9080/seam-"
@@ -742,13 +753,13 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:418
+#: Websphere.xml:419
#, no-c-format
msgid "Deviation from the original base files"
msgstr ""
#. Tag: section
-#: Websphere.xml:418
+#: Websphere.xml:419
#, no-c-format
msgid ""
"Below are the differences between the base configuration files and the "
@@ -757,7 +768,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:422
+#: Websphere.xml:423
#, no-c-format
msgid ""
"<literal>META-INF/ejb-jar.xml</literal> — Removed all the EJB "
@@ -765,37 +776,37 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:428
+#: Websphere.xml:429
#, no-c-format
msgid ""
"<literal>META-INF/ibm-ejb-jar-bnd.xml</literal> — This WebSphere "
"specific file has been added as we use the second JNDI mapping strategy. It "
-"defines, for each session bean, the name WebSphere will use to bind it its "
-"JNDI name space"
+"defines, for each session bean, the name WebSphere will use to bind it in "
+"its JNDI name space"
msgstr ""
#. Tag: para
-#: Websphere.xml:435
+#: Websphere.xml:436
#, no-c-format
msgid ""
"<literal>META-INF/ibm-ejb-jar-ext.xml</literal> — This WebSphere "
-"specific file defines to WebSphere, the timeout value for each stateful bean"
+"specific file defines the timeout value for each stateful bean"
msgstr ""
#. Tag: para
-#: Websphere.xml:441
+#: Websphere.xml:442
#, no-c-format
msgid ""
"<literal>META-INF/persistence.xml</literal> — The main changes here "
"are for the datasource JNDI path, switching to the WebSphere transaction "
"manager lookup class, turning off the <literal>hibernate.transaction."
"flush_before_completion</literal> toggle, and forcing the Hibernate dialect "
-"to be <literal>GlassfishDerbyDialect</literal> how as using the integrated "
-"Derby database"
+"to be <literal>GlassfishDerbyDialect</literal> as we are using the "
+"integrated Derby database"
msgstr ""
#. Tag: para
-#: Websphere.xml:451
+#: Websphere.xml:452
#, no-c-format
msgid ""
"<literal>WEB-INF/components.xml</literal> — the change here is "
@@ -804,7 +815,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:459
+#: Websphere.xml:460
#, no-c-format
msgid ""
"<literal>WEB-INF/web.xml</literal> — Remove all the <literal>ejb-local "
@@ -814,7 +825,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:467 Websphere.xml:549
+#: Websphere.xml:468
#, no-c-format
msgid ""
"<literal>import.sql</literal> — due to the cutomized hibernate Derby "
@@ -823,7 +834,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:474
+#: Websphere.xml:475
#, no-c-format
msgid ""
"Also the build procedure has been changed to include the <literal>log4j.jar</"
@@ -832,13 +843,13 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:486
+#: Websphere.xml:487
#, no-c-format
msgid "The <literal>jpa</literal> booking example"
msgstr ""
#. Tag: para
-#: Websphere.xml:488
+#: Websphere.xml:489
#, no-c-format
msgid ""
"This is the Hotel Booking example implemented in Seam POJOs and using "
@@ -846,7 +857,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:493
+#: Websphere.xml:494
#, no-c-format
msgid ""
"The example already has a breakout of configurations and build scripts for "
@@ -854,7 +865,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:498
+#: Websphere.xml:499
#, no-c-format
msgid ""
"First thing, we are going to do is build and deploy that example. Then we'll "
@@ -862,13 +873,13 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:504
+#: Websphere.xml:505
#, no-c-format
msgid "Building the <literal>jpa</literal> example"
msgstr ""
#. Tag: para
-#: Websphere.xml:505
+#: Websphere.xml:506
#, no-c-format
msgid ""
"Building it only requires running the correct ant command: "
@@ -878,13 +889,13 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:514
+#: Websphere.xml:515
#, no-c-format
msgid "Deploying the <literal>jpa</literal> example"
msgstr ""
#. Tag: para
-#: Websphere.xml:515
+#: Websphere.xml:516
#, no-c-format
msgid ""
"Deploying <literal>jpa</literal> application is very similar to the "
@@ -895,7 +906,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:521
+#: Websphere.xml:522
#, no-c-format
msgid ""
"Follow the same instructions as for the <literal>jee5/booking</literal> "
@@ -903,11 +914,11 @@
"literal> file on the first page and on the <literal>Map context roots for "
"Web modules</literal> page (after the <literal>Map virtual host for Web "
"module</literal>), enter the context root you want to use for your "
-"application in the <literal>Contect Root</literal> input field."
+"application in the <literal>Context Root</literal> input field."
msgstr ""
#. Tag: para
-#: Websphere.xml:528
+#: Websphere.xml:529
#, no-c-format
msgid ""
"When started, you can now access the application at the <literal>http://"
@@ -915,13 +926,13 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:534
+#: Websphere.xml:535
#, no-c-format
msgid "Deviation from the generic base files"
msgstr ""
#. Tag: section
-#: Websphere.xml:534
+#: Websphere.xml:535
#, no-c-format
msgid ""
"Below are the configuration file differences between the base configuration "
@@ -930,7 +941,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:539
+#: Websphere.xml:540
#, no-c-format
msgid ""
"<literal>META-INF/persistence.xml</literal> — The main changes here "
@@ -942,9 +953,18 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:556
+#: Websphere.xml:550
#, no-c-format
msgid ""
+"<literal>import.sql</literal> — due to the customized hibernate Derby "
+"dialect, the <literal>ID</literal> column can not be populated by this file "
+"and was removed."
+msgstr ""
+
+#. Tag: para
+#: Websphere.xml:557
+#, no-c-format
+msgid ""
"Also the build procedure have been changed to include the <literal>log4j."
"jar</literal> file and exclude the <literal>concurrent.jar</literal> and "
"<literal>jboss-common-core.jar</literal> files."
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Wicket.pot
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Wicket.pot 2009-08-26 19:14:02 UTC (rev 11432)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Wicket.pot 2009-08-26 19:19:33 UTC (rev 11433)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-08-22 13:17+0000\n"
+"POT-Creation-Date: 2009-08-26 18:48+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Xml.pot
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Xml.pot 2009-08-26 19:14:02 UTC (rev 11432)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Xml.pot 2009-08-26 19:19:33 UTC (rev 11433)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-08-22 13:17+0000\n"
+"POT-Creation-Date: 2009-08-26 18:48+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/pt-BR/Configuration.po
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/pt-BR/Configuration.po 2009-08-26 19:14:02 UTC (rev 11432)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/pt-BR/Configuration.po 2009-08-26 19:19:33 UTC (rev 11433)
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-05-05 12:31+0000\n"
+"POT-Creation-Date: 2009-08-26 18:47+0000\n"
"PO-Revision-Date: 2008-04-04 01:24+0000\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
@@ -677,13 +677,63 @@
msgstr ""
#. Tag: title
+#: Configuration.xml:325
+#, no-c-format
+msgid "Enabling HTTP cache-control headers"
+msgstr ""
+
+#. Tag: para
#: Configuration.xml:326
#, no-c-format
+msgid ""
+"Seam does <emphasis>not</emphasis> automatically add <literal>cache-control</"
+"literal> HTTP headers to any resources served by the Seam resource servlet, "
+"or directly from your view directory by the servlet container. This means "
+"that your images, Javascript and CSS files, and resource representations "
+"from Seam resource servlet such as Seam Remoting Javascript interfaces are "
+"usually not cached by the browser. This is convenient in development but "
+"should be changed in production when optimizing the application."
+msgstr ""
+
+#. Tag: para
+#: Configuration.xml:334
+#, no-c-format
+msgid ""
+"You can configure a Seam filter to enable automatic addition of "
+"<literal>cache-control</literal> headers depending on the requested URI in "
+"<literal>components.xml</literal>:"
+msgstr ""
+
+#. Tag: programlisting
+#: Configuration.xml:339
+#, no-c-format
+msgid ""
+"<![CDATA[<web:cache-control-filter name=\"commonTypesCacheControlFilter\"\n"
+" regex-url-pattern=\".*(\\.gif|\\.png|\\.jpg|\\."
+"jpeg|\\.css|\\.js)\"\n"
+" value=\"max-age=86400\"/> <!-- 1 day -->\n"
+"\n"
+"<web:cache-control-filter name=\"anotherCacheControlFilter\"\n"
+" url-pattern=\"/my/cachable/resources/*\"\n"
+" value=\"max-age=432000\"/> <!-- 5 days -->]]>"
+msgstr ""
+
+#. Tag: para
+#: Configuration.xml:341
+#, no-c-format
+msgid ""
+"You do not have to name the filters unless you have more than one filter "
+"enabled."
+msgstr ""
+
+#. Tag: title
+#: Configuration.xml:348
+#, no-c-format
msgid "Adding custom filters"
msgstr ""
#. Tag: para
-#: Configuration.xml:327
+#: Configuration.xml:349
#, no-c-format
msgid ""
"Seam can install your filters for you, allowing you to specify "
@@ -695,7 +745,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:332
+#: Configuration.xml:354
#, no-c-format
msgid ""
"<![CDATA[@Startup\n"
@@ -707,7 +757,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:334
+#: Configuration.xml:356
#, no-c-format
msgid ""
"Adding the <literal>@Startup</literal> annotation means thar the component "
@@ -718,13 +768,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:343
+#: Configuration.xml:365
#, no-c-format
msgid "Integrating Seam with your EJB container"
msgstr ""
#. Tag: para
-#: Configuration.xml:345
+#: Configuration.xml:367
#, no-c-format
msgid ""
"In a Seam application, EJB components have a certain duality, as they are "
@@ -735,7 +785,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:350
+#: Configuration.xml:372
#, no-c-format
msgid ""
"We need to apply the <literal>SeamInterceptor</literal> to our Seam EJB "
@@ -747,7 +797,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:355
+#: Configuration.xml:377
#, no-c-format
msgid ""
"<![CDATA[<interceptors>\n"
@@ -768,7 +818,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:357
+#: Configuration.xml:379
#, no-c-format
msgid ""
"Seam needs to know where to go to find session beans in JNDI. One way to do "
@@ -782,19 +832,19 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:364
+#: Configuration.xml:386
#, no-c-format
msgid "For JBoss AS, the following pattern is correct:"
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:366
+#: Configuration.xml:388
#, no-c-format
msgid "<![CDATA[<core:init jndi-name=\"earName/#{ejbName}/local\" />]]>"
msgstr ""
#. Tag: para
-#: Configuration.xml:368
+#: Configuration.xml:390
#, no-c-format
msgid ""
"In this case, <literal>earName</literal> is the name of the EAR in which the "
@@ -804,7 +854,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:372
+#: Configuration.xml:394
#, no-c-format
msgid ""
"Outside the context of an EAR (when using the JBoss Embeddable EJB3 "
@@ -813,13 +863,13 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:375
+#: Configuration.xml:397
#, no-c-format
msgid "<![CDATA[<core:init jndi-name=\"#{ejbName}/local\" />]]>"
msgstr ""
#. Tag: para
-#: Configuration.xml:377
+#: Configuration.xml:399
#, no-c-format
msgid ""
"How these JNDI names are resolved and somehow locate an EJB component might "
@@ -828,7 +878,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:381
+#: Configuration.xml:403
#, no-c-format
msgid ""
"The folks at JBoss don't care much for XML, if you can't tell. So when they "
@@ -839,14 +889,14 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:387
+#: Configuration.xml:409
#, no-c-format
msgid ""
"The value of the <literal><ejb-name></literal> element in ejb-jar.xml"
msgstr ""
#. Tag: para
-#: Configuration.xml:390
+#: Configuration.xml:412
#, no-c-format
msgid ""
"The value of the <literal>name</literal> attribute in the @Stateless or "
@@ -854,13 +904,13 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:393
+#: Configuration.xml:415
#, no-c-format
msgid "The simple name of the bean class"
msgstr ""
#. Tag: para
-#: Configuration.xml:397
+#: Configuration.xml:419
#, no-c-format
msgid ""
"Let's look at an example. Assume that you have the following EJB bean and "
@@ -868,7 +918,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:399
+#: Configuration.xml:421
#, no-c-format
msgid ""
"<![CDATA[package com.example.myapp;\n"
@@ -895,7 +945,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:401
+#: Configuration.xml:423
#, no-c-format
msgid ""
"Assuming your EJB bean class is deployed in an EAR named myapp, the global "
@@ -907,7 +957,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:407
+#: Configuration.xml:429
#, no-c-format
msgid ""
"So what about the rest of the application servers? Well, according to the "
@@ -919,7 +969,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:413
+#: Configuration.xml:435
#, no-c-format
msgid ""
"There are two places you have to define the EJB reference when using Seam on "
@@ -930,7 +980,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:418
+#: Configuration.xml:440
#, no-c-format
msgid ""
"<![CDATA[<ejb-local-ref>\n"
@@ -942,7 +992,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:420
+#: Configuration.xml:442
#, no-c-format
msgid ""
"This reference will cover most uses of the component in a Seam application. "
@@ -953,7 +1003,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:425
+#: Configuration.xml:447
#, no-c-format
msgid ""
"Within the context of an EJB method call, you have to deal with a somewhat "
@@ -970,7 +1020,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:434
+#: Configuration.xml:456
#, no-c-format
msgid ""
"For application servers that stubbornly adhere to the EJB specification, EJB "
@@ -982,7 +1032,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:439
+#: Configuration.xml:461
#, no-c-format
msgid ""
"Let's assume that we have an EJB named RegisterAction (the name is resolved "
@@ -991,7 +1041,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:442
+#: Configuration.xml:464
#, no-c-format
msgid ""
"<![CDATA[@In(create = true)\n"
@@ -1000,7 +1050,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:444
+#: Configuration.xml:466
#, no-c-format
msgid ""
"In order for this injection to work, the link must be established in the ejb-"
@@ -1008,7 +1058,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:446
+#: Configuration.xml:468
#, no-c-format
msgid ""
"<![CDATA[<ejb-jar>\n"
@@ -1031,7 +1081,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:448
+#: Configuration.xml:470
#, no-c-format
msgid ""
"Notice that the contents of the <literal><ejb-local-ref></literal> are "
@@ -1043,7 +1093,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:454
+#: Configuration.xml:476
#, no-c-format
msgid ""
"But what about <literal>@EJB</literal>? It's true that you can inject one "
@@ -1061,7 +1111,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:464
+#: Configuration.xml:486
#, no-c-format
msgid ""
"That covers how JNDI names are defined and used. The lesson is that with "
@@ -1074,7 +1124,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:470
+#: Configuration.xml:492
#, no-c-format
msgid ""
"<![CDATA[<core:init jndi-name=\"java:comp/env/earName/#{ejbName}/local\" />]]"
@@ -1082,7 +1132,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:472
+#: Configuration.xml:494
#, no-c-format
msgid ""
"Finally, let's talk about transactions. In an EJB3 environment, we recommend "
@@ -1094,19 +1144,19 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:479
+#: Configuration.xml:501
#, no-c-format
msgid "<![CDATA[<transaction:ejb-transaction/>]]>"
msgstr ""
#. Tag: title
-#: Configuration.xml:484
+#: Configuration.xml:506
#, no-c-format
msgid "Don't forget!"
msgstr ""
#. Tag: para
-#: Configuration.xml:486
+#: Configuration.xml:508
#, no-c-format
msgid ""
"There is one final item you need to know about. You must place a "
@@ -1118,7 +1168,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:491
+#: Configuration.xml:513
#, no-c-format
msgid ""
"In a web archive (WAR) file, you must place a <literal>seam.properties</"
@@ -1127,7 +1177,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:494
+#: Configuration.xml:516
#, no-c-format
msgid ""
"That's why all the Seam examples have an empty <literal>seam.properties</"
@@ -1136,7 +1186,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:497
+#: Configuration.xml:519
#, no-c-format
msgid ""
"You might think this is silly and what kind of idiot framework designers "
@@ -1148,13 +1198,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:508
+#: Configuration.xml:530
#, no-c-format
msgid "Using Alternate JPA Providers"
msgstr ""
#. Tag: para
-#: Configuration.xml:510
+#: Configuration.xml:532
#, no-c-format
msgid ""
"Seam comes packaged and configured with Hibernate as the default JPA "
@@ -1163,13 +1213,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:516
+#: Configuration.xml:538
#, no-c-format
msgid "This is a workaround"
msgstr ""
#. Tag: para
-#: Configuration.xml:517
+#: Configuration.xml:539
#, no-c-format
msgid ""
"Configuration of the JPA provider will be easier in the future and will not "
@@ -1178,7 +1228,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:524
+#: Configuration.xml:546
#, no-c-format
msgid ""
"Telling seam about a different JPA provider can be be done in one of two "
@@ -1186,7 +1236,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:525
+#: Configuration.xml:547
#, no-c-format
msgid ""
"Update your application's <literal>components.xml</literal> so that the "
@@ -1195,7 +1245,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:530
+#: Configuration.xml:552
#, no-c-format
msgid ""
"<![CDATA[<component name=\"org.jboss.seam.persistence.persistenceProvider"
@@ -1206,7 +1256,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:531
+#: Configuration.xml:553
#, no-c-format
msgid ""
"If you want to take advantage of your JPA provider's non-standard features "
@@ -1218,7 +1268,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:538
+#: Configuration.xml:560
#, no-c-format
msgid ""
"<![CDATA[<component name=\"org.jboss.seam.persistence.persistenceProvider"
@@ -1228,7 +1278,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:539
+#: Configuration.xml:561
#, no-c-format
msgid ""
"All that is left is updating the <literal>persistence.xml</literal> file "
@@ -1238,13 +1288,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:547
+#: Configuration.xml:569
#, no-c-format
msgid "Configuring Seam in Java EE 5"
msgstr ""
#. Tag: para
-#: Configuration.xml:558
+#: Configuration.xml:580
#, no-c-format
msgid ""
"If you're running in a Java EE 5 environment, this is all the configuration "
@@ -1252,14 +1302,14 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:561 Configuration.xml:656 Configuration.xml:794
-#: Configuration.xml:827
+#: Configuration.xml:583 Configuration.xml:678 Configuration.xml:816
+#: Configuration.xml:849
#, no-c-format
msgid "Packaging"
msgstr ""
#. Tag: para
-#: Configuration.xml:563
+#: Configuration.xml:585
#, no-c-format
msgid ""
"Once you've packaged all this stuff together into an EAR, the archive "
@@ -1267,7 +1317,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:566
+#: Configuration.xml:588
#, no-c-format
msgid ""
"<![CDATA[my-application.ear/\n"
@@ -1307,7 +1357,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:568
+#: Configuration.xml:590
#, no-c-format
msgid ""
"You should declare <literal>jboss-seam.jar</literal> as an ejb module in "
@@ -1316,7 +1366,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:573
+#: Configuration.xml:595
#, no-c-format
msgid ""
"If you want to use jBPM or Drools, you must include the needed jars in the "
@@ -1324,7 +1374,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:575
+#: Configuration.xml:597
#, no-c-format
msgid ""
"If you want to use facelets (our recommendation), you must include "
@@ -1333,7 +1383,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:578
+#: Configuration.xml:600
#, no-c-format
msgid ""
"If you want to use the Seam tag library (most Seam applications do), you "
@@ -1344,7 +1394,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:583
+#: Configuration.xml:605
#, no-c-format
msgid ""
"If you want to use the Seam debug page (only works for applications using "
@@ -1353,7 +1403,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:586
+#: Configuration.xml:608
#, no-c-format
msgid ""
"Seam ships with several example applications that are deployable in any Java "
@@ -1361,7 +1411,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:589
+#: Configuration.xml:611
#, no-c-format
msgid ""
"I really wish that was all there was to say on the topic of configuration "
@@ -1371,13 +1421,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:598
+#: Configuration.xml:620
#, no-c-format
msgid "Configuring Seam in J2EE"
msgstr ""
#. Tag: para
-#: Configuration.xml:600
+#: Configuration.xml:622
#, no-c-format
msgid ""
"Seam is useful even if you're not yet ready to take the plunge into EJB 3.0. "
@@ -1389,7 +1439,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:615
+#: Configuration.xml:637
#, no-c-format
msgid ""
"Seam JavaBean components do not provide declarative transaction demarcation "
@@ -1401,7 +1451,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:621
+#: Configuration.xml:643
#, no-c-format
msgid ""
"The Seam distribution includes a version of the booking example application "
@@ -1411,13 +1461,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:626
+#: Configuration.xml:648
#, no-c-format
msgid "Boostrapping Hibernate in Seam"
msgstr ""
#. Tag: para
-#: Configuration.xml:628
+#: Configuration.xml:650
#, no-c-format
msgid ""
"Seam will bootstrap a Hibernate <literal>SessionFactory</literal> from your "
@@ -1426,7 +1476,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:631
+#: Configuration.xml:653
#, no-c-format
msgid ""
"<![CDATA[<persistence:hibernate-session-factory name="
@@ -1434,7 +1484,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:633
+#: Configuration.xml:655
#, no-c-format
msgid ""
"You will also need to configure a <emphasis>managed session</emphasis> if "
@@ -1443,7 +1493,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:636
+#: Configuration.xml:658
#, no-c-format
msgid ""
"<![CDATA[<persistence:managed-hibernate-session name=\"hibernateSession\"\n"
@@ -1452,13 +1502,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:641
+#: Configuration.xml:663
#, no-c-format
msgid "Boostrapping JPA in Seam"
msgstr ""
#. Tag: para
-#: Configuration.xml:643
+#: Configuration.xml:665
#, no-c-format
msgid ""
"Seam will bootstrap a JPA <literal>EntityManagerFactory</literal> from your "
@@ -1467,7 +1517,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:646
+#: Configuration.xml:668
#, no-c-format
msgid ""
"<![CDATA[<persistence:entity-manager-factory name=\"entityManagerFactory\"/"
@@ -1475,7 +1525,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:648
+#: Configuration.xml:670
#, no-c-format
msgid ""
"You will also need to configure a <emphasis>managed persistence context</"
@@ -1484,7 +1534,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:651
+#: Configuration.xml:673
#, no-c-format
msgid ""
"<![CDATA[<persistence:managed-persistence-context name=\"entityManager\"\n"
@@ -1493,13 +1543,13 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:658
+#: Configuration.xml:680
#, no-c-format
msgid "We can package our application as a WAR, in the following structure:"
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:660
+#: Configuration.xml:682
#, no-c-format
msgid ""
"<![CDATA[my-application.war/\n"
@@ -1536,7 +1586,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:662
+#: Configuration.xml:684
#, no-c-format
msgid ""
"If we want to deploy Hibernate in a non-EE environment like Tomcat or "
@@ -1544,13 +1594,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:669
+#: Configuration.xml:691
#, no-c-format
msgid "Configuring Seam in Java SE, without JBoss Embedded"
msgstr ""
#. Tag: para
-#: Configuration.xml:671
+#: Configuration.xml:693
#, no-c-format
msgid ""
"It is possible to use Seam completely outside of an EE environment. In this "
@@ -1560,7 +1610,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:675
+#: Configuration.xml:697
#, no-c-format
msgid ""
"<![CDATA[<transaction:entity-transaction entity-manager=\"#{entityManager}\"/"
@@ -1568,7 +1618,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:677
+#: Configuration.xml:699
#, no-c-format
msgid ""
"If you're using Hibernate, you can tell Seam to use the Hibernate "
@@ -1576,32 +1626,32 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:679
+#: Configuration.xml:701
#, no-c-format
msgid "<![CDATA[<transaction:hibernate-transaction session=\"#{session}\"/>]]>"
msgstr ""
#. Tag: para
-#: Configuration.xml:681
+#: Configuration.xml:703
#, no-c-format
msgid "Of course, you'll also need to define a datasource."
msgstr ""
#. Tag: para
-#: Configuration.xml:683
+#: Configuration.xml:705
#, no-c-format
msgid ""
"A better alternative is to use JBoss Embedded to get access to the EE APIs."
msgstr ""
#. Tag: title
-#: Configuration.xml:688
+#: Configuration.xml:710
#, no-c-format
msgid "Configuring Seam in Java SE, with JBoss Embedded"
msgstr ""
#. Tag: para
-#: Configuration.xml:690
+#: Configuration.xml:712
#, no-c-format
msgid ""
"JBoss Embedded lets you run EJB3 components outside the context of the Java "
@@ -1610,7 +1660,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:693
+#: Configuration.xml:715
#, no-c-format
msgid ""
"The Seam booking example application includes a TestNG integration test "
@@ -1618,19 +1668,19 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:705
+#: Configuration.xml:727
#, no-c-format
msgid "The booking example application may even be deployed to Tomcat."
msgstr ""
#. Tag: title
-#: Configuration.xml:717
+#: Configuration.xml:739
#, no-c-format
msgid "Installing Embedded JBoss"
msgstr ""
#. Tag: para
-#: Configuration.xml:720
+#: Configuration.xml:742
#, no-c-format
msgid ""
"Embedded JBoss must by installed into Tomcat for Seam applications to run "
@@ -1643,7 +1693,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:734
+#: Configuration.xml:756
#, no-c-format
msgid ""
"Copy all files and directories under the Embedded JBoss <literal>bootstrap</"
@@ -1653,7 +1703,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:741
+#: Configuration.xml:763
#, no-c-format
msgid ""
"Remove the <literal>annotations-api.jar</literal> file from the Tomcat "
@@ -1661,7 +1711,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:747
+#: Configuration.xml:769
#, no-c-format
msgid ""
"Next, two configuration files need to be updated to add Embedded JBoss-"
@@ -1669,7 +1719,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:753
+#: Configuration.xml:775
#, no-c-format
msgid ""
"Add the Embedded JBoss listener <literal>EmbeddedJBossBootstrapListener</"
@@ -1678,7 +1728,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:756
+#: Configuration.xml:778
#, no-c-format
msgid ""
"<![CDATA[<Server port=\"8005\" shutdown=\"SHUTDOWN\">\n"
@@ -1696,7 +1746,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:757
+#: Configuration.xml:779
#, no-c-format
msgid ""
"<![CDATA[ <!-- Add this listener -->\n"
@@ -1705,7 +1755,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:761
+#: Configuration.xml:783
#, no-c-format
msgid ""
"WAR file scanning should be enabled by adding the <literal>WebinfScanner</"
@@ -1713,7 +1763,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:764
+#: Configuration.xml:786
#, no-c-format
msgid ""
"<![CDATA[<Context>\n"
@@ -1728,7 +1778,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:765
+#: Configuration.xml:787
#, no-c-format
msgid ""
"<![CDATA[ <!-- Add this listener -->\n"
@@ -1736,13 +1786,13 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:766
+#: Configuration.xml:788
#, no-c-format
msgid "<![CDATA[</Context>]]>"
msgstr ""
#. Tag: para
-#: Configuration.xml:770
+#: Configuration.xml:792
#, no-c-format
msgid ""
"If you are using Sun JDK 6, you need to set the Java option <literal>sun."
@@ -1752,7 +1802,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:775
+#: Configuration.xml:797
#, no-c-format
msgid ""
"Open the script appropriate for your operating system in a text editor. Add "
@@ -1762,7 +1812,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:779
+#: Configuration.xml:801
#, no-c-format
msgid ""
"<![CDATA[set JAVA_OPTS=%JAVA_OPTS% -Dsun.lang.ClassLoader."
@@ -1770,13 +1820,13 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:781
+#: Configuration.xml:803
#, no-c-format
msgid "On Unix, use this syntax instead:"
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:783
+#: Configuration.xml:805
#, no-c-format
msgid ""
"<![CDATA[JAVA_OPTS=\"$JAVA_OPTS -Dsun.lang.ClassLoader.allowArraySyntax=true"
@@ -1784,7 +1834,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:788
+#: Configuration.xml:810
#, no-c-format
msgid ""
"For more configuration options, please see the Embedded JBoss Tomcat "
@@ -1793,7 +1843,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:796
+#: Configuration.xml:818
#, no-c-format
msgid ""
"The archive structure of a WAR-based deployment on an servlet engine like "
@@ -1801,7 +1851,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:799
+#: Configuration.xml:821
#, no-c-format
msgid ""
"<![CDATA[my-application.war/\n"
@@ -1839,7 +1889,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:801
+#: Configuration.xml:823
#, no-c-format
msgid ""
"Most of the Seam example applications may be deployed to Tomcat by running "
@@ -1847,13 +1897,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:809
+#: Configuration.xml:831
#, no-c-format
msgid "Configuring jBPM in Seam"
msgstr ""
#. Tag: para
-#: Configuration.xml:810
+#: Configuration.xml:832
#, no-c-format
msgid ""
"Seam's jBPM integration is not installed by default, so you'll need to "
@@ -1863,7 +1913,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:814
+#: Configuration.xml:836
#, no-c-format
msgid ""
"<![CDATA[<bpm:jbpm>\n"
@@ -1879,7 +1929,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:816
+#: Configuration.xml:838
#, no-c-format
msgid ""
"No further special configuration is needed if you only have pageflows. If "
@@ -1890,7 +1940,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:821
+#: Configuration.xml:843
#, no-c-format
msgid ""
"<![CDATA[<jbpm-configuration>\n"
@@ -1920,7 +1970,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:823
+#: Configuration.xml:845
#, no-c-format
msgid ""
"The most important thing to notice here is that jBPM transaction control is "
@@ -1928,7 +1978,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:829
+#: Configuration.xml:851
#, no-c-format
msgid ""
"There is not yet any well-defined packaging format for jBPM configuration "
@@ -1939,7 +1989,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:834
+#: Configuration.xml:856
#, no-c-format
msgid ""
"<![CDATA[my-application.ear/\n"
@@ -1986,13 +2036,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:841
+#: Configuration.xml:863
#, no-c-format
msgid "Configuring SFSB and Session Timeouts in JBoss AS"
msgstr ""
#. Tag: para
-#: Configuration.xml:843
+#: Configuration.xml:865
#, no-c-format
msgid ""
"It is very important that the timeout for Stateful Session Beans is set "
@@ -2004,7 +2054,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:849
+#: Configuration.xml:871
#, no-c-format
msgid ""
"The default SFSB timeout can be adjusted by modifying the value of "
@@ -2013,7 +2063,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:852
+#: Configuration.xml:874
#, no-c-format
msgid ""
"<![CDATA[<container-cache-conf>\n"
@@ -2038,7 +2088,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:854
+#: Configuration.xml:876
#, no-c-format
msgid ""
"The default HTTP session timeout can be modified in <literal>server/default/"
@@ -2049,7 +2099,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:859
+#: Configuration.xml:881
#, no-c-format
msgid ""
"<![CDATA[<session-config>\n"
@@ -2059,7 +2109,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:861
+#: Configuration.xml:883
#, no-c-format
msgid ""
"To override this value for your own application, simply include this entry "
@@ -2067,13 +2117,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:867
+#: Configuration.xml:889
#, no-c-format
msgid "Running Seam in a Portlet"
msgstr ""
#. Tag: para
-#: Configuration.xml:869
+#: Configuration.xml:891
#, no-c-format
msgid ""
"If you want to run your Seam application in a portlet, take a look at the "
@@ -2084,13 +2134,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:880
+#: Configuration.xml:902
#, no-c-format
msgid "Deploying custom resources"
msgstr ""
#. Tag: para
-#: Configuration.xml:882
+#: Configuration.xml:904
#, no-c-format
msgid ""
"Seam scans all jars containing <literal>/seam.properties</literal>, "
@@ -2101,7 +2151,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:889
+#: Configuration.xml:911
#, no-c-format
msgid ""
"You may also want Seam to handle custom resources. A common use case is to "
@@ -2111,7 +2161,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:896
+#: Configuration.xml:918
#, no-c-format
msgid ""
"<![CDATA[# A colon-separated list of annotation types to handle\n"
@@ -2119,7 +2169,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:898
+#: Configuration.xml:920
#, no-c-format
msgid ""
"Then, during application startup you can get hold of all classes annotated "
@@ -2127,7 +2177,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:903
+#: Configuration.xml:925
#, no-c-format
msgid ""
"<![CDATA[@Name(\"fooStartup\")\n"
@@ -2159,7 +2209,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:905
+#: Configuration.xml:927
#, no-c-format
msgid ""
"You can also handle <emphasis>any</emphasis> resource. For example, you "
@@ -2168,7 +2218,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:911
+#: Configuration.xml:933
#, no-c-format
msgid ""
"<![CDATA[public class FooDeploymentHandler implements DeploymentHandler {\n"
@@ -2192,7 +2242,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:913
+#: Configuration.xml:935
#, no-c-format
msgid ""
"Here we are just building a list of any files with the suffix <literal>.foo."
@@ -2200,7 +2250,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:918
+#: Configuration.xml:940
#, no-c-format
msgid ""
"Then, we need to register the deployment handler with Seam in <literal>/META-"
@@ -2209,7 +2259,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:925
+#: Configuration.xml:947
#, no-c-format
msgid ""
"<![CDATA[# For standard deployment\n"
@@ -2220,7 +2270,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:931
+#: Configuration.xml:953
#, no-c-format
msgid ""
"Seam uses deployment handlers internally to install components and "
@@ -2229,7 +2279,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:937
+#: Configuration.xml:959
#, no-c-format
msgid ""
"<![CDATA[@Name(\"fooStartup\")\n"
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/pt-BR/Webservices.po
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/pt-BR/Webservices.po 2009-08-26 19:14:02 UTC (rev 11432)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/pt-BR/Webservices.po 2009-08-26 19:19:33 UTC (rev 11433)
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-07-08 14:32+0000\n"
+"POT-Creation-Date: 2009-08-26 18:48+0000\n"
"PO-Revision-Date: 2008-04-04 01:24+0000\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
@@ -392,48 +392,56 @@
#: Webservices.xml:186
#, no-c-format
msgid ""
-"The URI starts with the pattern mapped in <literal>web.xml</literal> for the "
+"The URI starts with the host and context path of your application, e.g. "
+"<literal>http://your.hostname/myapp</literal>."
+msgstr ""
+
+#. Tag: para
+#: Webservices.xml:192
+#, no-c-format
+msgid ""
+"Then the pattern mapped in <literal>web.xml</literal> for the "
"<literal>SeamResourceServlet</literal>, e.g <literal>/seam/resource</"
-"literal> if you follow the common examples. Change this setting to expose "
-"your RESTful resources under a different base. Note that this is a global "
-"change and other Seam resources (e.g. <literal>s:graphicImage</literal>) are "
-"then also served under that base path."
+"literal> if you follow the common examples, is appended. Change this setting "
+"to expose your RESTful resources under a different base. Note that this is a "
+"global change and other Seam resources (e.g. <literal>s:graphicImage</"
+"literal>) are then also served under that base path."
msgstr ""
#. Tag: para
-#: Webservices.xml:195
+#: Webservices.xml:201
#, no-c-format
msgid ""
"The RESTEasy integration for Seam then appends a configurable string to the "
"base path, by default this is <literal>/rest</literal>. Hence, the full base "
-"path of your resources would e.g. be <literal>/seam/resource/rest</literal>. "
-"We recommend that you change this string in your application, you could for "
-"example add a version number to prepare for a future REST API upgrade of "
-"your services (old clients would keep the old URI base): <literal>/seam/"
-"resource/restv1</literal>."
+"path of your resources would e.g. be <literal>/myapp/seam/resource/rest</"
+"literal>. We recommend that you change this string in your application, you "
+"could for example add a version number to prepare for a future REST API "
+"upgrade of your services (old clients would keep the old URI base): "
+"<literal>/myapp/seam/resource/restv1</literal>."
msgstr ""
#. Tag: para
-#: Webservices.xml:204
+#: Webservices.xml:210
#, no-c-format
msgid ""
"Finally, the actual resource is available under the defined <literal>@Path</"
"literal>, e.g. a resource mapped with <literal>@Path(\"/customer\")</"
-"literal> would be available under <literal>/seam/resource/rest/customer</"
-"literal>."
+"literal> would be available under <literal>/myapp/seam/resource/rest/"
+"customer</literal>."
msgstr ""
#. Tag: para
-#: Webservices.xml:212
+#: Webservices.xml:218
#, no-c-format
msgid ""
"As an example, the following resource definition would return a plaintext "
"representation for any GET requests using the URI <literal>http://your."
-"hostname/seam/resource/rest/customer/123</literal>:"
+"hostname/myapp/seam/resource/rest/customer/123</literal>:"
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:217
+#: Webservices.xml:223
#, no-c-format
msgid ""
"<![CDATA[@Path(\"/customer\")\n"
@@ -450,7 +458,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:219
+#: Webservices.xml:225
#, no-c-format
msgid ""
"No additional configuration is required, you do not have to edit "
@@ -461,7 +469,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:225
+#: Webservices.xml:231
#, no-c-format
msgid ""
"<![CDATA[<components\n"
@@ -476,63 +484,39 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:227
+#: Webservices.xml:233
#, no-c-format
msgid ""
"You can then change the <literal>/rest</literal> prefix as mentioned earlier:"
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:231
+#: Webservices.xml:237
#, no-c-format
msgid "<![CDATA[<resteasy:application resource-path-prefix=\"/restv1\"/>]]>"
msgstr ""
#. Tag: para
-#: Webservices.xml:233
-#, no-c-format
-msgid ""
-"The full base path to your resources is now <literal>/seam/resource/restv1/"
-"{resource}</literal> - note that your <literal>@Path</literal> definitions "
-"and mappings do NOT change. This is an application-wide switch usually used "
-"for versioning of the HTTP API."
-msgstr ""
-
-#. Tag: para
#: Webservices.xml:239
#, no-c-format
msgid ""
-"You can disable stripping of the base path if you'd like to map the full "
-"path in your resources:"
+"The full base path to your resources is now <literal>/myapp/seam/resource/"
+"restv1/{resource}</literal> - note that your <literal>@Path</literal> "
+"definitions and mappings do NOT change. This is an application-wide switch "
+"usually used for versioning of the HTTP interface."
msgstr ""
-#. Tag: programlisting
-#: Webservices.xml:243
-#, no-c-format
-msgid "<![CDATA[<resteasy:application strip-seam-resource-path=\"false\"/>]]>"
-msgstr ""
-
#. Tag: para
#: Webservices.xml:245
#, no-c-format
msgid ""
-"The path of a resource is now mapped with e.g. <literal>@Path(\"/seam/"
-"resource/rest/customer\")</literal>. We do not recommend disabling this "
-"feature, as your resource class mappings are then bound to a particular "
-"deployment scenario."
-msgstr ""
-
-#. Tag: para
-#: Webservices.xml:251
-#, no-c-format
-msgid ""
"Seam will scan your classpath for any deployed <literal>@javax.ws.rs.Path</"
"literal> resources and any <literal>@javax.ws.rs.ext.Provider</literal> "
"classes. You can disable scanning and configure these classes manually:"
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:257
+#: Webservices.xml:251
#, no-c-format
msgid ""
"<![CDATA[<resteasy:application\n"
@@ -554,7 +538,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:259
+#: Webservices.xml:253
#, no-c-format
msgid ""
"The <literal>use-built-in-providers</literal> switch enables (default) or "
@@ -564,7 +548,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:265
+#: Webservices.xml:259
#, no-c-format
msgid ""
"RESTEasy supports plain EJBs (EJBs that are not Seam components) as "
@@ -576,20 +560,21 @@
"<literal>@Path</literal>, <literal>@GET</literal>, and so on - not the bean "
"implementation class. This allows you to keep your application deployment-"
"portable with the global Seam <literal>jndi-pattern</literal> switch on "
-"<literal><core:init/></literal>. Note that EJB resources will not be "
-"found even if scanning of resources is enabled, you always have to list them "
-"manually. Again, this is only relevant for EJB resources that are not also "
-"Seam components and that do not have a <literal>@Name</literal> annotation."
+"<literal><core:init/></literal>. Note that plain (non-Seam component) "
+"EJB resources will not be found even if scanning of resources is enabled, "
+"you always have to list them manually. Again, this whole paragraph is only "
+"relevant for EJB resources that are not also Seam components and that do not "
+"have an <literal>@Name</literal> annotation."
msgstr ""
#. Tag: para
-#: Webservices.xml:277
+#: Webservices.xml:272
#, no-c-format
msgid "Finally, you can configure media type and language URI extensions:"
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:281
+#: Webservices.xml:276
#, no-c-format
msgid ""
"<![CDATA[<resteasy:application>\n"
@@ -606,7 +591,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:283
+#: Webservices.xml:278
#, no-c-format
msgid ""
"This definition would map the URI suffix of <literal>.txt.deutsch</literal> "
@@ -616,13 +601,13 @@
msgstr ""
#. Tag: title
-#: Webservices.xml:292
+#: Webservices.xml:287
#, no-c-format
msgid "Resources and providers as Seam components"
msgstr ""
#. Tag: para
-#: Webservices.xml:294
+#: Webservices.xml:289
#, no-c-format
msgid ""
"Any resource and provider instances are managed by RESTEasy by default. That "
@@ -633,7 +618,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:301
+#: Webservices.xml:296
#, no-c-format
msgid ""
"You can write resources and providers as Seam components and benefit from "
@@ -642,7 +627,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:307
+#: Webservices.xml:302
#, no-c-format
msgid ""
"<![CDATA[@Name(\"customerResource\")\n"
@@ -663,7 +648,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:309
+#: Webservices.xml:304
#, no-c-format
msgid ""
"An instance of <literal>customerResource</literal> is now handled by Seam "
@@ -677,7 +662,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:318
+#: Webservices.xml:313
#, no-c-format
msgid ""
"You can annotate an interface and keep the implementation free from JAX-RS "
@@ -685,7 +670,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:322
+#: Webservices.xml:317
#, no-c-format
msgid ""
"<![CDATA[@Path(\"/customer\")\n"
@@ -700,7 +685,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:324
+#: Webservices.xml:319
#, no-c-format
msgid ""
"<![CDATA[@Name(\"customerResource\")\n"
@@ -718,7 +703,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:326
+#: Webservices.xml:321
#, no-c-format
msgid ""
"You can use <literal>SESSION</literal>-scoped Seam components. By default, "
@@ -733,7 +718,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:335
+#: Webservices.xml:330
#, no-c-format
msgid ""
"Assuming that your Seam application only uses event, application, or "
@@ -745,7 +730,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:342
+#: Webservices.xml:337
#, no-c-format
msgid ""
"If your RESTful Seam application has to preserve session state across REST "
@@ -753,14 +738,14 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:347
+#: Webservices.xml:342
#, no-c-format
msgid ""
"<![CDATA[<resteasy:application destroy-session-after-request=\"false\"/>]]>"
msgstr ""
#. Tag: para
-#: Webservices.xml:349
+#: Webservices.xml:344
#, no-c-format
msgid ""
"Every REST HTTP request will now create a new session that will only be "
@@ -771,7 +756,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:356
+#: Webservices.xml:351
#, no-c-format
msgid ""
"<literal>CONVERSATION</literal>-scoped resource components and mapping of "
@@ -780,7 +765,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:361
+#: Webservices.xml:356
#, no-c-format
msgid ""
"EJB Seam components are supported. Always annotate the local business "
@@ -789,7 +774,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:366
+#: Webservices.xml:361
#, no-c-format
msgid ""
"Provider classes can also be Seam components, only <literal>APPLICATION</"
@@ -799,13 +784,13 @@
msgstr ""
#. Tag: title
-#: Webservices.xml:375
+#: Webservices.xml:370
#, no-c-format
msgid "Securing resources"
msgstr ""
#. Tag: para
-#: Webservices.xml:377
+#: Webservices.xml:372
#, no-c-format
msgid ""
"You can enable the Seam authentication filter for HTTP Basic and Digest "
@@ -813,7 +798,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:382
+#: Webservices.xml:377
#, no-c-format
msgid ""
"<![CDATA[<web:authentication-filter url-pattern=\"/seam/resource/rest/*\" "
@@ -821,14 +806,14 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:384
+#: Webservices.xml:379
#, no-c-format
msgid ""
"See the Seam security chapter on how to write an authentication routine."
msgstr ""
#. Tag: para
-#: Webservices.xml:388
+#: Webservices.xml:383
#, no-c-format
msgid ""
"After successful authentication, authorization rules with the common "
@@ -839,13 +824,13 @@
msgstr ""
#. Tag: title
-#: Webservices.xml:398
+#: Webservices.xml:393
#, no-c-format
msgid "Mapping exceptions to HTTP responses"
msgstr ""
#. Tag: para
-#: Webservices.xml:400
+#: Webservices.xml:395
#, no-c-format
msgid ""
"Section 3.3.4 of the JAX-RS specification defines how checked or unchecked "
@@ -858,7 +843,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:408
+#: Webservices.xml:403
#, no-c-format
msgid ""
"Exception handling within Seam requires that the Seam filter is executed for "
@@ -870,7 +855,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:415
+#: Webservices.xml:410
#, no-c-format
msgid ""
"<![CDATA[<filter>\n"
@@ -885,7 +870,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:417
+#: Webservices.xml:412
#, no-c-format
msgid ""
"To convert the unchecked <literal>UnsupportedOperationException</literal> "
@@ -895,7 +880,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:423
+#: Webservices.xml:418
#, no-c-format
msgid ""
"<![CDATA[<exception class=\"java.lang.UnsupportedOperationException\">\n"
@@ -906,13 +891,13 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:425
+#: Webservices.xml:420
#, no-c-format
msgid "Custom or checked exceptions are handled the same:"
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:429
+#: Webservices.xml:424
#, no-c-format
msgid ""
"<![CDATA[<exception class=\"my.CustomException\" log=\"false\">\n"
@@ -924,7 +909,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:431
+#: Webservices.xml:426
#, no-c-format
msgid ""
"You do not have to send an HTTP error to the client if an exception occurs. "
@@ -935,7 +920,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:438
+#: Webservices.xml:433
#, no-c-format
msgid ""
"Note that the HTTP response still passes through the servlet container, so "
@@ -946,13 +931,13 @@
msgstr ""
#. Tag: title
-#: Webservices.xml:447
+#: Webservices.xml:442
#, no-c-format
msgid "Testing resources and providers"
msgstr ""
#. Tag: para
-#: Webservices.xml:449
+#: Webservices.xml:444
#, no-c-format
msgid ""
"Seam includes a unit testing utility class that helps you create unit tests "
@@ -962,7 +947,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:455
+#: Webservices.xml:450
#, no-c-format
msgid ""
"<![CDATA[import org.jboss.seam.mock.ResourceRequestEnvironment;\n"
@@ -1019,7 +1004,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:457
+#: Webservices.xml:452
#, no-c-format
msgid ""
"This test only executes local calls, it does not communicate with the "
@@ -1032,7 +1017,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:465
+#: Webservices.xml:460
#, no-c-format
msgid ""
"Note that a <literal>ResourceRequest</literal> has to be executed in a "
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/pt-BR/Websphere.po
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/pt-BR/Websphere.po 2009-08-26 19:14:02 UTC (rev 11432)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/pt-BR/Websphere.po 2009-08-26 19:19:33 UTC (rev 11433)
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-08-22 13:17+0000\n"
+"POT-Creation-Date: 2009-08-26 18:48+0000\n"
"PO-Revision-Date: 2008-04-04 01:24+0000\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
@@ -76,25 +76,27 @@
#, no-c-format
msgid ""
"The following sections in this chapter assume that WebSphere is correctly "
-"installed and is functional, and a profile has been successfully created."
+"installed and is functional, and a WebSphere \"profile\" has been "
+"successfully created."
msgstr ""
#. Tag: para
#: Websphere.xml:40
#, no-c-format
msgid ""
-"This chapter explain how to compile, deploy and run some sample applications "
-"in WebSphere. These sample applications require a database. WebSphere comes "
-"by default with a set of sample applications called \"Default Application\". "
-"This set of sample applications use a Derby database running on the Derby "
-"instance installed with WebSphere. In order to keep this simple we'll use "
-"this Derby database created for the \"Default Applications\". However, to "
-"run the sample application with the Derby database \"as-is\", a patched "
-"Hibernate dialect must be used (The patch changes the default \"auto\" key "
-"generation strategy) as explained in <xref linkend=\"glassfish\"/>. If you "
-"want to use another database, it's just a matter of creating a connection "
-"pool in WebSphere pointing to this database, declare the correct Hibernate "
-"dialect and set the correct JNDI name in <literal>persistence.xml</literal>."
+"This chapter explains how to compile, deploy and run some sample "
+"applications in WebSphere. These sample applications require a database. "
+"WebSphere comes by default with a set of sample applications called "
+"\"Default Application\". This set of sample applications use a Derby "
+"database running on the Derby instance installed within WebSphere. In order "
+"to keep this simple we'll use this Derby database created for the \"Default "
+"Applications\". However, to run the sample application with the Derby "
+"database \"as-is\", a patched Hibernate dialect must be used (The patch "
+"changes the default \"auto\" key generation strategy) as explained in <xref "
+"linkend=\"glassfish\"/>. If you want to use another database, it's just a "
+"matter of creating a connection pool in WebSphere pointing to this database, "
+"declare the correct Hibernate dialect and set the correct JNDI name in "
+"<literal>persistence.xml</literal>."
msgstr ""
#. Tag: title
@@ -144,14 +146,14 @@
#, no-c-format
msgid ""
"On the right navigation menu, select <literal>Web Container Settings/Web "
-"container</literal>)"
+"container</literal>"
msgstr ""
#. Tag: listitem
#: Websphere.xml:73
#, no-c-format
msgid ""
-"On the right navigation menu, select <literal>custom properties</literal>) "
+"On the right navigation menu, select <literal>custom properties</literal> "
"and add the following properties:"
msgstr ""
@@ -170,7 +172,7 @@
#. Tag: listitem
#: Websphere.xml:84
#, no-c-format
-msgid "Save and restart the server"
+msgid "Save the configuration and restart the server"
msgstr ""
#. Tag: title
@@ -189,38 +191,38 @@
msgstr ""
#. Tag: listitem
-#: Websphere.xml:97
+#: Websphere.xml:96
#, no-c-format
msgid ""
"The global <literal>jndi-pattern</literal> switch on the <literal><core:"
-"init></literal>. in <literal>components.xml</literal>. The switch can use "
-"a special placeholder \"<literal>#{ejbName}</literal>\" that resolves to the "
-"unqualified name of the EJB"
+"init></literal>tag in <literal>components.xml</literal>. The switch can "
+"use a special placeholder \"<literal>#{ejbName}</literal>\" that resolves to "
+"the unqualified name of the EJB"
msgstr ""
#. Tag: para
-#: Websphere.xml:102
+#: Websphere.xml:100
#, no-c-format
msgid "The <literal>@JndiName</literal> annotation"
msgstr ""
#. Tag: para
-#: Websphere.xml:108
+#: Websphere.xml:106
#, no-c-format
msgid "gives detailed explanations on how those mechanisms work."
msgstr ""
#. Tag: para
-#: Websphere.xml:112
+#: Websphere.xml:110
#, no-c-format
msgid ""
-"By default, WebSphere will bind the session bean in its local JNDI name "
-"space under a \"short\" binding name that adheres to the following pattern "
+"By default, WebSphere will bind session beans in its local JNDI name space "
+"under a \"short\" binding name that adheres to the following pattern "
"<literal>ejblocal:<package.qualified.local.interface.name></literal>."
msgstr ""
#. Tag: para
-#: Websphere.xml:117
+#: Websphere.xml:115
#, no-c-format
msgid ""
"For a detailed description on how WebSphere v7 organizes and binds EJBs in "
@@ -228,7 +230,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:120
+#: Websphere.xml:118
#, no-c-format
msgid ""
"As explained before, Seam needs to lookup for session bean as they appear in "
@@ -236,35 +238,35 @@
msgstr ""
#. Tag: listitem
-#: Websphere.xml:124
+#: Websphere.xml:121
#, no-c-format
msgid ""
"Specify which JNDI name Seam must use for each session bean using the "
-"<literal>@JndiName</literal> annotation in the java source file"
+"<literal>@JndiName</literal> annotation in the java source file,"
msgstr ""
#. Tag: listitem
-#: Websphere.xml:127
+#: Websphere.xml:123
#, no-c-format
msgid ""
"Override the default session bean names generated by WebSphere to conform to "
-"the <literal>jndi-pattern</literal> attribute"
+"the <literal>jndi-pattern</literal> attribute,"
msgstr ""
#. Tag: listitem
-#: Websphere.xml:130
+#: Websphere.xml:126
#, no-c-format
-msgid "Use EJB references"
+msgid "Use EJB references."
msgstr ""
#. Tag: title
-#: Websphere.xml:137
+#: Websphere.xml:133
#, no-c-format
msgid "Strategy 1: Specify which JNDI name Seam must use for each Session Bean"
msgstr ""
#. Tag: para
-#: Websphere.xml:138
+#: Websphere.xml:134
#, no-c-format
msgid ""
"This strategy is the simplest and fastest one regarding development. It uses "
@@ -272,7 +274,7 @@
msgstr ""
#. Tag: listitem
-#: Websphere.xml:141
+#: Websphere.xml:137
#, no-c-format
msgid ""
"Add a <literal>@JndiName(\"ejblocal:<package.qualified.local.interface."
@@ -280,20 +282,20 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:145 Websphere.xml:188
+#: Websphere.xml:141 Websphere.xml:184
#, no-c-format
msgid ""
"<para>In <literal>components.xml</literal>, add the following line:</para>"
msgstr ""
#. Tag: programlisting
-#: Websphere.xml:147 Websphere.xml:220
+#: Websphere.xml:143 Websphere.xml:216
#, no-c-format
msgid "<![CDATA[<core:init jndi-name=\"java:comp/env/#{ejbName}\" />]]>"
msgstr ""
#. Tag: para
-#: Websphere.xml:151
+#: Websphere.xml:147
#, no-c-format
msgid ""
"Add a file named <literal>WEB-INF/classes/seam-jndi.properties</literal> in "
@@ -301,7 +303,7 @@
msgstr ""
#. Tag: programlisting
-#: Websphere.xml:153
+#: Websphere.xml:149
#, no-c-format
msgid ""
"com.ibm.websphere.naming.hostname.normalizer=com.ibm.ws.naming.util."
@@ -323,13 +325,13 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:157
+#: Websphere.xml:153
#, no-c-format
msgid "At the end of <literal>web.xml</literal>, add the following lines:"
msgstr ""
#. Tag: programlisting
-#: Websphere.xml:159
+#: Websphere.xml:155
#, no-c-format
msgid ""
"<![CDATA[<ejb-local-ref>\n"
@@ -341,7 +343,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:164
+#: Websphere.xml:160
#, no-c-format
msgid ""
"That's all folks! No need to update any file during the development, nor to "
@@ -349,23 +351,23 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:167
+#: Websphere.xml:163
#, no-c-format
msgid ""
-"Compared to the other strategies, this strategy has the advantage not to "
-"have to manage any EJBs reference and also not to have to maintain extra "
+"Compared to the other strategies, this strategy has the advantage to not "
+"have to manage any EJBs reference and also to not have to maintain extra "
"files. The only drawback is one extra line in the java source code with the "
"<literal>@JndiName</literal> annotation"
msgstr ""
#. Tag: title
-#: Websphere.xml:174
+#: Websphere.xml:170
#, no-c-format
msgid "Strategy 2: Override the default names generated by WebSphere"
msgstr ""
#. Tag: section
-#: Websphere.xml:174
+#: Websphere.xml:170
#, no-c-format
msgid ""
"There is no simple way to globally override the default naming strategy for "
@@ -374,13 +376,13 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:177
+#: Websphere.xml:173
#, no-c-format
msgid "To use this strategy:"
msgstr ""
#. Tag: para
-#: Websphere.xml:181
+#: Websphere.xml:177
#, no-c-format
msgid ""
"Add a file named <literal>META-INF/ibm-ejb-jar-ext.xml</literal> in the EJB "
@@ -405,13 +407,13 @@
msgstr ""
#. Tag: programlisting
-#: Websphere.xml:190
+#: Websphere.xml:186
#, no-c-format
msgid "<![CDATA[<core:init jndi-name=\"ejblocal:#{ejbName}\" />]]>"
msgstr ""
#. Tag: para
-#: Websphere.xml:194
+#: Websphere.xml:190
#, no-c-format
msgid ""
"Add a file named <literal>WEB-INF/classes/seam-jndi.properties</literal> as "
@@ -419,7 +421,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:199
+#: Websphere.xml:195
#, no-c-format
msgid ""
"In <literal>web.xml</literal>, add the following lines (Note the different "
@@ -427,7 +429,7 @@
msgstr ""
#. Tag: programlisting
-#: Websphere.xml:201
+#: Websphere.xml:197
#, no-c-format
msgid ""
"<![CDATA[<ejb-local-ref>\n"
@@ -439,7 +441,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:206
+#: Websphere.xml:202
#, no-c-format
msgid ""
"Compared to the first strategy, this strategy requires to maintain an extra "
@@ -449,13 +451,13 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:215
+#: Websphere.xml:211
#, no-c-format
msgid "Strategy 3: Use EJB references"
msgstr ""
#. Tag: section
-#: Websphere.xml:215
+#: Websphere.xml:211
#, no-c-format
msgid ""
"This strategy is based on the usage of EJB references, from EJB to EJB and "
@@ -463,7 +465,7 @@
msgstr ""
#. Tag: listitem
-#: Websphere.xml:218
+#: Websphere.xml:214
#, no-c-format
msgid ""
"<listitem>In <literal>components.xml</literal>, add the following line:</"
@@ -471,7 +473,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:223
+#: Websphere.xml:219
#, no-c-format
msgid ""
"Follow the instructions in <xref linkend=\"config.integration.ejb.container"
@@ -479,7 +481,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:228
+#: Websphere.xml:224
#, no-c-format
msgid ""
"This is the most tedious strategy as each session bean referenced by another "
@@ -489,27 +491,27 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:239
+#: Websphere.xml:235
#, no-c-format
msgid "Configuring timeouts for Stateful Session Beans"
msgstr ""
#. Tag: para
-#: Websphere.xml:240
+#: Websphere.xml:236
#, no-c-format
msgid ""
"A timeout value has to be set for each stateful session bean used in the "
"application because stateful bean must not expire in WebSphere while Seam "
-"might still need thenm. At the time of writing this document, WebSphere does "
+"might still need them. At the time of writing this document, WebSphere does "
"not provide a way to configure a global timeout at neither the cluster, "
"server, application nor ejb-jar level. It has to be done for each stateful "
-"bean individually. This is done by adding a file named <literal>META-INF/ibm-"
-"ejb-jar-ext.xml</literal> in the EJB module, and declare the timeout value "
-"for each bean:"
+"bean individually. By default, the default timeout is 10 minutes. This is "
+"done by adding a file named <literal>META-INF/ibm-ejb-jar-ext.xml</literal> "
+"in the EJB module, and declare the timeout value for each bean:"
msgstr ""
#. Tag: programlisting
-#: Websphere.xml:246
+#: Websphere.xml:242
#, no-c-format
msgid ""
"<![CDATA[<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
@@ -529,24 +531,24 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:248
+#: Websphere.xml:244
#, no-c-format
msgid ""
"The <literal>time-out</literal> is expressed in seconds and must be higher "
"than the Seam conversation expiration timeout and a few minutes higher than "
"the user's HTTP session timeout (The session expiration timeout can trigger "
-"a few minutes after the number of minutes declared to expire s for the HTTP "
-"session expiration)."
+"a few minutes after the number of minutes declared to expire the HTTP "
+"session)."
msgstr ""
#. Tag: title
-#: Websphere.xml:257
+#: Websphere.xml:253
#, no-c-format
msgid "The <literal>jee5/booking</literal> example"
msgstr ""
#. Tag: para
-#: Websphere.xml:259
+#: Websphere.xml:255
#, no-c-format
msgid ""
"The<literal>jee5/booking</literal>example is based on the Hotel Booking "
@@ -557,23 +559,32 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:265
+#: Websphere.xml:261
#, no-c-format
msgid ""
-"For running this example, we'll use the second JNDI mapping strategy "
-"(\"Override the default names generated by WebSphere\") as we don't want to "
-"change the java code to add the <literal>@JndiName</literal> annotation as "
-"in the first strategy."
+"The example already has a breakout of configurations and build scripts for "
+"WebSphere. First thing, we are going to do is build and deploy this example. "
+"Then we'll go over some key changes that we needed."
msgstr ""
+#. Tag: para
+#: Websphere.xml:266
+#, no-c-format
+msgid ""
+"The tailored configuration files for WebSphere use the second JNDI mapping "
+"strategy (\"Override the default names generated by WebSphere\") as the goal "
+"was to not change any java code to add the <literal>@JndiName</literal> "
+"annotation as in the first strategy."
+msgstr ""
+
#. Tag: title
-#: Websphere.xml:271
+#: Websphere.xml:272
#, no-c-format
msgid "Building the <literal>jee5/booking</literal> example"
msgstr ""
#. Tag: para
-#: Websphere.xml:273
+#: Websphere.xml:274
#, no-c-format
msgid ""
"Building it only requires running the correct ant command: "
@@ -583,21 +594,21 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:280
+#: Websphere.xml:281
#, no-c-format
msgid "Deploying the <literal>jee5/booking</literal> example"
msgstr ""
#. Tag: para
-#: Websphere.xml:281
+#: Websphere.xml:282
#, no-c-format
msgid ""
-"The steps below are for the WAS version stated above.The ports are default "
-"values, if you changed them, you must substitute the values."
+"The steps below are for the WAS version stated above.The ports are the "
+"default values, if you changed them, you must substitute the values."
msgstr ""
#. Tag: listitem
-#: Websphere.xml:284
+#: Websphere.xml:285
#, no-c-format
msgid ""
"Log in to the administration console <programlisting><![CDATA[http://"
@@ -606,7 +617,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:291
+#: Websphere.xml:292
#, no-c-format
msgid ""
"Go to the <literal>WebSphere enterprise applications</literal> menu option "
@@ -615,7 +626,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:298
+#: Websphere.xml:299
#, no-c-format
msgid ""
"At the top of the <literal>Enterprise Applications</literal> table select "
@@ -624,13 +635,13 @@
msgstr ""
#. Tag: literal
-#: Websphere.xml:304
+#: Websphere.xml:305
#, no-c-format
msgid "Preparing for the application installation"
msgstr ""
#. Tag: para
-#: Websphere.xml:307
+#: Websphere.xml:308
#, no-c-format
msgid ""
"Browse to the <literal>examples/jee5/booking/dist-websphere7/jboss-seam-jee5."
@@ -638,25 +649,25 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:313 Websphere.xml:323 Websphere.xml:341
+#: Websphere.xml:314 Websphere.xml:324 Websphere.xml:342
#, no-c-format
msgid "Select the <literal>Next</literal> button."
msgstr ""
#. Tag: para
-#: Websphere.xml:318
+#: Websphere.xml:319
#, no-c-format
msgid "Select the <literal>Fast Path</literal> button."
msgstr ""
#. Tag: literal
-#: Websphere.xml:332
+#: Websphere.xml:333
#, no-c-format
msgid "Select installation options"
msgstr ""
#. Tag: para
-#: Websphere.xml:335
+#: Websphere.xml:336
#, no-c-format
msgid ""
"Select the <literal>Deploy enterprise beans and Allow EJB reference targets "
@@ -665,13 +676,13 @@
msgstr ""
#. Tag: literal
-#: Websphere.xml:350
+#: Websphere.xml:351
#, no-c-format
msgid "Map modules to servers"
msgstr ""
#. Tag: para
-#: Websphere.xml:353
+#: Websphere.xml:354
#, no-c-format
msgid ""
"No changes needed here as we only have one server. Select the <literal>Next</"
@@ -679,13 +690,13 @@
msgstr ""
#. Tag: literal
-#: Websphere.xml:362
+#: Websphere.xml:363
#, no-c-format
msgid "Map virtual hosts for Web modules"
msgstr ""
#. Tag: para
-#: Websphere.xml:365
+#: Websphere.xml:366
#, no-c-format
msgid ""
"No changes needed here as we only have one virtual host. Select the "
@@ -693,31 +704,31 @@
msgstr ""
#. Tag: literal
-#: Websphere.xml:374
+#: Websphere.xml:375
#, no-c-format
msgid "Summary"
msgstr ""
#. Tag: para
-#: Websphere.xml:377
+#: Websphere.xml:378
#, no-c-format
msgid "No changes needed here. Select the <literal>Finish</literal> button."
msgstr ""
#. Tag: literal
-#: Websphere.xml:384
+#: Websphere.xml:385
#, no-c-format
msgid "Installation"
msgstr ""
#. Tag: para
-#: Websphere.xml:387
+#: Websphere.xml:388
#, no-c-format
msgid "Now you will see WebSphere installing and deploying your application."
msgstr ""
#. Tag: para
-#: Websphere.xml:390
+#: Websphere.xml:391
#, no-c-format
msgid ""
"When done, select the <literal>Save</literal> link and you will be returned "
@@ -725,15 +736,15 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:399
+#: Websphere.xml:400
#, no-c-format
msgid ""
-"To start the application select our application in the list, then click on "
+"To start the application, select the application in the list, then click on "
"the <literal>Start</literal> button at the top of the table."
msgstr ""
#. Tag: para
-#: Websphere.xml:409
+#: Websphere.xml:410
#, no-c-format
msgid ""
"You can now access the application at <literal>http://localhost:9080/seam-"
@@ -741,13 +752,13 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:418
+#: Websphere.xml:419
#, no-c-format
msgid "Deviation from the original base files"
msgstr ""
#. Tag: section
-#: Websphere.xml:418
+#: Websphere.xml:419
#, no-c-format
msgid ""
"Below are the differences between the base configuration files and the "
@@ -756,7 +767,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:422
+#: Websphere.xml:423
#, no-c-format
msgid ""
"<literal>META-INF/ejb-jar.xml</literal> — Removed all the EJB "
@@ -764,37 +775,37 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:428
+#: Websphere.xml:429
#, no-c-format
msgid ""
"<literal>META-INF/ibm-ejb-jar-bnd.xml</literal> — This WebSphere "
"specific file has been added as we use the second JNDI mapping strategy. It "
-"defines, for each session bean, the name WebSphere will use to bind it its "
-"JNDI name space"
+"defines, for each session bean, the name WebSphere will use to bind it in "
+"its JNDI name space"
msgstr ""
#. Tag: para
-#: Websphere.xml:435
+#: Websphere.xml:436
#, no-c-format
msgid ""
"<literal>META-INF/ibm-ejb-jar-ext.xml</literal> — This WebSphere "
-"specific file defines to WebSphere, the timeout value for each stateful bean"
+"specific file defines the timeout value for each stateful bean"
msgstr ""
#. Tag: para
-#: Websphere.xml:441
+#: Websphere.xml:442
#, no-c-format
msgid ""
"<literal>META-INF/persistence.xml</literal> — The main changes here "
"are for the datasource JNDI path, switching to the WebSphere transaction "
"manager lookup class, turning off the <literal>hibernate.transaction."
"flush_before_completion</literal> toggle, and forcing the Hibernate dialect "
-"to be <literal>GlassfishDerbyDialect</literal> how as using the integrated "
-"Derby database"
+"to be <literal>GlassfishDerbyDialect</literal> as we are using the "
+"integrated Derby database"
msgstr ""
#. Tag: para
-#: Websphere.xml:451
+#: Websphere.xml:452
#, no-c-format
msgid ""
"<literal>WEB-INF/components.xml</literal> — the change here is "
@@ -803,7 +814,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:459
+#: Websphere.xml:460
#, no-c-format
msgid ""
"<literal>WEB-INF/web.xml</literal> — Remove all the <literal>ejb-local "
@@ -813,7 +824,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:467 Websphere.xml:549
+#: Websphere.xml:468
#, no-c-format
msgid ""
"<literal>import.sql</literal> — due to the cutomized hibernate Derby "
@@ -822,7 +833,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:474
+#: Websphere.xml:475
#, no-c-format
msgid ""
"Also the build procedure has been changed to include the <literal>log4j.jar</"
@@ -831,13 +842,13 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:486
+#: Websphere.xml:487
#, no-c-format
msgid "The <literal>jpa</literal> booking example"
msgstr ""
#. Tag: para
-#: Websphere.xml:488
+#: Websphere.xml:489
#, no-c-format
msgid ""
"This is the Hotel Booking example implemented in Seam POJOs and using "
@@ -845,7 +856,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:493
+#: Websphere.xml:494
#, no-c-format
msgid ""
"The example already has a breakout of configurations and build scripts for "
@@ -853,7 +864,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:498
+#: Websphere.xml:499
#, no-c-format
msgid ""
"First thing, we are going to do is build and deploy that example. Then we'll "
@@ -861,13 +872,13 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:504
+#: Websphere.xml:505
#, no-c-format
msgid "Building the <literal>jpa</literal> example"
msgstr ""
#. Tag: para
-#: Websphere.xml:505
+#: Websphere.xml:506
#, no-c-format
msgid ""
"Building it only requires running the correct ant command: "
@@ -877,13 +888,13 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:514
+#: Websphere.xml:515
#, no-c-format
msgid "Deploying the <literal>jpa</literal> example"
msgstr ""
#. Tag: para
-#: Websphere.xml:515
+#: Websphere.xml:516
#, no-c-format
msgid ""
"Deploying <literal>jpa</literal> application is very similar to the "
@@ -894,7 +905,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:521
+#: Websphere.xml:522
#, no-c-format
msgid ""
"Follow the same instructions as for the <literal>jee5/booking</literal> "
@@ -902,11 +913,11 @@
"literal> file on the first page and on the <literal>Map context roots for "
"Web modules</literal> page (after the <literal>Map virtual host for Web "
"module</literal>), enter the context root you want to use for your "
-"application in the <literal>Contect Root</literal> input field."
+"application in the <literal>Context Root</literal> input field."
msgstr ""
#. Tag: para
-#: Websphere.xml:528
+#: Websphere.xml:529
#, no-c-format
msgid ""
"When started, you can now access the application at the <literal>http://"
@@ -914,13 +925,13 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:534
+#: Websphere.xml:535
#, no-c-format
msgid "Deviation from the generic base files"
msgstr ""
#. Tag: section
-#: Websphere.xml:534
+#: Websphere.xml:535
#, no-c-format
msgid ""
"Below are the configuration file differences between the base configuration "
@@ -929,7 +940,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:539
+#: Websphere.xml:540
#, no-c-format
msgid ""
"<literal>META-INF/persistence.xml</literal> — The main changes here "
@@ -941,9 +952,18 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:556
+#: Websphere.xml:550
#, no-c-format
msgid ""
+"<literal>import.sql</literal> — due to the customized hibernate Derby "
+"dialect, the <literal>ID</literal> column can not be populated by this file "
+"and was removed."
+msgstr ""
+
+#. Tag: para
+#: Websphere.xml:557
+#, no-c-format
+msgid ""
"Also the build procedure have been changed to include the <literal>log4j."
"jar</literal> file and exclude the <literal>concurrent.jar</literal> and "
"<literal>jboss-common-core.jar</literal> files."
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/ru-RU/Configuration.po
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/ru-RU/Configuration.po 2009-08-26 19:14:02 UTC (rev 11432)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/ru-RU/Configuration.po 2009-08-26 19:19:33 UTC (rev 11433)
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-05-05 12:31+0000\n"
+"POT-Creation-Date: 2009-08-26 18:47+0000\n"
"PO-Revision-Date: 2008-04-04 01:24+0000\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
@@ -677,13 +677,63 @@
msgstr ""
#. Tag: title
+#: Configuration.xml:325
+#, no-c-format
+msgid "Enabling HTTP cache-control headers"
+msgstr ""
+
+#. Tag: para
#: Configuration.xml:326
#, no-c-format
+msgid ""
+"Seam does <emphasis>not</emphasis> automatically add <literal>cache-control</"
+"literal> HTTP headers to any resources served by the Seam resource servlet, "
+"or directly from your view directory by the servlet container. This means "
+"that your images, Javascript and CSS files, and resource representations "
+"from Seam resource servlet such as Seam Remoting Javascript interfaces are "
+"usually not cached by the browser. This is convenient in development but "
+"should be changed in production when optimizing the application."
+msgstr ""
+
+#. Tag: para
+#: Configuration.xml:334
+#, no-c-format
+msgid ""
+"You can configure a Seam filter to enable automatic addition of "
+"<literal>cache-control</literal> headers depending on the requested URI in "
+"<literal>components.xml</literal>:"
+msgstr ""
+
+#. Tag: programlisting
+#: Configuration.xml:339
+#, no-c-format
+msgid ""
+"<![CDATA[<web:cache-control-filter name=\"commonTypesCacheControlFilter\"\n"
+" regex-url-pattern=\".*(\\.gif|\\.png|\\.jpg|\\."
+"jpeg|\\.css|\\.js)\"\n"
+" value=\"max-age=86400\"/> <!-- 1 day -->\n"
+"\n"
+"<web:cache-control-filter name=\"anotherCacheControlFilter\"\n"
+" url-pattern=\"/my/cachable/resources/*\"\n"
+" value=\"max-age=432000\"/> <!-- 5 days -->]]>"
+msgstr ""
+
+#. Tag: para
+#: Configuration.xml:341
+#, no-c-format
+msgid ""
+"You do not have to name the filters unless you have more than one filter "
+"enabled."
+msgstr ""
+
+#. Tag: title
+#: Configuration.xml:348
+#, no-c-format
msgid "Adding custom filters"
msgstr ""
#. Tag: para
-#: Configuration.xml:327
+#: Configuration.xml:349
#, no-c-format
msgid ""
"Seam can install your filters for you, allowing you to specify "
@@ -695,7 +745,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:332
+#: Configuration.xml:354
#, no-c-format
msgid ""
"<![CDATA[@Startup\n"
@@ -707,7 +757,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:334
+#: Configuration.xml:356
#, no-c-format
msgid ""
"Adding the <literal>@Startup</literal> annotation means thar the component "
@@ -718,13 +768,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:343
+#: Configuration.xml:365
#, no-c-format
msgid "Integrating Seam with your EJB container"
msgstr ""
#. Tag: para
-#: Configuration.xml:345
+#: Configuration.xml:367
#, no-c-format
msgid ""
"In a Seam application, EJB components have a certain duality, as they are "
@@ -735,7 +785,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:350
+#: Configuration.xml:372
#, no-c-format
msgid ""
"We need to apply the <literal>SeamInterceptor</literal> to our Seam EJB "
@@ -747,7 +797,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:355
+#: Configuration.xml:377
#, no-c-format
msgid ""
"<![CDATA[<interceptors>\n"
@@ -768,7 +818,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:357
+#: Configuration.xml:379
#, no-c-format
msgid ""
"Seam needs to know where to go to find session beans in JNDI. One way to do "
@@ -782,19 +832,19 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:364
+#: Configuration.xml:386
#, no-c-format
msgid "For JBoss AS, the following pattern is correct:"
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:366
+#: Configuration.xml:388
#, no-c-format
msgid "<![CDATA[<core:init jndi-name=\"earName/#{ejbName}/local\" />]]>"
msgstr ""
#. Tag: para
-#: Configuration.xml:368
+#: Configuration.xml:390
#, no-c-format
msgid ""
"In this case, <literal>earName</literal> is the name of the EAR in which the "
@@ -804,7 +854,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:372
+#: Configuration.xml:394
#, no-c-format
msgid ""
"Outside the context of an EAR (when using the JBoss Embeddable EJB3 "
@@ -813,13 +863,13 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:375
+#: Configuration.xml:397
#, no-c-format
msgid "<![CDATA[<core:init jndi-name=\"#{ejbName}/local\" />]]>"
msgstr ""
#. Tag: para
-#: Configuration.xml:377
+#: Configuration.xml:399
#, no-c-format
msgid ""
"How these JNDI names are resolved and somehow locate an EJB component might "
@@ -828,7 +878,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:381
+#: Configuration.xml:403
#, no-c-format
msgid ""
"The folks at JBoss don't care much for XML, if you can't tell. So when they "
@@ -839,14 +889,14 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:387
+#: Configuration.xml:409
#, no-c-format
msgid ""
"The value of the <literal><ejb-name></literal> element in ejb-jar.xml"
msgstr ""
#. Tag: para
-#: Configuration.xml:390
+#: Configuration.xml:412
#, no-c-format
msgid ""
"The value of the <literal>name</literal> attribute in the @Stateless or "
@@ -854,13 +904,13 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:393
+#: Configuration.xml:415
#, no-c-format
msgid "The simple name of the bean class"
msgstr ""
#. Tag: para
-#: Configuration.xml:397
+#: Configuration.xml:419
#, no-c-format
msgid ""
"Let's look at an example. Assume that you have the following EJB bean and "
@@ -868,7 +918,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:399
+#: Configuration.xml:421
#, no-c-format
msgid ""
"<![CDATA[package com.example.myapp;\n"
@@ -895,7 +945,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:401
+#: Configuration.xml:423
#, no-c-format
msgid ""
"Assuming your EJB bean class is deployed in an EAR named myapp, the global "
@@ -907,7 +957,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:407
+#: Configuration.xml:429
#, no-c-format
msgid ""
"So what about the rest of the application servers? Well, according to the "
@@ -919,7 +969,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:413
+#: Configuration.xml:435
#, no-c-format
msgid ""
"There are two places you have to define the EJB reference when using Seam on "
@@ -930,7 +980,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:418
+#: Configuration.xml:440
#, no-c-format
msgid ""
"<![CDATA[<ejb-local-ref>\n"
@@ -942,7 +992,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:420
+#: Configuration.xml:442
#, no-c-format
msgid ""
"This reference will cover most uses of the component in a Seam application. "
@@ -953,7 +1003,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:425
+#: Configuration.xml:447
#, no-c-format
msgid ""
"Within the context of an EJB method call, you have to deal with a somewhat "
@@ -970,7 +1020,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:434
+#: Configuration.xml:456
#, no-c-format
msgid ""
"For application servers that stubbornly adhere to the EJB specification, EJB "
@@ -982,7 +1032,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:439
+#: Configuration.xml:461
#, no-c-format
msgid ""
"Let's assume that we have an EJB named RegisterAction (the name is resolved "
@@ -991,7 +1041,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:442
+#: Configuration.xml:464
#, no-c-format
msgid ""
"<![CDATA[@In(create = true)\n"
@@ -1000,7 +1050,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:444
+#: Configuration.xml:466
#, no-c-format
msgid ""
"In order for this injection to work, the link must be established in the ejb-"
@@ -1008,7 +1058,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:446
+#: Configuration.xml:468
#, no-c-format
msgid ""
"<![CDATA[<ejb-jar>\n"
@@ -1031,7 +1081,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:448
+#: Configuration.xml:470
#, no-c-format
msgid ""
"Notice that the contents of the <literal><ejb-local-ref></literal> are "
@@ -1043,7 +1093,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:454
+#: Configuration.xml:476
#, no-c-format
msgid ""
"But what about <literal>@EJB</literal>? It's true that you can inject one "
@@ -1061,7 +1111,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:464
+#: Configuration.xml:486
#, no-c-format
msgid ""
"That covers how JNDI names are defined and used. The lesson is that with "
@@ -1074,7 +1124,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:470
+#: Configuration.xml:492
#, no-c-format
msgid ""
"<![CDATA[<core:init jndi-name=\"java:comp/env/earName/#{ejbName}/local\" />]]"
@@ -1082,7 +1132,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:472
+#: Configuration.xml:494
#, no-c-format
msgid ""
"Finally, let's talk about transactions. In an EJB3 environment, we recommend "
@@ -1094,19 +1144,19 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:479
+#: Configuration.xml:501
#, no-c-format
msgid "<![CDATA[<transaction:ejb-transaction/>]]>"
msgstr ""
#. Tag: title
-#: Configuration.xml:484
+#: Configuration.xml:506
#, no-c-format
msgid "Don't forget!"
msgstr ""
#. Tag: para
-#: Configuration.xml:486
+#: Configuration.xml:508
#, no-c-format
msgid ""
"There is one final item you need to know about. You must place a "
@@ -1118,7 +1168,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:491
+#: Configuration.xml:513
#, no-c-format
msgid ""
"In a web archive (WAR) file, you must place a <literal>seam.properties</"
@@ -1127,7 +1177,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:494
+#: Configuration.xml:516
#, no-c-format
msgid ""
"That's why all the Seam examples have an empty <literal>seam.properties</"
@@ -1136,7 +1186,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:497
+#: Configuration.xml:519
#, no-c-format
msgid ""
"You might think this is silly and what kind of idiot framework designers "
@@ -1148,13 +1198,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:508
+#: Configuration.xml:530
#, no-c-format
msgid "Using Alternate JPA Providers"
msgstr ""
#. Tag: para
-#: Configuration.xml:510
+#: Configuration.xml:532
#, no-c-format
msgid ""
"Seam comes packaged and configured with Hibernate as the default JPA "
@@ -1163,13 +1213,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:516
+#: Configuration.xml:538
#, no-c-format
msgid "This is a workaround"
msgstr ""
#. Tag: para
-#: Configuration.xml:517
+#: Configuration.xml:539
#, no-c-format
msgid ""
"Configuration of the JPA provider will be easier in the future and will not "
@@ -1178,7 +1228,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:524
+#: Configuration.xml:546
#, no-c-format
msgid ""
"Telling seam about a different JPA provider can be be done in one of two "
@@ -1186,7 +1236,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:525
+#: Configuration.xml:547
#, no-c-format
msgid ""
"Update your application's <literal>components.xml</literal> so that the "
@@ -1195,7 +1245,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:530
+#: Configuration.xml:552
#, no-c-format
msgid ""
"<![CDATA[<component name=\"org.jboss.seam.persistence.persistenceProvider"
@@ -1206,7 +1256,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:531
+#: Configuration.xml:553
#, no-c-format
msgid ""
"If you want to take advantage of your JPA provider's non-standard features "
@@ -1218,7 +1268,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:538
+#: Configuration.xml:560
#, no-c-format
msgid ""
"<![CDATA[<component name=\"org.jboss.seam.persistence.persistenceProvider"
@@ -1228,7 +1278,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:539
+#: Configuration.xml:561
#, no-c-format
msgid ""
"All that is left is updating the <literal>persistence.xml</literal> file "
@@ -1238,13 +1288,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:547
+#: Configuration.xml:569
#, no-c-format
msgid "Configuring Seam in Java EE 5"
msgstr ""
#. Tag: para
-#: Configuration.xml:558
+#: Configuration.xml:580
#, no-c-format
msgid ""
"If you're running in a Java EE 5 environment, this is all the configuration "
@@ -1252,14 +1302,14 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:561 Configuration.xml:656 Configuration.xml:794
-#: Configuration.xml:827
+#: Configuration.xml:583 Configuration.xml:678 Configuration.xml:816
+#: Configuration.xml:849
#, no-c-format
msgid "Packaging"
msgstr ""
#. Tag: para
-#: Configuration.xml:563
+#: Configuration.xml:585
#, no-c-format
msgid ""
"Once you've packaged all this stuff together into an EAR, the archive "
@@ -1267,7 +1317,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:566
+#: Configuration.xml:588
#, no-c-format
msgid ""
"<![CDATA[my-application.ear/\n"
@@ -1307,7 +1357,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:568
+#: Configuration.xml:590
#, no-c-format
msgid ""
"You should declare <literal>jboss-seam.jar</literal> as an ejb module in "
@@ -1316,7 +1366,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:573
+#: Configuration.xml:595
#, no-c-format
msgid ""
"If you want to use jBPM or Drools, you must include the needed jars in the "
@@ -1324,7 +1374,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:575
+#: Configuration.xml:597
#, no-c-format
msgid ""
"If you want to use facelets (our recommendation), you must include "
@@ -1333,7 +1383,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:578
+#: Configuration.xml:600
#, no-c-format
msgid ""
"If you want to use the Seam tag library (most Seam applications do), you "
@@ -1344,7 +1394,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:583
+#: Configuration.xml:605
#, no-c-format
msgid ""
"If you want to use the Seam debug page (only works for applications using "
@@ -1353,7 +1403,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:586
+#: Configuration.xml:608
#, no-c-format
msgid ""
"Seam ships with several example applications that are deployable in any Java "
@@ -1361,7 +1411,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:589
+#: Configuration.xml:611
#, no-c-format
msgid ""
"I really wish that was all there was to say on the topic of configuration "
@@ -1371,13 +1421,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:598
+#: Configuration.xml:620
#, no-c-format
msgid "Configuring Seam in J2EE"
msgstr ""
#. Tag: para
-#: Configuration.xml:600
+#: Configuration.xml:622
#, no-c-format
msgid ""
"Seam is useful even if you're not yet ready to take the plunge into EJB 3.0. "
@@ -1389,7 +1439,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:615
+#: Configuration.xml:637
#, no-c-format
msgid ""
"Seam JavaBean components do not provide declarative transaction demarcation "
@@ -1401,7 +1451,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:621
+#: Configuration.xml:643
#, no-c-format
msgid ""
"The Seam distribution includes a version of the booking example application "
@@ -1411,13 +1461,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:626
+#: Configuration.xml:648
#, no-c-format
msgid "Boostrapping Hibernate in Seam"
msgstr ""
#. Tag: para
-#: Configuration.xml:628
+#: Configuration.xml:650
#, no-c-format
msgid ""
"Seam will bootstrap a Hibernate <literal>SessionFactory</literal> from your "
@@ -1426,7 +1476,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:631
+#: Configuration.xml:653
#, no-c-format
msgid ""
"<![CDATA[<persistence:hibernate-session-factory name="
@@ -1434,7 +1484,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:633
+#: Configuration.xml:655
#, no-c-format
msgid ""
"You will also need to configure a <emphasis>managed session</emphasis> if "
@@ -1443,7 +1493,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:636
+#: Configuration.xml:658
#, no-c-format
msgid ""
"<![CDATA[<persistence:managed-hibernate-session name=\"hibernateSession\"\n"
@@ -1452,13 +1502,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:641
+#: Configuration.xml:663
#, no-c-format
msgid "Boostrapping JPA in Seam"
msgstr ""
#. Tag: para
-#: Configuration.xml:643
+#: Configuration.xml:665
#, no-c-format
msgid ""
"Seam will bootstrap a JPA <literal>EntityManagerFactory</literal> from your "
@@ -1467,7 +1517,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:646
+#: Configuration.xml:668
#, no-c-format
msgid ""
"<![CDATA[<persistence:entity-manager-factory name=\"entityManagerFactory\"/"
@@ -1475,7 +1525,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:648
+#: Configuration.xml:670
#, no-c-format
msgid ""
"You will also need to configure a <emphasis>managed persistence context</"
@@ -1484,7 +1534,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:651
+#: Configuration.xml:673
#, no-c-format
msgid ""
"<![CDATA[<persistence:managed-persistence-context name=\"entityManager\"\n"
@@ -1493,13 +1543,13 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:658
+#: Configuration.xml:680
#, no-c-format
msgid "We can package our application as a WAR, in the following structure:"
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:660
+#: Configuration.xml:682
#, no-c-format
msgid ""
"<![CDATA[my-application.war/\n"
@@ -1536,7 +1586,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:662
+#: Configuration.xml:684
#, no-c-format
msgid ""
"If we want to deploy Hibernate in a non-EE environment like Tomcat or "
@@ -1544,13 +1594,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:669
+#: Configuration.xml:691
#, no-c-format
msgid "Configuring Seam in Java SE, without JBoss Embedded"
msgstr ""
#. Tag: para
-#: Configuration.xml:671
+#: Configuration.xml:693
#, no-c-format
msgid ""
"It is possible to use Seam completely outside of an EE environment. In this "
@@ -1560,7 +1610,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:675
+#: Configuration.xml:697
#, no-c-format
msgid ""
"<![CDATA[<transaction:entity-transaction entity-manager=\"#{entityManager}\"/"
@@ -1568,7 +1618,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:677
+#: Configuration.xml:699
#, no-c-format
msgid ""
"If you're using Hibernate, you can tell Seam to use the Hibernate "
@@ -1576,32 +1626,32 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:679
+#: Configuration.xml:701
#, no-c-format
msgid "<![CDATA[<transaction:hibernate-transaction session=\"#{session}\"/>]]>"
msgstr ""
#. Tag: para
-#: Configuration.xml:681
+#: Configuration.xml:703
#, no-c-format
msgid "Of course, you'll also need to define a datasource."
msgstr ""
#. Tag: para
-#: Configuration.xml:683
+#: Configuration.xml:705
#, no-c-format
msgid ""
"A better alternative is to use JBoss Embedded to get access to the EE APIs."
msgstr ""
#. Tag: title
-#: Configuration.xml:688
+#: Configuration.xml:710
#, no-c-format
msgid "Configuring Seam in Java SE, with JBoss Embedded"
msgstr ""
#. Tag: para
-#: Configuration.xml:690
+#: Configuration.xml:712
#, no-c-format
msgid ""
"JBoss Embedded lets you run EJB3 components outside the context of the Java "
@@ -1610,7 +1660,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:693
+#: Configuration.xml:715
#, no-c-format
msgid ""
"The Seam booking example application includes a TestNG integration test "
@@ -1618,19 +1668,19 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:705
+#: Configuration.xml:727
#, no-c-format
msgid "The booking example application may even be deployed to Tomcat."
msgstr ""
#. Tag: title
-#: Configuration.xml:717
+#: Configuration.xml:739
#, no-c-format
msgid "Installing Embedded JBoss"
msgstr ""
#. Tag: para
-#: Configuration.xml:720
+#: Configuration.xml:742
#, no-c-format
msgid ""
"Embedded JBoss must by installed into Tomcat for Seam applications to run "
@@ -1643,7 +1693,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:734
+#: Configuration.xml:756
#, no-c-format
msgid ""
"Copy all files and directories under the Embedded JBoss <literal>bootstrap</"
@@ -1653,7 +1703,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:741
+#: Configuration.xml:763
#, no-c-format
msgid ""
"Remove the <literal>annotations-api.jar</literal> file from the Tomcat "
@@ -1661,7 +1711,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:747
+#: Configuration.xml:769
#, no-c-format
msgid ""
"Next, two configuration files need to be updated to add Embedded JBoss-"
@@ -1669,7 +1719,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:753
+#: Configuration.xml:775
#, no-c-format
msgid ""
"Add the Embedded JBoss listener <literal>EmbeddedJBossBootstrapListener</"
@@ -1678,7 +1728,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:756
+#: Configuration.xml:778
#, no-c-format
msgid ""
"<![CDATA[<Server port=\"8005\" shutdown=\"SHUTDOWN\">\n"
@@ -1696,7 +1746,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:757
+#: Configuration.xml:779
#, no-c-format
msgid ""
"<![CDATA[ <!-- Add this listener -->\n"
@@ -1705,7 +1755,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:761
+#: Configuration.xml:783
#, no-c-format
msgid ""
"WAR file scanning should be enabled by adding the <literal>WebinfScanner</"
@@ -1713,7 +1763,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:764
+#: Configuration.xml:786
#, no-c-format
msgid ""
"<![CDATA[<Context>\n"
@@ -1728,7 +1778,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:765
+#: Configuration.xml:787
#, no-c-format
msgid ""
"<![CDATA[ <!-- Add this listener -->\n"
@@ -1736,13 +1786,13 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:766
+#: Configuration.xml:788
#, no-c-format
msgid "<![CDATA[</Context>]]>"
msgstr ""
#. Tag: para
-#: Configuration.xml:770
+#: Configuration.xml:792
#, no-c-format
msgid ""
"If you are using Sun JDK 6, you need to set the Java option <literal>sun."
@@ -1752,7 +1802,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:775
+#: Configuration.xml:797
#, no-c-format
msgid ""
"Open the script appropriate for your operating system in a text editor. Add "
@@ -1762,7 +1812,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:779
+#: Configuration.xml:801
#, no-c-format
msgid ""
"<![CDATA[set JAVA_OPTS=%JAVA_OPTS% -Dsun.lang.ClassLoader."
@@ -1770,13 +1820,13 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:781
+#: Configuration.xml:803
#, no-c-format
msgid "On Unix, use this syntax instead:"
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:783
+#: Configuration.xml:805
#, no-c-format
msgid ""
"<![CDATA[JAVA_OPTS=\"$JAVA_OPTS -Dsun.lang.ClassLoader.allowArraySyntax=true"
@@ -1784,7 +1834,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:788
+#: Configuration.xml:810
#, no-c-format
msgid ""
"For more configuration options, please see the Embedded JBoss Tomcat "
@@ -1793,7 +1843,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:796
+#: Configuration.xml:818
#, no-c-format
msgid ""
"The archive structure of a WAR-based deployment on an servlet engine like "
@@ -1801,7 +1851,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:799
+#: Configuration.xml:821
#, no-c-format
msgid ""
"<![CDATA[my-application.war/\n"
@@ -1839,7 +1889,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:801
+#: Configuration.xml:823
#, no-c-format
msgid ""
"Most of the Seam example applications may be deployed to Tomcat by running "
@@ -1847,13 +1897,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:809
+#: Configuration.xml:831
#, no-c-format
msgid "Configuring jBPM in Seam"
msgstr ""
#. Tag: para
-#: Configuration.xml:810
+#: Configuration.xml:832
#, no-c-format
msgid ""
"Seam's jBPM integration is not installed by default, so you'll need to "
@@ -1863,7 +1913,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:814
+#: Configuration.xml:836
#, no-c-format
msgid ""
"<![CDATA[<bpm:jbpm>\n"
@@ -1879,7 +1929,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:816
+#: Configuration.xml:838
#, no-c-format
msgid ""
"No further special configuration is needed if you only have pageflows. If "
@@ -1890,7 +1940,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:821
+#: Configuration.xml:843
#, no-c-format
msgid ""
"<![CDATA[<jbpm-configuration>\n"
@@ -1920,7 +1970,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:823
+#: Configuration.xml:845
#, no-c-format
msgid ""
"The most important thing to notice here is that jBPM transaction control is "
@@ -1928,7 +1978,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:829
+#: Configuration.xml:851
#, no-c-format
msgid ""
"There is not yet any well-defined packaging format for jBPM configuration "
@@ -1939,7 +1989,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:834
+#: Configuration.xml:856
#, no-c-format
msgid ""
"<![CDATA[my-application.ear/\n"
@@ -1986,13 +2036,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:841
+#: Configuration.xml:863
#, no-c-format
msgid "Configuring SFSB and Session Timeouts in JBoss AS"
msgstr ""
#. Tag: para
-#: Configuration.xml:843
+#: Configuration.xml:865
#, no-c-format
msgid ""
"It is very important that the timeout for Stateful Session Beans is set "
@@ -2004,7 +2054,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:849
+#: Configuration.xml:871
#, no-c-format
msgid ""
"The default SFSB timeout can be adjusted by modifying the value of "
@@ -2013,7 +2063,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:852
+#: Configuration.xml:874
#, no-c-format
msgid ""
"<![CDATA[<container-cache-conf>\n"
@@ -2038,7 +2088,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:854
+#: Configuration.xml:876
#, no-c-format
msgid ""
"The default HTTP session timeout can be modified in <literal>server/default/"
@@ -2049,7 +2099,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:859
+#: Configuration.xml:881
#, no-c-format
msgid ""
"<![CDATA[<session-config>\n"
@@ -2059,7 +2109,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:861
+#: Configuration.xml:883
#, no-c-format
msgid ""
"To override this value for your own application, simply include this entry "
@@ -2067,13 +2117,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:867
+#: Configuration.xml:889
#, no-c-format
msgid "Running Seam in a Portlet"
msgstr ""
#. Tag: para
-#: Configuration.xml:869
+#: Configuration.xml:891
#, no-c-format
msgid ""
"If you want to run your Seam application in a portlet, take a look at the "
@@ -2084,13 +2134,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:880
+#: Configuration.xml:902
#, no-c-format
msgid "Deploying custom resources"
msgstr ""
#. Tag: para
-#: Configuration.xml:882
+#: Configuration.xml:904
#, no-c-format
msgid ""
"Seam scans all jars containing <literal>/seam.properties</literal>, "
@@ -2101,7 +2151,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:889
+#: Configuration.xml:911
#, no-c-format
msgid ""
"You may also want Seam to handle custom resources. A common use case is to "
@@ -2111,7 +2161,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:896
+#: Configuration.xml:918
#, no-c-format
msgid ""
"<![CDATA[# A colon-separated list of annotation types to handle\n"
@@ -2119,7 +2169,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:898
+#: Configuration.xml:920
#, no-c-format
msgid ""
"Then, during application startup you can get hold of all classes annotated "
@@ -2127,7 +2177,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:903
+#: Configuration.xml:925
#, no-c-format
msgid ""
"<![CDATA[@Name(\"fooStartup\")\n"
@@ -2159,7 +2209,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:905
+#: Configuration.xml:927
#, no-c-format
msgid ""
"You can also handle <emphasis>any</emphasis> resource. For example, you "
@@ -2168,7 +2218,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:911
+#: Configuration.xml:933
#, no-c-format
msgid ""
"<![CDATA[public class FooDeploymentHandler implements DeploymentHandler {\n"
@@ -2192,7 +2242,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:913
+#: Configuration.xml:935
#, no-c-format
msgid ""
"Here we are just building a list of any files with the suffix <literal>.foo."
@@ -2200,7 +2250,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:918
+#: Configuration.xml:940
#, no-c-format
msgid ""
"Then, we need to register the deployment handler with Seam in <literal>/META-"
@@ -2209,7 +2259,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:925
+#: Configuration.xml:947
#, no-c-format
msgid ""
"<![CDATA[# For standard deployment\n"
@@ -2220,7 +2270,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:931
+#: Configuration.xml:953
#, no-c-format
msgid ""
"Seam uses deployment handlers internally to install components and "
@@ -2229,7 +2279,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:937
+#: Configuration.xml:959
#, no-c-format
msgid ""
"<![CDATA[@Name(\"fooStartup\")\n"
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/ru-RU/Webservices.po
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/ru-RU/Webservices.po 2009-08-26 19:14:02 UTC (rev 11432)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/ru-RU/Webservices.po 2009-08-26 19:19:33 UTC (rev 11433)
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-07-08 14:32+0000\n"
+"POT-Creation-Date: 2009-08-26 18:48+0000\n"
"PO-Revision-Date: 2008-04-04 01:24+0000\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
@@ -392,48 +392,56 @@
#: Webservices.xml:186
#, no-c-format
msgid ""
-"The URI starts with the pattern mapped in <literal>web.xml</literal> for the "
+"The URI starts with the host and context path of your application, e.g. "
+"<literal>http://your.hostname/myapp</literal>."
+msgstr ""
+
+#. Tag: para
+#: Webservices.xml:192
+#, no-c-format
+msgid ""
+"Then the pattern mapped in <literal>web.xml</literal> for the "
"<literal>SeamResourceServlet</literal>, e.g <literal>/seam/resource</"
-"literal> if you follow the common examples. Change this setting to expose "
-"your RESTful resources under a different base. Note that this is a global "
-"change and other Seam resources (e.g. <literal>s:graphicImage</literal>) are "
-"then also served under that base path."
+"literal> if you follow the common examples, is appended. Change this setting "
+"to expose your RESTful resources under a different base. Note that this is a "
+"global change and other Seam resources (e.g. <literal>s:graphicImage</"
+"literal>) are then also served under that base path."
msgstr ""
#. Tag: para
-#: Webservices.xml:195
+#: Webservices.xml:201
#, no-c-format
msgid ""
"The RESTEasy integration for Seam then appends a configurable string to the "
"base path, by default this is <literal>/rest</literal>. Hence, the full base "
-"path of your resources would e.g. be <literal>/seam/resource/rest</literal>. "
-"We recommend that you change this string in your application, you could for "
-"example add a version number to prepare for a future REST API upgrade of "
-"your services (old clients would keep the old URI base): <literal>/seam/"
-"resource/restv1</literal>."
+"path of your resources would e.g. be <literal>/myapp/seam/resource/rest</"
+"literal>. We recommend that you change this string in your application, you "
+"could for example add a version number to prepare for a future REST API "
+"upgrade of your services (old clients would keep the old URI base): "
+"<literal>/myapp/seam/resource/restv1</literal>."
msgstr ""
#. Tag: para
-#: Webservices.xml:204
+#: Webservices.xml:210
#, no-c-format
msgid ""
"Finally, the actual resource is available under the defined <literal>@Path</"
"literal>, e.g. a resource mapped with <literal>@Path(\"/customer\")</"
-"literal> would be available under <literal>/seam/resource/rest/customer</"
-"literal>."
+"literal> would be available under <literal>/myapp/seam/resource/rest/"
+"customer</literal>."
msgstr ""
#. Tag: para
-#: Webservices.xml:212
+#: Webservices.xml:218
#, no-c-format
msgid ""
"As an example, the following resource definition would return a plaintext "
"representation for any GET requests using the URI <literal>http://your."
-"hostname/seam/resource/rest/customer/123</literal>:"
+"hostname/myapp/seam/resource/rest/customer/123</literal>:"
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:217
+#: Webservices.xml:223
#, no-c-format
msgid ""
"<![CDATA[@Path(\"/customer\")\n"
@@ -450,7 +458,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:219
+#: Webservices.xml:225
#, no-c-format
msgid ""
"No additional configuration is required, you do not have to edit "
@@ -461,7 +469,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:225
+#: Webservices.xml:231
#, no-c-format
msgid ""
"<![CDATA[<components\n"
@@ -476,63 +484,39 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:227
+#: Webservices.xml:233
#, no-c-format
msgid ""
"You can then change the <literal>/rest</literal> prefix as mentioned earlier:"
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:231
+#: Webservices.xml:237
#, no-c-format
msgid "<![CDATA[<resteasy:application resource-path-prefix=\"/restv1\"/>]]>"
msgstr ""
#. Tag: para
-#: Webservices.xml:233
-#, no-c-format
-msgid ""
-"The full base path to your resources is now <literal>/seam/resource/restv1/"
-"{resource}</literal> - note that your <literal>@Path</literal> definitions "
-"and mappings do NOT change. This is an application-wide switch usually used "
-"for versioning of the HTTP API."
-msgstr ""
-
-#. Tag: para
#: Webservices.xml:239
#, no-c-format
msgid ""
-"You can disable stripping of the base path if you'd like to map the full "
-"path in your resources:"
+"The full base path to your resources is now <literal>/myapp/seam/resource/"
+"restv1/{resource}</literal> - note that your <literal>@Path</literal> "
+"definitions and mappings do NOT change. This is an application-wide switch "
+"usually used for versioning of the HTTP interface."
msgstr ""
-#. Tag: programlisting
-#: Webservices.xml:243
-#, no-c-format
-msgid "<![CDATA[<resteasy:application strip-seam-resource-path=\"false\"/>]]>"
-msgstr ""
-
#. Tag: para
#: Webservices.xml:245
#, no-c-format
msgid ""
-"The path of a resource is now mapped with e.g. <literal>@Path(\"/seam/"
-"resource/rest/customer\")</literal>. We do not recommend disabling this "
-"feature, as your resource class mappings are then bound to a particular "
-"deployment scenario."
-msgstr ""
-
-#. Tag: para
-#: Webservices.xml:251
-#, no-c-format
-msgid ""
"Seam will scan your classpath for any deployed <literal>@javax.ws.rs.Path</"
"literal> resources and any <literal>@javax.ws.rs.ext.Provider</literal> "
"classes. You can disable scanning and configure these classes manually:"
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:257
+#: Webservices.xml:251
#, no-c-format
msgid ""
"<![CDATA[<resteasy:application\n"
@@ -554,7 +538,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:259
+#: Webservices.xml:253
#, no-c-format
msgid ""
"The <literal>use-built-in-providers</literal> switch enables (default) or "
@@ -564,7 +548,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:265
+#: Webservices.xml:259
#, no-c-format
msgid ""
"RESTEasy supports plain EJBs (EJBs that are not Seam components) as "
@@ -576,20 +560,21 @@
"<literal>@Path</literal>, <literal>@GET</literal>, and so on - not the bean "
"implementation class. This allows you to keep your application deployment-"
"portable with the global Seam <literal>jndi-pattern</literal> switch on "
-"<literal><core:init/></literal>. Note that EJB resources will not be "
-"found even if scanning of resources is enabled, you always have to list them "
-"manually. Again, this is only relevant for EJB resources that are not also "
-"Seam components and that do not have a <literal>@Name</literal> annotation."
+"<literal><core:init/></literal>. Note that plain (non-Seam component) "
+"EJB resources will not be found even if scanning of resources is enabled, "
+"you always have to list them manually. Again, this whole paragraph is only "
+"relevant for EJB resources that are not also Seam components and that do not "
+"have an <literal>@Name</literal> annotation."
msgstr ""
#. Tag: para
-#: Webservices.xml:277
+#: Webservices.xml:272
#, no-c-format
msgid "Finally, you can configure media type and language URI extensions:"
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:281
+#: Webservices.xml:276
#, no-c-format
msgid ""
"<![CDATA[<resteasy:application>\n"
@@ -606,7 +591,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:283
+#: Webservices.xml:278
#, no-c-format
msgid ""
"This definition would map the URI suffix of <literal>.txt.deutsch</literal> "
@@ -616,13 +601,13 @@
msgstr ""
#. Tag: title
-#: Webservices.xml:292
+#: Webservices.xml:287
#, no-c-format
msgid "Resources and providers as Seam components"
msgstr ""
#. Tag: para
-#: Webservices.xml:294
+#: Webservices.xml:289
#, no-c-format
msgid ""
"Any resource and provider instances are managed by RESTEasy by default. That "
@@ -633,7 +618,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:301
+#: Webservices.xml:296
#, no-c-format
msgid ""
"You can write resources and providers as Seam components and benefit from "
@@ -642,7 +627,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:307
+#: Webservices.xml:302
#, no-c-format
msgid ""
"<![CDATA[@Name(\"customerResource\")\n"
@@ -663,7 +648,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:309
+#: Webservices.xml:304
#, no-c-format
msgid ""
"An instance of <literal>customerResource</literal> is now handled by Seam "
@@ -677,7 +662,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:318
+#: Webservices.xml:313
#, no-c-format
msgid ""
"You can annotate an interface and keep the implementation free from JAX-RS "
@@ -685,7 +670,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:322
+#: Webservices.xml:317
#, no-c-format
msgid ""
"<![CDATA[@Path(\"/customer\")\n"
@@ -700,7 +685,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:324
+#: Webservices.xml:319
#, no-c-format
msgid ""
"<![CDATA[@Name(\"customerResource\")\n"
@@ -718,7 +703,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:326
+#: Webservices.xml:321
#, no-c-format
msgid ""
"You can use <literal>SESSION</literal>-scoped Seam components. By default, "
@@ -733,7 +718,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:335
+#: Webservices.xml:330
#, no-c-format
msgid ""
"Assuming that your Seam application only uses event, application, or "
@@ -745,7 +730,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:342
+#: Webservices.xml:337
#, no-c-format
msgid ""
"If your RESTful Seam application has to preserve session state across REST "
@@ -753,14 +738,14 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:347
+#: Webservices.xml:342
#, no-c-format
msgid ""
"<![CDATA[<resteasy:application destroy-session-after-request=\"false\"/>]]>"
msgstr ""
#. Tag: para
-#: Webservices.xml:349
+#: Webservices.xml:344
#, no-c-format
msgid ""
"Every REST HTTP request will now create a new session that will only be "
@@ -771,7 +756,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:356
+#: Webservices.xml:351
#, no-c-format
msgid ""
"<literal>CONVERSATION</literal>-scoped resource components and mapping of "
@@ -780,7 +765,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:361
+#: Webservices.xml:356
#, no-c-format
msgid ""
"EJB Seam components are supported. Always annotate the local business "
@@ -789,7 +774,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:366
+#: Webservices.xml:361
#, no-c-format
msgid ""
"Provider classes can also be Seam components, only <literal>APPLICATION</"
@@ -799,13 +784,13 @@
msgstr ""
#. Tag: title
-#: Webservices.xml:375
+#: Webservices.xml:370
#, no-c-format
msgid "Securing resources"
msgstr ""
#. Tag: para
-#: Webservices.xml:377
+#: Webservices.xml:372
#, no-c-format
msgid ""
"You can enable the Seam authentication filter for HTTP Basic and Digest "
@@ -813,7 +798,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:382
+#: Webservices.xml:377
#, no-c-format
msgid ""
"<![CDATA[<web:authentication-filter url-pattern=\"/seam/resource/rest/*\" "
@@ -821,14 +806,14 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:384
+#: Webservices.xml:379
#, no-c-format
msgid ""
"See the Seam security chapter on how to write an authentication routine."
msgstr ""
#. Tag: para
-#: Webservices.xml:388
+#: Webservices.xml:383
#, no-c-format
msgid ""
"After successful authentication, authorization rules with the common "
@@ -839,13 +824,13 @@
msgstr ""
#. Tag: title
-#: Webservices.xml:398
+#: Webservices.xml:393
#, no-c-format
msgid "Mapping exceptions to HTTP responses"
msgstr ""
#. Tag: para
-#: Webservices.xml:400
+#: Webservices.xml:395
#, no-c-format
msgid ""
"Section 3.3.4 of the JAX-RS specification defines how checked or unchecked "
@@ -858,7 +843,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:408
+#: Webservices.xml:403
#, no-c-format
msgid ""
"Exception handling within Seam requires that the Seam filter is executed for "
@@ -870,7 +855,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:415
+#: Webservices.xml:410
#, no-c-format
msgid ""
"<![CDATA[<filter>\n"
@@ -885,7 +870,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:417
+#: Webservices.xml:412
#, no-c-format
msgid ""
"To convert the unchecked <literal>UnsupportedOperationException</literal> "
@@ -895,7 +880,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:423
+#: Webservices.xml:418
#, no-c-format
msgid ""
"<![CDATA[<exception class=\"java.lang.UnsupportedOperationException\">\n"
@@ -906,13 +891,13 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:425
+#: Webservices.xml:420
#, no-c-format
msgid "Custom or checked exceptions are handled the same:"
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:429
+#: Webservices.xml:424
#, no-c-format
msgid ""
"<![CDATA[<exception class=\"my.CustomException\" log=\"false\">\n"
@@ -924,7 +909,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:431
+#: Webservices.xml:426
#, no-c-format
msgid ""
"You do not have to send an HTTP error to the client if an exception occurs. "
@@ -935,7 +920,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:438
+#: Webservices.xml:433
#, no-c-format
msgid ""
"Note that the HTTP response still passes through the servlet container, so "
@@ -946,13 +931,13 @@
msgstr ""
#. Tag: title
-#: Webservices.xml:447
+#: Webservices.xml:442
#, no-c-format
msgid "Testing resources and providers"
msgstr ""
#. Tag: para
-#: Webservices.xml:449
+#: Webservices.xml:444
#, no-c-format
msgid ""
"Seam includes a unit testing utility class that helps you create unit tests "
@@ -962,7 +947,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:455
+#: Webservices.xml:450
#, no-c-format
msgid ""
"<![CDATA[import org.jboss.seam.mock.ResourceRequestEnvironment;\n"
@@ -1019,7 +1004,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:457
+#: Webservices.xml:452
#, no-c-format
msgid ""
"This test only executes local calls, it does not communicate with the "
@@ -1032,7 +1017,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:465
+#: Webservices.xml:460
#, no-c-format
msgid ""
"Note that a <literal>ResourceRequest</literal> has to be executed in a "
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/ru-RU/Websphere.po
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/ru-RU/Websphere.po 2009-08-26 19:14:02 UTC (rev 11432)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/ru-RU/Websphere.po 2009-08-26 19:19:33 UTC (rev 11433)
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-08-22 13:17+0000\n"
+"POT-Creation-Date: 2009-08-26 18:48+0000\n"
"PO-Revision-Date: 2008-04-04 01:24+0000\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
@@ -76,25 +76,27 @@
#, no-c-format
msgid ""
"The following sections in this chapter assume that WebSphere is correctly "
-"installed and is functional, and a profile has been successfully created."
+"installed and is functional, and a WebSphere \"profile\" has been "
+"successfully created."
msgstr ""
#. Tag: para
#: Websphere.xml:40
#, no-c-format
msgid ""
-"This chapter explain how to compile, deploy and run some sample applications "
-"in WebSphere. These sample applications require a database. WebSphere comes "
-"by default with a set of sample applications called \"Default Application\". "
-"This set of sample applications use a Derby database running on the Derby "
-"instance installed with WebSphere. In order to keep this simple we'll use "
-"this Derby database created for the \"Default Applications\". However, to "
-"run the sample application with the Derby database \"as-is\", a patched "
-"Hibernate dialect must be used (The patch changes the default \"auto\" key "
-"generation strategy) as explained in <xref linkend=\"glassfish\"/>. If you "
-"want to use another database, it's just a matter of creating a connection "
-"pool in WebSphere pointing to this database, declare the correct Hibernate "
-"dialect and set the correct JNDI name in <literal>persistence.xml</literal>."
+"This chapter explains how to compile, deploy and run some sample "
+"applications in WebSphere. These sample applications require a database. "
+"WebSphere comes by default with a set of sample applications called "
+"\"Default Application\". This set of sample applications use a Derby "
+"database running on the Derby instance installed within WebSphere. In order "
+"to keep this simple we'll use this Derby database created for the \"Default "
+"Applications\". However, to run the sample application with the Derby "
+"database \"as-is\", a patched Hibernate dialect must be used (The patch "
+"changes the default \"auto\" key generation strategy) as explained in <xref "
+"linkend=\"glassfish\"/>. If you want to use another database, it's just a "
+"matter of creating a connection pool in WebSphere pointing to this database, "
+"declare the correct Hibernate dialect and set the correct JNDI name in "
+"<literal>persistence.xml</literal>."
msgstr ""
#. Tag: title
@@ -144,14 +146,14 @@
#, no-c-format
msgid ""
"On the right navigation menu, select <literal>Web Container Settings/Web "
-"container</literal>)"
+"container</literal>"
msgstr ""
#. Tag: listitem
#: Websphere.xml:73
#, no-c-format
msgid ""
-"On the right navigation menu, select <literal>custom properties</literal>) "
+"On the right navigation menu, select <literal>custom properties</literal> "
"and add the following properties:"
msgstr ""
@@ -170,7 +172,7 @@
#. Tag: listitem
#: Websphere.xml:84
#, no-c-format
-msgid "Save and restart the server"
+msgid "Save the configuration and restart the server"
msgstr ""
#. Tag: title
@@ -189,38 +191,38 @@
msgstr ""
#. Tag: listitem
-#: Websphere.xml:97
+#: Websphere.xml:96
#, no-c-format
msgid ""
"The global <literal>jndi-pattern</literal> switch on the <literal><core:"
-"init></literal>. in <literal>components.xml</literal>. The switch can use "
-"a special placeholder \"<literal>#{ejbName}</literal>\" that resolves to the "
-"unqualified name of the EJB"
+"init></literal>tag in <literal>components.xml</literal>. The switch can "
+"use a special placeholder \"<literal>#{ejbName}</literal>\" that resolves to "
+"the unqualified name of the EJB"
msgstr ""
#. Tag: para
-#: Websphere.xml:102
+#: Websphere.xml:100
#, no-c-format
msgid "The <literal>@JndiName</literal> annotation"
msgstr ""
#. Tag: para
-#: Websphere.xml:108
+#: Websphere.xml:106
#, no-c-format
msgid "gives detailed explanations on how those mechanisms work."
msgstr ""
#. Tag: para
-#: Websphere.xml:112
+#: Websphere.xml:110
#, no-c-format
msgid ""
-"By default, WebSphere will bind the session bean in its local JNDI name "
-"space under a \"short\" binding name that adheres to the following pattern "
+"By default, WebSphere will bind session beans in its local JNDI name space "
+"under a \"short\" binding name that adheres to the following pattern "
"<literal>ejblocal:<package.qualified.local.interface.name></literal>."
msgstr ""
#. Tag: para
-#: Websphere.xml:117
+#: Websphere.xml:115
#, no-c-format
msgid ""
"For a detailed description on how WebSphere v7 organizes and binds EJBs in "
@@ -228,7 +230,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:120
+#: Websphere.xml:118
#, no-c-format
msgid ""
"As explained before, Seam needs to lookup for session bean as they appear in "
@@ -236,35 +238,35 @@
msgstr ""
#. Tag: listitem
-#: Websphere.xml:124
+#: Websphere.xml:121
#, no-c-format
msgid ""
"Specify which JNDI name Seam must use for each session bean using the "
-"<literal>@JndiName</literal> annotation in the java source file"
+"<literal>@JndiName</literal> annotation in the java source file,"
msgstr ""
#. Tag: listitem
-#: Websphere.xml:127
+#: Websphere.xml:123
#, no-c-format
msgid ""
"Override the default session bean names generated by WebSphere to conform to "
-"the <literal>jndi-pattern</literal> attribute"
+"the <literal>jndi-pattern</literal> attribute,"
msgstr ""
#. Tag: listitem
-#: Websphere.xml:130
+#: Websphere.xml:126
#, no-c-format
-msgid "Use EJB references"
+msgid "Use EJB references."
msgstr ""
#. Tag: title
-#: Websphere.xml:137
+#: Websphere.xml:133
#, no-c-format
msgid "Strategy 1: Specify which JNDI name Seam must use for each Session Bean"
msgstr ""
#. Tag: para
-#: Websphere.xml:138
+#: Websphere.xml:134
#, no-c-format
msgid ""
"This strategy is the simplest and fastest one regarding development. It uses "
@@ -272,7 +274,7 @@
msgstr ""
#. Tag: listitem
-#: Websphere.xml:141
+#: Websphere.xml:137
#, no-c-format
msgid ""
"Add a <literal>@JndiName(\"ejblocal:<package.qualified.local.interface."
@@ -280,20 +282,20 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:145 Websphere.xml:188
+#: Websphere.xml:141 Websphere.xml:184
#, no-c-format
msgid ""
"<para>In <literal>components.xml</literal>, add the following line:</para>"
msgstr ""
#. Tag: programlisting
-#: Websphere.xml:147 Websphere.xml:220
+#: Websphere.xml:143 Websphere.xml:216
#, no-c-format
msgid "<![CDATA[<core:init jndi-name=\"java:comp/env/#{ejbName}\" />]]>"
msgstr ""
#. Tag: para
-#: Websphere.xml:151
+#: Websphere.xml:147
#, no-c-format
msgid ""
"Add a file named <literal>WEB-INF/classes/seam-jndi.properties</literal> in "
@@ -301,7 +303,7 @@
msgstr ""
#. Tag: programlisting
-#: Websphere.xml:153
+#: Websphere.xml:149
#, no-c-format
msgid ""
"com.ibm.websphere.naming.hostname.normalizer=com.ibm.ws.naming.util."
@@ -323,13 +325,13 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:157
+#: Websphere.xml:153
#, no-c-format
msgid "At the end of <literal>web.xml</literal>, add the following lines:"
msgstr ""
#. Tag: programlisting
-#: Websphere.xml:159
+#: Websphere.xml:155
#, no-c-format
msgid ""
"<![CDATA[<ejb-local-ref>\n"
@@ -341,7 +343,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:164
+#: Websphere.xml:160
#, no-c-format
msgid ""
"That's all folks! No need to update any file during the development, nor to "
@@ -349,23 +351,23 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:167
+#: Websphere.xml:163
#, no-c-format
msgid ""
-"Compared to the other strategies, this strategy has the advantage not to "
-"have to manage any EJBs reference and also not to have to maintain extra "
+"Compared to the other strategies, this strategy has the advantage to not "
+"have to manage any EJBs reference and also to not have to maintain extra "
"files. The only drawback is one extra line in the java source code with the "
"<literal>@JndiName</literal> annotation"
msgstr ""
#. Tag: title
-#: Websphere.xml:174
+#: Websphere.xml:170
#, no-c-format
msgid "Strategy 2: Override the default names generated by WebSphere"
msgstr ""
#. Tag: section
-#: Websphere.xml:174
+#: Websphere.xml:170
#, no-c-format
msgid ""
"There is no simple way to globally override the default naming strategy for "
@@ -374,13 +376,13 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:177
+#: Websphere.xml:173
#, no-c-format
msgid "To use this strategy:"
msgstr ""
#. Tag: para
-#: Websphere.xml:181
+#: Websphere.xml:177
#, no-c-format
msgid ""
"Add a file named <literal>META-INF/ibm-ejb-jar-ext.xml</literal> in the EJB "
@@ -405,13 +407,13 @@
msgstr ""
#. Tag: programlisting
-#: Websphere.xml:190
+#: Websphere.xml:186
#, no-c-format
msgid "<![CDATA[<core:init jndi-name=\"ejblocal:#{ejbName}\" />]]>"
msgstr ""
#. Tag: para
-#: Websphere.xml:194
+#: Websphere.xml:190
#, no-c-format
msgid ""
"Add a file named <literal>WEB-INF/classes/seam-jndi.properties</literal> as "
@@ -419,7 +421,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:199
+#: Websphere.xml:195
#, no-c-format
msgid ""
"In <literal>web.xml</literal>, add the following lines (Note the different "
@@ -427,7 +429,7 @@
msgstr ""
#. Tag: programlisting
-#: Websphere.xml:201
+#: Websphere.xml:197
#, no-c-format
msgid ""
"<![CDATA[<ejb-local-ref>\n"
@@ -439,7 +441,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:206
+#: Websphere.xml:202
#, no-c-format
msgid ""
"Compared to the first strategy, this strategy requires to maintain an extra "
@@ -449,13 +451,13 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:215
+#: Websphere.xml:211
#, no-c-format
msgid "Strategy 3: Use EJB references"
msgstr ""
#. Tag: section
-#: Websphere.xml:215
+#: Websphere.xml:211
#, no-c-format
msgid ""
"This strategy is based on the usage of EJB references, from EJB to EJB and "
@@ -463,7 +465,7 @@
msgstr ""
#. Tag: listitem
-#: Websphere.xml:218
+#: Websphere.xml:214
#, no-c-format
msgid ""
"<listitem>In <literal>components.xml</literal>, add the following line:</"
@@ -471,7 +473,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:223
+#: Websphere.xml:219
#, no-c-format
msgid ""
"Follow the instructions in <xref linkend=\"config.integration.ejb.container"
@@ -479,7 +481,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:228
+#: Websphere.xml:224
#, no-c-format
msgid ""
"This is the most tedious strategy as each session bean referenced by another "
@@ -489,27 +491,27 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:239
+#: Websphere.xml:235
#, no-c-format
msgid "Configuring timeouts for Stateful Session Beans"
msgstr ""
#. Tag: para
-#: Websphere.xml:240
+#: Websphere.xml:236
#, no-c-format
msgid ""
"A timeout value has to be set for each stateful session bean used in the "
"application because stateful bean must not expire in WebSphere while Seam "
-"might still need thenm. At the time of writing this document, WebSphere does "
+"might still need them. At the time of writing this document, WebSphere does "
"not provide a way to configure a global timeout at neither the cluster, "
"server, application nor ejb-jar level. It has to be done for each stateful "
-"bean individually. This is done by adding a file named <literal>META-INF/ibm-"
-"ejb-jar-ext.xml</literal> in the EJB module, and declare the timeout value "
-"for each bean:"
+"bean individually. By default, the default timeout is 10 minutes. This is "
+"done by adding a file named <literal>META-INF/ibm-ejb-jar-ext.xml</literal> "
+"in the EJB module, and declare the timeout value for each bean:"
msgstr ""
#. Tag: programlisting
-#: Websphere.xml:246
+#: Websphere.xml:242
#, no-c-format
msgid ""
"<![CDATA[<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
@@ -529,24 +531,24 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:248
+#: Websphere.xml:244
#, no-c-format
msgid ""
"The <literal>time-out</literal> is expressed in seconds and must be higher "
"than the Seam conversation expiration timeout and a few minutes higher than "
"the user's HTTP session timeout (The session expiration timeout can trigger "
-"a few minutes after the number of minutes declared to expire s for the HTTP "
-"session expiration)."
+"a few minutes after the number of minutes declared to expire the HTTP "
+"session)."
msgstr ""
#. Tag: title
-#: Websphere.xml:257
+#: Websphere.xml:253
#, no-c-format
msgid "The <literal>jee5/booking</literal> example"
msgstr ""
#. Tag: para
-#: Websphere.xml:259
+#: Websphere.xml:255
#, no-c-format
msgid ""
"The<literal>jee5/booking</literal>example is based on the Hotel Booking "
@@ -557,23 +559,32 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:265
+#: Websphere.xml:261
#, no-c-format
msgid ""
-"For running this example, we'll use the second JNDI mapping strategy "
-"(\"Override the default names generated by WebSphere\") as we don't want to "
-"change the java code to add the <literal>@JndiName</literal> annotation as "
-"in the first strategy."
+"The example already has a breakout of configurations and build scripts for "
+"WebSphere. First thing, we are going to do is build and deploy this example. "
+"Then we'll go over some key changes that we needed."
msgstr ""
+#. Tag: para
+#: Websphere.xml:266
+#, no-c-format
+msgid ""
+"The tailored configuration files for WebSphere use the second JNDI mapping "
+"strategy (\"Override the default names generated by WebSphere\") as the goal "
+"was to not change any java code to add the <literal>@JndiName</literal> "
+"annotation as in the first strategy."
+msgstr ""
+
#. Tag: title
-#: Websphere.xml:271
+#: Websphere.xml:272
#, no-c-format
msgid "Building the <literal>jee5/booking</literal> example"
msgstr ""
#. Tag: para
-#: Websphere.xml:273
+#: Websphere.xml:274
#, no-c-format
msgid ""
"Building it only requires running the correct ant command: "
@@ -583,21 +594,21 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:280
+#: Websphere.xml:281
#, no-c-format
msgid "Deploying the <literal>jee5/booking</literal> example"
msgstr ""
#. Tag: para
-#: Websphere.xml:281
+#: Websphere.xml:282
#, no-c-format
msgid ""
-"The steps below are for the WAS version stated above.The ports are default "
-"values, if you changed them, you must substitute the values."
+"The steps below are for the WAS version stated above.The ports are the "
+"default values, if you changed them, you must substitute the values."
msgstr ""
#. Tag: listitem
-#: Websphere.xml:284
+#: Websphere.xml:285
#, no-c-format
msgid ""
"Log in to the administration console <programlisting><![CDATA[http://"
@@ -606,7 +617,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:291
+#: Websphere.xml:292
#, no-c-format
msgid ""
"Go to the <literal>WebSphere enterprise applications</literal> menu option "
@@ -615,7 +626,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:298
+#: Websphere.xml:299
#, no-c-format
msgid ""
"At the top of the <literal>Enterprise Applications</literal> table select "
@@ -624,13 +635,13 @@
msgstr ""
#. Tag: literal
-#: Websphere.xml:304
+#: Websphere.xml:305
#, no-c-format
msgid "Preparing for the application installation"
msgstr ""
#. Tag: para
-#: Websphere.xml:307
+#: Websphere.xml:308
#, no-c-format
msgid ""
"Browse to the <literal>examples/jee5/booking/dist-websphere7/jboss-seam-jee5."
@@ -638,25 +649,25 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:313 Websphere.xml:323 Websphere.xml:341
+#: Websphere.xml:314 Websphere.xml:324 Websphere.xml:342
#, no-c-format
msgid "Select the <literal>Next</literal> button."
msgstr ""
#. Tag: para
-#: Websphere.xml:318
+#: Websphere.xml:319
#, no-c-format
msgid "Select the <literal>Fast Path</literal> button."
msgstr ""
#. Tag: literal
-#: Websphere.xml:332
+#: Websphere.xml:333
#, no-c-format
msgid "Select installation options"
msgstr ""
#. Tag: para
-#: Websphere.xml:335
+#: Websphere.xml:336
#, no-c-format
msgid ""
"Select the <literal>Deploy enterprise beans and Allow EJB reference targets "
@@ -665,13 +676,13 @@
msgstr ""
#. Tag: literal
-#: Websphere.xml:350
+#: Websphere.xml:351
#, no-c-format
msgid "Map modules to servers"
msgstr ""
#. Tag: para
-#: Websphere.xml:353
+#: Websphere.xml:354
#, no-c-format
msgid ""
"No changes needed here as we only have one server. Select the <literal>Next</"
@@ -679,13 +690,13 @@
msgstr ""
#. Tag: literal
-#: Websphere.xml:362
+#: Websphere.xml:363
#, no-c-format
msgid "Map virtual hosts for Web modules"
msgstr ""
#. Tag: para
-#: Websphere.xml:365
+#: Websphere.xml:366
#, no-c-format
msgid ""
"No changes needed here as we only have one virtual host. Select the "
@@ -693,31 +704,31 @@
msgstr ""
#. Tag: literal
-#: Websphere.xml:374
+#: Websphere.xml:375
#, no-c-format
msgid "Summary"
msgstr ""
#. Tag: para
-#: Websphere.xml:377
+#: Websphere.xml:378
#, no-c-format
msgid "No changes needed here. Select the <literal>Finish</literal> button."
msgstr ""
#. Tag: literal
-#: Websphere.xml:384
+#: Websphere.xml:385
#, no-c-format
msgid "Installation"
msgstr ""
#. Tag: para
-#: Websphere.xml:387
+#: Websphere.xml:388
#, no-c-format
msgid "Now you will see WebSphere installing and deploying your application."
msgstr ""
#. Tag: para
-#: Websphere.xml:390
+#: Websphere.xml:391
#, no-c-format
msgid ""
"When done, select the <literal>Save</literal> link and you will be returned "
@@ -725,15 +736,15 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:399
+#: Websphere.xml:400
#, no-c-format
msgid ""
-"To start the application select our application in the list, then click on "
+"To start the application, select the application in the list, then click on "
"the <literal>Start</literal> button at the top of the table."
msgstr ""
#. Tag: para
-#: Websphere.xml:409
+#: Websphere.xml:410
#, no-c-format
msgid ""
"You can now access the application at <literal>http://localhost:9080/seam-"
@@ -741,13 +752,13 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:418
+#: Websphere.xml:419
#, no-c-format
msgid "Deviation from the original base files"
msgstr ""
#. Tag: section
-#: Websphere.xml:418
+#: Websphere.xml:419
#, no-c-format
msgid ""
"Below are the differences between the base configuration files and the "
@@ -756,7 +767,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:422
+#: Websphere.xml:423
#, no-c-format
msgid ""
"<literal>META-INF/ejb-jar.xml</literal> — Removed all the EJB "
@@ -764,37 +775,37 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:428
+#: Websphere.xml:429
#, no-c-format
msgid ""
"<literal>META-INF/ibm-ejb-jar-bnd.xml</literal> — This WebSphere "
"specific file has been added as we use the second JNDI mapping strategy. It "
-"defines, for each session bean, the name WebSphere will use to bind it its "
-"JNDI name space"
+"defines, for each session bean, the name WebSphere will use to bind it in "
+"its JNDI name space"
msgstr ""
#. Tag: para
-#: Websphere.xml:435
+#: Websphere.xml:436
#, no-c-format
msgid ""
"<literal>META-INF/ibm-ejb-jar-ext.xml</literal> — This WebSphere "
-"specific file defines to WebSphere, the timeout value for each stateful bean"
+"specific file defines the timeout value for each stateful bean"
msgstr ""
#. Tag: para
-#: Websphere.xml:441
+#: Websphere.xml:442
#, no-c-format
msgid ""
"<literal>META-INF/persistence.xml</literal> — The main changes here "
"are for the datasource JNDI path, switching to the WebSphere transaction "
"manager lookup class, turning off the <literal>hibernate.transaction."
"flush_before_completion</literal> toggle, and forcing the Hibernate dialect "
-"to be <literal>GlassfishDerbyDialect</literal> how as using the integrated "
-"Derby database"
+"to be <literal>GlassfishDerbyDialect</literal> as we are using the "
+"integrated Derby database"
msgstr ""
#. Tag: para
-#: Websphere.xml:451
+#: Websphere.xml:452
#, no-c-format
msgid ""
"<literal>WEB-INF/components.xml</literal> — the change here is "
@@ -803,7 +814,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:459
+#: Websphere.xml:460
#, no-c-format
msgid ""
"<literal>WEB-INF/web.xml</literal> — Remove all the <literal>ejb-local "
@@ -813,7 +824,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:467 Websphere.xml:549
+#: Websphere.xml:468
#, no-c-format
msgid ""
"<literal>import.sql</literal> — due to the cutomized hibernate Derby "
@@ -822,7 +833,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:474
+#: Websphere.xml:475
#, no-c-format
msgid ""
"Also the build procedure has been changed to include the <literal>log4j.jar</"
@@ -831,13 +842,13 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:486
+#: Websphere.xml:487
#, no-c-format
msgid "The <literal>jpa</literal> booking example"
msgstr ""
#. Tag: para
-#: Websphere.xml:488
+#: Websphere.xml:489
#, no-c-format
msgid ""
"This is the Hotel Booking example implemented in Seam POJOs and using "
@@ -845,7 +856,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:493
+#: Websphere.xml:494
#, no-c-format
msgid ""
"The example already has a breakout of configurations and build scripts for "
@@ -853,7 +864,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:498
+#: Websphere.xml:499
#, no-c-format
msgid ""
"First thing, we are going to do is build and deploy that example. Then we'll "
@@ -861,13 +872,13 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:504
+#: Websphere.xml:505
#, no-c-format
msgid "Building the <literal>jpa</literal> example"
msgstr ""
#. Tag: para
-#: Websphere.xml:505
+#: Websphere.xml:506
#, no-c-format
msgid ""
"Building it only requires running the correct ant command: "
@@ -877,13 +888,13 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:514
+#: Websphere.xml:515
#, no-c-format
msgid "Deploying the <literal>jpa</literal> example"
msgstr ""
#. Tag: para
-#: Websphere.xml:515
+#: Websphere.xml:516
#, no-c-format
msgid ""
"Deploying <literal>jpa</literal> application is very similar to the "
@@ -894,7 +905,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:521
+#: Websphere.xml:522
#, no-c-format
msgid ""
"Follow the same instructions as for the <literal>jee5/booking</literal> "
@@ -902,11 +913,11 @@
"literal> file on the first page and on the <literal>Map context roots for "
"Web modules</literal> page (after the <literal>Map virtual host for Web "
"module</literal>), enter the context root you want to use for your "
-"application in the <literal>Contect Root</literal> input field."
+"application in the <literal>Context Root</literal> input field."
msgstr ""
#. Tag: para
-#: Websphere.xml:528
+#: Websphere.xml:529
#, no-c-format
msgid ""
"When started, you can now access the application at the <literal>http://"
@@ -914,13 +925,13 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:534
+#: Websphere.xml:535
#, no-c-format
msgid "Deviation from the generic base files"
msgstr ""
#. Tag: section
-#: Websphere.xml:534
+#: Websphere.xml:535
#, no-c-format
msgid ""
"Below are the configuration file differences between the base configuration "
@@ -929,7 +940,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:539
+#: Websphere.xml:540
#, no-c-format
msgid ""
"<literal>META-INF/persistence.xml</literal> — The main changes here "
@@ -941,9 +952,18 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:556
+#: Websphere.xml:550
#, no-c-format
msgid ""
+"<literal>import.sql</literal> — due to the customized hibernate Derby "
+"dialect, the <literal>ID</literal> column can not be populated by this file "
+"and was removed."
+msgstr ""
+
+#. Tag: para
+#: Websphere.xml:557
+#, no-c-format
+msgid ""
"Also the build procedure have been changed to include the <literal>log4j."
"jar</literal> file and exclude the <literal>concurrent.jar</literal> and "
"<literal>jboss-common-core.jar</literal> files."
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/si-LK/Configuration.po
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/si-LK/Configuration.po 2009-08-26 19:14:02 UTC (rev 11432)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/si-LK/Configuration.po 2009-08-26 19:19:33 UTC (rev 11433)
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-05-05 12:31+0000\n"
+"POT-Creation-Date: 2009-08-26 18:47+0000\n"
"PO-Revision-Date: 2008-04-04 01:24+0000\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
@@ -677,13 +677,63 @@
msgstr ""
#. Tag: title
+#: Configuration.xml:325
+#, no-c-format
+msgid "Enabling HTTP cache-control headers"
+msgstr ""
+
+#. Tag: para
#: Configuration.xml:326
#, no-c-format
+msgid ""
+"Seam does <emphasis>not</emphasis> automatically add <literal>cache-control</"
+"literal> HTTP headers to any resources served by the Seam resource servlet, "
+"or directly from your view directory by the servlet container. This means "
+"that your images, Javascript and CSS files, and resource representations "
+"from Seam resource servlet such as Seam Remoting Javascript interfaces are "
+"usually not cached by the browser. This is convenient in development but "
+"should be changed in production when optimizing the application."
+msgstr ""
+
+#. Tag: para
+#: Configuration.xml:334
+#, no-c-format
+msgid ""
+"You can configure a Seam filter to enable automatic addition of "
+"<literal>cache-control</literal> headers depending on the requested URI in "
+"<literal>components.xml</literal>:"
+msgstr ""
+
+#. Tag: programlisting
+#: Configuration.xml:339
+#, no-c-format
+msgid ""
+"<![CDATA[<web:cache-control-filter name=\"commonTypesCacheControlFilter\"\n"
+" regex-url-pattern=\".*(\\.gif|\\.png|\\.jpg|\\."
+"jpeg|\\.css|\\.js)\"\n"
+" value=\"max-age=86400\"/> <!-- 1 day -->\n"
+"\n"
+"<web:cache-control-filter name=\"anotherCacheControlFilter\"\n"
+" url-pattern=\"/my/cachable/resources/*\"\n"
+" value=\"max-age=432000\"/> <!-- 5 days -->]]>"
+msgstr ""
+
+#. Tag: para
+#: Configuration.xml:341
+#, no-c-format
+msgid ""
+"You do not have to name the filters unless you have more than one filter "
+"enabled."
+msgstr ""
+
+#. Tag: title
+#: Configuration.xml:348
+#, no-c-format
msgid "Adding custom filters"
msgstr ""
#. Tag: para
-#: Configuration.xml:327
+#: Configuration.xml:349
#, no-c-format
msgid ""
"Seam can install your filters for you, allowing you to specify "
@@ -695,7 +745,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:332
+#: Configuration.xml:354
#, no-c-format
msgid ""
"<![CDATA[@Startup\n"
@@ -707,7 +757,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:334
+#: Configuration.xml:356
#, no-c-format
msgid ""
"Adding the <literal>@Startup</literal> annotation means thar the component "
@@ -718,13 +768,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:343
+#: Configuration.xml:365
#, no-c-format
msgid "Integrating Seam with your EJB container"
msgstr ""
#. Tag: para
-#: Configuration.xml:345
+#: Configuration.xml:367
#, no-c-format
msgid ""
"In a Seam application, EJB components have a certain duality, as they are "
@@ -735,7 +785,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:350
+#: Configuration.xml:372
#, no-c-format
msgid ""
"We need to apply the <literal>SeamInterceptor</literal> to our Seam EJB "
@@ -747,7 +797,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:355
+#: Configuration.xml:377
#, no-c-format
msgid ""
"<![CDATA[<interceptors>\n"
@@ -768,7 +818,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:357
+#: Configuration.xml:379
#, no-c-format
msgid ""
"Seam needs to know where to go to find session beans in JNDI. One way to do "
@@ -782,19 +832,19 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:364
+#: Configuration.xml:386
#, no-c-format
msgid "For JBoss AS, the following pattern is correct:"
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:366
+#: Configuration.xml:388
#, no-c-format
msgid "<![CDATA[<core:init jndi-name=\"earName/#{ejbName}/local\" />]]>"
msgstr ""
#. Tag: para
-#: Configuration.xml:368
+#: Configuration.xml:390
#, no-c-format
msgid ""
"In this case, <literal>earName</literal> is the name of the EAR in which the "
@@ -804,7 +854,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:372
+#: Configuration.xml:394
#, no-c-format
msgid ""
"Outside the context of an EAR (when using the JBoss Embeddable EJB3 "
@@ -813,13 +863,13 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:375
+#: Configuration.xml:397
#, no-c-format
msgid "<![CDATA[<core:init jndi-name=\"#{ejbName}/local\" />]]>"
msgstr ""
#. Tag: para
-#: Configuration.xml:377
+#: Configuration.xml:399
#, no-c-format
msgid ""
"How these JNDI names are resolved and somehow locate an EJB component might "
@@ -828,7 +878,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:381
+#: Configuration.xml:403
#, no-c-format
msgid ""
"The folks at JBoss don't care much for XML, if you can't tell. So when they "
@@ -839,14 +889,14 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:387
+#: Configuration.xml:409
#, no-c-format
msgid ""
"The value of the <literal><ejb-name></literal> element in ejb-jar.xml"
msgstr ""
#. Tag: para
-#: Configuration.xml:390
+#: Configuration.xml:412
#, no-c-format
msgid ""
"The value of the <literal>name</literal> attribute in the @Stateless or "
@@ -854,13 +904,13 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:393
+#: Configuration.xml:415
#, no-c-format
msgid "The simple name of the bean class"
msgstr ""
#. Tag: para
-#: Configuration.xml:397
+#: Configuration.xml:419
#, no-c-format
msgid ""
"Let's look at an example. Assume that you have the following EJB bean and "
@@ -868,7 +918,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:399
+#: Configuration.xml:421
#, no-c-format
msgid ""
"<![CDATA[package com.example.myapp;\n"
@@ -895,7 +945,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:401
+#: Configuration.xml:423
#, no-c-format
msgid ""
"Assuming your EJB bean class is deployed in an EAR named myapp, the global "
@@ -907,7 +957,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:407
+#: Configuration.xml:429
#, no-c-format
msgid ""
"So what about the rest of the application servers? Well, according to the "
@@ -919,7 +969,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:413
+#: Configuration.xml:435
#, no-c-format
msgid ""
"There are two places you have to define the EJB reference when using Seam on "
@@ -930,7 +980,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:418
+#: Configuration.xml:440
#, no-c-format
msgid ""
"<![CDATA[<ejb-local-ref>\n"
@@ -942,7 +992,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:420
+#: Configuration.xml:442
#, no-c-format
msgid ""
"This reference will cover most uses of the component in a Seam application. "
@@ -953,7 +1003,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:425
+#: Configuration.xml:447
#, no-c-format
msgid ""
"Within the context of an EJB method call, you have to deal with a somewhat "
@@ -970,7 +1020,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:434
+#: Configuration.xml:456
#, no-c-format
msgid ""
"For application servers that stubbornly adhere to the EJB specification, EJB "
@@ -982,7 +1032,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:439
+#: Configuration.xml:461
#, no-c-format
msgid ""
"Let's assume that we have an EJB named RegisterAction (the name is resolved "
@@ -991,7 +1041,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:442
+#: Configuration.xml:464
#, no-c-format
msgid ""
"<![CDATA[@In(create = true)\n"
@@ -1000,7 +1050,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:444
+#: Configuration.xml:466
#, no-c-format
msgid ""
"In order for this injection to work, the link must be established in the ejb-"
@@ -1008,7 +1058,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:446
+#: Configuration.xml:468
#, no-c-format
msgid ""
"<![CDATA[<ejb-jar>\n"
@@ -1031,7 +1081,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:448
+#: Configuration.xml:470
#, no-c-format
msgid ""
"Notice that the contents of the <literal><ejb-local-ref></literal> are "
@@ -1043,7 +1093,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:454
+#: Configuration.xml:476
#, no-c-format
msgid ""
"But what about <literal>@EJB</literal>? It's true that you can inject one "
@@ -1061,7 +1111,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:464
+#: Configuration.xml:486
#, no-c-format
msgid ""
"That covers how JNDI names are defined and used. The lesson is that with "
@@ -1074,7 +1124,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:470
+#: Configuration.xml:492
#, no-c-format
msgid ""
"<![CDATA[<core:init jndi-name=\"java:comp/env/earName/#{ejbName}/local\" />]]"
@@ -1082,7 +1132,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:472
+#: Configuration.xml:494
#, no-c-format
msgid ""
"Finally, let's talk about transactions. In an EJB3 environment, we recommend "
@@ -1094,19 +1144,19 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:479
+#: Configuration.xml:501
#, no-c-format
msgid "<![CDATA[<transaction:ejb-transaction/>]]>"
msgstr ""
#. Tag: title
-#: Configuration.xml:484
+#: Configuration.xml:506
#, no-c-format
msgid "Don't forget!"
msgstr ""
#. Tag: para
-#: Configuration.xml:486
+#: Configuration.xml:508
#, no-c-format
msgid ""
"There is one final item you need to know about. You must place a "
@@ -1118,7 +1168,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:491
+#: Configuration.xml:513
#, no-c-format
msgid ""
"In a web archive (WAR) file, you must place a <literal>seam.properties</"
@@ -1127,7 +1177,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:494
+#: Configuration.xml:516
#, no-c-format
msgid ""
"That's why all the Seam examples have an empty <literal>seam.properties</"
@@ -1136,7 +1186,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:497
+#: Configuration.xml:519
#, no-c-format
msgid ""
"You might think this is silly and what kind of idiot framework designers "
@@ -1148,13 +1198,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:508
+#: Configuration.xml:530
#, no-c-format
msgid "Using Alternate JPA Providers"
msgstr ""
#. Tag: para
-#: Configuration.xml:510
+#: Configuration.xml:532
#, no-c-format
msgid ""
"Seam comes packaged and configured with Hibernate as the default JPA "
@@ -1163,13 +1213,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:516
+#: Configuration.xml:538
#, no-c-format
msgid "This is a workaround"
msgstr ""
#. Tag: para
-#: Configuration.xml:517
+#: Configuration.xml:539
#, no-c-format
msgid ""
"Configuration of the JPA provider will be easier in the future and will not "
@@ -1178,7 +1228,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:524
+#: Configuration.xml:546
#, no-c-format
msgid ""
"Telling seam about a different JPA provider can be be done in one of two "
@@ -1186,7 +1236,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:525
+#: Configuration.xml:547
#, no-c-format
msgid ""
"Update your application's <literal>components.xml</literal> so that the "
@@ -1195,7 +1245,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:530
+#: Configuration.xml:552
#, no-c-format
msgid ""
"<![CDATA[<component name=\"org.jboss.seam.persistence.persistenceProvider"
@@ -1206,7 +1256,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:531
+#: Configuration.xml:553
#, no-c-format
msgid ""
"If you want to take advantage of your JPA provider's non-standard features "
@@ -1218,7 +1268,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:538
+#: Configuration.xml:560
#, no-c-format
msgid ""
"<![CDATA[<component name=\"org.jboss.seam.persistence.persistenceProvider"
@@ -1228,7 +1278,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:539
+#: Configuration.xml:561
#, no-c-format
msgid ""
"All that is left is updating the <literal>persistence.xml</literal> file "
@@ -1238,13 +1288,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:547
+#: Configuration.xml:569
#, no-c-format
msgid "Configuring Seam in Java EE 5"
msgstr ""
#. Tag: para
-#: Configuration.xml:558
+#: Configuration.xml:580
#, no-c-format
msgid ""
"If you're running in a Java EE 5 environment, this is all the configuration "
@@ -1252,14 +1302,14 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:561 Configuration.xml:656 Configuration.xml:794
-#: Configuration.xml:827
+#: Configuration.xml:583 Configuration.xml:678 Configuration.xml:816
+#: Configuration.xml:849
#, no-c-format
msgid "Packaging"
msgstr ""
#. Tag: para
-#: Configuration.xml:563
+#: Configuration.xml:585
#, no-c-format
msgid ""
"Once you've packaged all this stuff together into an EAR, the archive "
@@ -1267,7 +1317,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:566
+#: Configuration.xml:588
#, no-c-format
msgid ""
"<![CDATA[my-application.ear/\n"
@@ -1307,7 +1357,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:568
+#: Configuration.xml:590
#, no-c-format
msgid ""
"You should declare <literal>jboss-seam.jar</literal> as an ejb module in "
@@ -1316,7 +1366,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:573
+#: Configuration.xml:595
#, no-c-format
msgid ""
"If you want to use jBPM or Drools, you must include the needed jars in the "
@@ -1324,7 +1374,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:575
+#: Configuration.xml:597
#, no-c-format
msgid ""
"If you want to use facelets (our recommendation), you must include "
@@ -1333,7 +1383,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:578
+#: Configuration.xml:600
#, no-c-format
msgid ""
"If you want to use the Seam tag library (most Seam applications do), you "
@@ -1344,7 +1394,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:583
+#: Configuration.xml:605
#, no-c-format
msgid ""
"If you want to use the Seam debug page (only works for applications using "
@@ -1353,7 +1403,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:586
+#: Configuration.xml:608
#, no-c-format
msgid ""
"Seam ships with several example applications that are deployable in any Java "
@@ -1361,7 +1411,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:589
+#: Configuration.xml:611
#, no-c-format
msgid ""
"I really wish that was all there was to say on the topic of configuration "
@@ -1371,13 +1421,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:598
+#: Configuration.xml:620
#, no-c-format
msgid "Configuring Seam in J2EE"
msgstr ""
#. Tag: para
-#: Configuration.xml:600
+#: Configuration.xml:622
#, no-c-format
msgid ""
"Seam is useful even if you're not yet ready to take the plunge into EJB 3.0. "
@@ -1389,7 +1439,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:615
+#: Configuration.xml:637
#, no-c-format
msgid ""
"Seam JavaBean components do not provide declarative transaction demarcation "
@@ -1401,7 +1451,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:621
+#: Configuration.xml:643
#, no-c-format
msgid ""
"The Seam distribution includes a version of the booking example application "
@@ -1411,13 +1461,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:626
+#: Configuration.xml:648
#, no-c-format
msgid "Boostrapping Hibernate in Seam"
msgstr ""
#. Tag: para
-#: Configuration.xml:628
+#: Configuration.xml:650
#, no-c-format
msgid ""
"Seam will bootstrap a Hibernate <literal>SessionFactory</literal> from your "
@@ -1426,7 +1476,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:631
+#: Configuration.xml:653
#, no-c-format
msgid ""
"<![CDATA[<persistence:hibernate-session-factory name="
@@ -1434,7 +1484,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:633
+#: Configuration.xml:655
#, no-c-format
msgid ""
"You will also need to configure a <emphasis>managed session</emphasis> if "
@@ -1443,7 +1493,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:636
+#: Configuration.xml:658
#, no-c-format
msgid ""
"<![CDATA[<persistence:managed-hibernate-session name=\"hibernateSession\"\n"
@@ -1452,13 +1502,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:641
+#: Configuration.xml:663
#, no-c-format
msgid "Boostrapping JPA in Seam"
msgstr ""
#. Tag: para
-#: Configuration.xml:643
+#: Configuration.xml:665
#, no-c-format
msgid ""
"Seam will bootstrap a JPA <literal>EntityManagerFactory</literal> from your "
@@ -1467,7 +1517,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:646
+#: Configuration.xml:668
#, no-c-format
msgid ""
"<![CDATA[<persistence:entity-manager-factory name=\"entityManagerFactory\"/"
@@ -1475,7 +1525,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:648
+#: Configuration.xml:670
#, no-c-format
msgid ""
"You will also need to configure a <emphasis>managed persistence context</"
@@ -1484,7 +1534,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:651
+#: Configuration.xml:673
#, no-c-format
msgid ""
"<![CDATA[<persistence:managed-persistence-context name=\"entityManager\"\n"
@@ -1493,13 +1543,13 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:658
+#: Configuration.xml:680
#, no-c-format
msgid "We can package our application as a WAR, in the following structure:"
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:660
+#: Configuration.xml:682
#, no-c-format
msgid ""
"<![CDATA[my-application.war/\n"
@@ -1536,7 +1586,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:662
+#: Configuration.xml:684
#, no-c-format
msgid ""
"If we want to deploy Hibernate in a non-EE environment like Tomcat or "
@@ -1544,13 +1594,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:669
+#: Configuration.xml:691
#, no-c-format
msgid "Configuring Seam in Java SE, without JBoss Embedded"
msgstr ""
#. Tag: para
-#: Configuration.xml:671
+#: Configuration.xml:693
#, no-c-format
msgid ""
"It is possible to use Seam completely outside of an EE environment. In this "
@@ -1560,7 +1610,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:675
+#: Configuration.xml:697
#, no-c-format
msgid ""
"<![CDATA[<transaction:entity-transaction entity-manager=\"#{entityManager}\"/"
@@ -1568,7 +1618,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:677
+#: Configuration.xml:699
#, no-c-format
msgid ""
"If you're using Hibernate, you can tell Seam to use the Hibernate "
@@ -1576,32 +1626,32 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:679
+#: Configuration.xml:701
#, no-c-format
msgid "<![CDATA[<transaction:hibernate-transaction session=\"#{session}\"/>]]>"
msgstr ""
#. Tag: para
-#: Configuration.xml:681
+#: Configuration.xml:703
#, no-c-format
msgid "Of course, you'll also need to define a datasource."
msgstr ""
#. Tag: para
-#: Configuration.xml:683
+#: Configuration.xml:705
#, no-c-format
msgid ""
"A better alternative is to use JBoss Embedded to get access to the EE APIs."
msgstr ""
#. Tag: title
-#: Configuration.xml:688
+#: Configuration.xml:710
#, no-c-format
msgid "Configuring Seam in Java SE, with JBoss Embedded"
msgstr ""
#. Tag: para
-#: Configuration.xml:690
+#: Configuration.xml:712
#, no-c-format
msgid ""
"JBoss Embedded lets you run EJB3 components outside the context of the Java "
@@ -1610,7 +1660,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:693
+#: Configuration.xml:715
#, no-c-format
msgid ""
"The Seam booking example application includes a TestNG integration test "
@@ -1618,19 +1668,19 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:705
+#: Configuration.xml:727
#, no-c-format
msgid "The booking example application may even be deployed to Tomcat."
msgstr ""
#. Tag: title
-#: Configuration.xml:717
+#: Configuration.xml:739
#, no-c-format
msgid "Installing Embedded JBoss"
msgstr ""
#. Tag: para
-#: Configuration.xml:720
+#: Configuration.xml:742
#, no-c-format
msgid ""
"Embedded JBoss must by installed into Tomcat for Seam applications to run "
@@ -1643,7 +1693,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:734
+#: Configuration.xml:756
#, no-c-format
msgid ""
"Copy all files and directories under the Embedded JBoss <literal>bootstrap</"
@@ -1653,7 +1703,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:741
+#: Configuration.xml:763
#, no-c-format
msgid ""
"Remove the <literal>annotations-api.jar</literal> file from the Tomcat "
@@ -1661,7 +1711,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:747
+#: Configuration.xml:769
#, no-c-format
msgid ""
"Next, two configuration files need to be updated to add Embedded JBoss-"
@@ -1669,7 +1719,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:753
+#: Configuration.xml:775
#, no-c-format
msgid ""
"Add the Embedded JBoss listener <literal>EmbeddedJBossBootstrapListener</"
@@ -1678,7 +1728,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:756
+#: Configuration.xml:778
#, no-c-format
msgid ""
"<![CDATA[<Server port=\"8005\" shutdown=\"SHUTDOWN\">\n"
@@ -1696,7 +1746,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:757
+#: Configuration.xml:779
#, no-c-format
msgid ""
"<![CDATA[ <!-- Add this listener -->\n"
@@ -1705,7 +1755,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:761
+#: Configuration.xml:783
#, no-c-format
msgid ""
"WAR file scanning should be enabled by adding the <literal>WebinfScanner</"
@@ -1713,7 +1763,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:764
+#: Configuration.xml:786
#, no-c-format
msgid ""
"<![CDATA[<Context>\n"
@@ -1728,7 +1778,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:765
+#: Configuration.xml:787
#, no-c-format
msgid ""
"<![CDATA[ <!-- Add this listener -->\n"
@@ -1736,13 +1786,13 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:766
+#: Configuration.xml:788
#, no-c-format
msgid "<![CDATA[</Context>]]>"
msgstr ""
#. Tag: para
-#: Configuration.xml:770
+#: Configuration.xml:792
#, no-c-format
msgid ""
"If you are using Sun JDK 6, you need to set the Java option <literal>sun."
@@ -1752,7 +1802,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:775
+#: Configuration.xml:797
#, no-c-format
msgid ""
"Open the script appropriate for your operating system in a text editor. Add "
@@ -1762,7 +1812,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:779
+#: Configuration.xml:801
#, no-c-format
msgid ""
"<![CDATA[set JAVA_OPTS=%JAVA_OPTS% -Dsun.lang.ClassLoader."
@@ -1770,13 +1820,13 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:781
+#: Configuration.xml:803
#, no-c-format
msgid "On Unix, use this syntax instead:"
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:783
+#: Configuration.xml:805
#, no-c-format
msgid ""
"<![CDATA[JAVA_OPTS=\"$JAVA_OPTS -Dsun.lang.ClassLoader.allowArraySyntax=true"
@@ -1784,7 +1834,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:788
+#: Configuration.xml:810
#, no-c-format
msgid ""
"For more configuration options, please see the Embedded JBoss Tomcat "
@@ -1793,7 +1843,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:796
+#: Configuration.xml:818
#, no-c-format
msgid ""
"The archive structure of a WAR-based deployment on an servlet engine like "
@@ -1801,7 +1851,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:799
+#: Configuration.xml:821
#, no-c-format
msgid ""
"<![CDATA[my-application.war/\n"
@@ -1839,7 +1889,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:801
+#: Configuration.xml:823
#, no-c-format
msgid ""
"Most of the Seam example applications may be deployed to Tomcat by running "
@@ -1847,13 +1897,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:809
+#: Configuration.xml:831
#, no-c-format
msgid "Configuring jBPM in Seam"
msgstr ""
#. Tag: para
-#: Configuration.xml:810
+#: Configuration.xml:832
#, no-c-format
msgid ""
"Seam's jBPM integration is not installed by default, so you'll need to "
@@ -1863,7 +1913,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:814
+#: Configuration.xml:836
#, no-c-format
msgid ""
"<![CDATA[<bpm:jbpm>\n"
@@ -1879,7 +1929,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:816
+#: Configuration.xml:838
#, no-c-format
msgid ""
"No further special configuration is needed if you only have pageflows. If "
@@ -1890,7 +1940,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:821
+#: Configuration.xml:843
#, no-c-format
msgid ""
"<![CDATA[<jbpm-configuration>\n"
@@ -1920,7 +1970,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:823
+#: Configuration.xml:845
#, no-c-format
msgid ""
"The most important thing to notice here is that jBPM transaction control is "
@@ -1928,7 +1978,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:829
+#: Configuration.xml:851
#, no-c-format
msgid ""
"There is not yet any well-defined packaging format for jBPM configuration "
@@ -1939,7 +1989,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:834
+#: Configuration.xml:856
#, no-c-format
msgid ""
"<![CDATA[my-application.ear/\n"
@@ -1986,13 +2036,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:841
+#: Configuration.xml:863
#, no-c-format
msgid "Configuring SFSB and Session Timeouts in JBoss AS"
msgstr ""
#. Tag: para
-#: Configuration.xml:843
+#: Configuration.xml:865
#, no-c-format
msgid ""
"It is very important that the timeout for Stateful Session Beans is set "
@@ -2004,7 +2054,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:849
+#: Configuration.xml:871
#, no-c-format
msgid ""
"The default SFSB timeout can be adjusted by modifying the value of "
@@ -2013,7 +2063,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:852
+#: Configuration.xml:874
#, no-c-format
msgid ""
"<![CDATA[<container-cache-conf>\n"
@@ -2038,7 +2088,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:854
+#: Configuration.xml:876
#, no-c-format
msgid ""
"The default HTTP session timeout can be modified in <literal>server/default/"
@@ -2049,7 +2099,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:859
+#: Configuration.xml:881
#, no-c-format
msgid ""
"<![CDATA[<session-config>\n"
@@ -2059,7 +2109,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:861
+#: Configuration.xml:883
#, no-c-format
msgid ""
"To override this value for your own application, simply include this entry "
@@ -2067,13 +2117,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:867
+#: Configuration.xml:889
#, no-c-format
msgid "Running Seam in a Portlet"
msgstr ""
#. Tag: para
-#: Configuration.xml:869
+#: Configuration.xml:891
#, no-c-format
msgid ""
"If you want to run your Seam application in a portlet, take a look at the "
@@ -2084,13 +2134,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:880
+#: Configuration.xml:902
#, no-c-format
msgid "Deploying custom resources"
msgstr ""
#. Tag: para
-#: Configuration.xml:882
+#: Configuration.xml:904
#, no-c-format
msgid ""
"Seam scans all jars containing <literal>/seam.properties</literal>, "
@@ -2101,7 +2151,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:889
+#: Configuration.xml:911
#, no-c-format
msgid ""
"You may also want Seam to handle custom resources. A common use case is to "
@@ -2111,7 +2161,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:896
+#: Configuration.xml:918
#, no-c-format
msgid ""
"<![CDATA[# A colon-separated list of annotation types to handle\n"
@@ -2119,7 +2169,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:898
+#: Configuration.xml:920
#, no-c-format
msgid ""
"Then, during application startup you can get hold of all classes annotated "
@@ -2127,7 +2177,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:903
+#: Configuration.xml:925
#, no-c-format
msgid ""
"<![CDATA[@Name(\"fooStartup\")\n"
@@ -2159,7 +2209,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:905
+#: Configuration.xml:927
#, no-c-format
msgid ""
"You can also handle <emphasis>any</emphasis> resource. For example, you "
@@ -2168,7 +2218,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:911
+#: Configuration.xml:933
#, no-c-format
msgid ""
"<![CDATA[public class FooDeploymentHandler implements DeploymentHandler {\n"
@@ -2192,7 +2242,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:913
+#: Configuration.xml:935
#, no-c-format
msgid ""
"Here we are just building a list of any files with the suffix <literal>.foo."
@@ -2200,7 +2250,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:918
+#: Configuration.xml:940
#, no-c-format
msgid ""
"Then, we need to register the deployment handler with Seam in <literal>/META-"
@@ -2209,7 +2259,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:925
+#: Configuration.xml:947
#, no-c-format
msgid ""
"<![CDATA[# For standard deployment\n"
@@ -2220,7 +2270,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:931
+#: Configuration.xml:953
#, no-c-format
msgid ""
"Seam uses deployment handlers internally to install components and "
@@ -2229,7 +2279,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:937
+#: Configuration.xml:959
#, no-c-format
msgid ""
"<![CDATA[@Name(\"fooStartup\")\n"
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/si-LK/Webservices.po
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/si-LK/Webservices.po 2009-08-26 19:14:02 UTC (rev 11432)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/si-LK/Webservices.po 2009-08-26 19:19:33 UTC (rev 11433)
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-07-08 14:32+0000\n"
+"POT-Creation-Date: 2009-08-26 18:48+0000\n"
"PO-Revision-Date: 2008-04-04 01:24+0000\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
@@ -392,48 +392,56 @@
#: Webservices.xml:186
#, no-c-format
msgid ""
-"The URI starts with the pattern mapped in <literal>web.xml</literal> for the "
+"The URI starts with the host and context path of your application, e.g. "
+"<literal>http://your.hostname/myapp</literal>."
+msgstr ""
+
+#. Tag: para
+#: Webservices.xml:192
+#, no-c-format
+msgid ""
+"Then the pattern mapped in <literal>web.xml</literal> for the "
"<literal>SeamResourceServlet</literal>, e.g <literal>/seam/resource</"
-"literal> if you follow the common examples. Change this setting to expose "
-"your RESTful resources under a different base. Note that this is a global "
-"change and other Seam resources (e.g. <literal>s:graphicImage</literal>) are "
-"then also served under that base path."
+"literal> if you follow the common examples, is appended. Change this setting "
+"to expose your RESTful resources under a different base. Note that this is a "
+"global change and other Seam resources (e.g. <literal>s:graphicImage</"
+"literal>) are then also served under that base path."
msgstr ""
#. Tag: para
-#: Webservices.xml:195
+#: Webservices.xml:201
#, no-c-format
msgid ""
"The RESTEasy integration for Seam then appends a configurable string to the "
"base path, by default this is <literal>/rest</literal>. Hence, the full base "
-"path of your resources would e.g. be <literal>/seam/resource/rest</literal>. "
-"We recommend that you change this string in your application, you could for "
-"example add a version number to prepare for a future REST API upgrade of "
-"your services (old clients would keep the old URI base): <literal>/seam/"
-"resource/restv1</literal>."
+"path of your resources would e.g. be <literal>/myapp/seam/resource/rest</"
+"literal>. We recommend that you change this string in your application, you "
+"could for example add a version number to prepare for a future REST API "
+"upgrade of your services (old clients would keep the old URI base): "
+"<literal>/myapp/seam/resource/restv1</literal>."
msgstr ""
#. Tag: para
-#: Webservices.xml:204
+#: Webservices.xml:210
#, no-c-format
msgid ""
"Finally, the actual resource is available under the defined <literal>@Path</"
"literal>, e.g. a resource mapped with <literal>@Path(\"/customer\")</"
-"literal> would be available under <literal>/seam/resource/rest/customer</"
-"literal>."
+"literal> would be available under <literal>/myapp/seam/resource/rest/"
+"customer</literal>."
msgstr ""
#. Tag: para
-#: Webservices.xml:212
+#: Webservices.xml:218
#, no-c-format
msgid ""
"As an example, the following resource definition would return a plaintext "
"representation for any GET requests using the URI <literal>http://your."
-"hostname/seam/resource/rest/customer/123</literal>:"
+"hostname/myapp/seam/resource/rest/customer/123</literal>:"
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:217
+#: Webservices.xml:223
#, no-c-format
msgid ""
"<![CDATA[@Path(\"/customer\")\n"
@@ -450,7 +458,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:219
+#: Webservices.xml:225
#, no-c-format
msgid ""
"No additional configuration is required, you do not have to edit "
@@ -461,7 +469,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:225
+#: Webservices.xml:231
#, no-c-format
msgid ""
"<![CDATA[<components\n"
@@ -476,63 +484,39 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:227
+#: Webservices.xml:233
#, no-c-format
msgid ""
"You can then change the <literal>/rest</literal> prefix as mentioned earlier:"
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:231
+#: Webservices.xml:237
#, no-c-format
msgid "<![CDATA[<resteasy:application resource-path-prefix=\"/restv1\"/>]]>"
msgstr ""
#. Tag: para
-#: Webservices.xml:233
-#, no-c-format
-msgid ""
-"The full base path to your resources is now <literal>/seam/resource/restv1/"
-"{resource}</literal> - note that your <literal>@Path</literal> definitions "
-"and mappings do NOT change. This is an application-wide switch usually used "
-"for versioning of the HTTP API."
-msgstr ""
-
-#. Tag: para
#: Webservices.xml:239
#, no-c-format
msgid ""
-"You can disable stripping of the base path if you'd like to map the full "
-"path in your resources:"
+"The full base path to your resources is now <literal>/myapp/seam/resource/"
+"restv1/{resource}</literal> - note that your <literal>@Path</literal> "
+"definitions and mappings do NOT change. This is an application-wide switch "
+"usually used for versioning of the HTTP interface."
msgstr ""
-#. Tag: programlisting
-#: Webservices.xml:243
-#, no-c-format
-msgid "<![CDATA[<resteasy:application strip-seam-resource-path=\"false\"/>]]>"
-msgstr ""
-
#. Tag: para
#: Webservices.xml:245
#, no-c-format
msgid ""
-"The path of a resource is now mapped with e.g. <literal>@Path(\"/seam/"
-"resource/rest/customer\")</literal>. We do not recommend disabling this "
-"feature, as your resource class mappings are then bound to a particular "
-"deployment scenario."
-msgstr ""
-
-#. Tag: para
-#: Webservices.xml:251
-#, no-c-format
-msgid ""
"Seam will scan your classpath for any deployed <literal>@javax.ws.rs.Path</"
"literal> resources and any <literal>@javax.ws.rs.ext.Provider</literal> "
"classes. You can disable scanning and configure these classes manually:"
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:257
+#: Webservices.xml:251
#, no-c-format
msgid ""
"<![CDATA[<resteasy:application\n"
@@ -554,7 +538,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:259
+#: Webservices.xml:253
#, no-c-format
msgid ""
"The <literal>use-built-in-providers</literal> switch enables (default) or "
@@ -564,7 +548,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:265
+#: Webservices.xml:259
#, no-c-format
msgid ""
"RESTEasy supports plain EJBs (EJBs that are not Seam components) as "
@@ -576,20 +560,21 @@
"<literal>@Path</literal>, <literal>@GET</literal>, and so on - not the bean "
"implementation class. This allows you to keep your application deployment-"
"portable with the global Seam <literal>jndi-pattern</literal> switch on "
-"<literal><core:init/></literal>. Note that EJB resources will not be "
-"found even if scanning of resources is enabled, you always have to list them "
-"manually. Again, this is only relevant for EJB resources that are not also "
-"Seam components and that do not have a <literal>@Name</literal> annotation."
+"<literal><core:init/></literal>. Note that plain (non-Seam component) "
+"EJB resources will not be found even if scanning of resources is enabled, "
+"you always have to list them manually. Again, this whole paragraph is only "
+"relevant for EJB resources that are not also Seam components and that do not "
+"have an <literal>@Name</literal> annotation."
msgstr ""
#. Tag: para
-#: Webservices.xml:277
+#: Webservices.xml:272
#, no-c-format
msgid "Finally, you can configure media type and language URI extensions:"
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:281
+#: Webservices.xml:276
#, no-c-format
msgid ""
"<![CDATA[<resteasy:application>\n"
@@ -606,7 +591,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:283
+#: Webservices.xml:278
#, no-c-format
msgid ""
"This definition would map the URI suffix of <literal>.txt.deutsch</literal> "
@@ -616,13 +601,13 @@
msgstr ""
#. Tag: title
-#: Webservices.xml:292
+#: Webservices.xml:287
#, no-c-format
msgid "Resources and providers as Seam components"
msgstr ""
#. Tag: para
-#: Webservices.xml:294
+#: Webservices.xml:289
#, no-c-format
msgid ""
"Any resource and provider instances are managed by RESTEasy by default. That "
@@ -633,7 +618,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:301
+#: Webservices.xml:296
#, no-c-format
msgid ""
"You can write resources and providers as Seam components and benefit from "
@@ -642,7 +627,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:307
+#: Webservices.xml:302
#, no-c-format
msgid ""
"<![CDATA[@Name(\"customerResource\")\n"
@@ -663,7 +648,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:309
+#: Webservices.xml:304
#, no-c-format
msgid ""
"An instance of <literal>customerResource</literal> is now handled by Seam "
@@ -677,7 +662,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:318
+#: Webservices.xml:313
#, no-c-format
msgid ""
"You can annotate an interface and keep the implementation free from JAX-RS "
@@ -685,7 +670,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:322
+#: Webservices.xml:317
#, no-c-format
msgid ""
"<![CDATA[@Path(\"/customer\")\n"
@@ -700,7 +685,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:324
+#: Webservices.xml:319
#, no-c-format
msgid ""
"<![CDATA[@Name(\"customerResource\")\n"
@@ -718,7 +703,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:326
+#: Webservices.xml:321
#, no-c-format
msgid ""
"You can use <literal>SESSION</literal>-scoped Seam components. By default, "
@@ -733,7 +718,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:335
+#: Webservices.xml:330
#, no-c-format
msgid ""
"Assuming that your Seam application only uses event, application, or "
@@ -745,7 +730,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:342
+#: Webservices.xml:337
#, no-c-format
msgid ""
"If your RESTful Seam application has to preserve session state across REST "
@@ -753,14 +738,14 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:347
+#: Webservices.xml:342
#, no-c-format
msgid ""
"<![CDATA[<resteasy:application destroy-session-after-request=\"false\"/>]]>"
msgstr ""
#. Tag: para
-#: Webservices.xml:349
+#: Webservices.xml:344
#, no-c-format
msgid ""
"Every REST HTTP request will now create a new session that will only be "
@@ -771,7 +756,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:356
+#: Webservices.xml:351
#, no-c-format
msgid ""
"<literal>CONVERSATION</literal>-scoped resource components and mapping of "
@@ -780,7 +765,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:361
+#: Webservices.xml:356
#, no-c-format
msgid ""
"EJB Seam components are supported. Always annotate the local business "
@@ -789,7 +774,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:366
+#: Webservices.xml:361
#, no-c-format
msgid ""
"Provider classes can also be Seam components, only <literal>APPLICATION</"
@@ -799,13 +784,13 @@
msgstr ""
#. Tag: title
-#: Webservices.xml:375
+#: Webservices.xml:370
#, no-c-format
msgid "Securing resources"
msgstr ""
#. Tag: para
-#: Webservices.xml:377
+#: Webservices.xml:372
#, no-c-format
msgid ""
"You can enable the Seam authentication filter for HTTP Basic and Digest "
@@ -813,7 +798,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:382
+#: Webservices.xml:377
#, no-c-format
msgid ""
"<![CDATA[<web:authentication-filter url-pattern=\"/seam/resource/rest/*\" "
@@ -821,14 +806,14 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:384
+#: Webservices.xml:379
#, no-c-format
msgid ""
"See the Seam security chapter on how to write an authentication routine."
msgstr ""
#. Tag: para
-#: Webservices.xml:388
+#: Webservices.xml:383
#, no-c-format
msgid ""
"After successful authentication, authorization rules with the common "
@@ -839,13 +824,13 @@
msgstr ""
#. Tag: title
-#: Webservices.xml:398
+#: Webservices.xml:393
#, no-c-format
msgid "Mapping exceptions to HTTP responses"
msgstr ""
#. Tag: para
-#: Webservices.xml:400
+#: Webservices.xml:395
#, no-c-format
msgid ""
"Section 3.3.4 of the JAX-RS specification defines how checked or unchecked "
@@ -858,7 +843,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:408
+#: Webservices.xml:403
#, no-c-format
msgid ""
"Exception handling within Seam requires that the Seam filter is executed for "
@@ -870,7 +855,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:415
+#: Webservices.xml:410
#, no-c-format
msgid ""
"<![CDATA[<filter>\n"
@@ -885,7 +870,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:417
+#: Webservices.xml:412
#, no-c-format
msgid ""
"To convert the unchecked <literal>UnsupportedOperationException</literal> "
@@ -895,7 +880,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:423
+#: Webservices.xml:418
#, no-c-format
msgid ""
"<![CDATA[<exception class=\"java.lang.UnsupportedOperationException\">\n"
@@ -906,13 +891,13 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:425
+#: Webservices.xml:420
#, no-c-format
msgid "Custom or checked exceptions are handled the same:"
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:429
+#: Webservices.xml:424
#, no-c-format
msgid ""
"<![CDATA[<exception class=\"my.CustomException\" log=\"false\">\n"
@@ -924,7 +909,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:431
+#: Webservices.xml:426
#, no-c-format
msgid ""
"You do not have to send an HTTP error to the client if an exception occurs. "
@@ -935,7 +920,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:438
+#: Webservices.xml:433
#, no-c-format
msgid ""
"Note that the HTTP response still passes through the servlet container, so "
@@ -946,13 +931,13 @@
msgstr ""
#. Tag: title
-#: Webservices.xml:447
+#: Webservices.xml:442
#, no-c-format
msgid "Testing resources and providers"
msgstr ""
#. Tag: para
-#: Webservices.xml:449
+#: Webservices.xml:444
#, no-c-format
msgid ""
"Seam includes a unit testing utility class that helps you create unit tests "
@@ -962,7 +947,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:455
+#: Webservices.xml:450
#, no-c-format
msgid ""
"<![CDATA[import org.jboss.seam.mock.ResourceRequestEnvironment;\n"
@@ -1019,7 +1004,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:457
+#: Webservices.xml:452
#, no-c-format
msgid ""
"This test only executes local calls, it does not communicate with the "
@@ -1032,7 +1017,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:465
+#: Webservices.xml:460
#, no-c-format
msgid ""
"Note that a <literal>ResourceRequest</literal> has to be executed in a "
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/si-LK/Websphere.po
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/si-LK/Websphere.po 2009-08-26 19:14:02 UTC (rev 11432)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/si-LK/Websphere.po 2009-08-26 19:19:33 UTC (rev 11433)
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-08-22 13:17+0000\n"
+"POT-Creation-Date: 2009-08-26 18:48+0000\n"
"PO-Revision-Date: 2008-04-04 01:24+0000\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
@@ -76,25 +76,27 @@
#, no-c-format
msgid ""
"The following sections in this chapter assume that WebSphere is correctly "
-"installed and is functional, and a profile has been successfully created."
+"installed and is functional, and a WebSphere \"profile\" has been "
+"successfully created."
msgstr ""
#. Tag: para
#: Websphere.xml:40
#, no-c-format
msgid ""
-"This chapter explain how to compile, deploy and run some sample applications "
-"in WebSphere. These sample applications require a database. WebSphere comes "
-"by default with a set of sample applications called \"Default Application\". "
-"This set of sample applications use a Derby database running on the Derby "
-"instance installed with WebSphere. In order to keep this simple we'll use "
-"this Derby database created for the \"Default Applications\". However, to "
-"run the sample application with the Derby database \"as-is\", a patched "
-"Hibernate dialect must be used (The patch changes the default \"auto\" key "
-"generation strategy) as explained in <xref linkend=\"glassfish\"/>. If you "
-"want to use another database, it's just a matter of creating a connection "
-"pool in WebSphere pointing to this database, declare the correct Hibernate "
-"dialect and set the correct JNDI name in <literal>persistence.xml</literal>."
+"This chapter explains how to compile, deploy and run some sample "
+"applications in WebSphere. These sample applications require a database. "
+"WebSphere comes by default with a set of sample applications called "
+"\"Default Application\". This set of sample applications use a Derby "
+"database running on the Derby instance installed within WebSphere. In order "
+"to keep this simple we'll use this Derby database created for the \"Default "
+"Applications\". However, to run the sample application with the Derby "
+"database \"as-is\", a patched Hibernate dialect must be used (The patch "
+"changes the default \"auto\" key generation strategy) as explained in <xref "
+"linkend=\"glassfish\"/>. If you want to use another database, it's just a "
+"matter of creating a connection pool in WebSphere pointing to this database, "
+"declare the correct Hibernate dialect and set the correct JNDI name in "
+"<literal>persistence.xml</literal>."
msgstr ""
#. Tag: title
@@ -144,14 +146,14 @@
#, no-c-format
msgid ""
"On the right navigation menu, select <literal>Web Container Settings/Web "
-"container</literal>)"
+"container</literal>"
msgstr ""
#. Tag: listitem
#: Websphere.xml:73
#, no-c-format
msgid ""
-"On the right navigation menu, select <literal>custom properties</literal>) "
+"On the right navigation menu, select <literal>custom properties</literal> "
"and add the following properties:"
msgstr ""
@@ -170,7 +172,7 @@
#. Tag: listitem
#: Websphere.xml:84
#, no-c-format
-msgid "Save and restart the server"
+msgid "Save the configuration and restart the server"
msgstr ""
#. Tag: title
@@ -189,38 +191,38 @@
msgstr ""
#. Tag: listitem
-#: Websphere.xml:97
+#: Websphere.xml:96
#, no-c-format
msgid ""
"The global <literal>jndi-pattern</literal> switch on the <literal><core:"
-"init></literal>. in <literal>components.xml</literal>. The switch can use "
-"a special placeholder \"<literal>#{ejbName}</literal>\" that resolves to the "
-"unqualified name of the EJB"
+"init></literal>tag in <literal>components.xml</literal>. The switch can "
+"use a special placeholder \"<literal>#{ejbName}</literal>\" that resolves to "
+"the unqualified name of the EJB"
msgstr ""
#. Tag: para
-#: Websphere.xml:102
+#: Websphere.xml:100
#, no-c-format
msgid "The <literal>@JndiName</literal> annotation"
msgstr ""
#. Tag: para
-#: Websphere.xml:108
+#: Websphere.xml:106
#, no-c-format
msgid "gives detailed explanations on how those mechanisms work."
msgstr ""
#. Tag: para
-#: Websphere.xml:112
+#: Websphere.xml:110
#, no-c-format
msgid ""
-"By default, WebSphere will bind the session bean in its local JNDI name "
-"space under a \"short\" binding name that adheres to the following pattern "
+"By default, WebSphere will bind session beans in its local JNDI name space "
+"under a \"short\" binding name that adheres to the following pattern "
"<literal>ejblocal:<package.qualified.local.interface.name></literal>."
msgstr ""
#. Tag: para
-#: Websphere.xml:117
+#: Websphere.xml:115
#, no-c-format
msgid ""
"For a detailed description on how WebSphere v7 organizes and binds EJBs in "
@@ -228,7 +230,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:120
+#: Websphere.xml:118
#, no-c-format
msgid ""
"As explained before, Seam needs to lookup for session bean as they appear in "
@@ -236,35 +238,35 @@
msgstr ""
#. Tag: listitem
-#: Websphere.xml:124
+#: Websphere.xml:121
#, no-c-format
msgid ""
"Specify which JNDI name Seam must use for each session bean using the "
-"<literal>@JndiName</literal> annotation in the java source file"
+"<literal>@JndiName</literal> annotation in the java source file,"
msgstr ""
#. Tag: listitem
-#: Websphere.xml:127
+#: Websphere.xml:123
#, no-c-format
msgid ""
"Override the default session bean names generated by WebSphere to conform to "
-"the <literal>jndi-pattern</literal> attribute"
+"the <literal>jndi-pattern</literal> attribute,"
msgstr ""
#. Tag: listitem
-#: Websphere.xml:130
+#: Websphere.xml:126
#, no-c-format
-msgid "Use EJB references"
+msgid "Use EJB references."
msgstr ""
#. Tag: title
-#: Websphere.xml:137
+#: Websphere.xml:133
#, no-c-format
msgid "Strategy 1: Specify which JNDI name Seam must use for each Session Bean"
msgstr ""
#. Tag: para
-#: Websphere.xml:138
+#: Websphere.xml:134
#, no-c-format
msgid ""
"This strategy is the simplest and fastest one regarding development. It uses "
@@ -272,7 +274,7 @@
msgstr ""
#. Tag: listitem
-#: Websphere.xml:141
+#: Websphere.xml:137
#, no-c-format
msgid ""
"Add a <literal>@JndiName(\"ejblocal:<package.qualified.local.interface."
@@ -280,20 +282,20 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:145 Websphere.xml:188
+#: Websphere.xml:141 Websphere.xml:184
#, no-c-format
msgid ""
"<para>In <literal>components.xml</literal>, add the following line:</para>"
msgstr ""
#. Tag: programlisting
-#: Websphere.xml:147 Websphere.xml:220
+#: Websphere.xml:143 Websphere.xml:216
#, no-c-format
msgid "<![CDATA[<core:init jndi-name=\"java:comp/env/#{ejbName}\" />]]>"
msgstr ""
#. Tag: para
-#: Websphere.xml:151
+#: Websphere.xml:147
#, no-c-format
msgid ""
"Add a file named <literal>WEB-INF/classes/seam-jndi.properties</literal> in "
@@ -301,7 +303,7 @@
msgstr ""
#. Tag: programlisting
-#: Websphere.xml:153
+#: Websphere.xml:149
#, no-c-format
msgid ""
"com.ibm.websphere.naming.hostname.normalizer=com.ibm.ws.naming.util."
@@ -323,13 +325,13 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:157
+#: Websphere.xml:153
#, no-c-format
msgid "At the end of <literal>web.xml</literal>, add the following lines:"
msgstr ""
#. Tag: programlisting
-#: Websphere.xml:159
+#: Websphere.xml:155
#, no-c-format
msgid ""
"<![CDATA[<ejb-local-ref>\n"
@@ -341,7 +343,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:164
+#: Websphere.xml:160
#, no-c-format
msgid ""
"That's all folks! No need to update any file during the development, nor to "
@@ -349,23 +351,23 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:167
+#: Websphere.xml:163
#, no-c-format
msgid ""
-"Compared to the other strategies, this strategy has the advantage not to "
-"have to manage any EJBs reference and also not to have to maintain extra "
+"Compared to the other strategies, this strategy has the advantage to not "
+"have to manage any EJBs reference and also to not have to maintain extra "
"files. The only drawback is one extra line in the java source code with the "
"<literal>@JndiName</literal> annotation"
msgstr ""
#. Tag: title
-#: Websphere.xml:174
+#: Websphere.xml:170
#, no-c-format
msgid "Strategy 2: Override the default names generated by WebSphere"
msgstr ""
#. Tag: section
-#: Websphere.xml:174
+#: Websphere.xml:170
#, no-c-format
msgid ""
"There is no simple way to globally override the default naming strategy for "
@@ -374,13 +376,13 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:177
+#: Websphere.xml:173
#, no-c-format
msgid "To use this strategy:"
msgstr ""
#. Tag: para
-#: Websphere.xml:181
+#: Websphere.xml:177
#, no-c-format
msgid ""
"Add a file named <literal>META-INF/ibm-ejb-jar-ext.xml</literal> in the EJB "
@@ -405,13 +407,13 @@
msgstr ""
#. Tag: programlisting
-#: Websphere.xml:190
+#: Websphere.xml:186
#, no-c-format
msgid "<![CDATA[<core:init jndi-name=\"ejblocal:#{ejbName}\" />]]>"
msgstr ""
#. Tag: para
-#: Websphere.xml:194
+#: Websphere.xml:190
#, no-c-format
msgid ""
"Add a file named <literal>WEB-INF/classes/seam-jndi.properties</literal> as "
@@ -419,7 +421,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:199
+#: Websphere.xml:195
#, no-c-format
msgid ""
"In <literal>web.xml</literal>, add the following lines (Note the different "
@@ -427,7 +429,7 @@
msgstr ""
#. Tag: programlisting
-#: Websphere.xml:201
+#: Websphere.xml:197
#, no-c-format
msgid ""
"<![CDATA[<ejb-local-ref>\n"
@@ -439,7 +441,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:206
+#: Websphere.xml:202
#, no-c-format
msgid ""
"Compared to the first strategy, this strategy requires to maintain an extra "
@@ -449,13 +451,13 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:215
+#: Websphere.xml:211
#, no-c-format
msgid "Strategy 3: Use EJB references"
msgstr ""
#. Tag: section
-#: Websphere.xml:215
+#: Websphere.xml:211
#, no-c-format
msgid ""
"This strategy is based on the usage of EJB references, from EJB to EJB and "
@@ -463,7 +465,7 @@
msgstr ""
#. Tag: listitem
-#: Websphere.xml:218
+#: Websphere.xml:214
#, no-c-format
msgid ""
"<listitem>In <literal>components.xml</literal>, add the following line:</"
@@ -471,7 +473,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:223
+#: Websphere.xml:219
#, no-c-format
msgid ""
"Follow the instructions in <xref linkend=\"config.integration.ejb.container"
@@ -479,7 +481,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:228
+#: Websphere.xml:224
#, no-c-format
msgid ""
"This is the most tedious strategy as each session bean referenced by another "
@@ -489,27 +491,27 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:239
+#: Websphere.xml:235
#, no-c-format
msgid "Configuring timeouts for Stateful Session Beans"
msgstr ""
#. Tag: para
-#: Websphere.xml:240
+#: Websphere.xml:236
#, no-c-format
msgid ""
"A timeout value has to be set for each stateful session bean used in the "
"application because stateful bean must not expire in WebSphere while Seam "
-"might still need thenm. At the time of writing this document, WebSphere does "
+"might still need them. At the time of writing this document, WebSphere does "
"not provide a way to configure a global timeout at neither the cluster, "
"server, application nor ejb-jar level. It has to be done for each stateful "
-"bean individually. This is done by adding a file named <literal>META-INF/ibm-"
-"ejb-jar-ext.xml</literal> in the EJB module, and declare the timeout value "
-"for each bean:"
+"bean individually. By default, the default timeout is 10 minutes. This is "
+"done by adding a file named <literal>META-INF/ibm-ejb-jar-ext.xml</literal> "
+"in the EJB module, and declare the timeout value for each bean:"
msgstr ""
#. Tag: programlisting
-#: Websphere.xml:246
+#: Websphere.xml:242
#, no-c-format
msgid ""
"<![CDATA[<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
@@ -529,24 +531,24 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:248
+#: Websphere.xml:244
#, no-c-format
msgid ""
"The <literal>time-out</literal> is expressed in seconds and must be higher "
"than the Seam conversation expiration timeout and a few minutes higher than "
"the user's HTTP session timeout (The session expiration timeout can trigger "
-"a few minutes after the number of minutes declared to expire s for the HTTP "
-"session expiration)."
+"a few minutes after the number of minutes declared to expire the HTTP "
+"session)."
msgstr ""
#. Tag: title
-#: Websphere.xml:257
+#: Websphere.xml:253
#, no-c-format
msgid "The <literal>jee5/booking</literal> example"
msgstr ""
#. Tag: para
-#: Websphere.xml:259
+#: Websphere.xml:255
#, no-c-format
msgid ""
"The<literal>jee5/booking</literal>example is based on the Hotel Booking "
@@ -557,23 +559,32 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:265
+#: Websphere.xml:261
#, no-c-format
msgid ""
-"For running this example, we'll use the second JNDI mapping strategy "
-"(\"Override the default names generated by WebSphere\") as we don't want to "
-"change the java code to add the <literal>@JndiName</literal> annotation as "
-"in the first strategy."
+"The example already has a breakout of configurations and build scripts for "
+"WebSphere. First thing, we are going to do is build and deploy this example. "
+"Then we'll go over some key changes that we needed."
msgstr ""
+#. Tag: para
+#: Websphere.xml:266
+#, no-c-format
+msgid ""
+"The tailored configuration files for WebSphere use the second JNDI mapping "
+"strategy (\"Override the default names generated by WebSphere\") as the goal "
+"was to not change any java code to add the <literal>@JndiName</literal> "
+"annotation as in the first strategy."
+msgstr ""
+
#. Tag: title
-#: Websphere.xml:271
+#: Websphere.xml:272
#, no-c-format
msgid "Building the <literal>jee5/booking</literal> example"
msgstr ""
#. Tag: para
-#: Websphere.xml:273
+#: Websphere.xml:274
#, no-c-format
msgid ""
"Building it only requires running the correct ant command: "
@@ -583,21 +594,21 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:280
+#: Websphere.xml:281
#, no-c-format
msgid "Deploying the <literal>jee5/booking</literal> example"
msgstr ""
#. Tag: para
-#: Websphere.xml:281
+#: Websphere.xml:282
#, no-c-format
msgid ""
-"The steps below are for the WAS version stated above.The ports are default "
-"values, if you changed them, you must substitute the values."
+"The steps below are for the WAS version stated above.The ports are the "
+"default values, if you changed them, you must substitute the values."
msgstr ""
#. Tag: listitem
-#: Websphere.xml:284
+#: Websphere.xml:285
#, no-c-format
msgid ""
"Log in to the administration console <programlisting><![CDATA[http://"
@@ -606,7 +617,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:291
+#: Websphere.xml:292
#, no-c-format
msgid ""
"Go to the <literal>WebSphere enterprise applications</literal> menu option "
@@ -615,7 +626,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:298
+#: Websphere.xml:299
#, no-c-format
msgid ""
"At the top of the <literal>Enterprise Applications</literal> table select "
@@ -624,13 +635,13 @@
msgstr ""
#. Tag: literal
-#: Websphere.xml:304
+#: Websphere.xml:305
#, no-c-format
msgid "Preparing for the application installation"
msgstr ""
#. Tag: para
-#: Websphere.xml:307
+#: Websphere.xml:308
#, no-c-format
msgid ""
"Browse to the <literal>examples/jee5/booking/dist-websphere7/jboss-seam-jee5."
@@ -638,25 +649,25 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:313 Websphere.xml:323 Websphere.xml:341
+#: Websphere.xml:314 Websphere.xml:324 Websphere.xml:342
#, no-c-format
msgid "Select the <literal>Next</literal> button."
msgstr ""
#. Tag: para
-#: Websphere.xml:318
+#: Websphere.xml:319
#, no-c-format
msgid "Select the <literal>Fast Path</literal> button."
msgstr ""
#. Tag: literal
-#: Websphere.xml:332
+#: Websphere.xml:333
#, no-c-format
msgid "Select installation options"
msgstr ""
#. Tag: para
-#: Websphere.xml:335
+#: Websphere.xml:336
#, no-c-format
msgid ""
"Select the <literal>Deploy enterprise beans and Allow EJB reference targets "
@@ -665,13 +676,13 @@
msgstr ""
#. Tag: literal
-#: Websphere.xml:350
+#: Websphere.xml:351
#, no-c-format
msgid "Map modules to servers"
msgstr ""
#. Tag: para
-#: Websphere.xml:353
+#: Websphere.xml:354
#, no-c-format
msgid ""
"No changes needed here as we only have one server. Select the <literal>Next</"
@@ -679,13 +690,13 @@
msgstr ""
#. Tag: literal
-#: Websphere.xml:362
+#: Websphere.xml:363
#, no-c-format
msgid "Map virtual hosts for Web modules"
msgstr ""
#. Tag: para
-#: Websphere.xml:365
+#: Websphere.xml:366
#, no-c-format
msgid ""
"No changes needed here as we only have one virtual host. Select the "
@@ -693,31 +704,31 @@
msgstr ""
#. Tag: literal
-#: Websphere.xml:374
+#: Websphere.xml:375
#, no-c-format
msgid "Summary"
msgstr ""
#. Tag: para
-#: Websphere.xml:377
+#: Websphere.xml:378
#, no-c-format
msgid "No changes needed here. Select the <literal>Finish</literal> button."
msgstr ""
#. Tag: literal
-#: Websphere.xml:384
+#: Websphere.xml:385
#, no-c-format
msgid "Installation"
msgstr ""
#. Tag: para
-#: Websphere.xml:387
+#: Websphere.xml:388
#, no-c-format
msgid "Now you will see WebSphere installing and deploying your application."
msgstr ""
#. Tag: para
-#: Websphere.xml:390
+#: Websphere.xml:391
#, no-c-format
msgid ""
"When done, select the <literal>Save</literal> link and you will be returned "
@@ -725,15 +736,15 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:399
+#: Websphere.xml:400
#, no-c-format
msgid ""
-"To start the application select our application in the list, then click on "
+"To start the application, select the application in the list, then click on "
"the <literal>Start</literal> button at the top of the table."
msgstr ""
#. Tag: para
-#: Websphere.xml:409
+#: Websphere.xml:410
#, no-c-format
msgid ""
"You can now access the application at <literal>http://localhost:9080/seam-"
@@ -741,13 +752,13 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:418
+#: Websphere.xml:419
#, no-c-format
msgid "Deviation from the original base files"
msgstr ""
#. Tag: section
-#: Websphere.xml:418
+#: Websphere.xml:419
#, no-c-format
msgid ""
"Below are the differences between the base configuration files and the "
@@ -756,7 +767,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:422
+#: Websphere.xml:423
#, no-c-format
msgid ""
"<literal>META-INF/ejb-jar.xml</literal> — Removed all the EJB "
@@ -764,37 +775,37 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:428
+#: Websphere.xml:429
#, no-c-format
msgid ""
"<literal>META-INF/ibm-ejb-jar-bnd.xml</literal> — This WebSphere "
"specific file has been added as we use the second JNDI mapping strategy. It "
-"defines, for each session bean, the name WebSphere will use to bind it its "
-"JNDI name space"
+"defines, for each session bean, the name WebSphere will use to bind it in "
+"its JNDI name space"
msgstr ""
#. Tag: para
-#: Websphere.xml:435
+#: Websphere.xml:436
#, no-c-format
msgid ""
"<literal>META-INF/ibm-ejb-jar-ext.xml</literal> — This WebSphere "
-"specific file defines to WebSphere, the timeout value for each stateful bean"
+"specific file defines the timeout value for each stateful bean"
msgstr ""
#. Tag: para
-#: Websphere.xml:441
+#: Websphere.xml:442
#, no-c-format
msgid ""
"<literal>META-INF/persistence.xml</literal> — The main changes here "
"are for the datasource JNDI path, switching to the WebSphere transaction "
"manager lookup class, turning off the <literal>hibernate.transaction."
"flush_before_completion</literal> toggle, and forcing the Hibernate dialect "
-"to be <literal>GlassfishDerbyDialect</literal> how as using the integrated "
-"Derby database"
+"to be <literal>GlassfishDerbyDialect</literal> as we are using the "
+"integrated Derby database"
msgstr ""
#. Tag: para
-#: Websphere.xml:451
+#: Websphere.xml:452
#, no-c-format
msgid ""
"<literal>WEB-INF/components.xml</literal> — the change here is "
@@ -803,7 +814,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:459
+#: Websphere.xml:460
#, no-c-format
msgid ""
"<literal>WEB-INF/web.xml</literal> — Remove all the <literal>ejb-local "
@@ -813,7 +824,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:467 Websphere.xml:549
+#: Websphere.xml:468
#, no-c-format
msgid ""
"<literal>import.sql</literal> — due to the cutomized hibernate Derby "
@@ -822,7 +833,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:474
+#: Websphere.xml:475
#, no-c-format
msgid ""
"Also the build procedure has been changed to include the <literal>log4j.jar</"
@@ -831,13 +842,13 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:486
+#: Websphere.xml:487
#, no-c-format
msgid "The <literal>jpa</literal> booking example"
msgstr ""
#. Tag: para
-#: Websphere.xml:488
+#: Websphere.xml:489
#, no-c-format
msgid ""
"This is the Hotel Booking example implemented in Seam POJOs and using "
@@ -845,7 +856,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:493
+#: Websphere.xml:494
#, no-c-format
msgid ""
"The example already has a breakout of configurations and build scripts for "
@@ -853,7 +864,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:498
+#: Websphere.xml:499
#, no-c-format
msgid ""
"First thing, we are going to do is build and deploy that example. Then we'll "
@@ -861,13 +872,13 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:504
+#: Websphere.xml:505
#, no-c-format
msgid "Building the <literal>jpa</literal> example"
msgstr ""
#. Tag: para
-#: Websphere.xml:505
+#: Websphere.xml:506
#, no-c-format
msgid ""
"Building it only requires running the correct ant command: "
@@ -877,13 +888,13 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:514
+#: Websphere.xml:515
#, no-c-format
msgid "Deploying the <literal>jpa</literal> example"
msgstr ""
#. Tag: para
-#: Websphere.xml:515
+#: Websphere.xml:516
#, no-c-format
msgid ""
"Deploying <literal>jpa</literal> application is very similar to the "
@@ -894,7 +905,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:521
+#: Websphere.xml:522
#, no-c-format
msgid ""
"Follow the same instructions as for the <literal>jee5/booking</literal> "
@@ -902,11 +913,11 @@
"literal> file on the first page and on the <literal>Map context roots for "
"Web modules</literal> page (after the <literal>Map virtual host for Web "
"module</literal>), enter the context root you want to use for your "
-"application in the <literal>Contect Root</literal> input field."
+"application in the <literal>Context Root</literal> input field."
msgstr ""
#. Tag: para
-#: Websphere.xml:528
+#: Websphere.xml:529
#, no-c-format
msgid ""
"When started, you can now access the application at the <literal>http://"
@@ -914,13 +925,13 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:534
+#: Websphere.xml:535
#, no-c-format
msgid "Deviation from the generic base files"
msgstr ""
#. Tag: section
-#: Websphere.xml:534
+#: Websphere.xml:535
#, no-c-format
msgid ""
"Below are the configuration file differences between the base configuration "
@@ -929,7 +940,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:539
+#: Websphere.xml:540
#, no-c-format
msgid ""
"<literal>META-INF/persistence.xml</literal> — The main changes here "
@@ -941,9 +952,18 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:556
+#: Websphere.xml:550
#, no-c-format
msgid ""
+"<literal>import.sql</literal> — due to the customized hibernate Derby "
+"dialect, the <literal>ID</literal> column can not be populated by this file "
+"and was removed."
+msgstr ""
+
+#. Tag: para
+#: Websphere.xml:557
+#, no-c-format
+msgid ""
"Also the build procedure have been changed to include the <literal>log4j."
"jar</literal> file and exclude the <literal>concurrent.jar</literal> and "
"<literal>jboss-common-core.jar</literal> files."
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/sl-SL/Configuration.po
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/sl-SL/Configuration.po 2009-08-26 19:14:02 UTC (rev 11432)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/sl-SL/Configuration.po 2009-08-26 19:19:33 UTC (rev 11433)
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-05-05 12:31+0000\n"
+"POT-Creation-Date: 2009-08-26 18:47+0000\n"
"PO-Revision-Date: 2008-04-21 00:37+0000\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
@@ -677,13 +677,63 @@
msgstr ""
#. Tag: title
+#: Configuration.xml:325
+#, no-c-format
+msgid "Enabling HTTP cache-control headers"
+msgstr ""
+
+#. Tag: para
#: Configuration.xml:326
#, no-c-format
+msgid ""
+"Seam does <emphasis>not</emphasis> automatically add <literal>cache-control</"
+"literal> HTTP headers to any resources served by the Seam resource servlet, "
+"or directly from your view directory by the servlet container. This means "
+"that your images, Javascript and CSS files, and resource representations "
+"from Seam resource servlet such as Seam Remoting Javascript interfaces are "
+"usually not cached by the browser. This is convenient in development but "
+"should be changed in production when optimizing the application."
+msgstr ""
+
+#. Tag: para
+#: Configuration.xml:334
+#, no-c-format
+msgid ""
+"You can configure a Seam filter to enable automatic addition of "
+"<literal>cache-control</literal> headers depending on the requested URI in "
+"<literal>components.xml</literal>:"
+msgstr ""
+
+#. Tag: programlisting
+#: Configuration.xml:339
+#, no-c-format
+msgid ""
+"<![CDATA[<web:cache-control-filter name=\"commonTypesCacheControlFilter\"\n"
+" regex-url-pattern=\".*(\\.gif|\\.png|\\.jpg|\\."
+"jpeg|\\.css|\\.js)\"\n"
+" value=\"max-age=86400\"/> <!-- 1 day -->\n"
+"\n"
+"<web:cache-control-filter name=\"anotherCacheControlFilter\"\n"
+" url-pattern=\"/my/cachable/resources/*\"\n"
+" value=\"max-age=432000\"/> <!-- 5 days -->]]>"
+msgstr ""
+
+#. Tag: para
+#: Configuration.xml:341
+#, no-c-format
+msgid ""
+"You do not have to name the filters unless you have more than one filter "
+"enabled."
+msgstr ""
+
+#. Tag: title
+#: Configuration.xml:348
+#, no-c-format
msgid "Adding custom filters"
msgstr ""
#. Tag: para
-#: Configuration.xml:327
+#: Configuration.xml:349
#, no-c-format
msgid ""
"Seam can install your filters for you, allowing you to specify "
@@ -695,7 +745,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:332
+#: Configuration.xml:354
#, no-c-format
msgid ""
"<![CDATA[@Startup\n"
@@ -707,7 +757,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:334
+#: Configuration.xml:356
#, no-c-format
msgid ""
"Adding the <literal>@Startup</literal> annotation means thar the component "
@@ -718,13 +768,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:343
+#: Configuration.xml:365
#, no-c-format
msgid "Integrating Seam with your EJB container"
msgstr ""
#. Tag: para
-#: Configuration.xml:345
+#: Configuration.xml:367
#, no-c-format
msgid ""
"In a Seam application, EJB components have a certain duality, as they are "
@@ -735,7 +785,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:350
+#: Configuration.xml:372
#, no-c-format
msgid ""
"We need to apply the <literal>SeamInterceptor</literal> to our Seam EJB "
@@ -747,7 +797,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:355
+#: Configuration.xml:377
#, no-c-format
msgid ""
"<![CDATA[<interceptors>\n"
@@ -768,7 +818,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:357
+#: Configuration.xml:379
#, no-c-format
msgid ""
"Seam needs to know where to go to find session beans in JNDI. One way to do "
@@ -782,19 +832,19 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:364
+#: Configuration.xml:386
#, no-c-format
msgid "For JBoss AS, the following pattern is correct:"
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:366
+#: Configuration.xml:388
#, no-c-format
msgid "<![CDATA[<core:init jndi-name=\"earName/#{ejbName}/local\" />]]>"
msgstr ""
#. Tag: para
-#: Configuration.xml:368
+#: Configuration.xml:390
#, no-c-format
msgid ""
"In this case, <literal>earName</literal> is the name of the EAR in which the "
@@ -804,7 +854,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:372
+#: Configuration.xml:394
#, no-c-format
msgid ""
"Outside the context of an EAR (when using the JBoss Embeddable EJB3 "
@@ -813,13 +863,13 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:375
+#: Configuration.xml:397
#, no-c-format
msgid "<![CDATA[<core:init jndi-name=\"#{ejbName}/local\" />]]>"
msgstr ""
#. Tag: para
-#: Configuration.xml:377
+#: Configuration.xml:399
#, no-c-format
msgid ""
"How these JNDI names are resolved and somehow locate an EJB component might "
@@ -828,7 +878,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:381
+#: Configuration.xml:403
#, no-c-format
msgid ""
"The folks at JBoss don't care much for XML, if you can't tell. So when they "
@@ -839,14 +889,14 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:387
+#: Configuration.xml:409
#, no-c-format
msgid ""
"The value of the <literal><ejb-name></literal> element in ejb-jar.xml"
msgstr ""
#. Tag: para
-#: Configuration.xml:390
+#: Configuration.xml:412
#, no-c-format
msgid ""
"The value of the <literal>name</literal> attribute in the @Stateless or "
@@ -854,13 +904,13 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:393
+#: Configuration.xml:415
#, no-c-format
msgid "The simple name of the bean class"
msgstr ""
#. Tag: para
-#: Configuration.xml:397
+#: Configuration.xml:419
#, no-c-format
msgid ""
"Let's look at an example. Assume that you have the following EJB bean and "
@@ -868,7 +918,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:399
+#: Configuration.xml:421
#, no-c-format
msgid ""
"<![CDATA[package com.example.myapp;\n"
@@ -895,7 +945,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:401
+#: Configuration.xml:423
#, no-c-format
msgid ""
"Assuming your EJB bean class is deployed in an EAR named myapp, the global "
@@ -907,7 +957,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:407
+#: Configuration.xml:429
#, no-c-format
msgid ""
"So what about the rest of the application servers? Well, according to the "
@@ -919,7 +969,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:413
+#: Configuration.xml:435
#, no-c-format
msgid ""
"There are two places you have to define the EJB reference when using Seam on "
@@ -930,7 +980,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:418
+#: Configuration.xml:440
#, no-c-format
msgid ""
"<![CDATA[<ejb-local-ref>\n"
@@ -942,7 +992,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:420
+#: Configuration.xml:442
#, no-c-format
msgid ""
"This reference will cover most uses of the component in a Seam application. "
@@ -953,7 +1003,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:425
+#: Configuration.xml:447
#, no-c-format
msgid ""
"Within the context of an EJB method call, you have to deal with a somewhat "
@@ -970,7 +1020,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:434
+#: Configuration.xml:456
#, no-c-format
msgid ""
"For application servers that stubbornly adhere to the EJB specification, EJB "
@@ -982,7 +1032,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:439
+#: Configuration.xml:461
#, no-c-format
msgid ""
"Let's assume that we have an EJB named RegisterAction (the name is resolved "
@@ -991,7 +1041,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:442
+#: Configuration.xml:464
#, no-c-format
msgid ""
"<![CDATA[@In(create = true)\n"
@@ -1000,7 +1050,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:444
+#: Configuration.xml:466
#, no-c-format
msgid ""
"In order for this injection to work, the link must be established in the ejb-"
@@ -1008,7 +1058,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:446
+#: Configuration.xml:468
#, no-c-format
msgid ""
"<![CDATA[<ejb-jar>\n"
@@ -1031,7 +1081,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:448
+#: Configuration.xml:470
#, no-c-format
msgid ""
"Notice that the contents of the <literal><ejb-local-ref></literal> are "
@@ -1043,7 +1093,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:454
+#: Configuration.xml:476
#, no-c-format
msgid ""
"But what about <literal>@EJB</literal>? It's true that you can inject one "
@@ -1061,7 +1111,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:464
+#: Configuration.xml:486
#, no-c-format
msgid ""
"That covers how JNDI names are defined and used. The lesson is that with "
@@ -1074,7 +1124,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:470
+#: Configuration.xml:492
#, no-c-format
msgid ""
"<![CDATA[<core:init jndi-name=\"java:comp/env/earName/#{ejbName}/local\" />]]"
@@ -1082,7 +1132,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:472
+#: Configuration.xml:494
#, no-c-format
msgid ""
"Finally, let's talk about transactions. In an EJB3 environment, we recommend "
@@ -1094,19 +1144,19 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:479
+#: Configuration.xml:501
#, no-c-format
msgid "<![CDATA[<transaction:ejb-transaction/>]]>"
msgstr ""
#. Tag: title
-#: Configuration.xml:484
+#: Configuration.xml:506
#, no-c-format
msgid "Don't forget!"
msgstr ""
#. Tag: para
-#: Configuration.xml:486
+#: Configuration.xml:508
#, no-c-format
msgid ""
"There is one final item you need to know about. You must place a "
@@ -1118,7 +1168,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:491
+#: Configuration.xml:513
#, no-c-format
msgid ""
"In a web archive (WAR) file, you must place a <literal>seam.properties</"
@@ -1127,7 +1177,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:494
+#: Configuration.xml:516
#, no-c-format
msgid ""
"That's why all the Seam examples have an empty <literal>seam.properties</"
@@ -1136,7 +1186,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:497
+#: Configuration.xml:519
#, no-c-format
msgid ""
"You might think this is silly and what kind of idiot framework designers "
@@ -1148,13 +1198,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:508
+#: Configuration.xml:530
#, no-c-format
msgid "Using Alternate JPA Providers"
msgstr ""
#. Tag: para
-#: Configuration.xml:510
+#: Configuration.xml:532
#, no-c-format
msgid ""
"Seam comes packaged and configured with Hibernate as the default JPA "
@@ -1163,13 +1213,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:516
+#: Configuration.xml:538
#, no-c-format
msgid "This is a workaround"
msgstr ""
#. Tag: para
-#: Configuration.xml:517
+#: Configuration.xml:539
#, no-c-format
msgid ""
"Configuration of the JPA provider will be easier in the future and will not "
@@ -1178,7 +1228,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:524
+#: Configuration.xml:546
#, no-c-format
msgid ""
"Telling seam about a different JPA provider can be be done in one of two "
@@ -1186,7 +1236,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:525
+#: Configuration.xml:547
#, no-c-format
msgid ""
"Update your application's <literal>components.xml</literal> so that the "
@@ -1195,7 +1245,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:530
+#: Configuration.xml:552
#, no-c-format
msgid ""
"<![CDATA[<component name=\"org.jboss.seam.persistence.persistenceProvider"
@@ -1206,7 +1256,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:531
+#: Configuration.xml:553
#, no-c-format
msgid ""
"If you want to take advantage of your JPA provider's non-standard features "
@@ -1218,7 +1268,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:538
+#: Configuration.xml:560
#, no-c-format
msgid ""
"<![CDATA[<component name=\"org.jboss.seam.persistence.persistenceProvider"
@@ -1228,7 +1278,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:539
+#: Configuration.xml:561
#, no-c-format
msgid ""
"All that is left is updating the <literal>persistence.xml</literal> file "
@@ -1238,13 +1288,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:547
+#: Configuration.xml:569
#, no-c-format
msgid "Configuring Seam in Java EE 5"
msgstr ""
#. Tag: para
-#: Configuration.xml:558
+#: Configuration.xml:580
#, no-c-format
msgid ""
"If you're running in a Java EE 5 environment, this is all the configuration "
@@ -1252,14 +1302,14 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:561 Configuration.xml:656 Configuration.xml:794
-#: Configuration.xml:827
+#: Configuration.xml:583 Configuration.xml:678 Configuration.xml:816
+#: Configuration.xml:849
#, no-c-format
msgid "Packaging"
msgstr ""
#. Tag: para
-#: Configuration.xml:563
+#: Configuration.xml:585
#, no-c-format
msgid ""
"Once you've packaged all this stuff together into an EAR, the archive "
@@ -1267,7 +1317,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:566
+#: Configuration.xml:588
#, no-c-format
msgid ""
"<![CDATA[my-application.ear/\n"
@@ -1307,7 +1357,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:568
+#: Configuration.xml:590
#, no-c-format
msgid ""
"You should declare <literal>jboss-seam.jar</literal> as an ejb module in "
@@ -1316,7 +1366,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:573
+#: Configuration.xml:595
#, no-c-format
msgid ""
"If you want to use jBPM or Drools, you must include the needed jars in the "
@@ -1324,7 +1374,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:575
+#: Configuration.xml:597
#, no-c-format
msgid ""
"If you want to use facelets (our recommendation), you must include "
@@ -1333,7 +1383,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:578
+#: Configuration.xml:600
#, no-c-format
msgid ""
"If you want to use the Seam tag library (most Seam applications do), you "
@@ -1344,7 +1394,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:583
+#: Configuration.xml:605
#, no-c-format
msgid ""
"If you want to use the Seam debug page (only works for applications using "
@@ -1353,7 +1403,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:586
+#: Configuration.xml:608
#, no-c-format
msgid ""
"Seam ships with several example applications that are deployable in any Java "
@@ -1361,7 +1411,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:589
+#: Configuration.xml:611
#, no-c-format
msgid ""
"I really wish that was all there was to say on the topic of configuration "
@@ -1371,13 +1421,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:598
+#: Configuration.xml:620
#, no-c-format
msgid "Configuring Seam in J2EE"
msgstr ""
#. Tag: para
-#: Configuration.xml:600
+#: Configuration.xml:622
#, no-c-format
msgid ""
"Seam is useful even if you're not yet ready to take the plunge into EJB 3.0. "
@@ -1389,7 +1439,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:615
+#: Configuration.xml:637
#, no-c-format
msgid ""
"Seam JavaBean components do not provide declarative transaction demarcation "
@@ -1401,7 +1451,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:621
+#: Configuration.xml:643
#, no-c-format
msgid ""
"The Seam distribution includes a version of the booking example application "
@@ -1411,13 +1461,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:626
+#: Configuration.xml:648
#, no-c-format
msgid "Boostrapping Hibernate in Seam"
msgstr ""
#. Tag: para
-#: Configuration.xml:628
+#: Configuration.xml:650
#, no-c-format
msgid ""
"Seam will bootstrap a Hibernate <literal>SessionFactory</literal> from your "
@@ -1426,7 +1476,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:631
+#: Configuration.xml:653
#, no-c-format
msgid ""
"<![CDATA[<persistence:hibernate-session-factory name="
@@ -1434,7 +1484,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:633
+#: Configuration.xml:655
#, no-c-format
msgid ""
"You will also need to configure a <emphasis>managed session</emphasis> if "
@@ -1443,7 +1493,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:636
+#: Configuration.xml:658
#, no-c-format
msgid ""
"<![CDATA[<persistence:managed-hibernate-session name=\"hibernateSession\"\n"
@@ -1452,13 +1502,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:641
+#: Configuration.xml:663
#, no-c-format
msgid "Boostrapping JPA in Seam"
msgstr ""
#. Tag: para
-#: Configuration.xml:643
+#: Configuration.xml:665
#, no-c-format
msgid ""
"Seam will bootstrap a JPA <literal>EntityManagerFactory</literal> from your "
@@ -1467,7 +1517,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:646
+#: Configuration.xml:668
#, no-c-format
msgid ""
"<![CDATA[<persistence:entity-manager-factory name=\"entityManagerFactory\"/"
@@ -1475,7 +1525,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:648
+#: Configuration.xml:670
#, no-c-format
msgid ""
"You will also need to configure a <emphasis>managed persistence context</"
@@ -1484,7 +1534,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:651
+#: Configuration.xml:673
#, no-c-format
msgid ""
"<![CDATA[<persistence:managed-persistence-context name=\"entityManager\"\n"
@@ -1493,13 +1543,13 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:658
+#: Configuration.xml:680
#, no-c-format
msgid "We can package our application as a WAR, in the following structure:"
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:660
+#: Configuration.xml:682
#, no-c-format
msgid ""
"<![CDATA[my-application.war/\n"
@@ -1536,7 +1586,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:662
+#: Configuration.xml:684
#, no-c-format
msgid ""
"If we want to deploy Hibernate in a non-EE environment like Tomcat or "
@@ -1544,13 +1594,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:669
+#: Configuration.xml:691
#, no-c-format
msgid "Configuring Seam in Java SE, without JBoss Embedded"
msgstr ""
#. Tag: para
-#: Configuration.xml:671
+#: Configuration.xml:693
#, no-c-format
msgid ""
"It is possible to use Seam completely outside of an EE environment. In this "
@@ -1560,7 +1610,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:675
+#: Configuration.xml:697
#, no-c-format
msgid ""
"<![CDATA[<transaction:entity-transaction entity-manager=\"#{entityManager}\"/"
@@ -1568,7 +1618,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:677
+#: Configuration.xml:699
#, no-c-format
msgid ""
"If you're using Hibernate, you can tell Seam to use the Hibernate "
@@ -1576,32 +1626,32 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:679
+#: Configuration.xml:701
#, no-c-format
msgid "<![CDATA[<transaction:hibernate-transaction session=\"#{session}\"/>]]>"
msgstr ""
#. Tag: para
-#: Configuration.xml:681
+#: Configuration.xml:703
#, no-c-format
msgid "Of course, you'll also need to define a datasource."
msgstr ""
#. Tag: para
-#: Configuration.xml:683
+#: Configuration.xml:705
#, no-c-format
msgid ""
"A better alternative is to use JBoss Embedded to get access to the EE APIs."
msgstr ""
#. Tag: title
-#: Configuration.xml:688
+#: Configuration.xml:710
#, no-c-format
msgid "Configuring Seam in Java SE, with JBoss Embedded"
msgstr ""
#. Tag: para
-#: Configuration.xml:690
+#: Configuration.xml:712
#, no-c-format
msgid ""
"JBoss Embedded lets you run EJB3 components outside the context of the Java "
@@ -1610,7 +1660,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:693
+#: Configuration.xml:715
#, no-c-format
msgid ""
"The Seam booking example application includes a TestNG integration test "
@@ -1618,19 +1668,19 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:705
+#: Configuration.xml:727
#, no-c-format
msgid "The booking example application may even be deployed to Tomcat."
msgstr ""
#. Tag: title
-#: Configuration.xml:717
+#: Configuration.xml:739
#, no-c-format
msgid "Installing Embedded JBoss"
msgstr ""
#. Tag: para
-#: Configuration.xml:720
+#: Configuration.xml:742
#, no-c-format
msgid ""
"Embedded JBoss must by installed into Tomcat for Seam applications to run "
@@ -1643,7 +1693,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:734
+#: Configuration.xml:756
#, no-c-format
msgid ""
"Copy all files and directories under the Embedded JBoss <literal>bootstrap</"
@@ -1653,7 +1703,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:741
+#: Configuration.xml:763
#, no-c-format
msgid ""
"Remove the <literal>annotations-api.jar</literal> file from the Tomcat "
@@ -1661,7 +1711,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:747
+#: Configuration.xml:769
#, no-c-format
msgid ""
"Next, two configuration files need to be updated to add Embedded JBoss-"
@@ -1669,7 +1719,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:753
+#: Configuration.xml:775
#, no-c-format
msgid ""
"Add the Embedded JBoss listener <literal>EmbeddedJBossBootstrapListener</"
@@ -1678,7 +1728,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:756
+#: Configuration.xml:778
#, no-c-format
msgid ""
"<![CDATA[<Server port=\"8005\" shutdown=\"SHUTDOWN\">\n"
@@ -1696,7 +1746,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:757
+#: Configuration.xml:779
#, no-c-format
msgid ""
"<![CDATA[ <!-- Add this listener -->\n"
@@ -1705,7 +1755,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:761
+#: Configuration.xml:783
#, no-c-format
msgid ""
"WAR file scanning should be enabled by adding the <literal>WebinfScanner</"
@@ -1713,7 +1763,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:764
+#: Configuration.xml:786
#, no-c-format
msgid ""
"<![CDATA[<Context>\n"
@@ -1728,7 +1778,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:765
+#: Configuration.xml:787
#, no-c-format
msgid ""
"<![CDATA[ <!-- Add this listener -->\n"
@@ -1736,13 +1786,13 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:766
+#: Configuration.xml:788
#, no-c-format
msgid "<![CDATA[</Context>]]>"
msgstr ""
#. Tag: para
-#: Configuration.xml:770
+#: Configuration.xml:792
#, no-c-format
msgid ""
"If you are using Sun JDK 6, you need to set the Java option <literal>sun."
@@ -1752,7 +1802,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:775
+#: Configuration.xml:797
#, no-c-format
msgid ""
"Open the script appropriate for your operating system in a text editor. Add "
@@ -1762,7 +1812,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:779
+#: Configuration.xml:801
#, no-c-format
msgid ""
"<![CDATA[set JAVA_OPTS=%JAVA_OPTS% -Dsun.lang.ClassLoader."
@@ -1770,13 +1820,13 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:781
+#: Configuration.xml:803
#, no-c-format
msgid "On Unix, use this syntax instead:"
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:783
+#: Configuration.xml:805
#, no-c-format
msgid ""
"<![CDATA[JAVA_OPTS=\"$JAVA_OPTS -Dsun.lang.ClassLoader.allowArraySyntax=true"
@@ -1784,7 +1834,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:788
+#: Configuration.xml:810
#, no-c-format
msgid ""
"For more configuration options, please see the Embedded JBoss Tomcat "
@@ -1793,7 +1843,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:796
+#: Configuration.xml:818
#, no-c-format
msgid ""
"The archive structure of a WAR-based deployment on an servlet engine like "
@@ -1801,7 +1851,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:799
+#: Configuration.xml:821
#, no-c-format
msgid ""
"<![CDATA[my-application.war/\n"
@@ -1839,7 +1889,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:801
+#: Configuration.xml:823
#, no-c-format
msgid ""
"Most of the Seam example applications may be deployed to Tomcat by running "
@@ -1847,13 +1897,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:809
+#: Configuration.xml:831
#, no-c-format
msgid "Configuring jBPM in Seam"
msgstr ""
#. Tag: para
-#: Configuration.xml:810
+#: Configuration.xml:832
#, no-c-format
msgid ""
"Seam's jBPM integration is not installed by default, so you'll need to "
@@ -1863,7 +1913,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:814
+#: Configuration.xml:836
#, no-c-format
msgid ""
"<![CDATA[<bpm:jbpm>\n"
@@ -1879,7 +1929,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:816
+#: Configuration.xml:838
#, no-c-format
msgid ""
"No further special configuration is needed if you only have pageflows. If "
@@ -1890,7 +1940,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:821
+#: Configuration.xml:843
#, no-c-format
msgid ""
"<![CDATA[<jbpm-configuration>\n"
@@ -1920,7 +1970,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:823
+#: Configuration.xml:845
#, no-c-format
msgid ""
"The most important thing to notice here is that jBPM transaction control is "
@@ -1928,7 +1978,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:829
+#: Configuration.xml:851
#, no-c-format
msgid ""
"There is not yet any well-defined packaging format for jBPM configuration "
@@ -1939,7 +1989,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:834
+#: Configuration.xml:856
#, no-c-format
msgid ""
"<![CDATA[my-application.ear/\n"
@@ -1986,13 +2036,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:841
+#: Configuration.xml:863
#, no-c-format
msgid "Configuring SFSB and Session Timeouts in JBoss AS"
msgstr ""
#. Tag: para
-#: Configuration.xml:843
+#: Configuration.xml:865
#, no-c-format
msgid ""
"It is very important that the timeout for Stateful Session Beans is set "
@@ -2004,7 +2054,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:849
+#: Configuration.xml:871
#, no-c-format
msgid ""
"The default SFSB timeout can be adjusted by modifying the value of "
@@ -2013,7 +2063,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:852
+#: Configuration.xml:874
#, no-c-format
msgid ""
"<![CDATA[<container-cache-conf>\n"
@@ -2038,7 +2088,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:854
+#: Configuration.xml:876
#, no-c-format
msgid ""
"The default HTTP session timeout can be modified in <literal>server/default/"
@@ -2049,7 +2099,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:859
+#: Configuration.xml:881
#, no-c-format
msgid ""
"<![CDATA[<session-config>\n"
@@ -2059,7 +2109,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:861
+#: Configuration.xml:883
#, no-c-format
msgid ""
"To override this value for your own application, simply include this entry "
@@ -2067,13 +2117,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:867
+#: Configuration.xml:889
#, no-c-format
msgid "Running Seam in a Portlet"
msgstr ""
#. Tag: para
-#: Configuration.xml:869
+#: Configuration.xml:891
#, no-c-format
msgid ""
"If you want to run your Seam application in a portlet, take a look at the "
@@ -2084,13 +2134,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:880
+#: Configuration.xml:902
#, no-c-format
msgid "Deploying custom resources"
msgstr ""
#. Tag: para
-#: Configuration.xml:882
+#: Configuration.xml:904
#, no-c-format
msgid ""
"Seam scans all jars containing <literal>/seam.properties</literal>, "
@@ -2101,7 +2151,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:889
+#: Configuration.xml:911
#, no-c-format
msgid ""
"You may also want Seam to handle custom resources. A common use case is to "
@@ -2111,7 +2161,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:896
+#: Configuration.xml:918
#, no-c-format
msgid ""
"<![CDATA[# A colon-separated list of annotation types to handle\n"
@@ -2119,7 +2169,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:898
+#: Configuration.xml:920
#, no-c-format
msgid ""
"Then, during application startup you can get hold of all classes annotated "
@@ -2127,7 +2177,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:903
+#: Configuration.xml:925
#, no-c-format
msgid ""
"<![CDATA[@Name(\"fooStartup\")\n"
@@ -2159,7 +2209,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:905
+#: Configuration.xml:927
#, no-c-format
msgid ""
"You can also handle <emphasis>any</emphasis> resource. For example, you "
@@ -2168,7 +2218,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:911
+#: Configuration.xml:933
#, no-c-format
msgid ""
"<![CDATA[public class FooDeploymentHandler implements DeploymentHandler {\n"
@@ -2192,7 +2242,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:913
+#: Configuration.xml:935
#, no-c-format
msgid ""
"Here we are just building a list of any files with the suffix <literal>.foo."
@@ -2200,7 +2250,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:918
+#: Configuration.xml:940
#, no-c-format
msgid ""
"Then, we need to register the deployment handler with Seam in <literal>/META-"
@@ -2209,7 +2259,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:925
+#: Configuration.xml:947
#, no-c-format
msgid ""
"<![CDATA[# For standard deployment\n"
@@ -2220,7 +2270,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:931
+#: Configuration.xml:953
#, no-c-format
msgid ""
"Seam uses deployment handlers internally to install components and "
@@ -2229,7 +2279,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:937
+#: Configuration.xml:959
#, no-c-format
msgid ""
"<![CDATA[@Name(\"fooStartup\")\n"
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/sl-SL/Webservices.po
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/sl-SL/Webservices.po 2009-08-26 19:14:02 UTC (rev 11432)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/sl-SL/Webservices.po 2009-08-26 19:19:33 UTC (rev 11433)
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-07-08 14:32+0000\n"
+"POT-Creation-Date: 2009-08-26 18:48+0000\n"
"PO-Revision-Date: 2008-04-21 00:37+0000\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
@@ -392,48 +392,56 @@
#: Webservices.xml:186
#, no-c-format
msgid ""
-"The URI starts with the pattern mapped in <literal>web.xml</literal> for the "
+"The URI starts with the host and context path of your application, e.g. "
+"<literal>http://your.hostname/myapp</literal>."
+msgstr ""
+
+#. Tag: para
+#: Webservices.xml:192
+#, no-c-format
+msgid ""
+"Then the pattern mapped in <literal>web.xml</literal> for the "
"<literal>SeamResourceServlet</literal>, e.g <literal>/seam/resource</"
-"literal> if you follow the common examples. Change this setting to expose "
-"your RESTful resources under a different base. Note that this is a global "
-"change and other Seam resources (e.g. <literal>s:graphicImage</literal>) are "
-"then also served under that base path."
+"literal> if you follow the common examples, is appended. Change this setting "
+"to expose your RESTful resources under a different base. Note that this is a "
+"global change and other Seam resources (e.g. <literal>s:graphicImage</"
+"literal>) are then also served under that base path."
msgstr ""
#. Tag: para
-#: Webservices.xml:195
+#: Webservices.xml:201
#, no-c-format
msgid ""
"The RESTEasy integration for Seam then appends a configurable string to the "
"base path, by default this is <literal>/rest</literal>. Hence, the full base "
-"path of your resources would e.g. be <literal>/seam/resource/rest</literal>. "
-"We recommend that you change this string in your application, you could for "
-"example add a version number to prepare for a future REST API upgrade of "
-"your services (old clients would keep the old URI base): <literal>/seam/"
-"resource/restv1</literal>."
+"path of your resources would e.g. be <literal>/myapp/seam/resource/rest</"
+"literal>. We recommend that you change this string in your application, you "
+"could for example add a version number to prepare for a future REST API "
+"upgrade of your services (old clients would keep the old URI base): "
+"<literal>/myapp/seam/resource/restv1</literal>."
msgstr ""
#. Tag: para
-#: Webservices.xml:204
+#: Webservices.xml:210
#, no-c-format
msgid ""
"Finally, the actual resource is available under the defined <literal>@Path</"
"literal>, e.g. a resource mapped with <literal>@Path(\"/customer\")</"
-"literal> would be available under <literal>/seam/resource/rest/customer</"
-"literal>."
+"literal> would be available under <literal>/myapp/seam/resource/rest/"
+"customer</literal>."
msgstr ""
#. Tag: para
-#: Webservices.xml:212
+#: Webservices.xml:218
#, no-c-format
msgid ""
"As an example, the following resource definition would return a plaintext "
"representation for any GET requests using the URI <literal>http://your."
-"hostname/seam/resource/rest/customer/123</literal>:"
+"hostname/myapp/seam/resource/rest/customer/123</literal>:"
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:217
+#: Webservices.xml:223
#, no-c-format
msgid ""
"<![CDATA[@Path(\"/customer\")\n"
@@ -450,7 +458,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:219
+#: Webservices.xml:225
#, no-c-format
msgid ""
"No additional configuration is required, you do not have to edit "
@@ -461,7 +469,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:225
+#: Webservices.xml:231
#, no-c-format
msgid ""
"<![CDATA[<components\n"
@@ -476,63 +484,39 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:227
+#: Webservices.xml:233
#, no-c-format
msgid ""
"You can then change the <literal>/rest</literal> prefix as mentioned earlier:"
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:231
+#: Webservices.xml:237
#, no-c-format
msgid "<![CDATA[<resteasy:application resource-path-prefix=\"/restv1\"/>]]>"
msgstr ""
#. Tag: para
-#: Webservices.xml:233
-#, no-c-format
-msgid ""
-"The full base path to your resources is now <literal>/seam/resource/restv1/"
-"{resource}</literal> - note that your <literal>@Path</literal> definitions "
-"and mappings do NOT change. This is an application-wide switch usually used "
-"for versioning of the HTTP API."
-msgstr ""
-
-#. Tag: para
#: Webservices.xml:239
#, no-c-format
msgid ""
-"You can disable stripping of the base path if you'd like to map the full "
-"path in your resources:"
+"The full base path to your resources is now <literal>/myapp/seam/resource/"
+"restv1/{resource}</literal> - note that your <literal>@Path</literal> "
+"definitions and mappings do NOT change. This is an application-wide switch "
+"usually used for versioning of the HTTP interface."
msgstr ""
-#. Tag: programlisting
-#: Webservices.xml:243
-#, no-c-format
-msgid "<![CDATA[<resteasy:application strip-seam-resource-path=\"false\"/>]]>"
-msgstr ""
-
#. Tag: para
#: Webservices.xml:245
#, no-c-format
msgid ""
-"The path of a resource is now mapped with e.g. <literal>@Path(\"/seam/"
-"resource/rest/customer\")</literal>. We do not recommend disabling this "
-"feature, as your resource class mappings are then bound to a particular "
-"deployment scenario."
-msgstr ""
-
-#. Tag: para
-#: Webservices.xml:251
-#, no-c-format
-msgid ""
"Seam will scan your classpath for any deployed <literal>@javax.ws.rs.Path</"
"literal> resources and any <literal>@javax.ws.rs.ext.Provider</literal> "
"classes. You can disable scanning and configure these classes manually:"
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:257
+#: Webservices.xml:251
#, no-c-format
msgid ""
"<![CDATA[<resteasy:application\n"
@@ -554,7 +538,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:259
+#: Webservices.xml:253
#, no-c-format
msgid ""
"The <literal>use-built-in-providers</literal> switch enables (default) or "
@@ -564,7 +548,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:265
+#: Webservices.xml:259
#, no-c-format
msgid ""
"RESTEasy supports plain EJBs (EJBs that are not Seam components) as "
@@ -576,20 +560,21 @@
"<literal>@Path</literal>, <literal>@GET</literal>, and so on - not the bean "
"implementation class. This allows you to keep your application deployment-"
"portable with the global Seam <literal>jndi-pattern</literal> switch on "
-"<literal><core:init/></literal>. Note that EJB resources will not be "
-"found even if scanning of resources is enabled, you always have to list them "
-"manually. Again, this is only relevant for EJB resources that are not also "
-"Seam components and that do not have a <literal>@Name</literal> annotation."
+"<literal><core:init/></literal>. Note that plain (non-Seam component) "
+"EJB resources will not be found even if scanning of resources is enabled, "
+"you always have to list them manually. Again, this whole paragraph is only "
+"relevant for EJB resources that are not also Seam components and that do not "
+"have an <literal>@Name</literal> annotation."
msgstr ""
#. Tag: para
-#: Webservices.xml:277
+#: Webservices.xml:272
#, no-c-format
msgid "Finally, you can configure media type and language URI extensions:"
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:281
+#: Webservices.xml:276
#, no-c-format
msgid ""
"<![CDATA[<resteasy:application>\n"
@@ -606,7 +591,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:283
+#: Webservices.xml:278
#, no-c-format
msgid ""
"This definition would map the URI suffix of <literal>.txt.deutsch</literal> "
@@ -616,13 +601,13 @@
msgstr ""
#. Tag: title
-#: Webservices.xml:292
+#: Webservices.xml:287
#, no-c-format
msgid "Resources and providers as Seam components"
msgstr ""
#. Tag: para
-#: Webservices.xml:294
+#: Webservices.xml:289
#, no-c-format
msgid ""
"Any resource and provider instances are managed by RESTEasy by default. That "
@@ -633,7 +618,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:301
+#: Webservices.xml:296
#, no-c-format
msgid ""
"You can write resources and providers as Seam components and benefit from "
@@ -642,7 +627,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:307
+#: Webservices.xml:302
#, no-c-format
msgid ""
"<![CDATA[@Name(\"customerResource\")\n"
@@ -663,7 +648,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:309
+#: Webservices.xml:304
#, no-c-format
msgid ""
"An instance of <literal>customerResource</literal> is now handled by Seam "
@@ -677,7 +662,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:318
+#: Webservices.xml:313
#, no-c-format
msgid ""
"You can annotate an interface and keep the implementation free from JAX-RS "
@@ -685,7 +670,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:322
+#: Webservices.xml:317
#, no-c-format
msgid ""
"<![CDATA[@Path(\"/customer\")\n"
@@ -700,7 +685,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:324
+#: Webservices.xml:319
#, no-c-format
msgid ""
"<![CDATA[@Name(\"customerResource\")\n"
@@ -718,7 +703,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:326
+#: Webservices.xml:321
#, no-c-format
msgid ""
"You can use <literal>SESSION</literal>-scoped Seam components. By default, "
@@ -733,7 +718,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:335
+#: Webservices.xml:330
#, no-c-format
msgid ""
"Assuming that your Seam application only uses event, application, or "
@@ -745,7 +730,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:342
+#: Webservices.xml:337
#, no-c-format
msgid ""
"If your RESTful Seam application has to preserve session state across REST "
@@ -753,14 +738,14 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:347
+#: Webservices.xml:342
#, no-c-format
msgid ""
"<![CDATA[<resteasy:application destroy-session-after-request=\"false\"/>]]>"
msgstr ""
#. Tag: para
-#: Webservices.xml:349
+#: Webservices.xml:344
#, no-c-format
msgid ""
"Every REST HTTP request will now create a new session that will only be "
@@ -771,7 +756,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:356
+#: Webservices.xml:351
#, no-c-format
msgid ""
"<literal>CONVERSATION</literal>-scoped resource components and mapping of "
@@ -780,7 +765,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:361
+#: Webservices.xml:356
#, no-c-format
msgid ""
"EJB Seam components are supported. Always annotate the local business "
@@ -789,7 +774,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:366
+#: Webservices.xml:361
#, no-c-format
msgid ""
"Provider classes can also be Seam components, only <literal>APPLICATION</"
@@ -799,13 +784,13 @@
msgstr ""
#. Tag: title
-#: Webservices.xml:375
+#: Webservices.xml:370
#, no-c-format
msgid "Securing resources"
msgstr ""
#. Tag: para
-#: Webservices.xml:377
+#: Webservices.xml:372
#, no-c-format
msgid ""
"You can enable the Seam authentication filter for HTTP Basic and Digest "
@@ -813,7 +798,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:382
+#: Webservices.xml:377
#, no-c-format
msgid ""
"<![CDATA[<web:authentication-filter url-pattern=\"/seam/resource/rest/*\" "
@@ -821,14 +806,14 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:384
+#: Webservices.xml:379
#, no-c-format
msgid ""
"See the Seam security chapter on how to write an authentication routine."
msgstr ""
#. Tag: para
-#: Webservices.xml:388
+#: Webservices.xml:383
#, no-c-format
msgid ""
"After successful authentication, authorization rules with the common "
@@ -839,13 +824,13 @@
msgstr ""
#. Tag: title
-#: Webservices.xml:398
+#: Webservices.xml:393
#, no-c-format
msgid "Mapping exceptions to HTTP responses"
msgstr ""
#. Tag: para
-#: Webservices.xml:400
+#: Webservices.xml:395
#, no-c-format
msgid ""
"Section 3.3.4 of the JAX-RS specification defines how checked or unchecked "
@@ -858,7 +843,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:408
+#: Webservices.xml:403
#, no-c-format
msgid ""
"Exception handling within Seam requires that the Seam filter is executed for "
@@ -870,7 +855,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:415
+#: Webservices.xml:410
#, no-c-format
msgid ""
"<![CDATA[<filter>\n"
@@ -885,7 +870,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:417
+#: Webservices.xml:412
#, no-c-format
msgid ""
"To convert the unchecked <literal>UnsupportedOperationException</literal> "
@@ -895,7 +880,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:423
+#: Webservices.xml:418
#, no-c-format
msgid ""
"<![CDATA[<exception class=\"java.lang.UnsupportedOperationException\">\n"
@@ -906,13 +891,13 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:425
+#: Webservices.xml:420
#, no-c-format
msgid "Custom or checked exceptions are handled the same:"
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:429
+#: Webservices.xml:424
#, no-c-format
msgid ""
"<![CDATA[<exception class=\"my.CustomException\" log=\"false\">\n"
@@ -924,7 +909,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:431
+#: Webservices.xml:426
#, no-c-format
msgid ""
"You do not have to send an HTTP error to the client if an exception occurs. "
@@ -935,7 +920,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:438
+#: Webservices.xml:433
#, no-c-format
msgid ""
"Note that the HTTP response still passes through the servlet container, so "
@@ -946,13 +931,13 @@
msgstr ""
#. Tag: title
-#: Webservices.xml:447
+#: Webservices.xml:442
#, no-c-format
msgid "Testing resources and providers"
msgstr ""
#. Tag: para
-#: Webservices.xml:449
+#: Webservices.xml:444
#, no-c-format
msgid ""
"Seam includes a unit testing utility class that helps you create unit tests "
@@ -962,7 +947,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:455
+#: Webservices.xml:450
#, no-c-format
msgid ""
"<![CDATA[import org.jboss.seam.mock.ResourceRequestEnvironment;\n"
@@ -1019,7 +1004,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:457
+#: Webservices.xml:452
#, no-c-format
msgid ""
"This test only executes local calls, it does not communicate with the "
@@ -1032,7 +1017,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:465
+#: Webservices.xml:460
#, no-c-format
msgid ""
"Note that a <literal>ResourceRequest</literal> has to be executed in a "
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/sl-SL/Websphere.po
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/sl-SL/Websphere.po 2009-08-26 19:14:02 UTC (rev 11432)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/sl-SL/Websphere.po 2009-08-26 19:19:33 UTC (rev 11433)
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-08-22 13:17+0000\n"
+"POT-Creation-Date: 2009-08-26 18:48+0000\n"
"PO-Revision-Date: 2008-04-21 00:37+0000\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
@@ -76,25 +76,27 @@
#, no-c-format
msgid ""
"The following sections in this chapter assume that WebSphere is correctly "
-"installed and is functional, and a profile has been successfully created."
+"installed and is functional, and a WebSphere \"profile\" has been "
+"successfully created."
msgstr ""
#. Tag: para
#: Websphere.xml:40
#, no-c-format
msgid ""
-"This chapter explain how to compile, deploy and run some sample applications "
-"in WebSphere. These sample applications require a database. WebSphere comes "
-"by default with a set of sample applications called \"Default Application\". "
-"This set of sample applications use a Derby database running on the Derby "
-"instance installed with WebSphere. In order to keep this simple we'll use "
-"this Derby database created for the \"Default Applications\". However, to "
-"run the sample application with the Derby database \"as-is\", a patched "
-"Hibernate dialect must be used (The patch changes the default \"auto\" key "
-"generation strategy) as explained in <xref linkend=\"glassfish\"/>. If you "
-"want to use another database, it's just a matter of creating a connection "
-"pool in WebSphere pointing to this database, declare the correct Hibernate "
-"dialect and set the correct JNDI name in <literal>persistence.xml</literal>."
+"This chapter explains how to compile, deploy and run some sample "
+"applications in WebSphere. These sample applications require a database. "
+"WebSphere comes by default with a set of sample applications called "
+"\"Default Application\". This set of sample applications use a Derby "
+"database running on the Derby instance installed within WebSphere. In order "
+"to keep this simple we'll use this Derby database created for the \"Default "
+"Applications\". However, to run the sample application with the Derby "
+"database \"as-is\", a patched Hibernate dialect must be used (The patch "
+"changes the default \"auto\" key generation strategy) as explained in <xref "
+"linkend=\"glassfish\"/>. If you want to use another database, it's just a "
+"matter of creating a connection pool in WebSphere pointing to this database, "
+"declare the correct Hibernate dialect and set the correct JNDI name in "
+"<literal>persistence.xml</literal>."
msgstr ""
#. Tag: title
@@ -144,14 +146,14 @@
#, no-c-format
msgid ""
"On the right navigation menu, select <literal>Web Container Settings/Web "
-"container</literal>)"
+"container</literal>"
msgstr ""
#. Tag: listitem
#: Websphere.xml:73
#, no-c-format
msgid ""
-"On the right navigation menu, select <literal>custom properties</literal>) "
+"On the right navigation menu, select <literal>custom properties</literal> "
"and add the following properties:"
msgstr ""
@@ -170,7 +172,7 @@
#. Tag: listitem
#: Websphere.xml:84
#, no-c-format
-msgid "Save and restart the server"
+msgid "Save the configuration and restart the server"
msgstr ""
#. Tag: title
@@ -189,38 +191,38 @@
msgstr ""
#. Tag: listitem
-#: Websphere.xml:97
+#: Websphere.xml:96
#, no-c-format
msgid ""
"The global <literal>jndi-pattern</literal> switch on the <literal><core:"
-"init></literal>. in <literal>components.xml</literal>. The switch can use "
-"a special placeholder \"<literal>#{ejbName}</literal>\" that resolves to the "
-"unqualified name of the EJB"
+"init></literal>tag in <literal>components.xml</literal>. The switch can "
+"use a special placeholder \"<literal>#{ejbName}</literal>\" that resolves to "
+"the unqualified name of the EJB"
msgstr ""
#. Tag: para
-#: Websphere.xml:102
+#: Websphere.xml:100
#, no-c-format
msgid "The <literal>@JndiName</literal> annotation"
msgstr ""
#. Tag: para
-#: Websphere.xml:108
+#: Websphere.xml:106
#, no-c-format
msgid "gives detailed explanations on how those mechanisms work."
msgstr ""
#. Tag: para
-#: Websphere.xml:112
+#: Websphere.xml:110
#, no-c-format
msgid ""
-"By default, WebSphere will bind the session bean in its local JNDI name "
-"space under a \"short\" binding name that adheres to the following pattern "
+"By default, WebSphere will bind session beans in its local JNDI name space "
+"under a \"short\" binding name that adheres to the following pattern "
"<literal>ejblocal:<package.qualified.local.interface.name></literal>."
msgstr ""
#. Tag: para
-#: Websphere.xml:117
+#: Websphere.xml:115
#, no-c-format
msgid ""
"For a detailed description on how WebSphere v7 organizes and binds EJBs in "
@@ -228,7 +230,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:120
+#: Websphere.xml:118
#, no-c-format
msgid ""
"As explained before, Seam needs to lookup for session bean as they appear in "
@@ -236,35 +238,35 @@
msgstr ""
#. Tag: listitem
-#: Websphere.xml:124
+#: Websphere.xml:121
#, no-c-format
msgid ""
"Specify which JNDI name Seam must use for each session bean using the "
-"<literal>@JndiName</literal> annotation in the java source file"
+"<literal>@JndiName</literal> annotation in the java source file,"
msgstr ""
#. Tag: listitem
-#: Websphere.xml:127
+#: Websphere.xml:123
#, no-c-format
msgid ""
"Override the default session bean names generated by WebSphere to conform to "
-"the <literal>jndi-pattern</literal> attribute"
+"the <literal>jndi-pattern</literal> attribute,"
msgstr ""
#. Tag: listitem
-#: Websphere.xml:130
+#: Websphere.xml:126
#, no-c-format
-msgid "Use EJB references"
+msgid "Use EJB references."
msgstr ""
#. Tag: title
-#: Websphere.xml:137
+#: Websphere.xml:133
#, no-c-format
msgid "Strategy 1: Specify which JNDI name Seam must use for each Session Bean"
msgstr ""
#. Tag: para
-#: Websphere.xml:138
+#: Websphere.xml:134
#, no-c-format
msgid ""
"This strategy is the simplest and fastest one regarding development. It uses "
@@ -272,7 +274,7 @@
msgstr ""
#. Tag: listitem
-#: Websphere.xml:141
+#: Websphere.xml:137
#, no-c-format
msgid ""
"Add a <literal>@JndiName(\"ejblocal:<package.qualified.local.interface."
@@ -280,20 +282,20 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:145 Websphere.xml:188
+#: Websphere.xml:141 Websphere.xml:184
#, no-c-format
msgid ""
"<para>In <literal>components.xml</literal>, add the following line:</para>"
msgstr ""
#. Tag: programlisting
-#: Websphere.xml:147 Websphere.xml:220
+#: Websphere.xml:143 Websphere.xml:216
#, no-c-format
msgid "<![CDATA[<core:init jndi-name=\"java:comp/env/#{ejbName}\" />]]>"
msgstr ""
#. Tag: para
-#: Websphere.xml:151
+#: Websphere.xml:147
#, no-c-format
msgid ""
"Add a file named <literal>WEB-INF/classes/seam-jndi.properties</literal> in "
@@ -301,7 +303,7 @@
msgstr ""
#. Tag: programlisting
-#: Websphere.xml:153
+#: Websphere.xml:149
#, no-c-format
msgid ""
"com.ibm.websphere.naming.hostname.normalizer=com.ibm.ws.naming.util."
@@ -323,13 +325,13 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:157
+#: Websphere.xml:153
#, no-c-format
msgid "At the end of <literal>web.xml</literal>, add the following lines:"
msgstr ""
#. Tag: programlisting
-#: Websphere.xml:159
+#: Websphere.xml:155
#, no-c-format
msgid ""
"<![CDATA[<ejb-local-ref>\n"
@@ -341,7 +343,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:164
+#: Websphere.xml:160
#, no-c-format
msgid ""
"That's all folks! No need to update any file during the development, nor to "
@@ -349,23 +351,23 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:167
+#: Websphere.xml:163
#, no-c-format
msgid ""
-"Compared to the other strategies, this strategy has the advantage not to "
-"have to manage any EJBs reference and also not to have to maintain extra "
+"Compared to the other strategies, this strategy has the advantage to not "
+"have to manage any EJBs reference and also to not have to maintain extra "
"files. The only drawback is one extra line in the java source code with the "
"<literal>@JndiName</literal> annotation"
msgstr ""
#. Tag: title
-#: Websphere.xml:174
+#: Websphere.xml:170
#, no-c-format
msgid "Strategy 2: Override the default names generated by WebSphere"
msgstr ""
#. Tag: section
-#: Websphere.xml:174
+#: Websphere.xml:170
#, no-c-format
msgid ""
"There is no simple way to globally override the default naming strategy for "
@@ -374,13 +376,13 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:177
+#: Websphere.xml:173
#, no-c-format
msgid "To use this strategy:"
msgstr ""
#. Tag: para
-#: Websphere.xml:181
+#: Websphere.xml:177
#, no-c-format
msgid ""
"Add a file named <literal>META-INF/ibm-ejb-jar-ext.xml</literal> in the EJB "
@@ -405,13 +407,13 @@
msgstr ""
#. Tag: programlisting
-#: Websphere.xml:190
+#: Websphere.xml:186
#, no-c-format
msgid "<![CDATA[<core:init jndi-name=\"ejblocal:#{ejbName}\" />]]>"
msgstr ""
#. Tag: para
-#: Websphere.xml:194
+#: Websphere.xml:190
#, no-c-format
msgid ""
"Add a file named <literal>WEB-INF/classes/seam-jndi.properties</literal> as "
@@ -419,7 +421,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:199
+#: Websphere.xml:195
#, no-c-format
msgid ""
"In <literal>web.xml</literal>, add the following lines (Note the different "
@@ -427,7 +429,7 @@
msgstr ""
#. Tag: programlisting
-#: Websphere.xml:201
+#: Websphere.xml:197
#, no-c-format
msgid ""
"<![CDATA[<ejb-local-ref>\n"
@@ -439,7 +441,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:206
+#: Websphere.xml:202
#, no-c-format
msgid ""
"Compared to the first strategy, this strategy requires to maintain an extra "
@@ -449,13 +451,13 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:215
+#: Websphere.xml:211
#, no-c-format
msgid "Strategy 3: Use EJB references"
msgstr ""
#. Tag: section
-#: Websphere.xml:215
+#: Websphere.xml:211
#, no-c-format
msgid ""
"This strategy is based on the usage of EJB references, from EJB to EJB and "
@@ -463,7 +465,7 @@
msgstr ""
#. Tag: listitem
-#: Websphere.xml:218
+#: Websphere.xml:214
#, no-c-format
msgid ""
"<listitem>In <literal>components.xml</literal>, add the following line:</"
@@ -471,7 +473,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:223
+#: Websphere.xml:219
#, no-c-format
msgid ""
"Follow the instructions in <xref linkend=\"config.integration.ejb.container"
@@ -479,7 +481,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:228
+#: Websphere.xml:224
#, no-c-format
msgid ""
"This is the most tedious strategy as each session bean referenced by another "
@@ -489,27 +491,27 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:239
+#: Websphere.xml:235
#, no-c-format
msgid "Configuring timeouts for Stateful Session Beans"
msgstr ""
#. Tag: para
-#: Websphere.xml:240
+#: Websphere.xml:236
#, no-c-format
msgid ""
"A timeout value has to be set for each stateful session bean used in the "
"application because stateful bean must not expire in WebSphere while Seam "
-"might still need thenm. At the time of writing this document, WebSphere does "
+"might still need them. At the time of writing this document, WebSphere does "
"not provide a way to configure a global timeout at neither the cluster, "
"server, application nor ejb-jar level. It has to be done for each stateful "
-"bean individually. This is done by adding a file named <literal>META-INF/ibm-"
-"ejb-jar-ext.xml</literal> in the EJB module, and declare the timeout value "
-"for each bean:"
+"bean individually. By default, the default timeout is 10 minutes. This is "
+"done by adding a file named <literal>META-INF/ibm-ejb-jar-ext.xml</literal> "
+"in the EJB module, and declare the timeout value for each bean:"
msgstr ""
#. Tag: programlisting
-#: Websphere.xml:246
+#: Websphere.xml:242
#, no-c-format
msgid ""
"<![CDATA[<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
@@ -529,24 +531,24 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:248
+#: Websphere.xml:244
#, no-c-format
msgid ""
"The <literal>time-out</literal> is expressed in seconds and must be higher "
"than the Seam conversation expiration timeout and a few minutes higher than "
"the user's HTTP session timeout (The session expiration timeout can trigger "
-"a few minutes after the number of minutes declared to expire s for the HTTP "
-"session expiration)."
+"a few minutes after the number of minutes declared to expire the HTTP "
+"session)."
msgstr ""
#. Tag: title
-#: Websphere.xml:257
+#: Websphere.xml:253
#, no-c-format
msgid "The <literal>jee5/booking</literal> example"
msgstr ""
#. Tag: para
-#: Websphere.xml:259
+#: Websphere.xml:255
#, no-c-format
msgid ""
"The<literal>jee5/booking</literal>example is based on the Hotel Booking "
@@ -557,23 +559,32 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:265
+#: Websphere.xml:261
#, no-c-format
msgid ""
-"For running this example, we'll use the second JNDI mapping strategy "
-"(\"Override the default names generated by WebSphere\") as we don't want to "
-"change the java code to add the <literal>@JndiName</literal> annotation as "
-"in the first strategy."
+"The example already has a breakout of configurations and build scripts for "
+"WebSphere. First thing, we are going to do is build and deploy this example. "
+"Then we'll go over some key changes that we needed."
msgstr ""
+#. Tag: para
+#: Websphere.xml:266
+#, no-c-format
+msgid ""
+"The tailored configuration files for WebSphere use the second JNDI mapping "
+"strategy (\"Override the default names generated by WebSphere\") as the goal "
+"was to not change any java code to add the <literal>@JndiName</literal> "
+"annotation as in the first strategy."
+msgstr ""
+
#. Tag: title
-#: Websphere.xml:271
+#: Websphere.xml:272
#, no-c-format
msgid "Building the <literal>jee5/booking</literal> example"
msgstr ""
#. Tag: para
-#: Websphere.xml:273
+#: Websphere.xml:274
#, no-c-format
msgid ""
"Building it only requires running the correct ant command: "
@@ -583,21 +594,21 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:280
+#: Websphere.xml:281
#, no-c-format
msgid "Deploying the <literal>jee5/booking</literal> example"
msgstr ""
#. Tag: para
-#: Websphere.xml:281
+#: Websphere.xml:282
#, no-c-format
msgid ""
-"The steps below are for the WAS version stated above.The ports are default "
-"values, if you changed them, you must substitute the values."
+"The steps below are for the WAS version stated above.The ports are the "
+"default values, if you changed them, you must substitute the values."
msgstr ""
#. Tag: listitem
-#: Websphere.xml:284
+#: Websphere.xml:285
#, no-c-format
msgid ""
"Log in to the administration console <programlisting><![CDATA[http://"
@@ -606,7 +617,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:291
+#: Websphere.xml:292
#, no-c-format
msgid ""
"Go to the <literal>WebSphere enterprise applications</literal> menu option "
@@ -615,7 +626,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:298
+#: Websphere.xml:299
#, no-c-format
msgid ""
"At the top of the <literal>Enterprise Applications</literal> table select "
@@ -624,13 +635,13 @@
msgstr ""
#. Tag: literal
-#: Websphere.xml:304
+#: Websphere.xml:305
#, no-c-format
msgid "Preparing for the application installation"
msgstr ""
#. Tag: para
-#: Websphere.xml:307
+#: Websphere.xml:308
#, no-c-format
msgid ""
"Browse to the <literal>examples/jee5/booking/dist-websphere7/jboss-seam-jee5."
@@ -638,25 +649,25 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:313 Websphere.xml:323 Websphere.xml:341
+#: Websphere.xml:314 Websphere.xml:324 Websphere.xml:342
#, no-c-format
msgid "Select the <literal>Next</literal> button."
msgstr ""
#. Tag: para
-#: Websphere.xml:318
+#: Websphere.xml:319
#, no-c-format
msgid "Select the <literal>Fast Path</literal> button."
msgstr ""
#. Tag: literal
-#: Websphere.xml:332
+#: Websphere.xml:333
#, no-c-format
msgid "Select installation options"
msgstr ""
#. Tag: para
-#: Websphere.xml:335
+#: Websphere.xml:336
#, no-c-format
msgid ""
"Select the <literal>Deploy enterprise beans and Allow EJB reference targets "
@@ -665,13 +676,13 @@
msgstr ""
#. Tag: literal
-#: Websphere.xml:350
+#: Websphere.xml:351
#, no-c-format
msgid "Map modules to servers"
msgstr ""
#. Tag: para
-#: Websphere.xml:353
+#: Websphere.xml:354
#, no-c-format
msgid ""
"No changes needed here as we only have one server. Select the <literal>Next</"
@@ -679,13 +690,13 @@
msgstr ""
#. Tag: literal
-#: Websphere.xml:362
+#: Websphere.xml:363
#, no-c-format
msgid "Map virtual hosts for Web modules"
msgstr ""
#. Tag: para
-#: Websphere.xml:365
+#: Websphere.xml:366
#, no-c-format
msgid ""
"No changes needed here as we only have one virtual host. Select the "
@@ -693,31 +704,31 @@
msgstr ""
#. Tag: literal
-#: Websphere.xml:374
+#: Websphere.xml:375
#, no-c-format
msgid "Summary"
msgstr ""
#. Tag: para
-#: Websphere.xml:377
+#: Websphere.xml:378
#, no-c-format
msgid "No changes needed here. Select the <literal>Finish</literal> button."
msgstr ""
#. Tag: literal
-#: Websphere.xml:384
+#: Websphere.xml:385
#, no-c-format
msgid "Installation"
msgstr ""
#. Tag: para
-#: Websphere.xml:387
+#: Websphere.xml:388
#, no-c-format
msgid "Now you will see WebSphere installing and deploying your application."
msgstr ""
#. Tag: para
-#: Websphere.xml:390
+#: Websphere.xml:391
#, no-c-format
msgid ""
"When done, select the <literal>Save</literal> link and you will be returned "
@@ -725,15 +736,15 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:399
+#: Websphere.xml:400
#, no-c-format
msgid ""
-"To start the application select our application in the list, then click on "
+"To start the application, select the application in the list, then click on "
"the <literal>Start</literal> button at the top of the table."
msgstr ""
#. Tag: para
-#: Websphere.xml:409
+#: Websphere.xml:410
#, no-c-format
msgid ""
"You can now access the application at <literal>http://localhost:9080/seam-"
@@ -741,13 +752,13 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:418
+#: Websphere.xml:419
#, no-c-format
msgid "Deviation from the original base files"
msgstr ""
#. Tag: section
-#: Websphere.xml:418
+#: Websphere.xml:419
#, no-c-format
msgid ""
"Below are the differences between the base configuration files and the "
@@ -756,7 +767,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:422
+#: Websphere.xml:423
#, no-c-format
msgid ""
"<literal>META-INF/ejb-jar.xml</literal> — Removed all the EJB "
@@ -764,37 +775,37 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:428
+#: Websphere.xml:429
#, no-c-format
msgid ""
"<literal>META-INF/ibm-ejb-jar-bnd.xml</literal> — This WebSphere "
"specific file has been added as we use the second JNDI mapping strategy. It "
-"defines, for each session bean, the name WebSphere will use to bind it its "
-"JNDI name space"
+"defines, for each session bean, the name WebSphere will use to bind it in "
+"its JNDI name space"
msgstr ""
#. Tag: para
-#: Websphere.xml:435
+#: Websphere.xml:436
#, no-c-format
msgid ""
"<literal>META-INF/ibm-ejb-jar-ext.xml</literal> — This WebSphere "
-"specific file defines to WebSphere, the timeout value for each stateful bean"
+"specific file defines the timeout value for each stateful bean"
msgstr ""
#. Tag: para
-#: Websphere.xml:441
+#: Websphere.xml:442
#, no-c-format
msgid ""
"<literal>META-INF/persistence.xml</literal> — The main changes here "
"are for the datasource JNDI path, switching to the WebSphere transaction "
"manager lookup class, turning off the <literal>hibernate.transaction."
"flush_before_completion</literal> toggle, and forcing the Hibernate dialect "
-"to be <literal>GlassfishDerbyDialect</literal> how as using the integrated "
-"Derby database"
+"to be <literal>GlassfishDerbyDialect</literal> as we are using the "
+"integrated Derby database"
msgstr ""
#. Tag: para
-#: Websphere.xml:451
+#: Websphere.xml:452
#, no-c-format
msgid ""
"<literal>WEB-INF/components.xml</literal> — the change here is "
@@ -803,7 +814,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:459
+#: Websphere.xml:460
#, no-c-format
msgid ""
"<literal>WEB-INF/web.xml</literal> — Remove all the <literal>ejb-local "
@@ -813,7 +824,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:467 Websphere.xml:549
+#: Websphere.xml:468
#, no-c-format
msgid ""
"<literal>import.sql</literal> — due to the cutomized hibernate Derby "
@@ -822,7 +833,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:474
+#: Websphere.xml:475
#, no-c-format
msgid ""
"Also the build procedure has been changed to include the <literal>log4j.jar</"
@@ -831,13 +842,13 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:486
+#: Websphere.xml:487
#, no-c-format
msgid "The <literal>jpa</literal> booking example"
msgstr ""
#. Tag: para
-#: Websphere.xml:488
+#: Websphere.xml:489
#, no-c-format
msgid ""
"This is the Hotel Booking example implemented in Seam POJOs and using "
@@ -845,7 +856,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:493
+#: Websphere.xml:494
#, no-c-format
msgid ""
"The example already has a breakout of configurations and build scripts for "
@@ -853,7 +864,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:498
+#: Websphere.xml:499
#, no-c-format
msgid ""
"First thing, we are going to do is build and deploy that example. Then we'll "
@@ -861,13 +872,13 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:504
+#: Websphere.xml:505
#, no-c-format
msgid "Building the <literal>jpa</literal> example"
msgstr ""
#. Tag: para
-#: Websphere.xml:505
+#: Websphere.xml:506
#, no-c-format
msgid ""
"Building it only requires running the correct ant command: "
@@ -877,13 +888,13 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:514
+#: Websphere.xml:515
#, no-c-format
msgid "Deploying the <literal>jpa</literal> example"
msgstr ""
#. Tag: para
-#: Websphere.xml:515
+#: Websphere.xml:516
#, no-c-format
msgid ""
"Deploying <literal>jpa</literal> application is very similar to the "
@@ -894,7 +905,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:521
+#: Websphere.xml:522
#, no-c-format
msgid ""
"Follow the same instructions as for the <literal>jee5/booking</literal> "
@@ -902,11 +913,11 @@
"literal> file on the first page and on the <literal>Map context roots for "
"Web modules</literal> page (after the <literal>Map virtual host for Web "
"module</literal>), enter the context root you want to use for your "
-"application in the <literal>Contect Root</literal> input field."
+"application in the <literal>Context Root</literal> input field."
msgstr ""
#. Tag: para
-#: Websphere.xml:528
+#: Websphere.xml:529
#, no-c-format
msgid ""
"When started, you can now access the application at the <literal>http://"
@@ -914,13 +925,13 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:534
+#: Websphere.xml:535
#, no-c-format
msgid "Deviation from the generic base files"
msgstr ""
#. Tag: section
-#: Websphere.xml:534
+#: Websphere.xml:535
#, no-c-format
msgid ""
"Below are the configuration file differences between the base configuration "
@@ -929,7 +940,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:539
+#: Websphere.xml:540
#, no-c-format
msgid ""
"<literal>META-INF/persistence.xml</literal> — The main changes here "
@@ -941,9 +952,18 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:556
+#: Websphere.xml:550
#, no-c-format
msgid ""
+"<literal>import.sql</literal> — due to the customized hibernate Derby "
+"dialect, the <literal>ID</literal> column can not be populated by this file "
+"and was removed."
+msgstr ""
+
+#. Tag: para
+#: Websphere.xml:557
+#, no-c-format
+msgid ""
"Also the build procedure have been changed to include the <literal>log4j."
"jar</literal> file and exclude the <literal>concurrent.jar</literal> and "
"<literal>jboss-common-core.jar</literal> files."
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/ta-IN/Configuration.po
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/ta-IN/Configuration.po 2009-08-26 19:14:02 UTC (rev 11432)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/ta-IN/Configuration.po 2009-08-26 19:19:33 UTC (rev 11433)
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-05-05 12:31+0000\n"
+"POT-Creation-Date: 2009-08-26 18:47+0000\n"
"PO-Revision-Date: 2008-04-04 01:24+0000\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
@@ -677,13 +677,63 @@
msgstr ""
#. Tag: title
+#: Configuration.xml:325
+#, no-c-format
+msgid "Enabling HTTP cache-control headers"
+msgstr ""
+
+#. Tag: para
#: Configuration.xml:326
#, no-c-format
+msgid ""
+"Seam does <emphasis>not</emphasis> automatically add <literal>cache-control</"
+"literal> HTTP headers to any resources served by the Seam resource servlet, "
+"or directly from your view directory by the servlet container. This means "
+"that your images, Javascript and CSS files, and resource representations "
+"from Seam resource servlet such as Seam Remoting Javascript interfaces are "
+"usually not cached by the browser. This is convenient in development but "
+"should be changed in production when optimizing the application."
+msgstr ""
+
+#. Tag: para
+#: Configuration.xml:334
+#, no-c-format
+msgid ""
+"You can configure a Seam filter to enable automatic addition of "
+"<literal>cache-control</literal> headers depending on the requested URI in "
+"<literal>components.xml</literal>:"
+msgstr ""
+
+#. Tag: programlisting
+#: Configuration.xml:339
+#, no-c-format
+msgid ""
+"<![CDATA[<web:cache-control-filter name=\"commonTypesCacheControlFilter\"\n"
+" regex-url-pattern=\".*(\\.gif|\\.png|\\.jpg|\\."
+"jpeg|\\.css|\\.js)\"\n"
+" value=\"max-age=86400\"/> <!-- 1 day -->\n"
+"\n"
+"<web:cache-control-filter name=\"anotherCacheControlFilter\"\n"
+" url-pattern=\"/my/cachable/resources/*\"\n"
+" value=\"max-age=432000\"/> <!-- 5 days -->]]>"
+msgstr ""
+
+#. Tag: para
+#: Configuration.xml:341
+#, no-c-format
+msgid ""
+"You do not have to name the filters unless you have more than one filter "
+"enabled."
+msgstr ""
+
+#. Tag: title
+#: Configuration.xml:348
+#, no-c-format
msgid "Adding custom filters"
msgstr ""
#. Tag: para
-#: Configuration.xml:327
+#: Configuration.xml:349
#, no-c-format
msgid ""
"Seam can install your filters for you, allowing you to specify "
@@ -695,7 +745,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:332
+#: Configuration.xml:354
#, no-c-format
msgid ""
"<![CDATA[@Startup\n"
@@ -707,7 +757,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:334
+#: Configuration.xml:356
#, no-c-format
msgid ""
"Adding the <literal>@Startup</literal> annotation means thar the component "
@@ -718,13 +768,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:343
+#: Configuration.xml:365
#, no-c-format
msgid "Integrating Seam with your EJB container"
msgstr ""
#. Tag: para
-#: Configuration.xml:345
+#: Configuration.xml:367
#, no-c-format
msgid ""
"In a Seam application, EJB components have a certain duality, as they are "
@@ -735,7 +785,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:350
+#: Configuration.xml:372
#, no-c-format
msgid ""
"We need to apply the <literal>SeamInterceptor</literal> to our Seam EJB "
@@ -747,7 +797,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:355
+#: Configuration.xml:377
#, no-c-format
msgid ""
"<![CDATA[<interceptors>\n"
@@ -768,7 +818,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:357
+#: Configuration.xml:379
#, no-c-format
msgid ""
"Seam needs to know where to go to find session beans in JNDI. One way to do "
@@ -782,19 +832,19 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:364
+#: Configuration.xml:386
#, no-c-format
msgid "For JBoss AS, the following pattern is correct:"
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:366
+#: Configuration.xml:388
#, no-c-format
msgid "<![CDATA[<core:init jndi-name=\"earName/#{ejbName}/local\" />]]>"
msgstr ""
#. Tag: para
-#: Configuration.xml:368
+#: Configuration.xml:390
#, no-c-format
msgid ""
"In this case, <literal>earName</literal> is the name of the EAR in which the "
@@ -804,7 +854,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:372
+#: Configuration.xml:394
#, no-c-format
msgid ""
"Outside the context of an EAR (when using the JBoss Embeddable EJB3 "
@@ -813,13 +863,13 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:375
+#: Configuration.xml:397
#, no-c-format
msgid "<![CDATA[<core:init jndi-name=\"#{ejbName}/local\" />]]>"
msgstr ""
#. Tag: para
-#: Configuration.xml:377
+#: Configuration.xml:399
#, no-c-format
msgid ""
"How these JNDI names are resolved and somehow locate an EJB component might "
@@ -828,7 +878,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:381
+#: Configuration.xml:403
#, no-c-format
msgid ""
"The folks at JBoss don't care much for XML, if you can't tell. So when they "
@@ -839,14 +889,14 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:387
+#: Configuration.xml:409
#, no-c-format
msgid ""
"The value of the <literal><ejb-name></literal> element in ejb-jar.xml"
msgstr ""
#. Tag: para
-#: Configuration.xml:390
+#: Configuration.xml:412
#, no-c-format
msgid ""
"The value of the <literal>name</literal> attribute in the @Stateless or "
@@ -854,13 +904,13 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:393
+#: Configuration.xml:415
#, no-c-format
msgid "The simple name of the bean class"
msgstr ""
#. Tag: para
-#: Configuration.xml:397
+#: Configuration.xml:419
#, no-c-format
msgid ""
"Let's look at an example. Assume that you have the following EJB bean and "
@@ -868,7 +918,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:399
+#: Configuration.xml:421
#, no-c-format
msgid ""
"<![CDATA[package com.example.myapp;\n"
@@ -895,7 +945,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:401
+#: Configuration.xml:423
#, no-c-format
msgid ""
"Assuming your EJB bean class is deployed in an EAR named myapp, the global "
@@ -907,7 +957,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:407
+#: Configuration.xml:429
#, no-c-format
msgid ""
"So what about the rest of the application servers? Well, according to the "
@@ -919,7 +969,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:413
+#: Configuration.xml:435
#, no-c-format
msgid ""
"There are two places you have to define the EJB reference when using Seam on "
@@ -930,7 +980,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:418
+#: Configuration.xml:440
#, no-c-format
msgid ""
"<![CDATA[<ejb-local-ref>\n"
@@ -942,7 +992,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:420
+#: Configuration.xml:442
#, no-c-format
msgid ""
"This reference will cover most uses of the component in a Seam application. "
@@ -953,7 +1003,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:425
+#: Configuration.xml:447
#, no-c-format
msgid ""
"Within the context of an EJB method call, you have to deal with a somewhat "
@@ -970,7 +1020,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:434
+#: Configuration.xml:456
#, no-c-format
msgid ""
"For application servers that stubbornly adhere to the EJB specification, EJB "
@@ -982,7 +1032,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:439
+#: Configuration.xml:461
#, no-c-format
msgid ""
"Let's assume that we have an EJB named RegisterAction (the name is resolved "
@@ -991,7 +1041,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:442
+#: Configuration.xml:464
#, no-c-format
msgid ""
"<![CDATA[@In(create = true)\n"
@@ -1000,7 +1050,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:444
+#: Configuration.xml:466
#, no-c-format
msgid ""
"In order for this injection to work, the link must be established in the ejb-"
@@ -1008,7 +1058,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:446
+#: Configuration.xml:468
#, no-c-format
msgid ""
"<![CDATA[<ejb-jar>\n"
@@ -1031,7 +1081,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:448
+#: Configuration.xml:470
#, no-c-format
msgid ""
"Notice that the contents of the <literal><ejb-local-ref></literal> are "
@@ -1043,7 +1093,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:454
+#: Configuration.xml:476
#, no-c-format
msgid ""
"But what about <literal>@EJB</literal>? It's true that you can inject one "
@@ -1061,7 +1111,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:464
+#: Configuration.xml:486
#, no-c-format
msgid ""
"That covers how JNDI names are defined and used. The lesson is that with "
@@ -1074,7 +1124,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:470
+#: Configuration.xml:492
#, no-c-format
msgid ""
"<![CDATA[<core:init jndi-name=\"java:comp/env/earName/#{ejbName}/local\" />]]"
@@ -1082,7 +1132,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:472
+#: Configuration.xml:494
#, no-c-format
msgid ""
"Finally, let's talk about transactions. In an EJB3 environment, we recommend "
@@ -1094,19 +1144,19 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:479
+#: Configuration.xml:501
#, no-c-format
msgid "<![CDATA[<transaction:ejb-transaction/>]]>"
msgstr ""
#. Tag: title
-#: Configuration.xml:484
+#: Configuration.xml:506
#, no-c-format
msgid "Don't forget!"
msgstr ""
#. Tag: para
-#: Configuration.xml:486
+#: Configuration.xml:508
#, no-c-format
msgid ""
"There is one final item you need to know about. You must place a "
@@ -1118,7 +1168,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:491
+#: Configuration.xml:513
#, no-c-format
msgid ""
"In a web archive (WAR) file, you must place a <literal>seam.properties</"
@@ -1127,7 +1177,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:494
+#: Configuration.xml:516
#, no-c-format
msgid ""
"That's why all the Seam examples have an empty <literal>seam.properties</"
@@ -1136,7 +1186,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:497
+#: Configuration.xml:519
#, no-c-format
msgid ""
"You might think this is silly and what kind of idiot framework designers "
@@ -1148,13 +1198,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:508
+#: Configuration.xml:530
#, no-c-format
msgid "Using Alternate JPA Providers"
msgstr ""
#. Tag: para
-#: Configuration.xml:510
+#: Configuration.xml:532
#, no-c-format
msgid ""
"Seam comes packaged and configured with Hibernate as the default JPA "
@@ -1163,13 +1213,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:516
+#: Configuration.xml:538
#, no-c-format
msgid "This is a workaround"
msgstr ""
#. Tag: para
-#: Configuration.xml:517
+#: Configuration.xml:539
#, no-c-format
msgid ""
"Configuration of the JPA provider will be easier in the future and will not "
@@ -1178,7 +1228,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:524
+#: Configuration.xml:546
#, no-c-format
msgid ""
"Telling seam about a different JPA provider can be be done in one of two "
@@ -1186,7 +1236,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:525
+#: Configuration.xml:547
#, no-c-format
msgid ""
"Update your application's <literal>components.xml</literal> so that the "
@@ -1195,7 +1245,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:530
+#: Configuration.xml:552
#, no-c-format
msgid ""
"<![CDATA[<component name=\"org.jboss.seam.persistence.persistenceProvider"
@@ -1206,7 +1256,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:531
+#: Configuration.xml:553
#, no-c-format
msgid ""
"If you want to take advantage of your JPA provider's non-standard features "
@@ -1218,7 +1268,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:538
+#: Configuration.xml:560
#, no-c-format
msgid ""
"<![CDATA[<component name=\"org.jboss.seam.persistence.persistenceProvider"
@@ -1228,7 +1278,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:539
+#: Configuration.xml:561
#, no-c-format
msgid ""
"All that is left is updating the <literal>persistence.xml</literal> file "
@@ -1238,13 +1288,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:547
+#: Configuration.xml:569
#, no-c-format
msgid "Configuring Seam in Java EE 5"
msgstr ""
#. Tag: para
-#: Configuration.xml:558
+#: Configuration.xml:580
#, no-c-format
msgid ""
"If you're running in a Java EE 5 environment, this is all the configuration "
@@ -1252,14 +1302,14 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:561 Configuration.xml:656 Configuration.xml:794
-#: Configuration.xml:827
+#: Configuration.xml:583 Configuration.xml:678 Configuration.xml:816
+#: Configuration.xml:849
#, no-c-format
msgid "Packaging"
msgstr ""
#. Tag: para
-#: Configuration.xml:563
+#: Configuration.xml:585
#, no-c-format
msgid ""
"Once you've packaged all this stuff together into an EAR, the archive "
@@ -1267,7 +1317,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:566
+#: Configuration.xml:588
#, no-c-format
msgid ""
"<![CDATA[my-application.ear/\n"
@@ -1307,7 +1357,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:568
+#: Configuration.xml:590
#, no-c-format
msgid ""
"You should declare <literal>jboss-seam.jar</literal> as an ejb module in "
@@ -1316,7 +1366,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:573
+#: Configuration.xml:595
#, no-c-format
msgid ""
"If you want to use jBPM or Drools, you must include the needed jars in the "
@@ -1324,7 +1374,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:575
+#: Configuration.xml:597
#, no-c-format
msgid ""
"If you want to use facelets (our recommendation), you must include "
@@ -1333,7 +1383,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:578
+#: Configuration.xml:600
#, no-c-format
msgid ""
"If you want to use the Seam tag library (most Seam applications do), you "
@@ -1344,7 +1394,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:583
+#: Configuration.xml:605
#, no-c-format
msgid ""
"If you want to use the Seam debug page (only works for applications using "
@@ -1353,7 +1403,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:586
+#: Configuration.xml:608
#, no-c-format
msgid ""
"Seam ships with several example applications that are deployable in any Java "
@@ -1361,7 +1411,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:589
+#: Configuration.xml:611
#, no-c-format
msgid ""
"I really wish that was all there was to say on the topic of configuration "
@@ -1371,13 +1421,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:598
+#: Configuration.xml:620
#, no-c-format
msgid "Configuring Seam in J2EE"
msgstr ""
#. Tag: para
-#: Configuration.xml:600
+#: Configuration.xml:622
#, no-c-format
msgid ""
"Seam is useful even if you're not yet ready to take the plunge into EJB 3.0. "
@@ -1389,7 +1439,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:615
+#: Configuration.xml:637
#, no-c-format
msgid ""
"Seam JavaBean components do not provide declarative transaction demarcation "
@@ -1401,7 +1451,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:621
+#: Configuration.xml:643
#, no-c-format
msgid ""
"The Seam distribution includes a version of the booking example application "
@@ -1411,13 +1461,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:626
+#: Configuration.xml:648
#, no-c-format
msgid "Boostrapping Hibernate in Seam"
msgstr ""
#. Tag: para
-#: Configuration.xml:628
+#: Configuration.xml:650
#, no-c-format
msgid ""
"Seam will bootstrap a Hibernate <literal>SessionFactory</literal> from your "
@@ -1426,7 +1476,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:631
+#: Configuration.xml:653
#, no-c-format
msgid ""
"<![CDATA[<persistence:hibernate-session-factory name="
@@ -1434,7 +1484,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:633
+#: Configuration.xml:655
#, no-c-format
msgid ""
"You will also need to configure a <emphasis>managed session</emphasis> if "
@@ -1443,7 +1493,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:636
+#: Configuration.xml:658
#, no-c-format
msgid ""
"<![CDATA[<persistence:managed-hibernate-session name=\"hibernateSession\"\n"
@@ -1452,13 +1502,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:641
+#: Configuration.xml:663
#, no-c-format
msgid "Boostrapping JPA in Seam"
msgstr ""
#. Tag: para
-#: Configuration.xml:643
+#: Configuration.xml:665
#, no-c-format
msgid ""
"Seam will bootstrap a JPA <literal>EntityManagerFactory</literal> from your "
@@ -1467,7 +1517,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:646
+#: Configuration.xml:668
#, no-c-format
msgid ""
"<![CDATA[<persistence:entity-manager-factory name=\"entityManagerFactory\"/"
@@ -1475,7 +1525,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:648
+#: Configuration.xml:670
#, no-c-format
msgid ""
"You will also need to configure a <emphasis>managed persistence context</"
@@ -1484,7 +1534,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:651
+#: Configuration.xml:673
#, no-c-format
msgid ""
"<![CDATA[<persistence:managed-persistence-context name=\"entityManager\"\n"
@@ -1493,13 +1543,13 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:658
+#: Configuration.xml:680
#, no-c-format
msgid "We can package our application as a WAR, in the following structure:"
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:660
+#: Configuration.xml:682
#, no-c-format
msgid ""
"<![CDATA[my-application.war/\n"
@@ -1536,7 +1586,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:662
+#: Configuration.xml:684
#, no-c-format
msgid ""
"If we want to deploy Hibernate in a non-EE environment like Tomcat or "
@@ -1544,13 +1594,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:669
+#: Configuration.xml:691
#, no-c-format
msgid "Configuring Seam in Java SE, without JBoss Embedded"
msgstr ""
#. Tag: para
-#: Configuration.xml:671
+#: Configuration.xml:693
#, no-c-format
msgid ""
"It is possible to use Seam completely outside of an EE environment. In this "
@@ -1560,7 +1610,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:675
+#: Configuration.xml:697
#, no-c-format
msgid ""
"<![CDATA[<transaction:entity-transaction entity-manager=\"#{entityManager}\"/"
@@ -1568,7 +1618,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:677
+#: Configuration.xml:699
#, no-c-format
msgid ""
"If you're using Hibernate, you can tell Seam to use the Hibernate "
@@ -1576,32 +1626,32 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:679
+#: Configuration.xml:701
#, no-c-format
msgid "<![CDATA[<transaction:hibernate-transaction session=\"#{session}\"/>]]>"
msgstr ""
#. Tag: para
-#: Configuration.xml:681
+#: Configuration.xml:703
#, no-c-format
msgid "Of course, you'll also need to define a datasource."
msgstr ""
#. Tag: para
-#: Configuration.xml:683
+#: Configuration.xml:705
#, no-c-format
msgid ""
"A better alternative is to use JBoss Embedded to get access to the EE APIs."
msgstr ""
#. Tag: title
-#: Configuration.xml:688
+#: Configuration.xml:710
#, no-c-format
msgid "Configuring Seam in Java SE, with JBoss Embedded"
msgstr ""
#. Tag: para
-#: Configuration.xml:690
+#: Configuration.xml:712
#, no-c-format
msgid ""
"JBoss Embedded lets you run EJB3 components outside the context of the Java "
@@ -1610,7 +1660,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:693
+#: Configuration.xml:715
#, no-c-format
msgid ""
"The Seam booking example application includes a TestNG integration test "
@@ -1618,19 +1668,19 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:705
+#: Configuration.xml:727
#, no-c-format
msgid "The booking example application may even be deployed to Tomcat."
msgstr ""
#. Tag: title
-#: Configuration.xml:717
+#: Configuration.xml:739
#, no-c-format
msgid "Installing Embedded JBoss"
msgstr ""
#. Tag: para
-#: Configuration.xml:720
+#: Configuration.xml:742
#, no-c-format
msgid ""
"Embedded JBoss must by installed into Tomcat for Seam applications to run "
@@ -1643,7 +1693,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:734
+#: Configuration.xml:756
#, no-c-format
msgid ""
"Copy all files and directories under the Embedded JBoss <literal>bootstrap</"
@@ -1653,7 +1703,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:741
+#: Configuration.xml:763
#, no-c-format
msgid ""
"Remove the <literal>annotations-api.jar</literal> file from the Tomcat "
@@ -1661,7 +1711,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:747
+#: Configuration.xml:769
#, no-c-format
msgid ""
"Next, two configuration files need to be updated to add Embedded JBoss-"
@@ -1669,7 +1719,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:753
+#: Configuration.xml:775
#, no-c-format
msgid ""
"Add the Embedded JBoss listener <literal>EmbeddedJBossBootstrapListener</"
@@ -1678,7 +1728,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:756
+#: Configuration.xml:778
#, no-c-format
msgid ""
"<![CDATA[<Server port=\"8005\" shutdown=\"SHUTDOWN\">\n"
@@ -1696,7 +1746,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:757
+#: Configuration.xml:779
#, no-c-format
msgid ""
"<![CDATA[ <!-- Add this listener -->\n"
@@ -1705,7 +1755,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:761
+#: Configuration.xml:783
#, no-c-format
msgid ""
"WAR file scanning should be enabled by adding the <literal>WebinfScanner</"
@@ -1713,7 +1763,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:764
+#: Configuration.xml:786
#, no-c-format
msgid ""
"<![CDATA[<Context>\n"
@@ -1728,7 +1778,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:765
+#: Configuration.xml:787
#, no-c-format
msgid ""
"<![CDATA[ <!-- Add this listener -->\n"
@@ -1736,13 +1786,13 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:766
+#: Configuration.xml:788
#, no-c-format
msgid "<![CDATA[</Context>]]>"
msgstr ""
#. Tag: para
-#: Configuration.xml:770
+#: Configuration.xml:792
#, no-c-format
msgid ""
"If you are using Sun JDK 6, you need to set the Java option <literal>sun."
@@ -1752,7 +1802,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:775
+#: Configuration.xml:797
#, no-c-format
msgid ""
"Open the script appropriate for your operating system in a text editor. Add "
@@ -1762,7 +1812,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:779
+#: Configuration.xml:801
#, no-c-format
msgid ""
"<![CDATA[set JAVA_OPTS=%JAVA_OPTS% -Dsun.lang.ClassLoader."
@@ -1770,13 +1820,13 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:781
+#: Configuration.xml:803
#, no-c-format
msgid "On Unix, use this syntax instead:"
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:783
+#: Configuration.xml:805
#, no-c-format
msgid ""
"<![CDATA[JAVA_OPTS=\"$JAVA_OPTS -Dsun.lang.ClassLoader.allowArraySyntax=true"
@@ -1784,7 +1834,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:788
+#: Configuration.xml:810
#, no-c-format
msgid ""
"For more configuration options, please see the Embedded JBoss Tomcat "
@@ -1793,7 +1843,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:796
+#: Configuration.xml:818
#, no-c-format
msgid ""
"The archive structure of a WAR-based deployment on an servlet engine like "
@@ -1801,7 +1851,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:799
+#: Configuration.xml:821
#, no-c-format
msgid ""
"<![CDATA[my-application.war/\n"
@@ -1839,7 +1889,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:801
+#: Configuration.xml:823
#, no-c-format
msgid ""
"Most of the Seam example applications may be deployed to Tomcat by running "
@@ -1847,13 +1897,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:809
+#: Configuration.xml:831
#, no-c-format
msgid "Configuring jBPM in Seam"
msgstr ""
#. Tag: para
-#: Configuration.xml:810
+#: Configuration.xml:832
#, no-c-format
msgid ""
"Seam's jBPM integration is not installed by default, so you'll need to "
@@ -1863,7 +1913,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:814
+#: Configuration.xml:836
#, no-c-format
msgid ""
"<![CDATA[<bpm:jbpm>\n"
@@ -1879,7 +1929,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:816
+#: Configuration.xml:838
#, no-c-format
msgid ""
"No further special configuration is needed if you only have pageflows. If "
@@ -1890,7 +1940,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:821
+#: Configuration.xml:843
#, no-c-format
msgid ""
"<![CDATA[<jbpm-configuration>\n"
@@ -1920,7 +1970,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:823
+#: Configuration.xml:845
#, no-c-format
msgid ""
"The most important thing to notice here is that jBPM transaction control is "
@@ -1928,7 +1978,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:829
+#: Configuration.xml:851
#, no-c-format
msgid ""
"There is not yet any well-defined packaging format for jBPM configuration "
@@ -1939,7 +1989,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:834
+#: Configuration.xml:856
#, no-c-format
msgid ""
"<![CDATA[my-application.ear/\n"
@@ -1986,13 +2036,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:841
+#: Configuration.xml:863
#, no-c-format
msgid "Configuring SFSB and Session Timeouts in JBoss AS"
msgstr ""
#. Tag: para
-#: Configuration.xml:843
+#: Configuration.xml:865
#, no-c-format
msgid ""
"It is very important that the timeout for Stateful Session Beans is set "
@@ -2004,7 +2054,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:849
+#: Configuration.xml:871
#, no-c-format
msgid ""
"The default SFSB timeout can be adjusted by modifying the value of "
@@ -2013,7 +2063,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:852
+#: Configuration.xml:874
#, no-c-format
msgid ""
"<![CDATA[<container-cache-conf>\n"
@@ -2038,7 +2088,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:854
+#: Configuration.xml:876
#, no-c-format
msgid ""
"The default HTTP session timeout can be modified in <literal>server/default/"
@@ -2049,7 +2099,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:859
+#: Configuration.xml:881
#, no-c-format
msgid ""
"<![CDATA[<session-config>\n"
@@ -2059,7 +2109,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:861
+#: Configuration.xml:883
#, no-c-format
msgid ""
"To override this value for your own application, simply include this entry "
@@ -2067,13 +2117,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:867
+#: Configuration.xml:889
#, no-c-format
msgid "Running Seam in a Portlet"
msgstr ""
#. Tag: para
-#: Configuration.xml:869
+#: Configuration.xml:891
#, no-c-format
msgid ""
"If you want to run your Seam application in a portlet, take a look at the "
@@ -2084,13 +2134,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:880
+#: Configuration.xml:902
#, no-c-format
msgid "Deploying custom resources"
msgstr ""
#. Tag: para
-#: Configuration.xml:882
+#: Configuration.xml:904
#, no-c-format
msgid ""
"Seam scans all jars containing <literal>/seam.properties</literal>, "
@@ -2101,7 +2151,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:889
+#: Configuration.xml:911
#, no-c-format
msgid ""
"You may also want Seam to handle custom resources. A common use case is to "
@@ -2111,7 +2161,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:896
+#: Configuration.xml:918
#, no-c-format
msgid ""
"<![CDATA[# A colon-separated list of annotation types to handle\n"
@@ -2119,7 +2169,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:898
+#: Configuration.xml:920
#, no-c-format
msgid ""
"Then, during application startup you can get hold of all classes annotated "
@@ -2127,7 +2177,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:903
+#: Configuration.xml:925
#, no-c-format
msgid ""
"<![CDATA[@Name(\"fooStartup\")\n"
@@ -2159,7 +2209,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:905
+#: Configuration.xml:927
#, no-c-format
msgid ""
"You can also handle <emphasis>any</emphasis> resource. For example, you "
@@ -2168,7 +2218,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:911
+#: Configuration.xml:933
#, no-c-format
msgid ""
"<![CDATA[public class FooDeploymentHandler implements DeploymentHandler {\n"
@@ -2192,7 +2242,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:913
+#: Configuration.xml:935
#, no-c-format
msgid ""
"Here we are just building a list of any files with the suffix <literal>.foo."
@@ -2200,7 +2250,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:918
+#: Configuration.xml:940
#, no-c-format
msgid ""
"Then, we need to register the deployment handler with Seam in <literal>/META-"
@@ -2209,7 +2259,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:925
+#: Configuration.xml:947
#, no-c-format
msgid ""
"<![CDATA[# For standard deployment\n"
@@ -2220,7 +2270,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:931
+#: Configuration.xml:953
#, no-c-format
msgid ""
"Seam uses deployment handlers internally to install components and "
@@ -2229,7 +2279,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:937
+#: Configuration.xml:959
#, no-c-format
msgid ""
"<![CDATA[@Name(\"fooStartup\")\n"
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/ta-IN/Webservices.po
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/ta-IN/Webservices.po 2009-08-26 19:14:02 UTC (rev 11432)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/ta-IN/Webservices.po 2009-08-26 19:19:33 UTC (rev 11433)
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-07-08 14:32+0000\n"
+"POT-Creation-Date: 2009-08-26 18:48+0000\n"
"PO-Revision-Date: 2008-04-04 01:24+0000\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
@@ -392,48 +392,56 @@
#: Webservices.xml:186
#, no-c-format
msgid ""
-"The URI starts with the pattern mapped in <literal>web.xml</literal> for the "
+"The URI starts with the host and context path of your application, e.g. "
+"<literal>http://your.hostname/myapp</literal>."
+msgstr ""
+
+#. Tag: para
+#: Webservices.xml:192
+#, no-c-format
+msgid ""
+"Then the pattern mapped in <literal>web.xml</literal> for the "
"<literal>SeamResourceServlet</literal>, e.g <literal>/seam/resource</"
-"literal> if you follow the common examples. Change this setting to expose "
-"your RESTful resources under a different base. Note that this is a global "
-"change and other Seam resources (e.g. <literal>s:graphicImage</literal>) are "
-"then also served under that base path."
+"literal> if you follow the common examples, is appended. Change this setting "
+"to expose your RESTful resources under a different base. Note that this is a "
+"global change and other Seam resources (e.g. <literal>s:graphicImage</"
+"literal>) are then also served under that base path."
msgstr ""
#. Tag: para
-#: Webservices.xml:195
+#: Webservices.xml:201
#, no-c-format
msgid ""
"The RESTEasy integration for Seam then appends a configurable string to the "
"base path, by default this is <literal>/rest</literal>. Hence, the full base "
-"path of your resources would e.g. be <literal>/seam/resource/rest</literal>. "
-"We recommend that you change this string in your application, you could for "
-"example add a version number to prepare for a future REST API upgrade of "
-"your services (old clients would keep the old URI base): <literal>/seam/"
-"resource/restv1</literal>."
+"path of your resources would e.g. be <literal>/myapp/seam/resource/rest</"
+"literal>. We recommend that you change this string in your application, you "
+"could for example add a version number to prepare for a future REST API "
+"upgrade of your services (old clients would keep the old URI base): "
+"<literal>/myapp/seam/resource/restv1</literal>."
msgstr ""
#. Tag: para
-#: Webservices.xml:204
+#: Webservices.xml:210
#, no-c-format
msgid ""
"Finally, the actual resource is available under the defined <literal>@Path</"
"literal>, e.g. a resource mapped with <literal>@Path(\"/customer\")</"
-"literal> would be available under <literal>/seam/resource/rest/customer</"
-"literal>."
+"literal> would be available under <literal>/myapp/seam/resource/rest/"
+"customer</literal>."
msgstr ""
#. Tag: para
-#: Webservices.xml:212
+#: Webservices.xml:218
#, no-c-format
msgid ""
"As an example, the following resource definition would return a plaintext "
"representation for any GET requests using the URI <literal>http://your."
-"hostname/seam/resource/rest/customer/123</literal>:"
+"hostname/myapp/seam/resource/rest/customer/123</literal>:"
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:217
+#: Webservices.xml:223
#, no-c-format
msgid ""
"<![CDATA[@Path(\"/customer\")\n"
@@ -450,7 +458,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:219
+#: Webservices.xml:225
#, no-c-format
msgid ""
"No additional configuration is required, you do not have to edit "
@@ -461,7 +469,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:225
+#: Webservices.xml:231
#, no-c-format
msgid ""
"<![CDATA[<components\n"
@@ -476,63 +484,39 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:227
+#: Webservices.xml:233
#, no-c-format
msgid ""
"You can then change the <literal>/rest</literal> prefix as mentioned earlier:"
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:231
+#: Webservices.xml:237
#, no-c-format
msgid "<![CDATA[<resteasy:application resource-path-prefix=\"/restv1\"/>]]>"
msgstr ""
#. Tag: para
-#: Webservices.xml:233
-#, no-c-format
-msgid ""
-"The full base path to your resources is now <literal>/seam/resource/restv1/"
-"{resource}</literal> - note that your <literal>@Path</literal> definitions "
-"and mappings do NOT change. This is an application-wide switch usually used "
-"for versioning of the HTTP API."
-msgstr ""
-
-#. Tag: para
#: Webservices.xml:239
#, no-c-format
msgid ""
-"You can disable stripping of the base path if you'd like to map the full "
-"path in your resources:"
+"The full base path to your resources is now <literal>/myapp/seam/resource/"
+"restv1/{resource}</literal> - note that your <literal>@Path</literal> "
+"definitions and mappings do NOT change. This is an application-wide switch "
+"usually used for versioning of the HTTP interface."
msgstr ""
-#. Tag: programlisting
-#: Webservices.xml:243
-#, no-c-format
-msgid "<![CDATA[<resteasy:application strip-seam-resource-path=\"false\"/>]]>"
-msgstr ""
-
#. Tag: para
#: Webservices.xml:245
#, no-c-format
msgid ""
-"The path of a resource is now mapped with e.g. <literal>@Path(\"/seam/"
-"resource/rest/customer\")</literal>. We do not recommend disabling this "
-"feature, as your resource class mappings are then bound to a particular "
-"deployment scenario."
-msgstr ""
-
-#. Tag: para
-#: Webservices.xml:251
-#, no-c-format
-msgid ""
"Seam will scan your classpath for any deployed <literal>@javax.ws.rs.Path</"
"literal> resources and any <literal>@javax.ws.rs.ext.Provider</literal> "
"classes. You can disable scanning and configure these classes manually:"
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:257
+#: Webservices.xml:251
#, no-c-format
msgid ""
"<![CDATA[<resteasy:application\n"
@@ -554,7 +538,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:259
+#: Webservices.xml:253
#, no-c-format
msgid ""
"The <literal>use-built-in-providers</literal> switch enables (default) or "
@@ -564,7 +548,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:265
+#: Webservices.xml:259
#, no-c-format
msgid ""
"RESTEasy supports plain EJBs (EJBs that are not Seam components) as "
@@ -576,20 +560,21 @@
"<literal>@Path</literal>, <literal>@GET</literal>, and so on - not the bean "
"implementation class. This allows you to keep your application deployment-"
"portable with the global Seam <literal>jndi-pattern</literal> switch on "
-"<literal><core:init/></literal>. Note that EJB resources will not be "
-"found even if scanning of resources is enabled, you always have to list them "
-"manually. Again, this is only relevant for EJB resources that are not also "
-"Seam components and that do not have a <literal>@Name</literal> annotation."
+"<literal><core:init/></literal>. Note that plain (non-Seam component) "
+"EJB resources will not be found even if scanning of resources is enabled, "
+"you always have to list them manually. Again, this whole paragraph is only "
+"relevant for EJB resources that are not also Seam components and that do not "
+"have an <literal>@Name</literal> annotation."
msgstr ""
#. Tag: para
-#: Webservices.xml:277
+#: Webservices.xml:272
#, no-c-format
msgid "Finally, you can configure media type and language URI extensions:"
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:281
+#: Webservices.xml:276
#, no-c-format
msgid ""
"<![CDATA[<resteasy:application>\n"
@@ -606,7 +591,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:283
+#: Webservices.xml:278
#, no-c-format
msgid ""
"This definition would map the URI suffix of <literal>.txt.deutsch</literal> "
@@ -616,13 +601,13 @@
msgstr ""
#. Tag: title
-#: Webservices.xml:292
+#: Webservices.xml:287
#, no-c-format
msgid "Resources and providers as Seam components"
msgstr ""
#. Tag: para
-#: Webservices.xml:294
+#: Webservices.xml:289
#, no-c-format
msgid ""
"Any resource and provider instances are managed by RESTEasy by default. That "
@@ -633,7 +618,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:301
+#: Webservices.xml:296
#, no-c-format
msgid ""
"You can write resources and providers as Seam components and benefit from "
@@ -642,7 +627,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:307
+#: Webservices.xml:302
#, no-c-format
msgid ""
"<![CDATA[@Name(\"customerResource\")\n"
@@ -663,7 +648,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:309
+#: Webservices.xml:304
#, no-c-format
msgid ""
"An instance of <literal>customerResource</literal> is now handled by Seam "
@@ -677,7 +662,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:318
+#: Webservices.xml:313
#, no-c-format
msgid ""
"You can annotate an interface and keep the implementation free from JAX-RS "
@@ -685,7 +670,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:322
+#: Webservices.xml:317
#, no-c-format
msgid ""
"<![CDATA[@Path(\"/customer\")\n"
@@ -700,7 +685,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:324
+#: Webservices.xml:319
#, no-c-format
msgid ""
"<![CDATA[@Name(\"customerResource\")\n"
@@ -718,7 +703,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:326
+#: Webservices.xml:321
#, no-c-format
msgid ""
"You can use <literal>SESSION</literal>-scoped Seam components. By default, "
@@ -733,7 +718,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:335
+#: Webservices.xml:330
#, no-c-format
msgid ""
"Assuming that your Seam application only uses event, application, or "
@@ -745,7 +730,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:342
+#: Webservices.xml:337
#, no-c-format
msgid ""
"If your RESTful Seam application has to preserve session state across REST "
@@ -753,14 +738,14 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:347
+#: Webservices.xml:342
#, no-c-format
msgid ""
"<![CDATA[<resteasy:application destroy-session-after-request=\"false\"/>]]>"
msgstr ""
#. Tag: para
-#: Webservices.xml:349
+#: Webservices.xml:344
#, no-c-format
msgid ""
"Every REST HTTP request will now create a new session that will only be "
@@ -771,7 +756,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:356
+#: Webservices.xml:351
#, no-c-format
msgid ""
"<literal>CONVERSATION</literal>-scoped resource components and mapping of "
@@ -780,7 +765,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:361
+#: Webservices.xml:356
#, no-c-format
msgid ""
"EJB Seam components are supported. Always annotate the local business "
@@ -789,7 +774,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:366
+#: Webservices.xml:361
#, no-c-format
msgid ""
"Provider classes can also be Seam components, only <literal>APPLICATION</"
@@ -799,13 +784,13 @@
msgstr ""
#. Tag: title
-#: Webservices.xml:375
+#: Webservices.xml:370
#, no-c-format
msgid "Securing resources"
msgstr ""
#. Tag: para
-#: Webservices.xml:377
+#: Webservices.xml:372
#, no-c-format
msgid ""
"You can enable the Seam authentication filter for HTTP Basic and Digest "
@@ -813,7 +798,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:382
+#: Webservices.xml:377
#, no-c-format
msgid ""
"<![CDATA[<web:authentication-filter url-pattern=\"/seam/resource/rest/*\" "
@@ -821,14 +806,14 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:384
+#: Webservices.xml:379
#, no-c-format
msgid ""
"See the Seam security chapter on how to write an authentication routine."
msgstr ""
#. Tag: para
-#: Webservices.xml:388
+#: Webservices.xml:383
#, no-c-format
msgid ""
"After successful authentication, authorization rules with the common "
@@ -839,13 +824,13 @@
msgstr ""
#. Tag: title
-#: Webservices.xml:398
+#: Webservices.xml:393
#, no-c-format
msgid "Mapping exceptions to HTTP responses"
msgstr ""
#. Tag: para
-#: Webservices.xml:400
+#: Webservices.xml:395
#, no-c-format
msgid ""
"Section 3.3.4 of the JAX-RS specification defines how checked or unchecked "
@@ -858,7 +843,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:408
+#: Webservices.xml:403
#, no-c-format
msgid ""
"Exception handling within Seam requires that the Seam filter is executed for "
@@ -870,7 +855,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:415
+#: Webservices.xml:410
#, no-c-format
msgid ""
"<![CDATA[<filter>\n"
@@ -885,7 +870,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:417
+#: Webservices.xml:412
#, no-c-format
msgid ""
"To convert the unchecked <literal>UnsupportedOperationException</literal> "
@@ -895,7 +880,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:423
+#: Webservices.xml:418
#, no-c-format
msgid ""
"<![CDATA[<exception class=\"java.lang.UnsupportedOperationException\">\n"
@@ -906,13 +891,13 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:425
+#: Webservices.xml:420
#, no-c-format
msgid "Custom or checked exceptions are handled the same:"
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:429
+#: Webservices.xml:424
#, no-c-format
msgid ""
"<![CDATA[<exception class=\"my.CustomException\" log=\"false\">\n"
@@ -924,7 +909,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:431
+#: Webservices.xml:426
#, no-c-format
msgid ""
"You do not have to send an HTTP error to the client if an exception occurs. "
@@ -935,7 +920,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:438
+#: Webservices.xml:433
#, no-c-format
msgid ""
"Note that the HTTP response still passes through the servlet container, so "
@@ -946,13 +931,13 @@
msgstr ""
#. Tag: title
-#: Webservices.xml:447
+#: Webservices.xml:442
#, no-c-format
msgid "Testing resources and providers"
msgstr ""
#. Tag: para
-#: Webservices.xml:449
+#: Webservices.xml:444
#, no-c-format
msgid ""
"Seam includes a unit testing utility class that helps you create unit tests "
@@ -962,7 +947,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:455
+#: Webservices.xml:450
#, no-c-format
msgid ""
"<![CDATA[import org.jboss.seam.mock.ResourceRequestEnvironment;\n"
@@ -1019,7 +1004,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:457
+#: Webservices.xml:452
#, no-c-format
msgid ""
"This test only executes local calls, it does not communicate with the "
@@ -1032,7 +1017,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:465
+#: Webservices.xml:460
#, no-c-format
msgid ""
"Note that a <literal>ResourceRequest</literal> has to be executed in a "
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/ta-IN/Websphere.po
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/ta-IN/Websphere.po 2009-08-26 19:14:02 UTC (rev 11432)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/ta-IN/Websphere.po 2009-08-26 19:19:33 UTC (rev 11433)
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-08-22 13:17+0000\n"
+"POT-Creation-Date: 2009-08-26 18:48+0000\n"
"PO-Revision-Date: 2008-04-04 01:24+0000\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
@@ -76,25 +76,27 @@
#, no-c-format
msgid ""
"The following sections in this chapter assume that WebSphere is correctly "
-"installed and is functional, and a profile has been successfully created."
+"installed and is functional, and a WebSphere \"profile\" has been "
+"successfully created."
msgstr ""
#. Tag: para
#: Websphere.xml:40
#, no-c-format
msgid ""
-"This chapter explain how to compile, deploy and run some sample applications "
-"in WebSphere. These sample applications require a database. WebSphere comes "
-"by default with a set of sample applications called \"Default Application\". "
-"This set of sample applications use a Derby database running on the Derby "
-"instance installed with WebSphere. In order to keep this simple we'll use "
-"this Derby database created for the \"Default Applications\". However, to "
-"run the sample application with the Derby database \"as-is\", a patched "
-"Hibernate dialect must be used (The patch changes the default \"auto\" key "
-"generation strategy) as explained in <xref linkend=\"glassfish\"/>. If you "
-"want to use another database, it's just a matter of creating a connection "
-"pool in WebSphere pointing to this database, declare the correct Hibernate "
-"dialect and set the correct JNDI name in <literal>persistence.xml</literal>."
+"This chapter explains how to compile, deploy and run some sample "
+"applications in WebSphere. These sample applications require a database. "
+"WebSphere comes by default with a set of sample applications called "
+"\"Default Application\". This set of sample applications use a Derby "
+"database running on the Derby instance installed within WebSphere. In order "
+"to keep this simple we'll use this Derby database created for the \"Default "
+"Applications\". However, to run the sample application with the Derby "
+"database \"as-is\", a patched Hibernate dialect must be used (The patch "
+"changes the default \"auto\" key generation strategy) as explained in <xref "
+"linkend=\"glassfish\"/>. If you want to use another database, it's just a "
+"matter of creating a connection pool in WebSphere pointing to this database, "
+"declare the correct Hibernate dialect and set the correct JNDI name in "
+"<literal>persistence.xml</literal>."
msgstr ""
#. Tag: title
@@ -144,14 +146,14 @@
#, no-c-format
msgid ""
"On the right navigation menu, select <literal>Web Container Settings/Web "
-"container</literal>)"
+"container</literal>"
msgstr ""
#. Tag: listitem
#: Websphere.xml:73
#, no-c-format
msgid ""
-"On the right navigation menu, select <literal>custom properties</literal>) "
+"On the right navigation menu, select <literal>custom properties</literal> "
"and add the following properties:"
msgstr ""
@@ -170,7 +172,7 @@
#. Tag: listitem
#: Websphere.xml:84
#, no-c-format
-msgid "Save and restart the server"
+msgid "Save the configuration and restart the server"
msgstr ""
#. Tag: title
@@ -189,38 +191,38 @@
msgstr ""
#. Tag: listitem
-#: Websphere.xml:97
+#: Websphere.xml:96
#, no-c-format
msgid ""
"The global <literal>jndi-pattern</literal> switch on the <literal><core:"
-"init></literal>. in <literal>components.xml</literal>. The switch can use "
-"a special placeholder \"<literal>#{ejbName}</literal>\" that resolves to the "
-"unqualified name of the EJB"
+"init></literal>tag in <literal>components.xml</literal>. The switch can "
+"use a special placeholder \"<literal>#{ejbName}</literal>\" that resolves to "
+"the unqualified name of the EJB"
msgstr ""
#. Tag: para
-#: Websphere.xml:102
+#: Websphere.xml:100
#, no-c-format
msgid "The <literal>@JndiName</literal> annotation"
msgstr ""
#. Tag: para
-#: Websphere.xml:108
+#: Websphere.xml:106
#, no-c-format
msgid "gives detailed explanations on how those mechanisms work."
msgstr ""
#. Tag: para
-#: Websphere.xml:112
+#: Websphere.xml:110
#, no-c-format
msgid ""
-"By default, WebSphere will bind the session bean in its local JNDI name "
-"space under a \"short\" binding name that adheres to the following pattern "
+"By default, WebSphere will bind session beans in its local JNDI name space "
+"under a \"short\" binding name that adheres to the following pattern "
"<literal>ejblocal:<package.qualified.local.interface.name></literal>."
msgstr ""
#. Tag: para
-#: Websphere.xml:117
+#: Websphere.xml:115
#, no-c-format
msgid ""
"For a detailed description on how WebSphere v7 organizes and binds EJBs in "
@@ -228,7 +230,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:120
+#: Websphere.xml:118
#, no-c-format
msgid ""
"As explained before, Seam needs to lookup for session bean as they appear in "
@@ -236,35 +238,35 @@
msgstr ""
#. Tag: listitem
-#: Websphere.xml:124
+#: Websphere.xml:121
#, no-c-format
msgid ""
"Specify which JNDI name Seam must use for each session bean using the "
-"<literal>@JndiName</literal> annotation in the java source file"
+"<literal>@JndiName</literal> annotation in the java source file,"
msgstr ""
#. Tag: listitem
-#: Websphere.xml:127
+#: Websphere.xml:123
#, no-c-format
msgid ""
"Override the default session bean names generated by WebSphere to conform to "
-"the <literal>jndi-pattern</literal> attribute"
+"the <literal>jndi-pattern</literal> attribute,"
msgstr ""
#. Tag: listitem
-#: Websphere.xml:130
+#: Websphere.xml:126
#, no-c-format
-msgid "Use EJB references"
+msgid "Use EJB references."
msgstr ""
#. Tag: title
-#: Websphere.xml:137
+#: Websphere.xml:133
#, no-c-format
msgid "Strategy 1: Specify which JNDI name Seam must use for each Session Bean"
msgstr ""
#. Tag: para
-#: Websphere.xml:138
+#: Websphere.xml:134
#, no-c-format
msgid ""
"This strategy is the simplest and fastest one regarding development. It uses "
@@ -272,7 +274,7 @@
msgstr ""
#. Tag: listitem
-#: Websphere.xml:141
+#: Websphere.xml:137
#, no-c-format
msgid ""
"Add a <literal>@JndiName(\"ejblocal:<package.qualified.local.interface."
@@ -280,20 +282,20 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:145 Websphere.xml:188
+#: Websphere.xml:141 Websphere.xml:184
#, no-c-format
msgid ""
"<para>In <literal>components.xml</literal>, add the following line:</para>"
msgstr ""
#. Tag: programlisting
-#: Websphere.xml:147 Websphere.xml:220
+#: Websphere.xml:143 Websphere.xml:216
#, no-c-format
msgid "<![CDATA[<core:init jndi-name=\"java:comp/env/#{ejbName}\" />]]>"
msgstr ""
#. Tag: para
-#: Websphere.xml:151
+#: Websphere.xml:147
#, no-c-format
msgid ""
"Add a file named <literal>WEB-INF/classes/seam-jndi.properties</literal> in "
@@ -301,7 +303,7 @@
msgstr ""
#. Tag: programlisting
-#: Websphere.xml:153
+#: Websphere.xml:149
#, no-c-format
msgid ""
"com.ibm.websphere.naming.hostname.normalizer=com.ibm.ws.naming.util."
@@ -323,13 +325,13 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:157
+#: Websphere.xml:153
#, no-c-format
msgid "At the end of <literal>web.xml</literal>, add the following lines:"
msgstr ""
#. Tag: programlisting
-#: Websphere.xml:159
+#: Websphere.xml:155
#, no-c-format
msgid ""
"<![CDATA[<ejb-local-ref>\n"
@@ -341,7 +343,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:164
+#: Websphere.xml:160
#, no-c-format
msgid ""
"That's all folks! No need to update any file during the development, nor to "
@@ -349,23 +351,23 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:167
+#: Websphere.xml:163
#, no-c-format
msgid ""
-"Compared to the other strategies, this strategy has the advantage not to "
-"have to manage any EJBs reference and also not to have to maintain extra "
+"Compared to the other strategies, this strategy has the advantage to not "
+"have to manage any EJBs reference and also to not have to maintain extra "
"files. The only drawback is one extra line in the java source code with the "
"<literal>@JndiName</literal> annotation"
msgstr ""
#. Tag: title
-#: Websphere.xml:174
+#: Websphere.xml:170
#, no-c-format
msgid "Strategy 2: Override the default names generated by WebSphere"
msgstr ""
#. Tag: section
-#: Websphere.xml:174
+#: Websphere.xml:170
#, no-c-format
msgid ""
"There is no simple way to globally override the default naming strategy for "
@@ -374,13 +376,13 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:177
+#: Websphere.xml:173
#, no-c-format
msgid "To use this strategy:"
msgstr ""
#. Tag: para
-#: Websphere.xml:181
+#: Websphere.xml:177
#, no-c-format
msgid ""
"Add a file named <literal>META-INF/ibm-ejb-jar-ext.xml</literal> in the EJB "
@@ -405,13 +407,13 @@
msgstr ""
#. Tag: programlisting
-#: Websphere.xml:190
+#: Websphere.xml:186
#, no-c-format
msgid "<![CDATA[<core:init jndi-name=\"ejblocal:#{ejbName}\" />]]>"
msgstr ""
#. Tag: para
-#: Websphere.xml:194
+#: Websphere.xml:190
#, no-c-format
msgid ""
"Add a file named <literal>WEB-INF/classes/seam-jndi.properties</literal> as "
@@ -419,7 +421,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:199
+#: Websphere.xml:195
#, no-c-format
msgid ""
"In <literal>web.xml</literal>, add the following lines (Note the different "
@@ -427,7 +429,7 @@
msgstr ""
#. Tag: programlisting
-#: Websphere.xml:201
+#: Websphere.xml:197
#, no-c-format
msgid ""
"<![CDATA[<ejb-local-ref>\n"
@@ -439,7 +441,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:206
+#: Websphere.xml:202
#, no-c-format
msgid ""
"Compared to the first strategy, this strategy requires to maintain an extra "
@@ -449,13 +451,13 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:215
+#: Websphere.xml:211
#, no-c-format
msgid "Strategy 3: Use EJB references"
msgstr ""
#. Tag: section
-#: Websphere.xml:215
+#: Websphere.xml:211
#, no-c-format
msgid ""
"This strategy is based on the usage of EJB references, from EJB to EJB and "
@@ -463,7 +465,7 @@
msgstr ""
#. Tag: listitem
-#: Websphere.xml:218
+#: Websphere.xml:214
#, no-c-format
msgid ""
"<listitem>In <literal>components.xml</literal>, add the following line:</"
@@ -471,7 +473,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:223
+#: Websphere.xml:219
#, no-c-format
msgid ""
"Follow the instructions in <xref linkend=\"config.integration.ejb.container"
@@ -479,7 +481,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:228
+#: Websphere.xml:224
#, no-c-format
msgid ""
"This is the most tedious strategy as each session bean referenced by another "
@@ -489,27 +491,27 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:239
+#: Websphere.xml:235
#, no-c-format
msgid "Configuring timeouts for Stateful Session Beans"
msgstr ""
#. Tag: para
-#: Websphere.xml:240
+#: Websphere.xml:236
#, no-c-format
msgid ""
"A timeout value has to be set for each stateful session bean used in the "
"application because stateful bean must not expire in WebSphere while Seam "
-"might still need thenm. At the time of writing this document, WebSphere does "
+"might still need them. At the time of writing this document, WebSphere does "
"not provide a way to configure a global timeout at neither the cluster, "
"server, application nor ejb-jar level. It has to be done for each stateful "
-"bean individually. This is done by adding a file named <literal>META-INF/ibm-"
-"ejb-jar-ext.xml</literal> in the EJB module, and declare the timeout value "
-"for each bean:"
+"bean individually. By default, the default timeout is 10 minutes. This is "
+"done by adding a file named <literal>META-INF/ibm-ejb-jar-ext.xml</literal> "
+"in the EJB module, and declare the timeout value for each bean:"
msgstr ""
#. Tag: programlisting
-#: Websphere.xml:246
+#: Websphere.xml:242
#, no-c-format
msgid ""
"<![CDATA[<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
@@ -529,24 +531,24 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:248
+#: Websphere.xml:244
#, no-c-format
msgid ""
"The <literal>time-out</literal> is expressed in seconds and must be higher "
"than the Seam conversation expiration timeout and a few minutes higher than "
"the user's HTTP session timeout (The session expiration timeout can trigger "
-"a few minutes after the number of minutes declared to expire s for the HTTP "
-"session expiration)."
+"a few minutes after the number of minutes declared to expire the HTTP "
+"session)."
msgstr ""
#. Tag: title
-#: Websphere.xml:257
+#: Websphere.xml:253
#, no-c-format
msgid "The <literal>jee5/booking</literal> example"
msgstr ""
#. Tag: para
-#: Websphere.xml:259
+#: Websphere.xml:255
#, no-c-format
msgid ""
"The<literal>jee5/booking</literal>example is based on the Hotel Booking "
@@ -557,23 +559,32 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:265
+#: Websphere.xml:261
#, no-c-format
msgid ""
-"For running this example, we'll use the second JNDI mapping strategy "
-"(\"Override the default names generated by WebSphere\") as we don't want to "
-"change the java code to add the <literal>@JndiName</literal> annotation as "
-"in the first strategy."
+"The example already has a breakout of configurations and build scripts for "
+"WebSphere. First thing, we are going to do is build and deploy this example. "
+"Then we'll go over some key changes that we needed."
msgstr ""
+#. Tag: para
+#: Websphere.xml:266
+#, no-c-format
+msgid ""
+"The tailored configuration files for WebSphere use the second JNDI mapping "
+"strategy (\"Override the default names generated by WebSphere\") as the goal "
+"was to not change any java code to add the <literal>@JndiName</literal> "
+"annotation as in the first strategy."
+msgstr ""
+
#. Tag: title
-#: Websphere.xml:271
+#: Websphere.xml:272
#, no-c-format
msgid "Building the <literal>jee5/booking</literal> example"
msgstr ""
#. Tag: para
-#: Websphere.xml:273
+#: Websphere.xml:274
#, no-c-format
msgid ""
"Building it only requires running the correct ant command: "
@@ -583,21 +594,21 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:280
+#: Websphere.xml:281
#, no-c-format
msgid "Deploying the <literal>jee5/booking</literal> example"
msgstr ""
#. Tag: para
-#: Websphere.xml:281
+#: Websphere.xml:282
#, no-c-format
msgid ""
-"The steps below are for the WAS version stated above.The ports are default "
-"values, if you changed them, you must substitute the values."
+"The steps below are for the WAS version stated above.The ports are the "
+"default values, if you changed them, you must substitute the values."
msgstr ""
#. Tag: listitem
-#: Websphere.xml:284
+#: Websphere.xml:285
#, no-c-format
msgid ""
"Log in to the administration console <programlisting><![CDATA[http://"
@@ -606,7 +617,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:291
+#: Websphere.xml:292
#, no-c-format
msgid ""
"Go to the <literal>WebSphere enterprise applications</literal> menu option "
@@ -615,7 +626,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:298
+#: Websphere.xml:299
#, no-c-format
msgid ""
"At the top of the <literal>Enterprise Applications</literal> table select "
@@ -624,13 +635,13 @@
msgstr ""
#. Tag: literal
-#: Websphere.xml:304
+#: Websphere.xml:305
#, no-c-format
msgid "Preparing for the application installation"
msgstr ""
#. Tag: para
-#: Websphere.xml:307
+#: Websphere.xml:308
#, no-c-format
msgid ""
"Browse to the <literal>examples/jee5/booking/dist-websphere7/jboss-seam-jee5."
@@ -638,25 +649,25 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:313 Websphere.xml:323 Websphere.xml:341
+#: Websphere.xml:314 Websphere.xml:324 Websphere.xml:342
#, no-c-format
msgid "Select the <literal>Next</literal> button."
msgstr ""
#. Tag: para
-#: Websphere.xml:318
+#: Websphere.xml:319
#, no-c-format
msgid "Select the <literal>Fast Path</literal> button."
msgstr ""
#. Tag: literal
-#: Websphere.xml:332
+#: Websphere.xml:333
#, no-c-format
msgid "Select installation options"
msgstr ""
#. Tag: para
-#: Websphere.xml:335
+#: Websphere.xml:336
#, no-c-format
msgid ""
"Select the <literal>Deploy enterprise beans and Allow EJB reference targets "
@@ -665,13 +676,13 @@
msgstr ""
#. Tag: literal
-#: Websphere.xml:350
+#: Websphere.xml:351
#, no-c-format
msgid "Map modules to servers"
msgstr ""
#. Tag: para
-#: Websphere.xml:353
+#: Websphere.xml:354
#, no-c-format
msgid ""
"No changes needed here as we only have one server. Select the <literal>Next</"
@@ -679,13 +690,13 @@
msgstr ""
#. Tag: literal
-#: Websphere.xml:362
+#: Websphere.xml:363
#, no-c-format
msgid "Map virtual hosts for Web modules"
msgstr ""
#. Tag: para
-#: Websphere.xml:365
+#: Websphere.xml:366
#, no-c-format
msgid ""
"No changes needed here as we only have one virtual host. Select the "
@@ -693,31 +704,31 @@
msgstr ""
#. Tag: literal
-#: Websphere.xml:374
+#: Websphere.xml:375
#, no-c-format
msgid "Summary"
msgstr ""
#. Tag: para
-#: Websphere.xml:377
+#: Websphere.xml:378
#, no-c-format
msgid "No changes needed here. Select the <literal>Finish</literal> button."
msgstr ""
#. Tag: literal
-#: Websphere.xml:384
+#: Websphere.xml:385
#, no-c-format
msgid "Installation"
msgstr ""
#. Tag: para
-#: Websphere.xml:387
+#: Websphere.xml:388
#, no-c-format
msgid "Now you will see WebSphere installing and deploying your application."
msgstr ""
#. Tag: para
-#: Websphere.xml:390
+#: Websphere.xml:391
#, no-c-format
msgid ""
"When done, select the <literal>Save</literal> link and you will be returned "
@@ -725,15 +736,15 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:399
+#: Websphere.xml:400
#, no-c-format
msgid ""
-"To start the application select our application in the list, then click on "
+"To start the application, select the application in the list, then click on "
"the <literal>Start</literal> button at the top of the table."
msgstr ""
#. Tag: para
-#: Websphere.xml:409
+#: Websphere.xml:410
#, no-c-format
msgid ""
"You can now access the application at <literal>http://localhost:9080/seam-"
@@ -741,13 +752,13 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:418
+#: Websphere.xml:419
#, no-c-format
msgid "Deviation from the original base files"
msgstr ""
#. Tag: section
-#: Websphere.xml:418
+#: Websphere.xml:419
#, no-c-format
msgid ""
"Below are the differences between the base configuration files and the "
@@ -756,7 +767,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:422
+#: Websphere.xml:423
#, no-c-format
msgid ""
"<literal>META-INF/ejb-jar.xml</literal> — Removed all the EJB "
@@ -764,37 +775,37 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:428
+#: Websphere.xml:429
#, no-c-format
msgid ""
"<literal>META-INF/ibm-ejb-jar-bnd.xml</literal> — This WebSphere "
"specific file has been added as we use the second JNDI mapping strategy. It "
-"defines, for each session bean, the name WebSphere will use to bind it its "
-"JNDI name space"
+"defines, for each session bean, the name WebSphere will use to bind it in "
+"its JNDI name space"
msgstr ""
#. Tag: para
-#: Websphere.xml:435
+#: Websphere.xml:436
#, no-c-format
msgid ""
"<literal>META-INF/ibm-ejb-jar-ext.xml</literal> — This WebSphere "
-"specific file defines to WebSphere, the timeout value for each stateful bean"
+"specific file defines the timeout value for each stateful bean"
msgstr ""
#. Tag: para
-#: Websphere.xml:441
+#: Websphere.xml:442
#, no-c-format
msgid ""
"<literal>META-INF/persistence.xml</literal> — The main changes here "
"are for the datasource JNDI path, switching to the WebSphere transaction "
"manager lookup class, turning off the <literal>hibernate.transaction."
"flush_before_completion</literal> toggle, and forcing the Hibernate dialect "
-"to be <literal>GlassfishDerbyDialect</literal> how as using the integrated "
-"Derby database"
+"to be <literal>GlassfishDerbyDialect</literal> as we are using the "
+"integrated Derby database"
msgstr ""
#. Tag: para
-#: Websphere.xml:451
+#: Websphere.xml:452
#, no-c-format
msgid ""
"<literal>WEB-INF/components.xml</literal> — the change here is "
@@ -803,7 +814,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:459
+#: Websphere.xml:460
#, no-c-format
msgid ""
"<literal>WEB-INF/web.xml</literal> — Remove all the <literal>ejb-local "
@@ -813,7 +824,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:467 Websphere.xml:549
+#: Websphere.xml:468
#, no-c-format
msgid ""
"<literal>import.sql</literal> — due to the cutomized hibernate Derby "
@@ -822,7 +833,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:474
+#: Websphere.xml:475
#, no-c-format
msgid ""
"Also the build procedure has been changed to include the <literal>log4j.jar</"
@@ -831,13 +842,13 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:486
+#: Websphere.xml:487
#, no-c-format
msgid "The <literal>jpa</literal> booking example"
msgstr ""
#. Tag: para
-#: Websphere.xml:488
+#: Websphere.xml:489
#, no-c-format
msgid ""
"This is the Hotel Booking example implemented in Seam POJOs and using "
@@ -845,7 +856,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:493
+#: Websphere.xml:494
#, no-c-format
msgid ""
"The example already has a breakout of configurations and build scripts for "
@@ -853,7 +864,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:498
+#: Websphere.xml:499
#, no-c-format
msgid ""
"First thing, we are going to do is build and deploy that example. Then we'll "
@@ -861,13 +872,13 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:504
+#: Websphere.xml:505
#, no-c-format
msgid "Building the <literal>jpa</literal> example"
msgstr ""
#. Tag: para
-#: Websphere.xml:505
+#: Websphere.xml:506
#, no-c-format
msgid ""
"Building it only requires running the correct ant command: "
@@ -877,13 +888,13 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:514
+#: Websphere.xml:515
#, no-c-format
msgid "Deploying the <literal>jpa</literal> example"
msgstr ""
#. Tag: para
-#: Websphere.xml:515
+#: Websphere.xml:516
#, no-c-format
msgid ""
"Deploying <literal>jpa</literal> application is very similar to the "
@@ -894,7 +905,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:521
+#: Websphere.xml:522
#, no-c-format
msgid ""
"Follow the same instructions as for the <literal>jee5/booking</literal> "
@@ -902,11 +913,11 @@
"literal> file on the first page and on the <literal>Map context roots for "
"Web modules</literal> page (after the <literal>Map virtual host for Web "
"module</literal>), enter the context root you want to use for your "
-"application in the <literal>Contect Root</literal> input field."
+"application in the <literal>Context Root</literal> input field."
msgstr ""
#. Tag: para
-#: Websphere.xml:528
+#: Websphere.xml:529
#, no-c-format
msgid ""
"When started, you can now access the application at the <literal>http://"
@@ -914,13 +925,13 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:534
+#: Websphere.xml:535
#, no-c-format
msgid "Deviation from the generic base files"
msgstr ""
#. Tag: section
-#: Websphere.xml:534
+#: Websphere.xml:535
#, no-c-format
msgid ""
"Below are the configuration file differences between the base configuration "
@@ -929,7 +940,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:539
+#: Websphere.xml:540
#, no-c-format
msgid ""
"<literal>META-INF/persistence.xml</literal> — The main changes here "
@@ -941,9 +952,18 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:556
+#: Websphere.xml:550
#, no-c-format
msgid ""
+"<literal>import.sql</literal> — due to the customized hibernate Derby "
+"dialect, the <literal>ID</literal> column can not be populated by this file "
+"and was removed."
+msgstr ""
+
+#. Tag: para
+#: Websphere.xml:557
+#, no-c-format
+msgid ""
"Also the build procedure have been changed to include the <literal>log4j."
"jar</literal> file and exclude the <literal>concurrent.jar</literal> and "
"<literal>jboss-common-core.jar</literal> files."
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/te-IN/Configuration.po
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/te-IN/Configuration.po 2009-08-26 19:14:02 UTC (rev 11432)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/te-IN/Configuration.po 2009-08-26 19:19:33 UTC (rev 11433)
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-05-05 12:31+0000\n"
+"POT-Creation-Date: 2009-08-26 18:47+0000\n"
"PO-Revision-Date: 2008-04-04 01:24+0000\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
@@ -677,13 +677,63 @@
msgstr ""
#. Tag: title
+#: Configuration.xml:325
+#, no-c-format
+msgid "Enabling HTTP cache-control headers"
+msgstr ""
+
+#. Tag: para
#: Configuration.xml:326
#, no-c-format
+msgid ""
+"Seam does <emphasis>not</emphasis> automatically add <literal>cache-control</"
+"literal> HTTP headers to any resources served by the Seam resource servlet, "
+"or directly from your view directory by the servlet container. This means "
+"that your images, Javascript and CSS files, and resource representations "
+"from Seam resource servlet such as Seam Remoting Javascript interfaces are "
+"usually not cached by the browser. This is convenient in development but "
+"should be changed in production when optimizing the application."
+msgstr ""
+
+#. Tag: para
+#: Configuration.xml:334
+#, no-c-format
+msgid ""
+"You can configure a Seam filter to enable automatic addition of "
+"<literal>cache-control</literal> headers depending on the requested URI in "
+"<literal>components.xml</literal>:"
+msgstr ""
+
+#. Tag: programlisting
+#: Configuration.xml:339
+#, no-c-format
+msgid ""
+"<![CDATA[<web:cache-control-filter name=\"commonTypesCacheControlFilter\"\n"
+" regex-url-pattern=\".*(\\.gif|\\.png|\\.jpg|\\."
+"jpeg|\\.css|\\.js)\"\n"
+" value=\"max-age=86400\"/> <!-- 1 day -->\n"
+"\n"
+"<web:cache-control-filter name=\"anotherCacheControlFilter\"\n"
+" url-pattern=\"/my/cachable/resources/*\"\n"
+" value=\"max-age=432000\"/> <!-- 5 days -->]]>"
+msgstr ""
+
+#. Tag: para
+#: Configuration.xml:341
+#, no-c-format
+msgid ""
+"You do not have to name the filters unless you have more than one filter "
+"enabled."
+msgstr ""
+
+#. Tag: title
+#: Configuration.xml:348
+#, no-c-format
msgid "Adding custom filters"
msgstr ""
#. Tag: para
-#: Configuration.xml:327
+#: Configuration.xml:349
#, no-c-format
msgid ""
"Seam can install your filters for you, allowing you to specify "
@@ -695,7 +745,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:332
+#: Configuration.xml:354
#, no-c-format
msgid ""
"<![CDATA[@Startup\n"
@@ -707,7 +757,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:334
+#: Configuration.xml:356
#, no-c-format
msgid ""
"Adding the <literal>@Startup</literal> annotation means thar the component "
@@ -718,13 +768,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:343
+#: Configuration.xml:365
#, no-c-format
msgid "Integrating Seam with your EJB container"
msgstr ""
#. Tag: para
-#: Configuration.xml:345
+#: Configuration.xml:367
#, no-c-format
msgid ""
"In a Seam application, EJB components have a certain duality, as they are "
@@ -735,7 +785,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:350
+#: Configuration.xml:372
#, no-c-format
msgid ""
"We need to apply the <literal>SeamInterceptor</literal> to our Seam EJB "
@@ -747,7 +797,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:355
+#: Configuration.xml:377
#, no-c-format
msgid ""
"<![CDATA[<interceptors>\n"
@@ -768,7 +818,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:357
+#: Configuration.xml:379
#, no-c-format
msgid ""
"Seam needs to know where to go to find session beans in JNDI. One way to do "
@@ -782,19 +832,19 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:364
+#: Configuration.xml:386
#, no-c-format
msgid "For JBoss AS, the following pattern is correct:"
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:366
+#: Configuration.xml:388
#, no-c-format
msgid "<![CDATA[<core:init jndi-name=\"earName/#{ejbName}/local\" />]]>"
msgstr ""
#. Tag: para
-#: Configuration.xml:368
+#: Configuration.xml:390
#, no-c-format
msgid ""
"In this case, <literal>earName</literal> is the name of the EAR in which the "
@@ -804,7 +854,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:372
+#: Configuration.xml:394
#, no-c-format
msgid ""
"Outside the context of an EAR (when using the JBoss Embeddable EJB3 "
@@ -813,13 +863,13 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:375
+#: Configuration.xml:397
#, no-c-format
msgid "<![CDATA[<core:init jndi-name=\"#{ejbName}/local\" />]]>"
msgstr ""
#. Tag: para
-#: Configuration.xml:377
+#: Configuration.xml:399
#, no-c-format
msgid ""
"How these JNDI names are resolved and somehow locate an EJB component might "
@@ -828,7 +878,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:381
+#: Configuration.xml:403
#, no-c-format
msgid ""
"The folks at JBoss don't care much for XML, if you can't tell. So when they "
@@ -839,14 +889,14 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:387
+#: Configuration.xml:409
#, no-c-format
msgid ""
"The value of the <literal><ejb-name></literal> element in ejb-jar.xml"
msgstr ""
#. Tag: para
-#: Configuration.xml:390
+#: Configuration.xml:412
#, no-c-format
msgid ""
"The value of the <literal>name</literal> attribute in the @Stateless or "
@@ -854,13 +904,13 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:393
+#: Configuration.xml:415
#, no-c-format
msgid "The simple name of the bean class"
msgstr ""
#. Tag: para
-#: Configuration.xml:397
+#: Configuration.xml:419
#, no-c-format
msgid ""
"Let's look at an example. Assume that you have the following EJB bean and "
@@ -868,7 +918,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:399
+#: Configuration.xml:421
#, no-c-format
msgid ""
"<![CDATA[package com.example.myapp;\n"
@@ -895,7 +945,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:401
+#: Configuration.xml:423
#, no-c-format
msgid ""
"Assuming your EJB bean class is deployed in an EAR named myapp, the global "
@@ -907,7 +957,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:407
+#: Configuration.xml:429
#, no-c-format
msgid ""
"So what about the rest of the application servers? Well, according to the "
@@ -919,7 +969,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:413
+#: Configuration.xml:435
#, no-c-format
msgid ""
"There are two places you have to define the EJB reference when using Seam on "
@@ -930,7 +980,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:418
+#: Configuration.xml:440
#, no-c-format
msgid ""
"<![CDATA[<ejb-local-ref>\n"
@@ -942,7 +992,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:420
+#: Configuration.xml:442
#, no-c-format
msgid ""
"This reference will cover most uses of the component in a Seam application. "
@@ -953,7 +1003,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:425
+#: Configuration.xml:447
#, no-c-format
msgid ""
"Within the context of an EJB method call, you have to deal with a somewhat "
@@ -970,7 +1020,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:434
+#: Configuration.xml:456
#, no-c-format
msgid ""
"For application servers that stubbornly adhere to the EJB specification, EJB "
@@ -982,7 +1032,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:439
+#: Configuration.xml:461
#, no-c-format
msgid ""
"Let's assume that we have an EJB named RegisterAction (the name is resolved "
@@ -991,7 +1041,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:442
+#: Configuration.xml:464
#, no-c-format
msgid ""
"<![CDATA[@In(create = true)\n"
@@ -1000,7 +1050,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:444
+#: Configuration.xml:466
#, no-c-format
msgid ""
"In order for this injection to work, the link must be established in the ejb-"
@@ -1008,7 +1058,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:446
+#: Configuration.xml:468
#, no-c-format
msgid ""
"<![CDATA[<ejb-jar>\n"
@@ -1031,7 +1081,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:448
+#: Configuration.xml:470
#, no-c-format
msgid ""
"Notice that the contents of the <literal><ejb-local-ref></literal> are "
@@ -1043,7 +1093,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:454
+#: Configuration.xml:476
#, no-c-format
msgid ""
"But what about <literal>@EJB</literal>? It's true that you can inject one "
@@ -1061,7 +1111,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:464
+#: Configuration.xml:486
#, no-c-format
msgid ""
"That covers how JNDI names are defined and used. The lesson is that with "
@@ -1074,7 +1124,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:470
+#: Configuration.xml:492
#, no-c-format
msgid ""
"<![CDATA[<core:init jndi-name=\"java:comp/env/earName/#{ejbName}/local\" />]]"
@@ -1082,7 +1132,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:472
+#: Configuration.xml:494
#, no-c-format
msgid ""
"Finally, let's talk about transactions. In an EJB3 environment, we recommend "
@@ -1094,19 +1144,19 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:479
+#: Configuration.xml:501
#, no-c-format
msgid "<![CDATA[<transaction:ejb-transaction/>]]>"
msgstr ""
#. Tag: title
-#: Configuration.xml:484
+#: Configuration.xml:506
#, no-c-format
msgid "Don't forget!"
msgstr ""
#. Tag: para
-#: Configuration.xml:486
+#: Configuration.xml:508
#, no-c-format
msgid ""
"There is one final item you need to know about. You must place a "
@@ -1118,7 +1168,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:491
+#: Configuration.xml:513
#, no-c-format
msgid ""
"In a web archive (WAR) file, you must place a <literal>seam.properties</"
@@ -1127,7 +1177,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:494
+#: Configuration.xml:516
#, no-c-format
msgid ""
"That's why all the Seam examples have an empty <literal>seam.properties</"
@@ -1136,7 +1186,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:497
+#: Configuration.xml:519
#, no-c-format
msgid ""
"You might think this is silly and what kind of idiot framework designers "
@@ -1148,13 +1198,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:508
+#: Configuration.xml:530
#, no-c-format
msgid "Using Alternate JPA Providers"
msgstr ""
#. Tag: para
-#: Configuration.xml:510
+#: Configuration.xml:532
#, no-c-format
msgid ""
"Seam comes packaged and configured with Hibernate as the default JPA "
@@ -1163,13 +1213,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:516
+#: Configuration.xml:538
#, no-c-format
msgid "This is a workaround"
msgstr ""
#. Tag: para
-#: Configuration.xml:517
+#: Configuration.xml:539
#, no-c-format
msgid ""
"Configuration of the JPA provider will be easier in the future and will not "
@@ -1178,7 +1228,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:524
+#: Configuration.xml:546
#, no-c-format
msgid ""
"Telling seam about a different JPA provider can be be done in one of two "
@@ -1186,7 +1236,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:525
+#: Configuration.xml:547
#, no-c-format
msgid ""
"Update your application's <literal>components.xml</literal> so that the "
@@ -1195,7 +1245,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:530
+#: Configuration.xml:552
#, no-c-format
msgid ""
"<![CDATA[<component name=\"org.jboss.seam.persistence.persistenceProvider"
@@ -1206,7 +1256,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:531
+#: Configuration.xml:553
#, no-c-format
msgid ""
"If you want to take advantage of your JPA provider's non-standard features "
@@ -1218,7 +1268,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:538
+#: Configuration.xml:560
#, no-c-format
msgid ""
"<![CDATA[<component name=\"org.jboss.seam.persistence.persistenceProvider"
@@ -1228,7 +1278,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:539
+#: Configuration.xml:561
#, no-c-format
msgid ""
"All that is left is updating the <literal>persistence.xml</literal> file "
@@ -1238,13 +1288,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:547
+#: Configuration.xml:569
#, no-c-format
msgid "Configuring Seam in Java EE 5"
msgstr ""
#. Tag: para
-#: Configuration.xml:558
+#: Configuration.xml:580
#, no-c-format
msgid ""
"If you're running in a Java EE 5 environment, this is all the configuration "
@@ -1252,14 +1302,14 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:561 Configuration.xml:656 Configuration.xml:794
-#: Configuration.xml:827
+#: Configuration.xml:583 Configuration.xml:678 Configuration.xml:816
+#: Configuration.xml:849
#, no-c-format
msgid "Packaging"
msgstr ""
#. Tag: para
-#: Configuration.xml:563
+#: Configuration.xml:585
#, no-c-format
msgid ""
"Once you've packaged all this stuff together into an EAR, the archive "
@@ -1267,7 +1317,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:566
+#: Configuration.xml:588
#, no-c-format
msgid ""
"<![CDATA[my-application.ear/\n"
@@ -1307,7 +1357,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:568
+#: Configuration.xml:590
#, no-c-format
msgid ""
"You should declare <literal>jboss-seam.jar</literal> as an ejb module in "
@@ -1316,7 +1366,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:573
+#: Configuration.xml:595
#, no-c-format
msgid ""
"If you want to use jBPM or Drools, you must include the needed jars in the "
@@ -1324,7 +1374,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:575
+#: Configuration.xml:597
#, no-c-format
msgid ""
"If you want to use facelets (our recommendation), you must include "
@@ -1333,7 +1383,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:578
+#: Configuration.xml:600
#, no-c-format
msgid ""
"If you want to use the Seam tag library (most Seam applications do), you "
@@ -1344,7 +1394,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:583
+#: Configuration.xml:605
#, no-c-format
msgid ""
"If you want to use the Seam debug page (only works for applications using "
@@ -1353,7 +1403,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:586
+#: Configuration.xml:608
#, no-c-format
msgid ""
"Seam ships with several example applications that are deployable in any Java "
@@ -1361,7 +1411,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:589
+#: Configuration.xml:611
#, no-c-format
msgid ""
"I really wish that was all there was to say on the topic of configuration "
@@ -1371,13 +1421,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:598
+#: Configuration.xml:620
#, no-c-format
msgid "Configuring Seam in J2EE"
msgstr ""
#. Tag: para
-#: Configuration.xml:600
+#: Configuration.xml:622
#, no-c-format
msgid ""
"Seam is useful even if you're not yet ready to take the plunge into EJB 3.0. "
@@ -1389,7 +1439,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:615
+#: Configuration.xml:637
#, no-c-format
msgid ""
"Seam JavaBean components do not provide declarative transaction demarcation "
@@ -1401,7 +1451,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:621
+#: Configuration.xml:643
#, no-c-format
msgid ""
"The Seam distribution includes a version of the booking example application "
@@ -1411,13 +1461,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:626
+#: Configuration.xml:648
#, no-c-format
msgid "Boostrapping Hibernate in Seam"
msgstr ""
#. Tag: para
-#: Configuration.xml:628
+#: Configuration.xml:650
#, no-c-format
msgid ""
"Seam will bootstrap a Hibernate <literal>SessionFactory</literal> from your "
@@ -1426,7 +1476,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:631
+#: Configuration.xml:653
#, no-c-format
msgid ""
"<![CDATA[<persistence:hibernate-session-factory name="
@@ -1434,7 +1484,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:633
+#: Configuration.xml:655
#, no-c-format
msgid ""
"You will also need to configure a <emphasis>managed session</emphasis> if "
@@ -1443,7 +1493,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:636
+#: Configuration.xml:658
#, no-c-format
msgid ""
"<![CDATA[<persistence:managed-hibernate-session name=\"hibernateSession\"\n"
@@ -1452,13 +1502,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:641
+#: Configuration.xml:663
#, no-c-format
msgid "Boostrapping JPA in Seam"
msgstr ""
#. Tag: para
-#: Configuration.xml:643
+#: Configuration.xml:665
#, no-c-format
msgid ""
"Seam will bootstrap a JPA <literal>EntityManagerFactory</literal> from your "
@@ -1467,7 +1517,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:646
+#: Configuration.xml:668
#, no-c-format
msgid ""
"<![CDATA[<persistence:entity-manager-factory name=\"entityManagerFactory\"/"
@@ -1475,7 +1525,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:648
+#: Configuration.xml:670
#, no-c-format
msgid ""
"You will also need to configure a <emphasis>managed persistence context</"
@@ -1484,7 +1534,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:651
+#: Configuration.xml:673
#, no-c-format
msgid ""
"<![CDATA[<persistence:managed-persistence-context name=\"entityManager\"\n"
@@ -1493,13 +1543,13 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:658
+#: Configuration.xml:680
#, no-c-format
msgid "We can package our application as a WAR, in the following structure:"
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:660
+#: Configuration.xml:682
#, no-c-format
msgid ""
"<![CDATA[my-application.war/\n"
@@ -1536,7 +1586,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:662
+#: Configuration.xml:684
#, no-c-format
msgid ""
"If we want to deploy Hibernate in a non-EE environment like Tomcat or "
@@ -1544,13 +1594,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:669
+#: Configuration.xml:691
#, no-c-format
msgid "Configuring Seam in Java SE, without JBoss Embedded"
msgstr ""
#. Tag: para
-#: Configuration.xml:671
+#: Configuration.xml:693
#, no-c-format
msgid ""
"It is possible to use Seam completely outside of an EE environment. In this "
@@ -1560,7 +1610,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:675
+#: Configuration.xml:697
#, no-c-format
msgid ""
"<![CDATA[<transaction:entity-transaction entity-manager=\"#{entityManager}\"/"
@@ -1568,7 +1618,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:677
+#: Configuration.xml:699
#, no-c-format
msgid ""
"If you're using Hibernate, you can tell Seam to use the Hibernate "
@@ -1576,32 +1626,32 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:679
+#: Configuration.xml:701
#, no-c-format
msgid "<![CDATA[<transaction:hibernate-transaction session=\"#{session}\"/>]]>"
msgstr ""
#. Tag: para
-#: Configuration.xml:681
+#: Configuration.xml:703
#, no-c-format
msgid "Of course, you'll also need to define a datasource."
msgstr ""
#. Tag: para
-#: Configuration.xml:683
+#: Configuration.xml:705
#, no-c-format
msgid ""
"A better alternative is to use JBoss Embedded to get access to the EE APIs."
msgstr ""
#. Tag: title
-#: Configuration.xml:688
+#: Configuration.xml:710
#, no-c-format
msgid "Configuring Seam in Java SE, with JBoss Embedded"
msgstr ""
#. Tag: para
-#: Configuration.xml:690
+#: Configuration.xml:712
#, no-c-format
msgid ""
"JBoss Embedded lets you run EJB3 components outside the context of the Java "
@@ -1610,7 +1660,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:693
+#: Configuration.xml:715
#, no-c-format
msgid ""
"The Seam booking example application includes a TestNG integration test "
@@ -1618,19 +1668,19 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:705
+#: Configuration.xml:727
#, no-c-format
msgid "The booking example application may even be deployed to Tomcat."
msgstr ""
#. Tag: title
-#: Configuration.xml:717
+#: Configuration.xml:739
#, no-c-format
msgid "Installing Embedded JBoss"
msgstr ""
#. Tag: para
-#: Configuration.xml:720
+#: Configuration.xml:742
#, no-c-format
msgid ""
"Embedded JBoss must by installed into Tomcat for Seam applications to run "
@@ -1643,7 +1693,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:734
+#: Configuration.xml:756
#, no-c-format
msgid ""
"Copy all files and directories under the Embedded JBoss <literal>bootstrap</"
@@ -1653,7 +1703,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:741
+#: Configuration.xml:763
#, no-c-format
msgid ""
"Remove the <literal>annotations-api.jar</literal> file from the Tomcat "
@@ -1661,7 +1711,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:747
+#: Configuration.xml:769
#, no-c-format
msgid ""
"Next, two configuration files need to be updated to add Embedded JBoss-"
@@ -1669,7 +1719,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:753
+#: Configuration.xml:775
#, no-c-format
msgid ""
"Add the Embedded JBoss listener <literal>EmbeddedJBossBootstrapListener</"
@@ -1678,7 +1728,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:756
+#: Configuration.xml:778
#, no-c-format
msgid ""
"<![CDATA[<Server port=\"8005\" shutdown=\"SHUTDOWN\">\n"
@@ -1696,7 +1746,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:757
+#: Configuration.xml:779
#, no-c-format
msgid ""
"<![CDATA[ <!-- Add this listener -->\n"
@@ -1705,7 +1755,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:761
+#: Configuration.xml:783
#, no-c-format
msgid ""
"WAR file scanning should be enabled by adding the <literal>WebinfScanner</"
@@ -1713,7 +1763,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:764
+#: Configuration.xml:786
#, no-c-format
msgid ""
"<![CDATA[<Context>\n"
@@ -1728,7 +1778,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:765
+#: Configuration.xml:787
#, no-c-format
msgid ""
"<![CDATA[ <!-- Add this listener -->\n"
@@ -1736,13 +1786,13 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:766
+#: Configuration.xml:788
#, no-c-format
msgid "<![CDATA[</Context>]]>"
msgstr ""
#. Tag: para
-#: Configuration.xml:770
+#: Configuration.xml:792
#, no-c-format
msgid ""
"If you are using Sun JDK 6, you need to set the Java option <literal>sun."
@@ -1752,7 +1802,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:775
+#: Configuration.xml:797
#, no-c-format
msgid ""
"Open the script appropriate for your operating system in a text editor. Add "
@@ -1762,7 +1812,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:779
+#: Configuration.xml:801
#, no-c-format
msgid ""
"<![CDATA[set JAVA_OPTS=%JAVA_OPTS% -Dsun.lang.ClassLoader."
@@ -1770,13 +1820,13 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:781
+#: Configuration.xml:803
#, no-c-format
msgid "On Unix, use this syntax instead:"
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:783
+#: Configuration.xml:805
#, no-c-format
msgid ""
"<![CDATA[JAVA_OPTS=\"$JAVA_OPTS -Dsun.lang.ClassLoader.allowArraySyntax=true"
@@ -1784,7 +1834,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:788
+#: Configuration.xml:810
#, no-c-format
msgid ""
"For more configuration options, please see the Embedded JBoss Tomcat "
@@ -1793,7 +1843,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:796
+#: Configuration.xml:818
#, no-c-format
msgid ""
"The archive structure of a WAR-based deployment on an servlet engine like "
@@ -1801,7 +1851,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:799
+#: Configuration.xml:821
#, no-c-format
msgid ""
"<![CDATA[my-application.war/\n"
@@ -1839,7 +1889,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:801
+#: Configuration.xml:823
#, no-c-format
msgid ""
"Most of the Seam example applications may be deployed to Tomcat by running "
@@ -1847,13 +1897,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:809
+#: Configuration.xml:831
#, no-c-format
msgid "Configuring jBPM in Seam"
msgstr ""
#. Tag: para
-#: Configuration.xml:810
+#: Configuration.xml:832
#, no-c-format
msgid ""
"Seam's jBPM integration is not installed by default, so you'll need to "
@@ -1863,7 +1913,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:814
+#: Configuration.xml:836
#, no-c-format
msgid ""
"<![CDATA[<bpm:jbpm>\n"
@@ -1879,7 +1929,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:816
+#: Configuration.xml:838
#, no-c-format
msgid ""
"No further special configuration is needed if you only have pageflows. If "
@@ -1890,7 +1940,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:821
+#: Configuration.xml:843
#, no-c-format
msgid ""
"<![CDATA[<jbpm-configuration>\n"
@@ -1920,7 +1970,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:823
+#: Configuration.xml:845
#, no-c-format
msgid ""
"The most important thing to notice here is that jBPM transaction control is "
@@ -1928,7 +1978,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:829
+#: Configuration.xml:851
#, no-c-format
msgid ""
"There is not yet any well-defined packaging format for jBPM configuration "
@@ -1939,7 +1989,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:834
+#: Configuration.xml:856
#, no-c-format
msgid ""
"<![CDATA[my-application.ear/\n"
@@ -1986,13 +2036,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:841
+#: Configuration.xml:863
#, no-c-format
msgid "Configuring SFSB and Session Timeouts in JBoss AS"
msgstr ""
#. Tag: para
-#: Configuration.xml:843
+#: Configuration.xml:865
#, no-c-format
msgid ""
"It is very important that the timeout for Stateful Session Beans is set "
@@ -2004,7 +2054,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:849
+#: Configuration.xml:871
#, no-c-format
msgid ""
"The default SFSB timeout can be adjusted by modifying the value of "
@@ -2013,7 +2063,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:852
+#: Configuration.xml:874
#, no-c-format
msgid ""
"<![CDATA[<container-cache-conf>\n"
@@ -2038,7 +2088,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:854
+#: Configuration.xml:876
#, no-c-format
msgid ""
"The default HTTP session timeout can be modified in <literal>server/default/"
@@ -2049,7 +2099,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:859
+#: Configuration.xml:881
#, no-c-format
msgid ""
"<![CDATA[<session-config>\n"
@@ -2059,7 +2109,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:861
+#: Configuration.xml:883
#, no-c-format
msgid ""
"To override this value for your own application, simply include this entry "
@@ -2067,13 +2117,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:867
+#: Configuration.xml:889
#, no-c-format
msgid "Running Seam in a Portlet"
msgstr ""
#. Tag: para
-#: Configuration.xml:869
+#: Configuration.xml:891
#, no-c-format
msgid ""
"If you want to run your Seam application in a portlet, take a look at the "
@@ -2084,13 +2134,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:880
+#: Configuration.xml:902
#, no-c-format
msgid "Deploying custom resources"
msgstr ""
#. Tag: para
-#: Configuration.xml:882
+#: Configuration.xml:904
#, no-c-format
msgid ""
"Seam scans all jars containing <literal>/seam.properties</literal>, "
@@ -2101,7 +2151,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:889
+#: Configuration.xml:911
#, no-c-format
msgid ""
"You may also want Seam to handle custom resources. A common use case is to "
@@ -2111,7 +2161,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:896
+#: Configuration.xml:918
#, no-c-format
msgid ""
"<![CDATA[# A colon-separated list of annotation types to handle\n"
@@ -2119,7 +2169,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:898
+#: Configuration.xml:920
#, no-c-format
msgid ""
"Then, during application startup you can get hold of all classes annotated "
@@ -2127,7 +2177,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:903
+#: Configuration.xml:925
#, no-c-format
msgid ""
"<![CDATA[@Name(\"fooStartup\")\n"
@@ -2159,7 +2209,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:905
+#: Configuration.xml:927
#, no-c-format
msgid ""
"You can also handle <emphasis>any</emphasis> resource. For example, you "
@@ -2168,7 +2218,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:911
+#: Configuration.xml:933
#, no-c-format
msgid ""
"<![CDATA[public class FooDeploymentHandler implements DeploymentHandler {\n"
@@ -2192,7 +2242,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:913
+#: Configuration.xml:935
#, no-c-format
msgid ""
"Here we are just building a list of any files with the suffix <literal>.foo."
@@ -2200,7 +2250,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:918
+#: Configuration.xml:940
#, no-c-format
msgid ""
"Then, we need to register the deployment handler with Seam in <literal>/META-"
@@ -2209,7 +2259,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:925
+#: Configuration.xml:947
#, no-c-format
msgid ""
"<![CDATA[# For standard deployment\n"
@@ -2220,7 +2270,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:931
+#: Configuration.xml:953
#, no-c-format
msgid ""
"Seam uses deployment handlers internally to install components and "
@@ -2229,7 +2279,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:937
+#: Configuration.xml:959
#, no-c-format
msgid ""
"<![CDATA[@Name(\"fooStartup\")\n"
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/te-IN/Webservices.po
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/te-IN/Webservices.po 2009-08-26 19:14:02 UTC (rev 11432)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/te-IN/Webservices.po 2009-08-26 19:19:33 UTC (rev 11433)
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-07-08 14:32+0000\n"
+"POT-Creation-Date: 2009-08-26 18:48+0000\n"
"PO-Revision-Date: 2008-04-04 01:24+0000\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
@@ -392,48 +392,56 @@
#: Webservices.xml:186
#, no-c-format
msgid ""
-"The URI starts with the pattern mapped in <literal>web.xml</literal> for the "
+"The URI starts with the host and context path of your application, e.g. "
+"<literal>http://your.hostname/myapp</literal>."
+msgstr ""
+
+#. Tag: para
+#: Webservices.xml:192
+#, no-c-format
+msgid ""
+"Then the pattern mapped in <literal>web.xml</literal> for the "
"<literal>SeamResourceServlet</literal>, e.g <literal>/seam/resource</"
-"literal> if you follow the common examples. Change this setting to expose "
-"your RESTful resources under a different base. Note that this is a global "
-"change and other Seam resources (e.g. <literal>s:graphicImage</literal>) are "
-"then also served under that base path."
+"literal> if you follow the common examples, is appended. Change this setting "
+"to expose your RESTful resources under a different base. Note that this is a "
+"global change and other Seam resources (e.g. <literal>s:graphicImage</"
+"literal>) are then also served under that base path."
msgstr ""
#. Tag: para
-#: Webservices.xml:195
+#: Webservices.xml:201
#, no-c-format
msgid ""
"The RESTEasy integration for Seam then appends a configurable string to the "
"base path, by default this is <literal>/rest</literal>. Hence, the full base "
-"path of your resources would e.g. be <literal>/seam/resource/rest</literal>. "
-"We recommend that you change this string in your application, you could for "
-"example add a version number to prepare for a future REST API upgrade of "
-"your services (old clients would keep the old URI base): <literal>/seam/"
-"resource/restv1</literal>."
+"path of your resources would e.g. be <literal>/myapp/seam/resource/rest</"
+"literal>. We recommend that you change this string in your application, you "
+"could for example add a version number to prepare for a future REST API "
+"upgrade of your services (old clients would keep the old URI base): "
+"<literal>/myapp/seam/resource/restv1</literal>."
msgstr ""
#. Tag: para
-#: Webservices.xml:204
+#: Webservices.xml:210
#, no-c-format
msgid ""
"Finally, the actual resource is available under the defined <literal>@Path</"
"literal>, e.g. a resource mapped with <literal>@Path(\"/customer\")</"
-"literal> would be available under <literal>/seam/resource/rest/customer</"
-"literal>."
+"literal> would be available under <literal>/myapp/seam/resource/rest/"
+"customer</literal>."
msgstr ""
#. Tag: para
-#: Webservices.xml:212
+#: Webservices.xml:218
#, no-c-format
msgid ""
"As an example, the following resource definition would return a plaintext "
"representation for any GET requests using the URI <literal>http://your."
-"hostname/seam/resource/rest/customer/123</literal>:"
+"hostname/myapp/seam/resource/rest/customer/123</literal>:"
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:217
+#: Webservices.xml:223
#, no-c-format
msgid ""
"<![CDATA[@Path(\"/customer\")\n"
@@ -450,7 +458,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:219
+#: Webservices.xml:225
#, no-c-format
msgid ""
"No additional configuration is required, you do not have to edit "
@@ -461,7 +469,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:225
+#: Webservices.xml:231
#, no-c-format
msgid ""
"<![CDATA[<components\n"
@@ -476,63 +484,39 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:227
+#: Webservices.xml:233
#, no-c-format
msgid ""
"You can then change the <literal>/rest</literal> prefix as mentioned earlier:"
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:231
+#: Webservices.xml:237
#, no-c-format
msgid "<![CDATA[<resteasy:application resource-path-prefix=\"/restv1\"/>]]>"
msgstr ""
#. Tag: para
-#: Webservices.xml:233
-#, no-c-format
-msgid ""
-"The full base path to your resources is now <literal>/seam/resource/restv1/"
-"{resource}</literal> - note that your <literal>@Path</literal> definitions "
-"and mappings do NOT change. This is an application-wide switch usually used "
-"for versioning of the HTTP API."
-msgstr ""
-
-#. Tag: para
#: Webservices.xml:239
#, no-c-format
msgid ""
-"You can disable stripping of the base path if you'd like to map the full "
-"path in your resources:"
+"The full base path to your resources is now <literal>/myapp/seam/resource/"
+"restv1/{resource}</literal> - note that your <literal>@Path</literal> "
+"definitions and mappings do NOT change. This is an application-wide switch "
+"usually used for versioning of the HTTP interface."
msgstr ""
-#. Tag: programlisting
-#: Webservices.xml:243
-#, no-c-format
-msgid "<![CDATA[<resteasy:application strip-seam-resource-path=\"false\"/>]]>"
-msgstr ""
-
#. Tag: para
#: Webservices.xml:245
#, no-c-format
msgid ""
-"The path of a resource is now mapped with e.g. <literal>@Path(\"/seam/"
-"resource/rest/customer\")</literal>. We do not recommend disabling this "
-"feature, as your resource class mappings are then bound to a particular "
-"deployment scenario."
-msgstr ""
-
-#. Tag: para
-#: Webservices.xml:251
-#, no-c-format
-msgid ""
"Seam will scan your classpath for any deployed <literal>@javax.ws.rs.Path</"
"literal> resources and any <literal>@javax.ws.rs.ext.Provider</literal> "
"classes. You can disable scanning and configure these classes manually:"
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:257
+#: Webservices.xml:251
#, no-c-format
msgid ""
"<![CDATA[<resteasy:application\n"
@@ -554,7 +538,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:259
+#: Webservices.xml:253
#, no-c-format
msgid ""
"The <literal>use-built-in-providers</literal> switch enables (default) or "
@@ -564,7 +548,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:265
+#: Webservices.xml:259
#, no-c-format
msgid ""
"RESTEasy supports plain EJBs (EJBs that are not Seam components) as "
@@ -576,20 +560,21 @@
"<literal>@Path</literal>, <literal>@GET</literal>, and so on - not the bean "
"implementation class. This allows you to keep your application deployment-"
"portable with the global Seam <literal>jndi-pattern</literal> switch on "
-"<literal><core:init/></literal>. Note that EJB resources will not be "
-"found even if scanning of resources is enabled, you always have to list them "
-"manually. Again, this is only relevant for EJB resources that are not also "
-"Seam components and that do not have a <literal>@Name</literal> annotation."
+"<literal><core:init/></literal>. Note that plain (non-Seam component) "
+"EJB resources will not be found even if scanning of resources is enabled, "
+"you always have to list them manually. Again, this whole paragraph is only "
+"relevant for EJB resources that are not also Seam components and that do not "
+"have an <literal>@Name</literal> annotation."
msgstr ""
#. Tag: para
-#: Webservices.xml:277
+#: Webservices.xml:272
#, no-c-format
msgid "Finally, you can configure media type and language URI extensions:"
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:281
+#: Webservices.xml:276
#, no-c-format
msgid ""
"<![CDATA[<resteasy:application>\n"
@@ -606,7 +591,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:283
+#: Webservices.xml:278
#, no-c-format
msgid ""
"This definition would map the URI suffix of <literal>.txt.deutsch</literal> "
@@ -616,13 +601,13 @@
msgstr ""
#. Tag: title
-#: Webservices.xml:292
+#: Webservices.xml:287
#, no-c-format
msgid "Resources and providers as Seam components"
msgstr ""
#. Tag: para
-#: Webservices.xml:294
+#: Webservices.xml:289
#, no-c-format
msgid ""
"Any resource and provider instances are managed by RESTEasy by default. That "
@@ -633,7 +618,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:301
+#: Webservices.xml:296
#, no-c-format
msgid ""
"You can write resources and providers as Seam components and benefit from "
@@ -642,7 +627,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:307
+#: Webservices.xml:302
#, no-c-format
msgid ""
"<![CDATA[@Name(\"customerResource\")\n"
@@ -663,7 +648,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:309
+#: Webservices.xml:304
#, no-c-format
msgid ""
"An instance of <literal>customerResource</literal> is now handled by Seam "
@@ -677,7 +662,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:318
+#: Webservices.xml:313
#, no-c-format
msgid ""
"You can annotate an interface and keep the implementation free from JAX-RS "
@@ -685,7 +670,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:322
+#: Webservices.xml:317
#, no-c-format
msgid ""
"<![CDATA[@Path(\"/customer\")\n"
@@ -700,7 +685,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:324
+#: Webservices.xml:319
#, no-c-format
msgid ""
"<![CDATA[@Name(\"customerResource\")\n"
@@ -718,7 +703,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:326
+#: Webservices.xml:321
#, no-c-format
msgid ""
"You can use <literal>SESSION</literal>-scoped Seam components. By default, "
@@ -733,7 +718,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:335
+#: Webservices.xml:330
#, no-c-format
msgid ""
"Assuming that your Seam application only uses event, application, or "
@@ -745,7 +730,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:342
+#: Webservices.xml:337
#, no-c-format
msgid ""
"If your RESTful Seam application has to preserve session state across REST "
@@ -753,14 +738,14 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:347
+#: Webservices.xml:342
#, no-c-format
msgid ""
"<![CDATA[<resteasy:application destroy-session-after-request=\"false\"/>]]>"
msgstr ""
#. Tag: para
-#: Webservices.xml:349
+#: Webservices.xml:344
#, no-c-format
msgid ""
"Every REST HTTP request will now create a new session that will only be "
@@ -771,7 +756,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:356
+#: Webservices.xml:351
#, no-c-format
msgid ""
"<literal>CONVERSATION</literal>-scoped resource components and mapping of "
@@ -780,7 +765,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:361
+#: Webservices.xml:356
#, no-c-format
msgid ""
"EJB Seam components are supported. Always annotate the local business "
@@ -789,7 +774,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:366
+#: Webservices.xml:361
#, no-c-format
msgid ""
"Provider classes can also be Seam components, only <literal>APPLICATION</"
@@ -799,13 +784,13 @@
msgstr ""
#. Tag: title
-#: Webservices.xml:375
+#: Webservices.xml:370
#, no-c-format
msgid "Securing resources"
msgstr ""
#. Tag: para
-#: Webservices.xml:377
+#: Webservices.xml:372
#, no-c-format
msgid ""
"You can enable the Seam authentication filter for HTTP Basic and Digest "
@@ -813,7 +798,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:382
+#: Webservices.xml:377
#, no-c-format
msgid ""
"<![CDATA[<web:authentication-filter url-pattern=\"/seam/resource/rest/*\" "
@@ -821,14 +806,14 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:384
+#: Webservices.xml:379
#, no-c-format
msgid ""
"See the Seam security chapter on how to write an authentication routine."
msgstr ""
#. Tag: para
-#: Webservices.xml:388
+#: Webservices.xml:383
#, no-c-format
msgid ""
"After successful authentication, authorization rules with the common "
@@ -839,13 +824,13 @@
msgstr ""
#. Tag: title
-#: Webservices.xml:398
+#: Webservices.xml:393
#, no-c-format
msgid "Mapping exceptions to HTTP responses"
msgstr ""
#. Tag: para
-#: Webservices.xml:400
+#: Webservices.xml:395
#, no-c-format
msgid ""
"Section 3.3.4 of the JAX-RS specification defines how checked or unchecked "
@@ -858,7 +843,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:408
+#: Webservices.xml:403
#, no-c-format
msgid ""
"Exception handling within Seam requires that the Seam filter is executed for "
@@ -870,7 +855,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:415
+#: Webservices.xml:410
#, no-c-format
msgid ""
"<![CDATA[<filter>\n"
@@ -885,7 +870,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:417
+#: Webservices.xml:412
#, no-c-format
msgid ""
"To convert the unchecked <literal>UnsupportedOperationException</literal> "
@@ -895,7 +880,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:423
+#: Webservices.xml:418
#, no-c-format
msgid ""
"<![CDATA[<exception class=\"java.lang.UnsupportedOperationException\">\n"
@@ -906,13 +891,13 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:425
+#: Webservices.xml:420
#, no-c-format
msgid "Custom or checked exceptions are handled the same:"
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:429
+#: Webservices.xml:424
#, no-c-format
msgid ""
"<![CDATA[<exception class=\"my.CustomException\" log=\"false\">\n"
@@ -924,7 +909,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:431
+#: Webservices.xml:426
#, no-c-format
msgid ""
"You do not have to send an HTTP error to the client if an exception occurs. "
@@ -935,7 +920,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:438
+#: Webservices.xml:433
#, no-c-format
msgid ""
"Note that the HTTP response still passes through the servlet container, so "
@@ -946,13 +931,13 @@
msgstr ""
#. Tag: title
-#: Webservices.xml:447
+#: Webservices.xml:442
#, no-c-format
msgid "Testing resources and providers"
msgstr ""
#. Tag: para
-#: Webservices.xml:449
+#: Webservices.xml:444
#, no-c-format
msgid ""
"Seam includes a unit testing utility class that helps you create unit tests "
@@ -962,7 +947,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:455
+#: Webservices.xml:450
#, no-c-format
msgid ""
"<![CDATA[import org.jboss.seam.mock.ResourceRequestEnvironment;\n"
@@ -1019,7 +1004,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:457
+#: Webservices.xml:452
#, no-c-format
msgid ""
"This test only executes local calls, it does not communicate with the "
@@ -1032,7 +1017,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:465
+#: Webservices.xml:460
#, no-c-format
msgid ""
"Note that a <literal>ResourceRequest</literal> has to be executed in a "
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/te-IN/Websphere.po
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/te-IN/Websphere.po 2009-08-26 19:14:02 UTC (rev 11432)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/te-IN/Websphere.po 2009-08-26 19:19:33 UTC (rev 11433)
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-08-22 13:17+0000\n"
+"POT-Creation-Date: 2009-08-26 18:48+0000\n"
"PO-Revision-Date: 2008-04-04 01:24+0000\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
@@ -76,25 +76,27 @@
#, no-c-format
msgid ""
"The following sections in this chapter assume that WebSphere is correctly "
-"installed and is functional, and a profile has been successfully created."
+"installed and is functional, and a WebSphere \"profile\" has been "
+"successfully created."
msgstr ""
#. Tag: para
#: Websphere.xml:40
#, no-c-format
msgid ""
-"This chapter explain how to compile, deploy and run some sample applications "
-"in WebSphere. These sample applications require a database. WebSphere comes "
-"by default with a set of sample applications called \"Default Application\". "
-"This set of sample applications use a Derby database running on the Derby "
-"instance installed with WebSphere. In order to keep this simple we'll use "
-"this Derby database created for the \"Default Applications\". However, to "
-"run the sample application with the Derby database \"as-is\", a patched "
-"Hibernate dialect must be used (The patch changes the default \"auto\" key "
-"generation strategy) as explained in <xref linkend=\"glassfish\"/>. If you "
-"want to use another database, it's just a matter of creating a connection "
-"pool in WebSphere pointing to this database, declare the correct Hibernate "
-"dialect and set the correct JNDI name in <literal>persistence.xml</literal>."
+"This chapter explains how to compile, deploy and run some sample "
+"applications in WebSphere. These sample applications require a database. "
+"WebSphere comes by default with a set of sample applications called "
+"\"Default Application\". This set of sample applications use a Derby "
+"database running on the Derby instance installed within WebSphere. In order "
+"to keep this simple we'll use this Derby database created for the \"Default "
+"Applications\". However, to run the sample application with the Derby "
+"database \"as-is\", a patched Hibernate dialect must be used (The patch "
+"changes the default \"auto\" key generation strategy) as explained in <xref "
+"linkend=\"glassfish\"/>. If you want to use another database, it's just a "
+"matter of creating a connection pool in WebSphere pointing to this database, "
+"declare the correct Hibernate dialect and set the correct JNDI name in "
+"<literal>persistence.xml</literal>."
msgstr ""
#. Tag: title
@@ -144,14 +146,14 @@
#, no-c-format
msgid ""
"On the right navigation menu, select <literal>Web Container Settings/Web "
-"container</literal>)"
+"container</literal>"
msgstr ""
#. Tag: listitem
#: Websphere.xml:73
#, no-c-format
msgid ""
-"On the right navigation menu, select <literal>custom properties</literal>) "
+"On the right navigation menu, select <literal>custom properties</literal> "
"and add the following properties:"
msgstr ""
@@ -170,7 +172,7 @@
#. Tag: listitem
#: Websphere.xml:84
#, no-c-format
-msgid "Save and restart the server"
+msgid "Save the configuration and restart the server"
msgstr ""
#. Tag: title
@@ -189,38 +191,38 @@
msgstr ""
#. Tag: listitem
-#: Websphere.xml:97
+#: Websphere.xml:96
#, no-c-format
msgid ""
"The global <literal>jndi-pattern</literal> switch on the <literal><core:"
-"init></literal>. in <literal>components.xml</literal>. The switch can use "
-"a special placeholder \"<literal>#{ejbName}</literal>\" that resolves to the "
-"unqualified name of the EJB"
+"init></literal>tag in <literal>components.xml</literal>. The switch can "
+"use a special placeholder \"<literal>#{ejbName}</literal>\" that resolves to "
+"the unqualified name of the EJB"
msgstr ""
#. Tag: para
-#: Websphere.xml:102
+#: Websphere.xml:100
#, no-c-format
msgid "The <literal>@JndiName</literal> annotation"
msgstr ""
#. Tag: para
-#: Websphere.xml:108
+#: Websphere.xml:106
#, no-c-format
msgid "gives detailed explanations on how those mechanisms work."
msgstr ""
#. Tag: para
-#: Websphere.xml:112
+#: Websphere.xml:110
#, no-c-format
msgid ""
-"By default, WebSphere will bind the session bean in its local JNDI name "
-"space under a \"short\" binding name that adheres to the following pattern "
+"By default, WebSphere will bind session beans in its local JNDI name space "
+"under a \"short\" binding name that adheres to the following pattern "
"<literal>ejblocal:<package.qualified.local.interface.name></literal>."
msgstr ""
#. Tag: para
-#: Websphere.xml:117
+#: Websphere.xml:115
#, no-c-format
msgid ""
"For a detailed description on how WebSphere v7 organizes and binds EJBs in "
@@ -228,7 +230,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:120
+#: Websphere.xml:118
#, no-c-format
msgid ""
"As explained before, Seam needs to lookup for session bean as they appear in "
@@ -236,35 +238,35 @@
msgstr ""
#. Tag: listitem
-#: Websphere.xml:124
+#: Websphere.xml:121
#, no-c-format
msgid ""
"Specify which JNDI name Seam must use for each session bean using the "
-"<literal>@JndiName</literal> annotation in the java source file"
+"<literal>@JndiName</literal> annotation in the java source file,"
msgstr ""
#. Tag: listitem
-#: Websphere.xml:127
+#: Websphere.xml:123
#, no-c-format
msgid ""
"Override the default session bean names generated by WebSphere to conform to "
-"the <literal>jndi-pattern</literal> attribute"
+"the <literal>jndi-pattern</literal> attribute,"
msgstr ""
#. Tag: listitem
-#: Websphere.xml:130
+#: Websphere.xml:126
#, no-c-format
-msgid "Use EJB references"
+msgid "Use EJB references."
msgstr ""
#. Tag: title
-#: Websphere.xml:137
+#: Websphere.xml:133
#, no-c-format
msgid "Strategy 1: Specify which JNDI name Seam must use for each Session Bean"
msgstr ""
#. Tag: para
-#: Websphere.xml:138
+#: Websphere.xml:134
#, no-c-format
msgid ""
"This strategy is the simplest and fastest one regarding development. It uses "
@@ -272,7 +274,7 @@
msgstr ""
#. Tag: listitem
-#: Websphere.xml:141
+#: Websphere.xml:137
#, no-c-format
msgid ""
"Add a <literal>@JndiName(\"ejblocal:<package.qualified.local.interface."
@@ -280,20 +282,20 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:145 Websphere.xml:188
+#: Websphere.xml:141 Websphere.xml:184
#, no-c-format
msgid ""
"<para>In <literal>components.xml</literal>, add the following line:</para>"
msgstr ""
#. Tag: programlisting
-#: Websphere.xml:147 Websphere.xml:220
+#: Websphere.xml:143 Websphere.xml:216
#, no-c-format
msgid "<![CDATA[<core:init jndi-name=\"java:comp/env/#{ejbName}\" />]]>"
msgstr ""
#. Tag: para
-#: Websphere.xml:151
+#: Websphere.xml:147
#, no-c-format
msgid ""
"Add a file named <literal>WEB-INF/classes/seam-jndi.properties</literal> in "
@@ -301,7 +303,7 @@
msgstr ""
#. Tag: programlisting
-#: Websphere.xml:153
+#: Websphere.xml:149
#, no-c-format
msgid ""
"com.ibm.websphere.naming.hostname.normalizer=com.ibm.ws.naming.util."
@@ -323,13 +325,13 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:157
+#: Websphere.xml:153
#, no-c-format
msgid "At the end of <literal>web.xml</literal>, add the following lines:"
msgstr ""
#. Tag: programlisting
-#: Websphere.xml:159
+#: Websphere.xml:155
#, no-c-format
msgid ""
"<![CDATA[<ejb-local-ref>\n"
@@ -341,7 +343,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:164
+#: Websphere.xml:160
#, no-c-format
msgid ""
"That's all folks! No need to update any file during the development, nor to "
@@ -349,23 +351,23 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:167
+#: Websphere.xml:163
#, no-c-format
msgid ""
-"Compared to the other strategies, this strategy has the advantage not to "
-"have to manage any EJBs reference and also not to have to maintain extra "
+"Compared to the other strategies, this strategy has the advantage to not "
+"have to manage any EJBs reference and also to not have to maintain extra "
"files. The only drawback is one extra line in the java source code with the "
"<literal>@JndiName</literal> annotation"
msgstr ""
#. Tag: title
-#: Websphere.xml:174
+#: Websphere.xml:170
#, no-c-format
msgid "Strategy 2: Override the default names generated by WebSphere"
msgstr ""
#. Tag: section
-#: Websphere.xml:174
+#: Websphere.xml:170
#, no-c-format
msgid ""
"There is no simple way to globally override the default naming strategy for "
@@ -374,13 +376,13 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:177
+#: Websphere.xml:173
#, no-c-format
msgid "To use this strategy:"
msgstr ""
#. Tag: para
-#: Websphere.xml:181
+#: Websphere.xml:177
#, no-c-format
msgid ""
"Add a file named <literal>META-INF/ibm-ejb-jar-ext.xml</literal> in the EJB "
@@ -405,13 +407,13 @@
msgstr ""
#. Tag: programlisting
-#: Websphere.xml:190
+#: Websphere.xml:186
#, no-c-format
msgid "<![CDATA[<core:init jndi-name=\"ejblocal:#{ejbName}\" />]]>"
msgstr ""
#. Tag: para
-#: Websphere.xml:194
+#: Websphere.xml:190
#, no-c-format
msgid ""
"Add a file named <literal>WEB-INF/classes/seam-jndi.properties</literal> as "
@@ -419,7 +421,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:199
+#: Websphere.xml:195
#, no-c-format
msgid ""
"In <literal>web.xml</literal>, add the following lines (Note the different "
@@ -427,7 +429,7 @@
msgstr ""
#. Tag: programlisting
-#: Websphere.xml:201
+#: Websphere.xml:197
#, no-c-format
msgid ""
"<![CDATA[<ejb-local-ref>\n"
@@ -439,7 +441,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:206
+#: Websphere.xml:202
#, no-c-format
msgid ""
"Compared to the first strategy, this strategy requires to maintain an extra "
@@ -449,13 +451,13 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:215
+#: Websphere.xml:211
#, no-c-format
msgid "Strategy 3: Use EJB references"
msgstr ""
#. Tag: section
-#: Websphere.xml:215
+#: Websphere.xml:211
#, no-c-format
msgid ""
"This strategy is based on the usage of EJB references, from EJB to EJB and "
@@ -463,7 +465,7 @@
msgstr ""
#. Tag: listitem
-#: Websphere.xml:218
+#: Websphere.xml:214
#, no-c-format
msgid ""
"<listitem>In <literal>components.xml</literal>, add the following line:</"
@@ -471,7 +473,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:223
+#: Websphere.xml:219
#, no-c-format
msgid ""
"Follow the instructions in <xref linkend=\"config.integration.ejb.container"
@@ -479,7 +481,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:228
+#: Websphere.xml:224
#, no-c-format
msgid ""
"This is the most tedious strategy as each session bean referenced by another "
@@ -489,27 +491,27 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:239
+#: Websphere.xml:235
#, no-c-format
msgid "Configuring timeouts for Stateful Session Beans"
msgstr ""
#. Tag: para
-#: Websphere.xml:240
+#: Websphere.xml:236
#, no-c-format
msgid ""
"A timeout value has to be set for each stateful session bean used in the "
"application because stateful bean must not expire in WebSphere while Seam "
-"might still need thenm. At the time of writing this document, WebSphere does "
+"might still need them. At the time of writing this document, WebSphere does "
"not provide a way to configure a global timeout at neither the cluster, "
"server, application nor ejb-jar level. It has to be done for each stateful "
-"bean individually. This is done by adding a file named <literal>META-INF/ibm-"
-"ejb-jar-ext.xml</literal> in the EJB module, and declare the timeout value "
-"for each bean:"
+"bean individually. By default, the default timeout is 10 minutes. This is "
+"done by adding a file named <literal>META-INF/ibm-ejb-jar-ext.xml</literal> "
+"in the EJB module, and declare the timeout value for each bean:"
msgstr ""
#. Tag: programlisting
-#: Websphere.xml:246
+#: Websphere.xml:242
#, no-c-format
msgid ""
"<![CDATA[<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
@@ -529,24 +531,24 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:248
+#: Websphere.xml:244
#, no-c-format
msgid ""
"The <literal>time-out</literal> is expressed in seconds and must be higher "
"than the Seam conversation expiration timeout and a few minutes higher than "
"the user's HTTP session timeout (The session expiration timeout can trigger "
-"a few minutes after the number of minutes declared to expire s for the HTTP "
-"session expiration)."
+"a few minutes after the number of minutes declared to expire the HTTP "
+"session)."
msgstr ""
#. Tag: title
-#: Websphere.xml:257
+#: Websphere.xml:253
#, no-c-format
msgid "The <literal>jee5/booking</literal> example"
msgstr ""
#. Tag: para
-#: Websphere.xml:259
+#: Websphere.xml:255
#, no-c-format
msgid ""
"The<literal>jee5/booking</literal>example is based on the Hotel Booking "
@@ -557,23 +559,32 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:265
+#: Websphere.xml:261
#, no-c-format
msgid ""
-"For running this example, we'll use the second JNDI mapping strategy "
-"(\"Override the default names generated by WebSphere\") as we don't want to "
-"change the java code to add the <literal>@JndiName</literal> annotation as "
-"in the first strategy."
+"The example already has a breakout of configurations and build scripts for "
+"WebSphere. First thing, we are going to do is build and deploy this example. "
+"Then we'll go over some key changes that we needed."
msgstr ""
+#. Tag: para
+#: Websphere.xml:266
+#, no-c-format
+msgid ""
+"The tailored configuration files for WebSphere use the second JNDI mapping "
+"strategy (\"Override the default names generated by WebSphere\") as the goal "
+"was to not change any java code to add the <literal>@JndiName</literal> "
+"annotation as in the first strategy."
+msgstr ""
+
#. Tag: title
-#: Websphere.xml:271
+#: Websphere.xml:272
#, no-c-format
msgid "Building the <literal>jee5/booking</literal> example"
msgstr ""
#. Tag: para
-#: Websphere.xml:273
+#: Websphere.xml:274
#, no-c-format
msgid ""
"Building it only requires running the correct ant command: "
@@ -583,21 +594,21 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:280
+#: Websphere.xml:281
#, no-c-format
msgid "Deploying the <literal>jee5/booking</literal> example"
msgstr ""
#. Tag: para
-#: Websphere.xml:281
+#: Websphere.xml:282
#, no-c-format
msgid ""
-"The steps below are for the WAS version stated above.The ports are default "
-"values, if you changed them, you must substitute the values."
+"The steps below are for the WAS version stated above.The ports are the "
+"default values, if you changed them, you must substitute the values."
msgstr ""
#. Tag: listitem
-#: Websphere.xml:284
+#: Websphere.xml:285
#, no-c-format
msgid ""
"Log in to the administration console <programlisting><![CDATA[http://"
@@ -606,7 +617,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:291
+#: Websphere.xml:292
#, no-c-format
msgid ""
"Go to the <literal>WebSphere enterprise applications</literal> menu option "
@@ -615,7 +626,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:298
+#: Websphere.xml:299
#, no-c-format
msgid ""
"At the top of the <literal>Enterprise Applications</literal> table select "
@@ -624,13 +635,13 @@
msgstr ""
#. Tag: literal
-#: Websphere.xml:304
+#: Websphere.xml:305
#, no-c-format
msgid "Preparing for the application installation"
msgstr ""
#. Tag: para
-#: Websphere.xml:307
+#: Websphere.xml:308
#, no-c-format
msgid ""
"Browse to the <literal>examples/jee5/booking/dist-websphere7/jboss-seam-jee5."
@@ -638,25 +649,25 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:313 Websphere.xml:323 Websphere.xml:341
+#: Websphere.xml:314 Websphere.xml:324 Websphere.xml:342
#, no-c-format
msgid "Select the <literal>Next</literal> button."
msgstr ""
#. Tag: para
-#: Websphere.xml:318
+#: Websphere.xml:319
#, no-c-format
msgid "Select the <literal>Fast Path</literal> button."
msgstr ""
#. Tag: literal
-#: Websphere.xml:332
+#: Websphere.xml:333
#, no-c-format
msgid "Select installation options"
msgstr ""
#. Tag: para
-#: Websphere.xml:335
+#: Websphere.xml:336
#, no-c-format
msgid ""
"Select the <literal>Deploy enterprise beans and Allow EJB reference targets "
@@ -665,13 +676,13 @@
msgstr ""
#. Tag: literal
-#: Websphere.xml:350
+#: Websphere.xml:351
#, no-c-format
msgid "Map modules to servers"
msgstr ""
#. Tag: para
-#: Websphere.xml:353
+#: Websphere.xml:354
#, no-c-format
msgid ""
"No changes needed here as we only have one server. Select the <literal>Next</"
@@ -679,13 +690,13 @@
msgstr ""
#. Tag: literal
-#: Websphere.xml:362
+#: Websphere.xml:363
#, no-c-format
msgid "Map virtual hosts for Web modules"
msgstr ""
#. Tag: para
-#: Websphere.xml:365
+#: Websphere.xml:366
#, no-c-format
msgid ""
"No changes needed here as we only have one virtual host. Select the "
@@ -693,31 +704,31 @@
msgstr ""
#. Tag: literal
-#: Websphere.xml:374
+#: Websphere.xml:375
#, no-c-format
msgid "Summary"
msgstr ""
#. Tag: para
-#: Websphere.xml:377
+#: Websphere.xml:378
#, no-c-format
msgid "No changes needed here. Select the <literal>Finish</literal> button."
msgstr ""
#. Tag: literal
-#: Websphere.xml:384
+#: Websphere.xml:385
#, no-c-format
msgid "Installation"
msgstr ""
#. Tag: para
-#: Websphere.xml:387
+#: Websphere.xml:388
#, no-c-format
msgid "Now you will see WebSphere installing and deploying your application."
msgstr ""
#. Tag: para
-#: Websphere.xml:390
+#: Websphere.xml:391
#, no-c-format
msgid ""
"When done, select the <literal>Save</literal> link and you will be returned "
@@ -725,15 +736,15 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:399
+#: Websphere.xml:400
#, no-c-format
msgid ""
-"To start the application select our application in the list, then click on "
+"To start the application, select the application in the list, then click on "
"the <literal>Start</literal> button at the top of the table."
msgstr ""
#. Tag: para
-#: Websphere.xml:409
+#: Websphere.xml:410
#, no-c-format
msgid ""
"You can now access the application at <literal>http://localhost:9080/seam-"
@@ -741,13 +752,13 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:418
+#: Websphere.xml:419
#, no-c-format
msgid "Deviation from the original base files"
msgstr ""
#. Tag: section
-#: Websphere.xml:418
+#: Websphere.xml:419
#, no-c-format
msgid ""
"Below are the differences between the base configuration files and the "
@@ -756,7 +767,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:422
+#: Websphere.xml:423
#, no-c-format
msgid ""
"<literal>META-INF/ejb-jar.xml</literal> — Removed all the EJB "
@@ -764,37 +775,37 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:428
+#: Websphere.xml:429
#, no-c-format
msgid ""
"<literal>META-INF/ibm-ejb-jar-bnd.xml</literal> — This WebSphere "
"specific file has been added as we use the second JNDI mapping strategy. It "
-"defines, for each session bean, the name WebSphere will use to bind it its "
-"JNDI name space"
+"defines, for each session bean, the name WebSphere will use to bind it in "
+"its JNDI name space"
msgstr ""
#. Tag: para
-#: Websphere.xml:435
+#: Websphere.xml:436
#, no-c-format
msgid ""
"<literal>META-INF/ibm-ejb-jar-ext.xml</literal> — This WebSphere "
-"specific file defines to WebSphere, the timeout value for each stateful bean"
+"specific file defines the timeout value for each stateful bean"
msgstr ""
#. Tag: para
-#: Websphere.xml:441
+#: Websphere.xml:442
#, no-c-format
msgid ""
"<literal>META-INF/persistence.xml</literal> — The main changes here "
"are for the datasource JNDI path, switching to the WebSphere transaction "
"manager lookup class, turning off the <literal>hibernate.transaction."
"flush_before_completion</literal> toggle, and forcing the Hibernate dialect "
-"to be <literal>GlassfishDerbyDialect</literal> how as using the integrated "
-"Derby database"
+"to be <literal>GlassfishDerbyDialect</literal> as we are using the "
+"integrated Derby database"
msgstr ""
#. Tag: para
-#: Websphere.xml:451
+#: Websphere.xml:452
#, no-c-format
msgid ""
"<literal>WEB-INF/components.xml</literal> — the change here is "
@@ -803,7 +814,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:459
+#: Websphere.xml:460
#, no-c-format
msgid ""
"<literal>WEB-INF/web.xml</literal> — Remove all the <literal>ejb-local "
@@ -813,7 +824,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:467 Websphere.xml:549
+#: Websphere.xml:468
#, no-c-format
msgid ""
"<literal>import.sql</literal> — due to the cutomized hibernate Derby "
@@ -822,7 +833,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:474
+#: Websphere.xml:475
#, no-c-format
msgid ""
"Also the build procedure has been changed to include the <literal>log4j.jar</"
@@ -831,13 +842,13 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:486
+#: Websphere.xml:487
#, no-c-format
msgid "The <literal>jpa</literal> booking example"
msgstr ""
#. Tag: para
-#: Websphere.xml:488
+#: Websphere.xml:489
#, no-c-format
msgid ""
"This is the Hotel Booking example implemented in Seam POJOs and using "
@@ -845,7 +856,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:493
+#: Websphere.xml:494
#, no-c-format
msgid ""
"The example already has a breakout of configurations and build scripts for "
@@ -853,7 +864,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:498
+#: Websphere.xml:499
#, no-c-format
msgid ""
"First thing, we are going to do is build and deploy that example. Then we'll "
@@ -861,13 +872,13 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:504
+#: Websphere.xml:505
#, no-c-format
msgid "Building the <literal>jpa</literal> example"
msgstr ""
#. Tag: para
-#: Websphere.xml:505
+#: Websphere.xml:506
#, no-c-format
msgid ""
"Building it only requires running the correct ant command: "
@@ -877,13 +888,13 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:514
+#: Websphere.xml:515
#, no-c-format
msgid "Deploying the <literal>jpa</literal> example"
msgstr ""
#. Tag: para
-#: Websphere.xml:515
+#: Websphere.xml:516
#, no-c-format
msgid ""
"Deploying <literal>jpa</literal> application is very similar to the "
@@ -894,7 +905,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:521
+#: Websphere.xml:522
#, no-c-format
msgid ""
"Follow the same instructions as for the <literal>jee5/booking</literal> "
@@ -902,11 +913,11 @@
"literal> file on the first page and on the <literal>Map context roots for "
"Web modules</literal> page (after the <literal>Map virtual host for Web "
"module</literal>), enter the context root you want to use for your "
-"application in the <literal>Contect Root</literal> input field."
+"application in the <literal>Context Root</literal> input field."
msgstr ""
#. Tag: para
-#: Websphere.xml:528
+#: Websphere.xml:529
#, no-c-format
msgid ""
"When started, you can now access the application at the <literal>http://"
@@ -914,13 +925,13 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:534
+#: Websphere.xml:535
#, no-c-format
msgid "Deviation from the generic base files"
msgstr ""
#. Tag: section
-#: Websphere.xml:534
+#: Websphere.xml:535
#, no-c-format
msgid ""
"Below are the configuration file differences between the base configuration "
@@ -929,7 +940,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:539
+#: Websphere.xml:540
#, no-c-format
msgid ""
"<literal>META-INF/persistence.xml</literal> — The main changes here "
@@ -941,9 +952,18 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:556
+#: Websphere.xml:550
#, no-c-format
msgid ""
+"<literal>import.sql</literal> — due to the customized hibernate Derby "
+"dialect, the <literal>ID</literal> column can not be populated by this file "
+"and was removed."
+msgstr ""
+
+#. Tag: para
+#: Websphere.xml:557
+#, no-c-format
+msgid ""
"Also the build procedure have been changed to include the <literal>log4j."
"jar</literal> file and exclude the <literal>concurrent.jar</literal> and "
"<literal>jboss-common-core.jar</literal> files."
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/zh-CN/Configuration.po
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/zh-CN/Configuration.po 2009-08-26 19:14:02 UTC (rev 11432)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/zh-CN/Configuration.po 2009-08-26 19:19:33 UTC (rev 11433)
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-05-05 12:31+0000\n"
+"POT-Creation-Date: 2009-08-26 18:47+0000\n"
"PO-Revision-Date: 2008-04-04 01:24+0000\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
@@ -677,13 +677,63 @@
msgstr ""
#. Tag: title
+#: Configuration.xml:325
+#, no-c-format
+msgid "Enabling HTTP cache-control headers"
+msgstr ""
+
+#. Tag: para
#: Configuration.xml:326
#, no-c-format
+msgid ""
+"Seam does <emphasis>not</emphasis> automatically add <literal>cache-control</"
+"literal> HTTP headers to any resources served by the Seam resource servlet, "
+"or directly from your view directory by the servlet container. This means "
+"that your images, Javascript and CSS files, and resource representations "
+"from Seam resource servlet such as Seam Remoting Javascript interfaces are "
+"usually not cached by the browser. This is convenient in development but "
+"should be changed in production when optimizing the application."
+msgstr ""
+
+#. Tag: para
+#: Configuration.xml:334
+#, no-c-format
+msgid ""
+"You can configure a Seam filter to enable automatic addition of "
+"<literal>cache-control</literal> headers depending on the requested URI in "
+"<literal>components.xml</literal>:"
+msgstr ""
+
+#. Tag: programlisting
+#: Configuration.xml:339
+#, no-c-format
+msgid ""
+"<![CDATA[<web:cache-control-filter name=\"commonTypesCacheControlFilter\"\n"
+" regex-url-pattern=\".*(\\.gif|\\.png|\\.jpg|\\."
+"jpeg|\\.css|\\.js)\"\n"
+" value=\"max-age=86400\"/> <!-- 1 day -->\n"
+"\n"
+"<web:cache-control-filter name=\"anotherCacheControlFilter\"\n"
+" url-pattern=\"/my/cachable/resources/*\"\n"
+" value=\"max-age=432000\"/> <!-- 5 days -->]]>"
+msgstr ""
+
+#. Tag: para
+#: Configuration.xml:341
+#, no-c-format
+msgid ""
+"You do not have to name the filters unless you have more than one filter "
+"enabled."
+msgstr ""
+
+#. Tag: title
+#: Configuration.xml:348
+#, no-c-format
msgid "Adding custom filters"
msgstr ""
#. Tag: para
-#: Configuration.xml:327
+#: Configuration.xml:349
#, no-c-format
msgid ""
"Seam can install your filters for you, allowing you to specify "
@@ -695,7 +745,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:332
+#: Configuration.xml:354
#, no-c-format
msgid ""
"<![CDATA[@Startup\n"
@@ -707,7 +757,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:334
+#: Configuration.xml:356
#, no-c-format
msgid ""
"Adding the <literal>@Startup</literal> annotation means thar the component "
@@ -718,13 +768,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:343
+#: Configuration.xml:365
#, no-c-format
msgid "Integrating Seam with your EJB container"
msgstr ""
#. Tag: para
-#: Configuration.xml:345
+#: Configuration.xml:367
#, no-c-format
msgid ""
"In a Seam application, EJB components have a certain duality, as they are "
@@ -735,7 +785,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:350
+#: Configuration.xml:372
#, no-c-format
msgid ""
"We need to apply the <literal>SeamInterceptor</literal> to our Seam EJB "
@@ -747,7 +797,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:355
+#: Configuration.xml:377
#, no-c-format
msgid ""
"<![CDATA[<interceptors>\n"
@@ -768,7 +818,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:357
+#: Configuration.xml:379
#, no-c-format
msgid ""
"Seam needs to know where to go to find session beans in JNDI. One way to do "
@@ -782,19 +832,19 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:364
+#: Configuration.xml:386
#, no-c-format
msgid "For JBoss AS, the following pattern is correct:"
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:366
+#: Configuration.xml:388
#, no-c-format
msgid "<![CDATA[<core:init jndi-name=\"earName/#{ejbName}/local\" />]]>"
msgstr ""
#. Tag: para
-#: Configuration.xml:368
+#: Configuration.xml:390
#, no-c-format
msgid ""
"In this case, <literal>earName</literal> is the name of the EAR in which the "
@@ -804,7 +854,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:372
+#: Configuration.xml:394
#, no-c-format
msgid ""
"Outside the context of an EAR (when using the JBoss Embeddable EJB3 "
@@ -813,13 +863,13 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:375
+#: Configuration.xml:397
#, no-c-format
msgid "<![CDATA[<core:init jndi-name=\"#{ejbName}/local\" />]]>"
msgstr ""
#. Tag: para
-#: Configuration.xml:377
+#: Configuration.xml:399
#, no-c-format
msgid ""
"How these JNDI names are resolved and somehow locate an EJB component might "
@@ -828,7 +878,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:381
+#: Configuration.xml:403
#, no-c-format
msgid ""
"The folks at JBoss don't care much for XML, if you can't tell. So when they "
@@ -839,14 +889,14 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:387
+#: Configuration.xml:409
#, no-c-format
msgid ""
"The value of the <literal><ejb-name></literal> element in ejb-jar.xml"
msgstr ""
#. Tag: para
-#: Configuration.xml:390
+#: Configuration.xml:412
#, no-c-format
msgid ""
"The value of the <literal>name</literal> attribute in the @Stateless or "
@@ -854,13 +904,13 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:393
+#: Configuration.xml:415
#, no-c-format
msgid "The simple name of the bean class"
msgstr ""
#. Tag: para
-#: Configuration.xml:397
+#: Configuration.xml:419
#, no-c-format
msgid ""
"Let's look at an example. Assume that you have the following EJB bean and "
@@ -868,7 +918,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:399
+#: Configuration.xml:421
#, no-c-format
msgid ""
"<![CDATA[package com.example.myapp;\n"
@@ -895,7 +945,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:401
+#: Configuration.xml:423
#, no-c-format
msgid ""
"Assuming your EJB bean class is deployed in an EAR named myapp, the global "
@@ -907,7 +957,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:407
+#: Configuration.xml:429
#, no-c-format
msgid ""
"So what about the rest of the application servers? Well, according to the "
@@ -919,7 +969,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:413
+#: Configuration.xml:435
#, no-c-format
msgid ""
"There are two places you have to define the EJB reference when using Seam on "
@@ -930,7 +980,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:418
+#: Configuration.xml:440
#, no-c-format
msgid ""
"<![CDATA[<ejb-local-ref>\n"
@@ -942,7 +992,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:420
+#: Configuration.xml:442
#, no-c-format
msgid ""
"This reference will cover most uses of the component in a Seam application. "
@@ -953,7 +1003,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:425
+#: Configuration.xml:447
#, no-c-format
msgid ""
"Within the context of an EJB method call, you have to deal with a somewhat "
@@ -970,7 +1020,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:434
+#: Configuration.xml:456
#, no-c-format
msgid ""
"For application servers that stubbornly adhere to the EJB specification, EJB "
@@ -982,7 +1032,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:439
+#: Configuration.xml:461
#, no-c-format
msgid ""
"Let's assume that we have an EJB named RegisterAction (the name is resolved "
@@ -991,7 +1041,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:442
+#: Configuration.xml:464
#, no-c-format
msgid ""
"<![CDATA[@In(create = true)\n"
@@ -1000,7 +1050,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:444
+#: Configuration.xml:466
#, no-c-format
msgid ""
"In order for this injection to work, the link must be established in the ejb-"
@@ -1008,7 +1058,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:446
+#: Configuration.xml:468
#, no-c-format
msgid ""
"<![CDATA[<ejb-jar>\n"
@@ -1031,7 +1081,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:448
+#: Configuration.xml:470
#, no-c-format
msgid ""
"Notice that the contents of the <literal><ejb-local-ref></literal> are "
@@ -1043,7 +1093,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:454
+#: Configuration.xml:476
#, no-c-format
msgid ""
"But what about <literal>@EJB</literal>? It's true that you can inject one "
@@ -1061,7 +1111,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:464
+#: Configuration.xml:486
#, no-c-format
msgid ""
"That covers how JNDI names are defined and used. The lesson is that with "
@@ -1074,7 +1124,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:470
+#: Configuration.xml:492
#, no-c-format
msgid ""
"<![CDATA[<core:init jndi-name=\"java:comp/env/earName/#{ejbName}/local\" />]]"
@@ -1082,7 +1132,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:472
+#: Configuration.xml:494
#, no-c-format
msgid ""
"Finally, let's talk about transactions. In an EJB3 environment, we recommend "
@@ -1094,19 +1144,19 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:479
+#: Configuration.xml:501
#, no-c-format
msgid "<![CDATA[<transaction:ejb-transaction/>]]>"
msgstr ""
#. Tag: title
-#: Configuration.xml:484
+#: Configuration.xml:506
#, no-c-format
msgid "Don't forget!"
msgstr ""
#. Tag: para
-#: Configuration.xml:486
+#: Configuration.xml:508
#, no-c-format
msgid ""
"There is one final item you need to know about. You must place a "
@@ -1118,7 +1168,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:491
+#: Configuration.xml:513
#, no-c-format
msgid ""
"In a web archive (WAR) file, you must place a <literal>seam.properties</"
@@ -1127,7 +1177,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:494
+#: Configuration.xml:516
#, no-c-format
msgid ""
"That's why all the Seam examples have an empty <literal>seam.properties</"
@@ -1136,7 +1186,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:497
+#: Configuration.xml:519
#, no-c-format
msgid ""
"You might think this is silly and what kind of idiot framework designers "
@@ -1148,13 +1198,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:508
+#: Configuration.xml:530
#, no-c-format
msgid "Using Alternate JPA Providers"
msgstr ""
#. Tag: para
-#: Configuration.xml:510
+#: Configuration.xml:532
#, no-c-format
msgid ""
"Seam comes packaged and configured with Hibernate as the default JPA "
@@ -1163,13 +1213,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:516
+#: Configuration.xml:538
#, no-c-format
msgid "This is a workaround"
msgstr ""
#. Tag: para
-#: Configuration.xml:517
+#: Configuration.xml:539
#, no-c-format
msgid ""
"Configuration of the JPA provider will be easier in the future and will not "
@@ -1178,7 +1228,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:524
+#: Configuration.xml:546
#, no-c-format
msgid ""
"Telling seam about a different JPA provider can be be done in one of two "
@@ -1186,7 +1236,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:525
+#: Configuration.xml:547
#, no-c-format
msgid ""
"Update your application's <literal>components.xml</literal> so that the "
@@ -1195,7 +1245,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:530
+#: Configuration.xml:552
#, no-c-format
msgid ""
"<![CDATA[<component name=\"org.jboss.seam.persistence.persistenceProvider"
@@ -1206,7 +1256,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:531
+#: Configuration.xml:553
#, no-c-format
msgid ""
"If you want to take advantage of your JPA provider's non-standard features "
@@ -1218,7 +1268,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:538
+#: Configuration.xml:560
#, no-c-format
msgid ""
"<![CDATA[<component name=\"org.jboss.seam.persistence.persistenceProvider"
@@ -1228,7 +1278,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:539
+#: Configuration.xml:561
#, no-c-format
msgid ""
"All that is left is updating the <literal>persistence.xml</literal> file "
@@ -1238,13 +1288,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:547
+#: Configuration.xml:569
#, no-c-format
msgid "Configuring Seam in Java EE 5"
msgstr ""
#. Tag: para
-#: Configuration.xml:558
+#: Configuration.xml:580
#, no-c-format
msgid ""
"If you're running in a Java EE 5 environment, this is all the configuration "
@@ -1252,14 +1302,14 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:561 Configuration.xml:656 Configuration.xml:794
-#: Configuration.xml:827
+#: Configuration.xml:583 Configuration.xml:678 Configuration.xml:816
+#: Configuration.xml:849
#, no-c-format
msgid "Packaging"
msgstr ""
#. Tag: para
-#: Configuration.xml:563
+#: Configuration.xml:585
#, no-c-format
msgid ""
"Once you've packaged all this stuff together into an EAR, the archive "
@@ -1267,7 +1317,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:566
+#: Configuration.xml:588
#, no-c-format
msgid ""
"<![CDATA[my-application.ear/\n"
@@ -1307,7 +1357,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:568
+#: Configuration.xml:590
#, no-c-format
msgid ""
"You should declare <literal>jboss-seam.jar</literal> as an ejb module in "
@@ -1316,7 +1366,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:573
+#: Configuration.xml:595
#, no-c-format
msgid ""
"If you want to use jBPM or Drools, you must include the needed jars in the "
@@ -1324,7 +1374,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:575
+#: Configuration.xml:597
#, no-c-format
msgid ""
"If you want to use facelets (our recommendation), you must include "
@@ -1333,7 +1383,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:578
+#: Configuration.xml:600
#, no-c-format
msgid ""
"If you want to use the Seam tag library (most Seam applications do), you "
@@ -1344,7 +1394,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:583
+#: Configuration.xml:605
#, no-c-format
msgid ""
"If you want to use the Seam debug page (only works for applications using "
@@ -1353,7 +1403,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:586
+#: Configuration.xml:608
#, no-c-format
msgid ""
"Seam ships with several example applications that are deployable in any Java "
@@ -1361,7 +1411,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:589
+#: Configuration.xml:611
#, no-c-format
msgid ""
"I really wish that was all there was to say on the topic of configuration "
@@ -1371,13 +1421,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:598
+#: Configuration.xml:620
#, no-c-format
msgid "Configuring Seam in J2EE"
msgstr ""
#. Tag: para
-#: Configuration.xml:600
+#: Configuration.xml:622
#, no-c-format
msgid ""
"Seam is useful even if you're not yet ready to take the plunge into EJB 3.0. "
@@ -1389,7 +1439,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:615
+#: Configuration.xml:637
#, no-c-format
msgid ""
"Seam JavaBean components do not provide declarative transaction demarcation "
@@ -1401,7 +1451,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:621
+#: Configuration.xml:643
#, no-c-format
msgid ""
"The Seam distribution includes a version of the booking example application "
@@ -1411,13 +1461,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:626
+#: Configuration.xml:648
#, no-c-format
msgid "Boostrapping Hibernate in Seam"
msgstr ""
#. Tag: para
-#: Configuration.xml:628
+#: Configuration.xml:650
#, no-c-format
msgid ""
"Seam will bootstrap a Hibernate <literal>SessionFactory</literal> from your "
@@ -1426,7 +1476,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:631
+#: Configuration.xml:653
#, no-c-format
msgid ""
"<![CDATA[<persistence:hibernate-session-factory name="
@@ -1434,7 +1484,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:633
+#: Configuration.xml:655
#, no-c-format
msgid ""
"You will also need to configure a <emphasis>managed session</emphasis> if "
@@ -1443,7 +1493,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:636
+#: Configuration.xml:658
#, no-c-format
msgid ""
"<![CDATA[<persistence:managed-hibernate-session name=\"hibernateSession\"\n"
@@ -1452,13 +1502,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:641
+#: Configuration.xml:663
#, no-c-format
msgid "Boostrapping JPA in Seam"
msgstr ""
#. Tag: para
-#: Configuration.xml:643
+#: Configuration.xml:665
#, no-c-format
msgid ""
"Seam will bootstrap a JPA <literal>EntityManagerFactory</literal> from your "
@@ -1467,7 +1517,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:646
+#: Configuration.xml:668
#, no-c-format
msgid ""
"<![CDATA[<persistence:entity-manager-factory name=\"entityManagerFactory\"/"
@@ -1475,7 +1525,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:648
+#: Configuration.xml:670
#, no-c-format
msgid ""
"You will also need to configure a <emphasis>managed persistence context</"
@@ -1484,7 +1534,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:651
+#: Configuration.xml:673
#, no-c-format
msgid ""
"<![CDATA[<persistence:managed-persistence-context name=\"entityManager\"\n"
@@ -1493,13 +1543,13 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:658
+#: Configuration.xml:680
#, no-c-format
msgid "We can package our application as a WAR, in the following structure:"
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:660
+#: Configuration.xml:682
#, no-c-format
msgid ""
"<![CDATA[my-application.war/\n"
@@ -1536,7 +1586,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:662
+#: Configuration.xml:684
#, no-c-format
msgid ""
"If we want to deploy Hibernate in a non-EE environment like Tomcat or "
@@ -1544,13 +1594,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:669
+#: Configuration.xml:691
#, no-c-format
msgid "Configuring Seam in Java SE, without JBoss Embedded"
msgstr ""
#. Tag: para
-#: Configuration.xml:671
+#: Configuration.xml:693
#, no-c-format
msgid ""
"It is possible to use Seam completely outside of an EE environment. In this "
@@ -1560,7 +1610,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:675
+#: Configuration.xml:697
#, no-c-format
msgid ""
"<![CDATA[<transaction:entity-transaction entity-manager=\"#{entityManager}\"/"
@@ -1568,7 +1618,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:677
+#: Configuration.xml:699
#, no-c-format
msgid ""
"If you're using Hibernate, you can tell Seam to use the Hibernate "
@@ -1576,32 +1626,32 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:679
+#: Configuration.xml:701
#, no-c-format
msgid "<![CDATA[<transaction:hibernate-transaction session=\"#{session}\"/>]]>"
msgstr ""
#. Tag: para
-#: Configuration.xml:681
+#: Configuration.xml:703
#, no-c-format
msgid "Of course, you'll also need to define a datasource."
msgstr ""
#. Tag: para
-#: Configuration.xml:683
+#: Configuration.xml:705
#, no-c-format
msgid ""
"A better alternative is to use JBoss Embedded to get access to the EE APIs."
msgstr ""
#. Tag: title
-#: Configuration.xml:688
+#: Configuration.xml:710
#, no-c-format
msgid "Configuring Seam in Java SE, with JBoss Embedded"
msgstr ""
#. Tag: para
-#: Configuration.xml:690
+#: Configuration.xml:712
#, no-c-format
msgid ""
"JBoss Embedded lets you run EJB3 components outside the context of the Java "
@@ -1610,7 +1660,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:693
+#: Configuration.xml:715
#, no-c-format
msgid ""
"The Seam booking example application includes a TestNG integration test "
@@ -1618,19 +1668,19 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:705
+#: Configuration.xml:727
#, no-c-format
msgid "The booking example application may even be deployed to Tomcat."
msgstr ""
#. Tag: title
-#: Configuration.xml:717
+#: Configuration.xml:739
#, no-c-format
msgid "Installing Embedded JBoss"
msgstr ""
#. Tag: para
-#: Configuration.xml:720
+#: Configuration.xml:742
#, no-c-format
msgid ""
"Embedded JBoss must by installed into Tomcat for Seam applications to run "
@@ -1643,7 +1693,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:734
+#: Configuration.xml:756
#, no-c-format
msgid ""
"Copy all files and directories under the Embedded JBoss <literal>bootstrap</"
@@ -1653,7 +1703,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:741
+#: Configuration.xml:763
#, no-c-format
msgid ""
"Remove the <literal>annotations-api.jar</literal> file from the Tomcat "
@@ -1661,7 +1711,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:747
+#: Configuration.xml:769
#, no-c-format
msgid ""
"Next, two configuration files need to be updated to add Embedded JBoss-"
@@ -1669,7 +1719,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:753
+#: Configuration.xml:775
#, no-c-format
msgid ""
"Add the Embedded JBoss listener <literal>EmbeddedJBossBootstrapListener</"
@@ -1678,7 +1728,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:756
+#: Configuration.xml:778
#, no-c-format
msgid ""
"<![CDATA[<Server port=\"8005\" shutdown=\"SHUTDOWN\">\n"
@@ -1696,7 +1746,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:757
+#: Configuration.xml:779
#, no-c-format
msgid ""
"<![CDATA[ <!-- Add this listener -->\n"
@@ -1705,7 +1755,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:761
+#: Configuration.xml:783
#, no-c-format
msgid ""
"WAR file scanning should be enabled by adding the <literal>WebinfScanner</"
@@ -1713,7 +1763,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:764
+#: Configuration.xml:786
#, no-c-format
msgid ""
"<![CDATA[<Context>\n"
@@ -1728,7 +1778,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:765
+#: Configuration.xml:787
#, no-c-format
msgid ""
"<![CDATA[ <!-- Add this listener -->\n"
@@ -1736,13 +1786,13 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:766
+#: Configuration.xml:788
#, no-c-format
msgid "<![CDATA[</Context>]]>"
msgstr ""
#. Tag: para
-#: Configuration.xml:770
+#: Configuration.xml:792
#, no-c-format
msgid ""
"If you are using Sun JDK 6, you need to set the Java option <literal>sun."
@@ -1752,7 +1802,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:775
+#: Configuration.xml:797
#, no-c-format
msgid ""
"Open the script appropriate for your operating system in a text editor. Add "
@@ -1762,7 +1812,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:779
+#: Configuration.xml:801
#, no-c-format
msgid ""
"<![CDATA[set JAVA_OPTS=%JAVA_OPTS% -Dsun.lang.ClassLoader."
@@ -1770,13 +1820,13 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:781
+#: Configuration.xml:803
#, no-c-format
msgid "On Unix, use this syntax instead:"
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:783
+#: Configuration.xml:805
#, no-c-format
msgid ""
"<![CDATA[JAVA_OPTS=\"$JAVA_OPTS -Dsun.lang.ClassLoader.allowArraySyntax=true"
@@ -1784,7 +1834,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:788
+#: Configuration.xml:810
#, no-c-format
msgid ""
"For more configuration options, please see the Embedded JBoss Tomcat "
@@ -1793,7 +1843,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:796
+#: Configuration.xml:818
#, no-c-format
msgid ""
"The archive structure of a WAR-based deployment on an servlet engine like "
@@ -1801,7 +1851,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:799
+#: Configuration.xml:821
#, no-c-format
msgid ""
"<![CDATA[my-application.war/\n"
@@ -1839,7 +1889,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:801
+#: Configuration.xml:823
#, no-c-format
msgid ""
"Most of the Seam example applications may be deployed to Tomcat by running "
@@ -1847,13 +1897,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:809
+#: Configuration.xml:831
#, no-c-format
msgid "Configuring jBPM in Seam"
msgstr ""
#. Tag: para
-#: Configuration.xml:810
+#: Configuration.xml:832
#, no-c-format
msgid ""
"Seam's jBPM integration is not installed by default, so you'll need to "
@@ -1863,7 +1913,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:814
+#: Configuration.xml:836
#, no-c-format
msgid ""
"<![CDATA[<bpm:jbpm>\n"
@@ -1879,7 +1929,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:816
+#: Configuration.xml:838
#, no-c-format
msgid ""
"No further special configuration is needed if you only have pageflows. If "
@@ -1890,7 +1940,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:821
+#: Configuration.xml:843
#, no-c-format
msgid ""
"<![CDATA[<jbpm-configuration>\n"
@@ -1920,7 +1970,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:823
+#: Configuration.xml:845
#, no-c-format
msgid ""
"The most important thing to notice here is that jBPM transaction control is "
@@ -1928,7 +1978,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:829
+#: Configuration.xml:851
#, no-c-format
msgid ""
"There is not yet any well-defined packaging format for jBPM configuration "
@@ -1939,7 +1989,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:834
+#: Configuration.xml:856
#, no-c-format
msgid ""
"<![CDATA[my-application.ear/\n"
@@ -1986,13 +2036,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:841
+#: Configuration.xml:863
#, no-c-format
msgid "Configuring SFSB and Session Timeouts in JBoss AS"
msgstr ""
#. Tag: para
-#: Configuration.xml:843
+#: Configuration.xml:865
#, no-c-format
msgid ""
"It is very important that the timeout for Stateful Session Beans is set "
@@ -2004,7 +2054,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:849
+#: Configuration.xml:871
#, no-c-format
msgid ""
"The default SFSB timeout can be adjusted by modifying the value of "
@@ -2013,7 +2063,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:852
+#: Configuration.xml:874
#, no-c-format
msgid ""
"<![CDATA[<container-cache-conf>\n"
@@ -2038,7 +2088,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:854
+#: Configuration.xml:876
#, no-c-format
msgid ""
"The default HTTP session timeout can be modified in <literal>server/default/"
@@ -2049,7 +2099,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:859
+#: Configuration.xml:881
#, no-c-format
msgid ""
"<![CDATA[<session-config>\n"
@@ -2059,7 +2109,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:861
+#: Configuration.xml:883
#, no-c-format
msgid ""
"To override this value for your own application, simply include this entry "
@@ -2067,13 +2117,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:867
+#: Configuration.xml:889
#, no-c-format
msgid "Running Seam in a Portlet"
msgstr ""
#. Tag: para
-#: Configuration.xml:869
+#: Configuration.xml:891
#, no-c-format
msgid ""
"If you want to run your Seam application in a portlet, take a look at the "
@@ -2084,13 +2134,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:880
+#: Configuration.xml:902
#, no-c-format
msgid "Deploying custom resources"
msgstr ""
#. Tag: para
-#: Configuration.xml:882
+#: Configuration.xml:904
#, no-c-format
msgid ""
"Seam scans all jars containing <literal>/seam.properties</literal>, "
@@ -2101,7 +2151,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:889
+#: Configuration.xml:911
#, no-c-format
msgid ""
"You may also want Seam to handle custom resources. A common use case is to "
@@ -2111,7 +2161,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:896
+#: Configuration.xml:918
#, no-c-format
msgid ""
"<![CDATA[# A colon-separated list of annotation types to handle\n"
@@ -2119,7 +2169,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:898
+#: Configuration.xml:920
#, no-c-format
msgid ""
"Then, during application startup you can get hold of all classes annotated "
@@ -2127,7 +2177,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:903
+#: Configuration.xml:925
#, no-c-format
msgid ""
"<![CDATA[@Name(\"fooStartup\")\n"
@@ -2159,7 +2209,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:905
+#: Configuration.xml:927
#, no-c-format
msgid ""
"You can also handle <emphasis>any</emphasis> resource. For example, you "
@@ -2168,7 +2218,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:911
+#: Configuration.xml:933
#, no-c-format
msgid ""
"<![CDATA[public class FooDeploymentHandler implements DeploymentHandler {\n"
@@ -2192,7 +2242,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:913
+#: Configuration.xml:935
#, no-c-format
msgid ""
"Here we are just building a list of any files with the suffix <literal>.foo."
@@ -2200,7 +2250,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:918
+#: Configuration.xml:940
#, no-c-format
msgid ""
"Then, we need to register the deployment handler with Seam in <literal>/META-"
@@ -2209,7 +2259,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:925
+#: Configuration.xml:947
#, no-c-format
msgid ""
"<![CDATA[# For standard deployment\n"
@@ -2220,7 +2270,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:931
+#: Configuration.xml:953
#, no-c-format
msgid ""
"Seam uses deployment handlers internally to install components and "
@@ -2229,7 +2279,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:937
+#: Configuration.xml:959
#, no-c-format
msgid ""
"<![CDATA[@Name(\"fooStartup\")\n"
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/zh-CN/Webservices.po
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/zh-CN/Webservices.po 2009-08-26 19:14:02 UTC (rev 11432)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/zh-CN/Webservices.po 2009-08-26 19:19:33 UTC (rev 11433)
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-07-08 14:32+0000\n"
+"POT-Creation-Date: 2009-08-26 18:48+0000\n"
"PO-Revision-Date: 2008-04-04 01:24+0000\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
@@ -392,48 +392,56 @@
#: Webservices.xml:186
#, no-c-format
msgid ""
-"The URI starts with the pattern mapped in <literal>web.xml</literal> for the "
+"The URI starts with the host and context path of your application, e.g. "
+"<literal>http://your.hostname/myapp</literal>."
+msgstr ""
+
+#. Tag: para
+#: Webservices.xml:192
+#, no-c-format
+msgid ""
+"Then the pattern mapped in <literal>web.xml</literal> for the "
"<literal>SeamResourceServlet</literal>, e.g <literal>/seam/resource</"
-"literal> if you follow the common examples. Change this setting to expose "
-"your RESTful resources under a different base. Note that this is a global "
-"change and other Seam resources (e.g. <literal>s:graphicImage</literal>) are "
-"then also served under that base path."
+"literal> if you follow the common examples, is appended. Change this setting "
+"to expose your RESTful resources under a different base. Note that this is a "
+"global change and other Seam resources (e.g. <literal>s:graphicImage</"
+"literal>) are then also served under that base path."
msgstr ""
#. Tag: para
-#: Webservices.xml:195
+#: Webservices.xml:201
#, no-c-format
msgid ""
"The RESTEasy integration for Seam then appends a configurable string to the "
"base path, by default this is <literal>/rest</literal>. Hence, the full base "
-"path of your resources would e.g. be <literal>/seam/resource/rest</literal>. "
-"We recommend that you change this string in your application, you could for "
-"example add a version number to prepare for a future REST API upgrade of "
-"your services (old clients would keep the old URI base): <literal>/seam/"
-"resource/restv1</literal>."
+"path of your resources would e.g. be <literal>/myapp/seam/resource/rest</"
+"literal>. We recommend that you change this string in your application, you "
+"could for example add a version number to prepare for a future REST API "
+"upgrade of your services (old clients would keep the old URI base): "
+"<literal>/myapp/seam/resource/restv1</literal>."
msgstr ""
#. Tag: para
-#: Webservices.xml:204
+#: Webservices.xml:210
#, no-c-format
msgid ""
"Finally, the actual resource is available under the defined <literal>@Path</"
"literal>, e.g. a resource mapped with <literal>@Path(\"/customer\")</"
-"literal> would be available under <literal>/seam/resource/rest/customer</"
-"literal>."
+"literal> would be available under <literal>/myapp/seam/resource/rest/"
+"customer</literal>."
msgstr ""
#. Tag: para
-#: Webservices.xml:212
+#: Webservices.xml:218
#, no-c-format
msgid ""
"As an example, the following resource definition would return a plaintext "
"representation for any GET requests using the URI <literal>http://your."
-"hostname/seam/resource/rest/customer/123</literal>:"
+"hostname/myapp/seam/resource/rest/customer/123</literal>:"
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:217
+#: Webservices.xml:223
#, no-c-format
msgid ""
"<![CDATA[@Path(\"/customer\")\n"
@@ -450,7 +458,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:219
+#: Webservices.xml:225
#, no-c-format
msgid ""
"No additional configuration is required, you do not have to edit "
@@ -461,7 +469,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:225
+#: Webservices.xml:231
#, no-c-format
msgid ""
"<![CDATA[<components\n"
@@ -476,63 +484,39 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:227
+#: Webservices.xml:233
#, no-c-format
msgid ""
"You can then change the <literal>/rest</literal> prefix as mentioned earlier:"
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:231
+#: Webservices.xml:237
#, no-c-format
msgid "<![CDATA[<resteasy:application resource-path-prefix=\"/restv1\"/>]]>"
msgstr ""
#. Tag: para
-#: Webservices.xml:233
-#, no-c-format
-msgid ""
-"The full base path to your resources is now <literal>/seam/resource/restv1/"
-"{resource}</literal> - note that your <literal>@Path</literal> definitions "
-"and mappings do NOT change. This is an application-wide switch usually used "
-"for versioning of the HTTP API."
-msgstr ""
-
-#. Tag: para
#: Webservices.xml:239
#, no-c-format
msgid ""
-"You can disable stripping of the base path if you'd like to map the full "
-"path in your resources:"
+"The full base path to your resources is now <literal>/myapp/seam/resource/"
+"restv1/{resource}</literal> - note that your <literal>@Path</literal> "
+"definitions and mappings do NOT change. This is an application-wide switch "
+"usually used for versioning of the HTTP interface."
msgstr ""
-#. Tag: programlisting
-#: Webservices.xml:243
-#, no-c-format
-msgid "<![CDATA[<resteasy:application strip-seam-resource-path=\"false\"/>]]>"
-msgstr ""
-
#. Tag: para
#: Webservices.xml:245
#, no-c-format
msgid ""
-"The path of a resource is now mapped with e.g. <literal>@Path(\"/seam/"
-"resource/rest/customer\")</literal>. We do not recommend disabling this "
-"feature, as your resource class mappings are then bound to a particular "
-"deployment scenario."
-msgstr ""
-
-#. Tag: para
-#: Webservices.xml:251
-#, no-c-format
-msgid ""
"Seam will scan your classpath for any deployed <literal>@javax.ws.rs.Path</"
"literal> resources and any <literal>@javax.ws.rs.ext.Provider</literal> "
"classes. You can disable scanning and configure these classes manually:"
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:257
+#: Webservices.xml:251
#, no-c-format
msgid ""
"<![CDATA[<resteasy:application\n"
@@ -554,7 +538,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:259
+#: Webservices.xml:253
#, no-c-format
msgid ""
"The <literal>use-built-in-providers</literal> switch enables (default) or "
@@ -564,7 +548,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:265
+#: Webservices.xml:259
#, no-c-format
msgid ""
"RESTEasy supports plain EJBs (EJBs that are not Seam components) as "
@@ -576,20 +560,21 @@
"<literal>@Path</literal>, <literal>@GET</literal>, and so on - not the bean "
"implementation class. This allows you to keep your application deployment-"
"portable with the global Seam <literal>jndi-pattern</literal> switch on "
-"<literal><core:init/></literal>. Note that EJB resources will not be "
-"found even if scanning of resources is enabled, you always have to list them "
-"manually. Again, this is only relevant for EJB resources that are not also "
-"Seam components and that do not have a <literal>@Name</literal> annotation."
+"<literal><core:init/></literal>. Note that plain (non-Seam component) "
+"EJB resources will not be found even if scanning of resources is enabled, "
+"you always have to list them manually. Again, this whole paragraph is only "
+"relevant for EJB resources that are not also Seam components and that do not "
+"have an <literal>@Name</literal> annotation."
msgstr ""
#. Tag: para
-#: Webservices.xml:277
+#: Webservices.xml:272
#, no-c-format
msgid "Finally, you can configure media type and language URI extensions:"
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:281
+#: Webservices.xml:276
#, no-c-format
msgid ""
"<![CDATA[<resteasy:application>\n"
@@ -606,7 +591,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:283
+#: Webservices.xml:278
#, no-c-format
msgid ""
"This definition would map the URI suffix of <literal>.txt.deutsch</literal> "
@@ -616,13 +601,13 @@
msgstr ""
#. Tag: title
-#: Webservices.xml:292
+#: Webservices.xml:287
#, no-c-format
msgid "Resources and providers as Seam components"
msgstr ""
#. Tag: para
-#: Webservices.xml:294
+#: Webservices.xml:289
#, no-c-format
msgid ""
"Any resource and provider instances are managed by RESTEasy by default. That "
@@ -633,7 +618,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:301
+#: Webservices.xml:296
#, no-c-format
msgid ""
"You can write resources and providers as Seam components and benefit from "
@@ -642,7 +627,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:307
+#: Webservices.xml:302
#, no-c-format
msgid ""
"<![CDATA[@Name(\"customerResource\")\n"
@@ -663,7 +648,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:309
+#: Webservices.xml:304
#, no-c-format
msgid ""
"An instance of <literal>customerResource</literal> is now handled by Seam "
@@ -677,7 +662,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:318
+#: Webservices.xml:313
#, no-c-format
msgid ""
"You can annotate an interface and keep the implementation free from JAX-RS "
@@ -685,7 +670,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:322
+#: Webservices.xml:317
#, no-c-format
msgid ""
"<![CDATA[@Path(\"/customer\")\n"
@@ -700,7 +685,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:324
+#: Webservices.xml:319
#, no-c-format
msgid ""
"<![CDATA[@Name(\"customerResource\")\n"
@@ -718,7 +703,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:326
+#: Webservices.xml:321
#, no-c-format
msgid ""
"You can use <literal>SESSION</literal>-scoped Seam components. By default, "
@@ -733,7 +718,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:335
+#: Webservices.xml:330
#, no-c-format
msgid ""
"Assuming that your Seam application only uses event, application, or "
@@ -745,7 +730,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:342
+#: Webservices.xml:337
#, no-c-format
msgid ""
"If your RESTful Seam application has to preserve session state across REST "
@@ -753,14 +738,14 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:347
+#: Webservices.xml:342
#, no-c-format
msgid ""
"<![CDATA[<resteasy:application destroy-session-after-request=\"false\"/>]]>"
msgstr ""
#. Tag: para
-#: Webservices.xml:349
+#: Webservices.xml:344
#, no-c-format
msgid ""
"Every REST HTTP request will now create a new session that will only be "
@@ -771,7 +756,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:356
+#: Webservices.xml:351
#, no-c-format
msgid ""
"<literal>CONVERSATION</literal>-scoped resource components and mapping of "
@@ -780,7 +765,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:361
+#: Webservices.xml:356
#, no-c-format
msgid ""
"EJB Seam components are supported. Always annotate the local business "
@@ -789,7 +774,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:366
+#: Webservices.xml:361
#, no-c-format
msgid ""
"Provider classes can also be Seam components, only <literal>APPLICATION</"
@@ -799,13 +784,13 @@
msgstr ""
#. Tag: title
-#: Webservices.xml:375
+#: Webservices.xml:370
#, no-c-format
msgid "Securing resources"
msgstr ""
#. Tag: para
-#: Webservices.xml:377
+#: Webservices.xml:372
#, no-c-format
msgid ""
"You can enable the Seam authentication filter for HTTP Basic and Digest "
@@ -813,7 +798,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:382
+#: Webservices.xml:377
#, no-c-format
msgid ""
"<![CDATA[<web:authentication-filter url-pattern=\"/seam/resource/rest/*\" "
@@ -821,14 +806,14 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:384
+#: Webservices.xml:379
#, no-c-format
msgid ""
"See the Seam security chapter on how to write an authentication routine."
msgstr ""
#. Tag: para
-#: Webservices.xml:388
+#: Webservices.xml:383
#, no-c-format
msgid ""
"After successful authentication, authorization rules with the common "
@@ -839,13 +824,13 @@
msgstr ""
#. Tag: title
-#: Webservices.xml:398
+#: Webservices.xml:393
#, no-c-format
msgid "Mapping exceptions to HTTP responses"
msgstr ""
#. Tag: para
-#: Webservices.xml:400
+#: Webservices.xml:395
#, no-c-format
msgid ""
"Section 3.3.4 of the JAX-RS specification defines how checked or unchecked "
@@ -858,7 +843,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:408
+#: Webservices.xml:403
#, no-c-format
msgid ""
"Exception handling within Seam requires that the Seam filter is executed for "
@@ -870,7 +855,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:415
+#: Webservices.xml:410
#, no-c-format
msgid ""
"<![CDATA[<filter>\n"
@@ -885,7 +870,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:417
+#: Webservices.xml:412
#, no-c-format
msgid ""
"To convert the unchecked <literal>UnsupportedOperationException</literal> "
@@ -895,7 +880,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:423
+#: Webservices.xml:418
#, no-c-format
msgid ""
"<![CDATA[<exception class=\"java.lang.UnsupportedOperationException\">\n"
@@ -906,13 +891,13 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:425
+#: Webservices.xml:420
#, no-c-format
msgid "Custom or checked exceptions are handled the same:"
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:429
+#: Webservices.xml:424
#, no-c-format
msgid ""
"<![CDATA[<exception class=\"my.CustomException\" log=\"false\">\n"
@@ -924,7 +909,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:431
+#: Webservices.xml:426
#, no-c-format
msgid ""
"You do not have to send an HTTP error to the client if an exception occurs. "
@@ -935,7 +920,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:438
+#: Webservices.xml:433
#, no-c-format
msgid ""
"Note that the HTTP response still passes through the servlet container, so "
@@ -946,13 +931,13 @@
msgstr ""
#. Tag: title
-#: Webservices.xml:447
+#: Webservices.xml:442
#, no-c-format
msgid "Testing resources and providers"
msgstr ""
#. Tag: para
-#: Webservices.xml:449
+#: Webservices.xml:444
#, no-c-format
msgid ""
"Seam includes a unit testing utility class that helps you create unit tests "
@@ -962,7 +947,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:455
+#: Webservices.xml:450
#, no-c-format
msgid ""
"<![CDATA[import org.jboss.seam.mock.ResourceRequestEnvironment;\n"
@@ -1019,7 +1004,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:457
+#: Webservices.xml:452
#, no-c-format
msgid ""
"This test only executes local calls, it does not communicate with the "
@@ -1032,7 +1017,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:465
+#: Webservices.xml:460
#, no-c-format
msgid ""
"Note that a <literal>ResourceRequest</literal> has to be executed in a "
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/zh-CN/Websphere.po
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/zh-CN/Websphere.po 2009-08-26 19:14:02 UTC (rev 11432)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/zh-CN/Websphere.po 2009-08-26 19:19:33 UTC (rev 11433)
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-08-22 13:17+0000\n"
+"POT-Creation-Date: 2009-08-26 18:48+0000\n"
"PO-Revision-Date: 2008-04-04 01:24+0000\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
@@ -76,25 +76,27 @@
#, no-c-format
msgid ""
"The following sections in this chapter assume that WebSphere is correctly "
-"installed and is functional, and a profile has been successfully created."
+"installed and is functional, and a WebSphere \"profile\" has been "
+"successfully created."
msgstr ""
#. Tag: para
#: Websphere.xml:40
#, no-c-format
msgid ""
-"This chapter explain how to compile, deploy and run some sample applications "
-"in WebSphere. These sample applications require a database. WebSphere comes "
-"by default with a set of sample applications called \"Default Application\". "
-"This set of sample applications use a Derby database running on the Derby "
-"instance installed with WebSphere. In order to keep this simple we'll use "
-"this Derby database created for the \"Default Applications\". However, to "
-"run the sample application with the Derby database \"as-is\", a patched "
-"Hibernate dialect must be used (The patch changes the default \"auto\" key "
-"generation strategy) as explained in <xref linkend=\"glassfish\"/>. If you "
-"want to use another database, it's just a matter of creating a connection "
-"pool in WebSphere pointing to this database, declare the correct Hibernate "
-"dialect and set the correct JNDI name in <literal>persistence.xml</literal>."
+"This chapter explains how to compile, deploy and run some sample "
+"applications in WebSphere. These sample applications require a database. "
+"WebSphere comes by default with a set of sample applications called "
+"\"Default Application\". This set of sample applications use a Derby "
+"database running on the Derby instance installed within WebSphere. In order "
+"to keep this simple we'll use this Derby database created for the \"Default "
+"Applications\". However, to run the sample application with the Derby "
+"database \"as-is\", a patched Hibernate dialect must be used (The patch "
+"changes the default \"auto\" key generation strategy) as explained in <xref "
+"linkend=\"glassfish\"/>. If you want to use another database, it's just a "
+"matter of creating a connection pool in WebSphere pointing to this database, "
+"declare the correct Hibernate dialect and set the correct JNDI name in "
+"<literal>persistence.xml</literal>."
msgstr ""
#. Tag: title
@@ -144,14 +146,14 @@
#, no-c-format
msgid ""
"On the right navigation menu, select <literal>Web Container Settings/Web "
-"container</literal>)"
+"container</literal>"
msgstr ""
#. Tag: listitem
#: Websphere.xml:73
#, no-c-format
msgid ""
-"On the right navigation menu, select <literal>custom properties</literal>) "
+"On the right navigation menu, select <literal>custom properties</literal> "
"and add the following properties:"
msgstr ""
@@ -170,7 +172,7 @@
#. Tag: listitem
#: Websphere.xml:84
#, no-c-format
-msgid "Save and restart the server"
+msgid "Save the configuration and restart the server"
msgstr ""
#. Tag: title
@@ -189,38 +191,38 @@
msgstr ""
#. Tag: listitem
-#: Websphere.xml:97
+#: Websphere.xml:96
#, no-c-format
msgid ""
"The global <literal>jndi-pattern</literal> switch on the <literal><core:"
-"init></literal>. in <literal>components.xml</literal>. The switch can use "
-"a special placeholder \"<literal>#{ejbName}</literal>\" that resolves to the "
-"unqualified name of the EJB"
+"init></literal>tag in <literal>components.xml</literal>. The switch can "
+"use a special placeholder \"<literal>#{ejbName}</literal>\" that resolves to "
+"the unqualified name of the EJB"
msgstr ""
#. Tag: para
-#: Websphere.xml:102
+#: Websphere.xml:100
#, no-c-format
msgid "The <literal>@JndiName</literal> annotation"
msgstr ""
#. Tag: para
-#: Websphere.xml:108
+#: Websphere.xml:106
#, no-c-format
msgid "gives detailed explanations on how those mechanisms work."
msgstr ""
#. Tag: para
-#: Websphere.xml:112
+#: Websphere.xml:110
#, no-c-format
msgid ""
-"By default, WebSphere will bind the session bean in its local JNDI name "
-"space under a \"short\" binding name that adheres to the following pattern "
+"By default, WebSphere will bind session beans in its local JNDI name space "
+"under a \"short\" binding name that adheres to the following pattern "
"<literal>ejblocal:<package.qualified.local.interface.name></literal>."
msgstr ""
#. Tag: para
-#: Websphere.xml:117
+#: Websphere.xml:115
#, no-c-format
msgid ""
"For a detailed description on how WebSphere v7 organizes and binds EJBs in "
@@ -228,7 +230,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:120
+#: Websphere.xml:118
#, no-c-format
msgid ""
"As explained before, Seam needs to lookup for session bean as they appear in "
@@ -236,35 +238,35 @@
msgstr ""
#. Tag: listitem
-#: Websphere.xml:124
+#: Websphere.xml:121
#, no-c-format
msgid ""
"Specify which JNDI name Seam must use for each session bean using the "
-"<literal>@JndiName</literal> annotation in the java source file"
+"<literal>@JndiName</literal> annotation in the java source file,"
msgstr ""
#. Tag: listitem
-#: Websphere.xml:127
+#: Websphere.xml:123
#, no-c-format
msgid ""
"Override the default session bean names generated by WebSphere to conform to "
-"the <literal>jndi-pattern</literal> attribute"
+"the <literal>jndi-pattern</literal> attribute,"
msgstr ""
#. Tag: listitem
-#: Websphere.xml:130
+#: Websphere.xml:126
#, no-c-format
-msgid "Use EJB references"
+msgid "Use EJB references."
msgstr ""
#. Tag: title
-#: Websphere.xml:137
+#: Websphere.xml:133
#, no-c-format
msgid "Strategy 1: Specify which JNDI name Seam must use for each Session Bean"
msgstr ""
#. Tag: para
-#: Websphere.xml:138
+#: Websphere.xml:134
#, no-c-format
msgid ""
"This strategy is the simplest and fastest one regarding development. It uses "
@@ -272,7 +274,7 @@
msgstr ""
#. Tag: listitem
-#: Websphere.xml:141
+#: Websphere.xml:137
#, no-c-format
msgid ""
"Add a <literal>@JndiName(\"ejblocal:<package.qualified.local.interface."
@@ -280,20 +282,20 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:145 Websphere.xml:188
+#: Websphere.xml:141 Websphere.xml:184
#, no-c-format
msgid ""
"<para>In <literal>components.xml</literal>, add the following line:</para>"
msgstr ""
#. Tag: programlisting
-#: Websphere.xml:147 Websphere.xml:220
+#: Websphere.xml:143 Websphere.xml:216
#, no-c-format
msgid "<![CDATA[<core:init jndi-name=\"java:comp/env/#{ejbName}\" />]]>"
msgstr ""
#. Tag: para
-#: Websphere.xml:151
+#: Websphere.xml:147
#, no-c-format
msgid ""
"Add a file named <literal>WEB-INF/classes/seam-jndi.properties</literal> in "
@@ -301,7 +303,7 @@
msgstr ""
#. Tag: programlisting
-#: Websphere.xml:153
+#: Websphere.xml:149
#, no-c-format
msgid ""
"com.ibm.websphere.naming.hostname.normalizer=com.ibm.ws.naming.util."
@@ -323,13 +325,13 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:157
+#: Websphere.xml:153
#, no-c-format
msgid "At the end of <literal>web.xml</literal>, add the following lines:"
msgstr ""
#. Tag: programlisting
-#: Websphere.xml:159
+#: Websphere.xml:155
#, no-c-format
msgid ""
"<![CDATA[<ejb-local-ref>\n"
@@ -341,7 +343,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:164
+#: Websphere.xml:160
#, no-c-format
msgid ""
"That's all folks! No need to update any file during the development, nor to "
@@ -349,23 +351,23 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:167
+#: Websphere.xml:163
#, no-c-format
msgid ""
-"Compared to the other strategies, this strategy has the advantage not to "
-"have to manage any EJBs reference and also not to have to maintain extra "
+"Compared to the other strategies, this strategy has the advantage to not "
+"have to manage any EJBs reference and also to not have to maintain extra "
"files. The only drawback is one extra line in the java source code with the "
"<literal>@JndiName</literal> annotation"
msgstr ""
#. Tag: title
-#: Websphere.xml:174
+#: Websphere.xml:170
#, no-c-format
msgid "Strategy 2: Override the default names generated by WebSphere"
msgstr ""
#. Tag: section
-#: Websphere.xml:174
+#: Websphere.xml:170
#, no-c-format
msgid ""
"There is no simple way to globally override the default naming strategy for "
@@ -374,13 +376,13 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:177
+#: Websphere.xml:173
#, no-c-format
msgid "To use this strategy:"
msgstr ""
#. Tag: para
-#: Websphere.xml:181
+#: Websphere.xml:177
#, no-c-format
msgid ""
"Add a file named <literal>META-INF/ibm-ejb-jar-ext.xml</literal> in the EJB "
@@ -405,13 +407,13 @@
msgstr ""
#. Tag: programlisting
-#: Websphere.xml:190
+#: Websphere.xml:186
#, no-c-format
msgid "<![CDATA[<core:init jndi-name=\"ejblocal:#{ejbName}\" />]]>"
msgstr ""
#. Tag: para
-#: Websphere.xml:194
+#: Websphere.xml:190
#, no-c-format
msgid ""
"Add a file named <literal>WEB-INF/classes/seam-jndi.properties</literal> as "
@@ -419,7 +421,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:199
+#: Websphere.xml:195
#, no-c-format
msgid ""
"In <literal>web.xml</literal>, add the following lines (Note the different "
@@ -427,7 +429,7 @@
msgstr ""
#. Tag: programlisting
-#: Websphere.xml:201
+#: Websphere.xml:197
#, no-c-format
msgid ""
"<![CDATA[<ejb-local-ref>\n"
@@ -439,7 +441,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:206
+#: Websphere.xml:202
#, no-c-format
msgid ""
"Compared to the first strategy, this strategy requires to maintain an extra "
@@ -449,13 +451,13 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:215
+#: Websphere.xml:211
#, no-c-format
msgid "Strategy 3: Use EJB references"
msgstr ""
#. Tag: section
-#: Websphere.xml:215
+#: Websphere.xml:211
#, no-c-format
msgid ""
"This strategy is based on the usage of EJB references, from EJB to EJB and "
@@ -463,7 +465,7 @@
msgstr ""
#. Tag: listitem
-#: Websphere.xml:218
+#: Websphere.xml:214
#, no-c-format
msgid ""
"<listitem>In <literal>components.xml</literal>, add the following line:</"
@@ -471,7 +473,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:223
+#: Websphere.xml:219
#, no-c-format
msgid ""
"Follow the instructions in <xref linkend=\"config.integration.ejb.container"
@@ -479,7 +481,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:228
+#: Websphere.xml:224
#, no-c-format
msgid ""
"This is the most tedious strategy as each session bean referenced by another "
@@ -489,27 +491,27 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:239
+#: Websphere.xml:235
#, no-c-format
msgid "Configuring timeouts for Stateful Session Beans"
msgstr ""
#. Tag: para
-#: Websphere.xml:240
+#: Websphere.xml:236
#, no-c-format
msgid ""
"A timeout value has to be set for each stateful session bean used in the "
"application because stateful bean must not expire in WebSphere while Seam "
-"might still need thenm. At the time of writing this document, WebSphere does "
+"might still need them. At the time of writing this document, WebSphere does "
"not provide a way to configure a global timeout at neither the cluster, "
"server, application nor ejb-jar level. It has to be done for each stateful "
-"bean individually. This is done by adding a file named <literal>META-INF/ibm-"
-"ejb-jar-ext.xml</literal> in the EJB module, and declare the timeout value "
-"for each bean:"
+"bean individually. By default, the default timeout is 10 minutes. This is "
+"done by adding a file named <literal>META-INF/ibm-ejb-jar-ext.xml</literal> "
+"in the EJB module, and declare the timeout value for each bean:"
msgstr ""
#. Tag: programlisting
-#: Websphere.xml:246
+#: Websphere.xml:242
#, no-c-format
msgid ""
"<![CDATA[<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
@@ -529,24 +531,24 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:248
+#: Websphere.xml:244
#, no-c-format
msgid ""
"The <literal>time-out</literal> is expressed in seconds and must be higher "
"than the Seam conversation expiration timeout and a few minutes higher than "
"the user's HTTP session timeout (The session expiration timeout can trigger "
-"a few minutes after the number of minutes declared to expire s for the HTTP "
-"session expiration)."
+"a few minutes after the number of minutes declared to expire the HTTP "
+"session)."
msgstr ""
#. Tag: title
-#: Websphere.xml:257
+#: Websphere.xml:253
#, no-c-format
msgid "The <literal>jee5/booking</literal> example"
msgstr ""
#. Tag: para
-#: Websphere.xml:259
+#: Websphere.xml:255
#, no-c-format
msgid ""
"The<literal>jee5/booking</literal>example is based on the Hotel Booking "
@@ -557,23 +559,32 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:265
+#: Websphere.xml:261
#, no-c-format
msgid ""
-"For running this example, we'll use the second JNDI mapping strategy "
-"(\"Override the default names generated by WebSphere\") as we don't want to "
-"change the java code to add the <literal>@JndiName</literal> annotation as "
-"in the first strategy."
+"The example already has a breakout of configurations and build scripts for "
+"WebSphere. First thing, we are going to do is build and deploy this example. "
+"Then we'll go over some key changes that we needed."
msgstr ""
+#. Tag: para
+#: Websphere.xml:266
+#, no-c-format
+msgid ""
+"The tailored configuration files for WebSphere use the second JNDI mapping "
+"strategy (\"Override the default names generated by WebSphere\") as the goal "
+"was to not change any java code to add the <literal>@JndiName</literal> "
+"annotation as in the first strategy."
+msgstr ""
+
#. Tag: title
-#: Websphere.xml:271
+#: Websphere.xml:272
#, no-c-format
msgid "Building the <literal>jee5/booking</literal> example"
msgstr ""
#. Tag: para
-#: Websphere.xml:273
+#: Websphere.xml:274
#, no-c-format
msgid ""
"Building it only requires running the correct ant command: "
@@ -583,21 +594,21 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:280
+#: Websphere.xml:281
#, no-c-format
msgid "Deploying the <literal>jee5/booking</literal> example"
msgstr ""
#. Tag: para
-#: Websphere.xml:281
+#: Websphere.xml:282
#, no-c-format
msgid ""
-"The steps below are for the WAS version stated above.The ports are default "
-"values, if you changed them, you must substitute the values."
+"The steps below are for the WAS version stated above.The ports are the "
+"default values, if you changed them, you must substitute the values."
msgstr ""
#. Tag: listitem
-#: Websphere.xml:284
+#: Websphere.xml:285
#, no-c-format
msgid ""
"Log in to the administration console <programlisting><![CDATA[http://"
@@ -606,7 +617,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:291
+#: Websphere.xml:292
#, no-c-format
msgid ""
"Go to the <literal>WebSphere enterprise applications</literal> menu option "
@@ -615,7 +626,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:298
+#: Websphere.xml:299
#, no-c-format
msgid ""
"At the top of the <literal>Enterprise Applications</literal> table select "
@@ -624,13 +635,13 @@
msgstr ""
#. Tag: literal
-#: Websphere.xml:304
+#: Websphere.xml:305
#, no-c-format
msgid "Preparing for the application installation"
msgstr ""
#. Tag: para
-#: Websphere.xml:307
+#: Websphere.xml:308
#, no-c-format
msgid ""
"Browse to the <literal>examples/jee5/booking/dist-websphere7/jboss-seam-jee5."
@@ -638,25 +649,25 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:313 Websphere.xml:323 Websphere.xml:341
+#: Websphere.xml:314 Websphere.xml:324 Websphere.xml:342
#, no-c-format
msgid "Select the <literal>Next</literal> button."
msgstr ""
#. Tag: para
-#: Websphere.xml:318
+#: Websphere.xml:319
#, no-c-format
msgid "Select the <literal>Fast Path</literal> button."
msgstr ""
#. Tag: literal
-#: Websphere.xml:332
+#: Websphere.xml:333
#, no-c-format
msgid "Select installation options"
msgstr ""
#. Tag: para
-#: Websphere.xml:335
+#: Websphere.xml:336
#, no-c-format
msgid ""
"Select the <literal>Deploy enterprise beans and Allow EJB reference targets "
@@ -665,13 +676,13 @@
msgstr ""
#. Tag: literal
-#: Websphere.xml:350
+#: Websphere.xml:351
#, no-c-format
msgid "Map modules to servers"
msgstr ""
#. Tag: para
-#: Websphere.xml:353
+#: Websphere.xml:354
#, no-c-format
msgid ""
"No changes needed here as we only have one server. Select the <literal>Next</"
@@ -679,13 +690,13 @@
msgstr ""
#. Tag: literal
-#: Websphere.xml:362
+#: Websphere.xml:363
#, no-c-format
msgid "Map virtual hosts for Web modules"
msgstr ""
#. Tag: para
-#: Websphere.xml:365
+#: Websphere.xml:366
#, no-c-format
msgid ""
"No changes needed here as we only have one virtual host. Select the "
@@ -693,31 +704,31 @@
msgstr ""
#. Tag: literal
-#: Websphere.xml:374
+#: Websphere.xml:375
#, no-c-format
msgid "Summary"
msgstr ""
#. Tag: para
-#: Websphere.xml:377
+#: Websphere.xml:378
#, no-c-format
msgid "No changes needed here. Select the <literal>Finish</literal> button."
msgstr ""
#. Tag: literal
-#: Websphere.xml:384
+#: Websphere.xml:385
#, no-c-format
msgid "Installation"
msgstr ""
#. Tag: para
-#: Websphere.xml:387
+#: Websphere.xml:388
#, no-c-format
msgid "Now you will see WebSphere installing and deploying your application."
msgstr ""
#. Tag: para
-#: Websphere.xml:390
+#: Websphere.xml:391
#, no-c-format
msgid ""
"When done, select the <literal>Save</literal> link and you will be returned "
@@ -725,15 +736,15 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:399
+#: Websphere.xml:400
#, no-c-format
msgid ""
-"To start the application select our application in the list, then click on "
+"To start the application, select the application in the list, then click on "
"the <literal>Start</literal> button at the top of the table."
msgstr ""
#. Tag: para
-#: Websphere.xml:409
+#: Websphere.xml:410
#, no-c-format
msgid ""
"You can now access the application at <literal>http://localhost:9080/seam-"
@@ -741,13 +752,13 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:418
+#: Websphere.xml:419
#, no-c-format
msgid "Deviation from the original base files"
msgstr ""
#. Tag: section
-#: Websphere.xml:418
+#: Websphere.xml:419
#, no-c-format
msgid ""
"Below are the differences between the base configuration files and the "
@@ -756,7 +767,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:422
+#: Websphere.xml:423
#, no-c-format
msgid ""
"<literal>META-INF/ejb-jar.xml</literal> — Removed all the EJB "
@@ -764,37 +775,37 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:428
+#: Websphere.xml:429
#, no-c-format
msgid ""
"<literal>META-INF/ibm-ejb-jar-bnd.xml</literal> — This WebSphere "
"specific file has been added as we use the second JNDI mapping strategy. It "
-"defines, for each session bean, the name WebSphere will use to bind it its "
-"JNDI name space"
+"defines, for each session bean, the name WebSphere will use to bind it in "
+"its JNDI name space"
msgstr ""
#. Tag: para
-#: Websphere.xml:435
+#: Websphere.xml:436
#, no-c-format
msgid ""
"<literal>META-INF/ibm-ejb-jar-ext.xml</literal> — This WebSphere "
-"specific file defines to WebSphere, the timeout value for each stateful bean"
+"specific file defines the timeout value for each stateful bean"
msgstr ""
#. Tag: para
-#: Websphere.xml:441
+#: Websphere.xml:442
#, no-c-format
msgid ""
"<literal>META-INF/persistence.xml</literal> — The main changes here "
"are for the datasource JNDI path, switching to the WebSphere transaction "
"manager lookup class, turning off the <literal>hibernate.transaction."
"flush_before_completion</literal> toggle, and forcing the Hibernate dialect "
-"to be <literal>GlassfishDerbyDialect</literal> how as using the integrated "
-"Derby database"
+"to be <literal>GlassfishDerbyDialect</literal> as we are using the "
+"integrated Derby database"
msgstr ""
#. Tag: para
-#: Websphere.xml:451
+#: Websphere.xml:452
#, no-c-format
msgid ""
"<literal>WEB-INF/components.xml</literal> — the change here is "
@@ -803,7 +814,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:459
+#: Websphere.xml:460
#, no-c-format
msgid ""
"<literal>WEB-INF/web.xml</literal> — Remove all the <literal>ejb-local "
@@ -813,7 +824,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:467 Websphere.xml:549
+#: Websphere.xml:468
#, no-c-format
msgid ""
"<literal>import.sql</literal> — due to the cutomized hibernate Derby "
@@ -822,7 +833,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:474
+#: Websphere.xml:475
#, no-c-format
msgid ""
"Also the build procedure has been changed to include the <literal>log4j.jar</"
@@ -831,13 +842,13 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:486
+#: Websphere.xml:487
#, no-c-format
msgid "The <literal>jpa</literal> booking example"
msgstr ""
#. Tag: para
-#: Websphere.xml:488
+#: Websphere.xml:489
#, no-c-format
msgid ""
"This is the Hotel Booking example implemented in Seam POJOs and using "
@@ -845,7 +856,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:493
+#: Websphere.xml:494
#, no-c-format
msgid ""
"The example already has a breakout of configurations and build scripts for "
@@ -853,7 +864,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:498
+#: Websphere.xml:499
#, no-c-format
msgid ""
"First thing, we are going to do is build and deploy that example. Then we'll "
@@ -861,13 +872,13 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:504
+#: Websphere.xml:505
#, no-c-format
msgid "Building the <literal>jpa</literal> example"
msgstr ""
#. Tag: para
-#: Websphere.xml:505
+#: Websphere.xml:506
#, no-c-format
msgid ""
"Building it only requires running the correct ant command: "
@@ -877,13 +888,13 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:514
+#: Websphere.xml:515
#, no-c-format
msgid "Deploying the <literal>jpa</literal> example"
msgstr ""
#. Tag: para
-#: Websphere.xml:515
+#: Websphere.xml:516
#, no-c-format
msgid ""
"Deploying <literal>jpa</literal> application is very similar to the "
@@ -894,7 +905,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:521
+#: Websphere.xml:522
#, no-c-format
msgid ""
"Follow the same instructions as for the <literal>jee5/booking</literal> "
@@ -902,11 +913,11 @@
"literal> file on the first page and on the <literal>Map context roots for "
"Web modules</literal> page (after the <literal>Map virtual host for Web "
"module</literal>), enter the context root you want to use for your "
-"application in the <literal>Contect Root</literal> input field."
+"application in the <literal>Context Root</literal> input field."
msgstr ""
#. Tag: para
-#: Websphere.xml:528
+#: Websphere.xml:529
#, no-c-format
msgid ""
"When started, you can now access the application at the <literal>http://"
@@ -914,13 +925,13 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:534
+#: Websphere.xml:535
#, no-c-format
msgid "Deviation from the generic base files"
msgstr ""
#. Tag: section
-#: Websphere.xml:534
+#: Websphere.xml:535
#, no-c-format
msgid ""
"Below are the configuration file differences between the base configuration "
@@ -929,7 +940,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:539
+#: Websphere.xml:540
#, no-c-format
msgid ""
"<literal>META-INF/persistence.xml</literal> — The main changes here "
@@ -941,9 +952,18 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:556
+#: Websphere.xml:550
#, no-c-format
msgid ""
+"<literal>import.sql</literal> — due to the customized hibernate Derby "
+"dialect, the <literal>ID</literal> column can not be populated by this file "
+"and was removed."
+msgstr ""
+
+#. Tag: para
+#: Websphere.xml:557
+#, no-c-format
+msgid ""
"Also the build procedure have been changed to include the <literal>log4j."
"jar</literal> file and exclude the <literal>concurrent.jar</literal> and "
"<literal>jboss-common-core.jar</literal> files."
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/zh-TW/Configuration.po
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/zh-TW/Configuration.po 2009-08-26 19:14:02 UTC (rev 11432)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/zh-TW/Configuration.po 2009-08-26 19:19:33 UTC (rev 11433)
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-05-05 12:31+0000\n"
+"POT-Creation-Date: 2009-08-26 18:47+0000\n"
"PO-Revision-Date: 2008-04-04 01:24+0000\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
@@ -677,13 +677,63 @@
msgstr ""
#. Tag: title
+#: Configuration.xml:325
+#, no-c-format
+msgid "Enabling HTTP cache-control headers"
+msgstr ""
+
+#. Tag: para
#: Configuration.xml:326
#, no-c-format
+msgid ""
+"Seam does <emphasis>not</emphasis> automatically add <literal>cache-control</"
+"literal> HTTP headers to any resources served by the Seam resource servlet, "
+"or directly from your view directory by the servlet container. This means "
+"that your images, Javascript and CSS files, and resource representations "
+"from Seam resource servlet such as Seam Remoting Javascript interfaces are "
+"usually not cached by the browser. This is convenient in development but "
+"should be changed in production when optimizing the application."
+msgstr ""
+
+#. Tag: para
+#: Configuration.xml:334
+#, no-c-format
+msgid ""
+"You can configure a Seam filter to enable automatic addition of "
+"<literal>cache-control</literal> headers depending on the requested URI in "
+"<literal>components.xml</literal>:"
+msgstr ""
+
+#. Tag: programlisting
+#: Configuration.xml:339
+#, no-c-format
+msgid ""
+"<![CDATA[<web:cache-control-filter name=\"commonTypesCacheControlFilter\"\n"
+" regex-url-pattern=\".*(\\.gif|\\.png|\\.jpg|\\."
+"jpeg|\\.css|\\.js)\"\n"
+" value=\"max-age=86400\"/> <!-- 1 day -->\n"
+"\n"
+"<web:cache-control-filter name=\"anotherCacheControlFilter\"\n"
+" url-pattern=\"/my/cachable/resources/*\"\n"
+" value=\"max-age=432000\"/> <!-- 5 days -->]]>"
+msgstr ""
+
+#. Tag: para
+#: Configuration.xml:341
+#, no-c-format
+msgid ""
+"You do not have to name the filters unless you have more than one filter "
+"enabled."
+msgstr ""
+
+#. Tag: title
+#: Configuration.xml:348
+#, no-c-format
msgid "Adding custom filters"
msgstr ""
#. Tag: para
-#: Configuration.xml:327
+#: Configuration.xml:349
#, no-c-format
msgid ""
"Seam can install your filters for you, allowing you to specify "
@@ -695,7 +745,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:332
+#: Configuration.xml:354
#, no-c-format
msgid ""
"<![CDATA[@Startup\n"
@@ -707,7 +757,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:334
+#: Configuration.xml:356
#, no-c-format
msgid ""
"Adding the <literal>@Startup</literal> annotation means thar the component "
@@ -718,13 +768,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:343
+#: Configuration.xml:365
#, no-c-format
msgid "Integrating Seam with your EJB container"
msgstr ""
#. Tag: para
-#: Configuration.xml:345
+#: Configuration.xml:367
#, no-c-format
msgid ""
"In a Seam application, EJB components have a certain duality, as they are "
@@ -735,7 +785,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:350
+#: Configuration.xml:372
#, no-c-format
msgid ""
"We need to apply the <literal>SeamInterceptor</literal> to our Seam EJB "
@@ -747,7 +797,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:355
+#: Configuration.xml:377
#, no-c-format
msgid ""
"<![CDATA[<interceptors>\n"
@@ -768,7 +818,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:357
+#: Configuration.xml:379
#, no-c-format
msgid ""
"Seam needs to know where to go to find session beans in JNDI. One way to do "
@@ -782,19 +832,19 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:364
+#: Configuration.xml:386
#, no-c-format
msgid "For JBoss AS, the following pattern is correct:"
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:366
+#: Configuration.xml:388
#, no-c-format
msgid "<![CDATA[<core:init jndi-name=\"earName/#{ejbName}/local\" />]]>"
msgstr ""
#. Tag: para
-#: Configuration.xml:368
+#: Configuration.xml:390
#, no-c-format
msgid ""
"In this case, <literal>earName</literal> is the name of the EAR in which the "
@@ -804,7 +854,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:372
+#: Configuration.xml:394
#, no-c-format
msgid ""
"Outside the context of an EAR (when using the JBoss Embeddable EJB3 "
@@ -813,13 +863,13 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:375
+#: Configuration.xml:397
#, no-c-format
msgid "<![CDATA[<core:init jndi-name=\"#{ejbName}/local\" />]]>"
msgstr ""
#. Tag: para
-#: Configuration.xml:377
+#: Configuration.xml:399
#, no-c-format
msgid ""
"How these JNDI names are resolved and somehow locate an EJB component might "
@@ -828,7 +878,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:381
+#: Configuration.xml:403
#, no-c-format
msgid ""
"The folks at JBoss don't care much for XML, if you can't tell. So when they "
@@ -839,14 +889,14 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:387
+#: Configuration.xml:409
#, no-c-format
msgid ""
"The value of the <literal><ejb-name></literal> element in ejb-jar.xml"
msgstr ""
#. Tag: para
-#: Configuration.xml:390
+#: Configuration.xml:412
#, no-c-format
msgid ""
"The value of the <literal>name</literal> attribute in the @Stateless or "
@@ -854,13 +904,13 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:393
+#: Configuration.xml:415
#, no-c-format
msgid "The simple name of the bean class"
msgstr ""
#. Tag: para
-#: Configuration.xml:397
+#: Configuration.xml:419
#, no-c-format
msgid ""
"Let's look at an example. Assume that you have the following EJB bean and "
@@ -868,7 +918,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:399
+#: Configuration.xml:421
#, no-c-format
msgid ""
"<![CDATA[package com.example.myapp;\n"
@@ -895,7 +945,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:401
+#: Configuration.xml:423
#, no-c-format
msgid ""
"Assuming your EJB bean class is deployed in an EAR named myapp, the global "
@@ -907,7 +957,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:407
+#: Configuration.xml:429
#, no-c-format
msgid ""
"So what about the rest of the application servers? Well, according to the "
@@ -919,7 +969,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:413
+#: Configuration.xml:435
#, no-c-format
msgid ""
"There are two places you have to define the EJB reference when using Seam on "
@@ -930,7 +980,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:418
+#: Configuration.xml:440
#, no-c-format
msgid ""
"<![CDATA[<ejb-local-ref>\n"
@@ -942,7 +992,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:420
+#: Configuration.xml:442
#, no-c-format
msgid ""
"This reference will cover most uses of the component in a Seam application. "
@@ -953,7 +1003,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:425
+#: Configuration.xml:447
#, no-c-format
msgid ""
"Within the context of an EJB method call, you have to deal with a somewhat "
@@ -970,7 +1020,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:434
+#: Configuration.xml:456
#, no-c-format
msgid ""
"For application servers that stubbornly adhere to the EJB specification, EJB "
@@ -982,7 +1032,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:439
+#: Configuration.xml:461
#, no-c-format
msgid ""
"Let's assume that we have an EJB named RegisterAction (the name is resolved "
@@ -991,7 +1041,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:442
+#: Configuration.xml:464
#, no-c-format
msgid ""
"<![CDATA[@In(create = true)\n"
@@ -1000,7 +1050,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:444
+#: Configuration.xml:466
#, no-c-format
msgid ""
"In order for this injection to work, the link must be established in the ejb-"
@@ -1008,7 +1058,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:446
+#: Configuration.xml:468
#, no-c-format
msgid ""
"<![CDATA[<ejb-jar>\n"
@@ -1031,7 +1081,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:448
+#: Configuration.xml:470
#, no-c-format
msgid ""
"Notice that the contents of the <literal><ejb-local-ref></literal> are "
@@ -1043,7 +1093,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:454
+#: Configuration.xml:476
#, no-c-format
msgid ""
"But what about <literal>@EJB</literal>? It's true that you can inject one "
@@ -1061,7 +1111,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:464
+#: Configuration.xml:486
#, no-c-format
msgid ""
"That covers how JNDI names are defined and used. The lesson is that with "
@@ -1074,7 +1124,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:470
+#: Configuration.xml:492
#, no-c-format
msgid ""
"<![CDATA[<core:init jndi-name=\"java:comp/env/earName/#{ejbName}/local\" />]]"
@@ -1082,7 +1132,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:472
+#: Configuration.xml:494
#, no-c-format
msgid ""
"Finally, let's talk about transactions. In an EJB3 environment, we recommend "
@@ -1094,19 +1144,19 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:479
+#: Configuration.xml:501
#, no-c-format
msgid "<![CDATA[<transaction:ejb-transaction/>]]>"
msgstr ""
#. Tag: title
-#: Configuration.xml:484
+#: Configuration.xml:506
#, no-c-format
msgid "Don't forget!"
msgstr ""
#. Tag: para
-#: Configuration.xml:486
+#: Configuration.xml:508
#, no-c-format
msgid ""
"There is one final item you need to know about. You must place a "
@@ -1118,7 +1168,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:491
+#: Configuration.xml:513
#, no-c-format
msgid ""
"In a web archive (WAR) file, you must place a <literal>seam.properties</"
@@ -1127,7 +1177,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:494
+#: Configuration.xml:516
#, no-c-format
msgid ""
"That's why all the Seam examples have an empty <literal>seam.properties</"
@@ -1136,7 +1186,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:497
+#: Configuration.xml:519
#, no-c-format
msgid ""
"You might think this is silly and what kind of idiot framework designers "
@@ -1148,13 +1198,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:508
+#: Configuration.xml:530
#, no-c-format
msgid "Using Alternate JPA Providers"
msgstr ""
#. Tag: para
-#: Configuration.xml:510
+#: Configuration.xml:532
#, no-c-format
msgid ""
"Seam comes packaged and configured with Hibernate as the default JPA "
@@ -1163,13 +1213,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:516
+#: Configuration.xml:538
#, no-c-format
msgid "This is a workaround"
msgstr ""
#. Tag: para
-#: Configuration.xml:517
+#: Configuration.xml:539
#, no-c-format
msgid ""
"Configuration of the JPA provider will be easier in the future and will not "
@@ -1178,7 +1228,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:524
+#: Configuration.xml:546
#, no-c-format
msgid ""
"Telling seam about a different JPA provider can be be done in one of two "
@@ -1186,7 +1236,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:525
+#: Configuration.xml:547
#, no-c-format
msgid ""
"Update your application's <literal>components.xml</literal> so that the "
@@ -1195,7 +1245,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:530
+#: Configuration.xml:552
#, no-c-format
msgid ""
"<![CDATA[<component name=\"org.jboss.seam.persistence.persistenceProvider"
@@ -1206,7 +1256,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:531
+#: Configuration.xml:553
#, no-c-format
msgid ""
"If you want to take advantage of your JPA provider's non-standard features "
@@ -1218,7 +1268,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:538
+#: Configuration.xml:560
#, no-c-format
msgid ""
"<![CDATA[<component name=\"org.jboss.seam.persistence.persistenceProvider"
@@ -1228,7 +1278,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:539
+#: Configuration.xml:561
#, no-c-format
msgid ""
"All that is left is updating the <literal>persistence.xml</literal> file "
@@ -1238,13 +1288,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:547
+#: Configuration.xml:569
#, no-c-format
msgid "Configuring Seam in Java EE 5"
msgstr ""
#. Tag: para
-#: Configuration.xml:558
+#: Configuration.xml:580
#, no-c-format
msgid ""
"If you're running in a Java EE 5 environment, this is all the configuration "
@@ -1252,14 +1302,14 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:561 Configuration.xml:656 Configuration.xml:794
-#: Configuration.xml:827
+#: Configuration.xml:583 Configuration.xml:678 Configuration.xml:816
+#: Configuration.xml:849
#, no-c-format
msgid "Packaging"
msgstr ""
#. Tag: para
-#: Configuration.xml:563
+#: Configuration.xml:585
#, no-c-format
msgid ""
"Once you've packaged all this stuff together into an EAR, the archive "
@@ -1267,7 +1317,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:566
+#: Configuration.xml:588
#, no-c-format
msgid ""
"<![CDATA[my-application.ear/\n"
@@ -1307,7 +1357,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:568
+#: Configuration.xml:590
#, no-c-format
msgid ""
"You should declare <literal>jboss-seam.jar</literal> as an ejb module in "
@@ -1316,7 +1366,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:573
+#: Configuration.xml:595
#, no-c-format
msgid ""
"If you want to use jBPM or Drools, you must include the needed jars in the "
@@ -1324,7 +1374,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:575
+#: Configuration.xml:597
#, no-c-format
msgid ""
"If you want to use facelets (our recommendation), you must include "
@@ -1333,7 +1383,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:578
+#: Configuration.xml:600
#, no-c-format
msgid ""
"If you want to use the Seam tag library (most Seam applications do), you "
@@ -1344,7 +1394,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:583
+#: Configuration.xml:605
#, no-c-format
msgid ""
"If you want to use the Seam debug page (only works for applications using "
@@ -1353,7 +1403,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:586
+#: Configuration.xml:608
#, no-c-format
msgid ""
"Seam ships with several example applications that are deployable in any Java "
@@ -1361,7 +1411,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:589
+#: Configuration.xml:611
#, no-c-format
msgid ""
"I really wish that was all there was to say on the topic of configuration "
@@ -1371,13 +1421,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:598
+#: Configuration.xml:620
#, no-c-format
msgid "Configuring Seam in J2EE"
msgstr ""
#. Tag: para
-#: Configuration.xml:600
+#: Configuration.xml:622
#, no-c-format
msgid ""
"Seam is useful even if you're not yet ready to take the plunge into EJB 3.0. "
@@ -1389,7 +1439,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:615
+#: Configuration.xml:637
#, no-c-format
msgid ""
"Seam JavaBean components do not provide declarative transaction demarcation "
@@ -1401,7 +1451,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:621
+#: Configuration.xml:643
#, no-c-format
msgid ""
"The Seam distribution includes a version of the booking example application "
@@ -1411,13 +1461,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:626
+#: Configuration.xml:648
#, no-c-format
msgid "Boostrapping Hibernate in Seam"
msgstr ""
#. Tag: para
-#: Configuration.xml:628
+#: Configuration.xml:650
#, no-c-format
msgid ""
"Seam will bootstrap a Hibernate <literal>SessionFactory</literal> from your "
@@ -1426,7 +1476,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:631
+#: Configuration.xml:653
#, no-c-format
msgid ""
"<![CDATA[<persistence:hibernate-session-factory name="
@@ -1434,7 +1484,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:633
+#: Configuration.xml:655
#, no-c-format
msgid ""
"You will also need to configure a <emphasis>managed session</emphasis> if "
@@ -1443,7 +1493,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:636
+#: Configuration.xml:658
#, no-c-format
msgid ""
"<![CDATA[<persistence:managed-hibernate-session name=\"hibernateSession\"\n"
@@ -1452,13 +1502,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:641
+#: Configuration.xml:663
#, no-c-format
msgid "Boostrapping JPA in Seam"
msgstr ""
#. Tag: para
-#: Configuration.xml:643
+#: Configuration.xml:665
#, no-c-format
msgid ""
"Seam will bootstrap a JPA <literal>EntityManagerFactory</literal> from your "
@@ -1467,7 +1517,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:646
+#: Configuration.xml:668
#, no-c-format
msgid ""
"<![CDATA[<persistence:entity-manager-factory name=\"entityManagerFactory\"/"
@@ -1475,7 +1525,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:648
+#: Configuration.xml:670
#, no-c-format
msgid ""
"You will also need to configure a <emphasis>managed persistence context</"
@@ -1484,7 +1534,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:651
+#: Configuration.xml:673
#, no-c-format
msgid ""
"<![CDATA[<persistence:managed-persistence-context name=\"entityManager\"\n"
@@ -1493,13 +1543,13 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:658
+#: Configuration.xml:680
#, no-c-format
msgid "We can package our application as a WAR, in the following structure:"
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:660
+#: Configuration.xml:682
#, no-c-format
msgid ""
"<![CDATA[my-application.war/\n"
@@ -1536,7 +1586,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:662
+#: Configuration.xml:684
#, no-c-format
msgid ""
"If we want to deploy Hibernate in a non-EE environment like Tomcat or "
@@ -1544,13 +1594,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:669
+#: Configuration.xml:691
#, no-c-format
msgid "Configuring Seam in Java SE, without JBoss Embedded"
msgstr ""
#. Tag: para
-#: Configuration.xml:671
+#: Configuration.xml:693
#, no-c-format
msgid ""
"It is possible to use Seam completely outside of an EE environment. In this "
@@ -1560,7 +1610,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:675
+#: Configuration.xml:697
#, no-c-format
msgid ""
"<![CDATA[<transaction:entity-transaction entity-manager=\"#{entityManager}\"/"
@@ -1568,7 +1618,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:677
+#: Configuration.xml:699
#, no-c-format
msgid ""
"If you're using Hibernate, you can tell Seam to use the Hibernate "
@@ -1576,32 +1626,32 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:679
+#: Configuration.xml:701
#, no-c-format
msgid "<![CDATA[<transaction:hibernate-transaction session=\"#{session}\"/>]]>"
msgstr ""
#. Tag: para
-#: Configuration.xml:681
+#: Configuration.xml:703
#, no-c-format
msgid "Of course, you'll also need to define a datasource."
msgstr ""
#. Tag: para
-#: Configuration.xml:683
+#: Configuration.xml:705
#, no-c-format
msgid ""
"A better alternative is to use JBoss Embedded to get access to the EE APIs."
msgstr ""
#. Tag: title
-#: Configuration.xml:688
+#: Configuration.xml:710
#, no-c-format
msgid "Configuring Seam in Java SE, with JBoss Embedded"
msgstr ""
#. Tag: para
-#: Configuration.xml:690
+#: Configuration.xml:712
#, no-c-format
msgid ""
"JBoss Embedded lets you run EJB3 components outside the context of the Java "
@@ -1610,7 +1660,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:693
+#: Configuration.xml:715
#, no-c-format
msgid ""
"The Seam booking example application includes a TestNG integration test "
@@ -1618,19 +1668,19 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:705
+#: Configuration.xml:727
#, no-c-format
msgid "The booking example application may even be deployed to Tomcat."
msgstr ""
#. Tag: title
-#: Configuration.xml:717
+#: Configuration.xml:739
#, no-c-format
msgid "Installing Embedded JBoss"
msgstr ""
#. Tag: para
-#: Configuration.xml:720
+#: Configuration.xml:742
#, no-c-format
msgid ""
"Embedded JBoss must by installed into Tomcat for Seam applications to run "
@@ -1643,7 +1693,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:734
+#: Configuration.xml:756
#, no-c-format
msgid ""
"Copy all files and directories under the Embedded JBoss <literal>bootstrap</"
@@ -1653,7 +1703,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:741
+#: Configuration.xml:763
#, no-c-format
msgid ""
"Remove the <literal>annotations-api.jar</literal> file from the Tomcat "
@@ -1661,7 +1711,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:747
+#: Configuration.xml:769
#, no-c-format
msgid ""
"Next, two configuration files need to be updated to add Embedded JBoss-"
@@ -1669,7 +1719,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:753
+#: Configuration.xml:775
#, no-c-format
msgid ""
"Add the Embedded JBoss listener <literal>EmbeddedJBossBootstrapListener</"
@@ -1678,7 +1728,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:756
+#: Configuration.xml:778
#, no-c-format
msgid ""
"<![CDATA[<Server port=\"8005\" shutdown=\"SHUTDOWN\">\n"
@@ -1696,7 +1746,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:757
+#: Configuration.xml:779
#, no-c-format
msgid ""
"<![CDATA[ <!-- Add this listener -->\n"
@@ -1705,7 +1755,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:761
+#: Configuration.xml:783
#, no-c-format
msgid ""
"WAR file scanning should be enabled by adding the <literal>WebinfScanner</"
@@ -1713,7 +1763,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:764
+#: Configuration.xml:786
#, no-c-format
msgid ""
"<![CDATA[<Context>\n"
@@ -1728,7 +1778,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:765
+#: Configuration.xml:787
#, no-c-format
msgid ""
"<![CDATA[ <!-- Add this listener -->\n"
@@ -1736,13 +1786,13 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:766
+#: Configuration.xml:788
#, no-c-format
msgid "<![CDATA[</Context>]]>"
msgstr ""
#. Tag: para
-#: Configuration.xml:770
+#: Configuration.xml:792
#, no-c-format
msgid ""
"If you are using Sun JDK 6, you need to set the Java option <literal>sun."
@@ -1752,7 +1802,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:775
+#: Configuration.xml:797
#, no-c-format
msgid ""
"Open the script appropriate for your operating system in a text editor. Add "
@@ -1762,7 +1812,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:779
+#: Configuration.xml:801
#, no-c-format
msgid ""
"<![CDATA[set JAVA_OPTS=%JAVA_OPTS% -Dsun.lang.ClassLoader."
@@ -1770,13 +1820,13 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:781
+#: Configuration.xml:803
#, no-c-format
msgid "On Unix, use this syntax instead:"
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:783
+#: Configuration.xml:805
#, no-c-format
msgid ""
"<![CDATA[JAVA_OPTS=\"$JAVA_OPTS -Dsun.lang.ClassLoader.allowArraySyntax=true"
@@ -1784,7 +1834,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:788
+#: Configuration.xml:810
#, no-c-format
msgid ""
"For more configuration options, please see the Embedded JBoss Tomcat "
@@ -1793,7 +1843,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:796
+#: Configuration.xml:818
#, no-c-format
msgid ""
"The archive structure of a WAR-based deployment on an servlet engine like "
@@ -1801,7 +1851,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:799
+#: Configuration.xml:821
#, no-c-format
msgid ""
"<![CDATA[my-application.war/\n"
@@ -1839,7 +1889,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:801
+#: Configuration.xml:823
#, no-c-format
msgid ""
"Most of the Seam example applications may be deployed to Tomcat by running "
@@ -1847,13 +1897,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:809
+#: Configuration.xml:831
#, no-c-format
msgid "Configuring jBPM in Seam"
msgstr ""
#. Tag: para
-#: Configuration.xml:810
+#: Configuration.xml:832
#, no-c-format
msgid ""
"Seam's jBPM integration is not installed by default, so you'll need to "
@@ -1863,7 +1913,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:814
+#: Configuration.xml:836
#, no-c-format
msgid ""
"<![CDATA[<bpm:jbpm>\n"
@@ -1879,7 +1929,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:816
+#: Configuration.xml:838
#, no-c-format
msgid ""
"No further special configuration is needed if you only have pageflows. If "
@@ -1890,7 +1940,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:821
+#: Configuration.xml:843
#, no-c-format
msgid ""
"<![CDATA[<jbpm-configuration>\n"
@@ -1920,7 +1970,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:823
+#: Configuration.xml:845
#, no-c-format
msgid ""
"The most important thing to notice here is that jBPM transaction control is "
@@ -1928,7 +1978,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:829
+#: Configuration.xml:851
#, no-c-format
msgid ""
"There is not yet any well-defined packaging format for jBPM configuration "
@@ -1939,7 +1989,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:834
+#: Configuration.xml:856
#, no-c-format
msgid ""
"<![CDATA[my-application.ear/\n"
@@ -1986,13 +2036,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:841
+#: Configuration.xml:863
#, no-c-format
msgid "Configuring SFSB and Session Timeouts in JBoss AS"
msgstr ""
#. Tag: para
-#: Configuration.xml:843
+#: Configuration.xml:865
#, no-c-format
msgid ""
"It is very important that the timeout for Stateful Session Beans is set "
@@ -2004,7 +2054,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:849
+#: Configuration.xml:871
#, no-c-format
msgid ""
"The default SFSB timeout can be adjusted by modifying the value of "
@@ -2013,7 +2063,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:852
+#: Configuration.xml:874
#, no-c-format
msgid ""
"<![CDATA[<container-cache-conf>\n"
@@ -2038,7 +2088,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:854
+#: Configuration.xml:876
#, no-c-format
msgid ""
"The default HTTP session timeout can be modified in <literal>server/default/"
@@ -2049,7 +2099,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:859
+#: Configuration.xml:881
#, no-c-format
msgid ""
"<![CDATA[<session-config>\n"
@@ -2059,7 +2109,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:861
+#: Configuration.xml:883
#, no-c-format
msgid ""
"To override this value for your own application, simply include this entry "
@@ -2067,13 +2117,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:867
+#: Configuration.xml:889
#, no-c-format
msgid "Running Seam in a Portlet"
msgstr ""
#. Tag: para
-#: Configuration.xml:869
+#: Configuration.xml:891
#, no-c-format
msgid ""
"If you want to run your Seam application in a portlet, take a look at the "
@@ -2084,13 +2134,13 @@
msgstr ""
#. Tag: title
-#: Configuration.xml:880
+#: Configuration.xml:902
#, no-c-format
msgid "Deploying custom resources"
msgstr ""
#. Tag: para
-#: Configuration.xml:882
+#: Configuration.xml:904
#, no-c-format
msgid ""
"Seam scans all jars containing <literal>/seam.properties</literal>, "
@@ -2101,7 +2151,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:889
+#: Configuration.xml:911
#, no-c-format
msgid ""
"You may also want Seam to handle custom resources. A common use case is to "
@@ -2111,7 +2161,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:896
+#: Configuration.xml:918
#, no-c-format
msgid ""
"<![CDATA[# A colon-separated list of annotation types to handle\n"
@@ -2119,7 +2169,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:898
+#: Configuration.xml:920
#, no-c-format
msgid ""
"Then, during application startup you can get hold of all classes annotated "
@@ -2127,7 +2177,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:903
+#: Configuration.xml:925
#, no-c-format
msgid ""
"<![CDATA[@Name(\"fooStartup\")\n"
@@ -2159,7 +2209,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:905
+#: Configuration.xml:927
#, no-c-format
msgid ""
"You can also handle <emphasis>any</emphasis> resource. For example, you "
@@ -2168,7 +2218,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:911
+#: Configuration.xml:933
#, no-c-format
msgid ""
"<![CDATA[public class FooDeploymentHandler implements DeploymentHandler {\n"
@@ -2192,7 +2242,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:913
+#: Configuration.xml:935
#, no-c-format
msgid ""
"Here we are just building a list of any files with the suffix <literal>.foo."
@@ -2200,7 +2250,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:918
+#: Configuration.xml:940
#, no-c-format
msgid ""
"Then, we need to register the deployment handler with Seam in <literal>/META-"
@@ -2209,7 +2259,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:925
+#: Configuration.xml:947
#, no-c-format
msgid ""
"<![CDATA[# For standard deployment\n"
@@ -2220,7 +2270,7 @@
msgstr ""
#. Tag: para
-#: Configuration.xml:931
+#: Configuration.xml:953
#, no-c-format
msgid ""
"Seam uses deployment handlers internally to install components and "
@@ -2229,7 +2279,7 @@
msgstr ""
#. Tag: programlisting
-#: Configuration.xml:937
+#: Configuration.xml:959
#, no-c-format
msgid ""
"<![CDATA[@Name(\"fooStartup\")\n"
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/zh-TW/Webservices.po
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/zh-TW/Webservices.po 2009-08-26 19:14:02 UTC (rev 11432)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/zh-TW/Webservices.po 2009-08-26 19:19:33 UTC (rev 11433)
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-07-08 14:32+0000\n"
+"POT-Creation-Date: 2009-08-26 18:48+0000\n"
"PO-Revision-Date: 2008-04-04 01:24+0000\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
@@ -392,48 +392,56 @@
#: Webservices.xml:186
#, no-c-format
msgid ""
-"The URI starts with the pattern mapped in <literal>web.xml</literal> for the "
+"The URI starts with the host and context path of your application, e.g. "
+"<literal>http://your.hostname/myapp</literal>."
+msgstr ""
+
+#. Tag: para
+#: Webservices.xml:192
+#, no-c-format
+msgid ""
+"Then the pattern mapped in <literal>web.xml</literal> for the "
"<literal>SeamResourceServlet</literal>, e.g <literal>/seam/resource</"
-"literal> if you follow the common examples. Change this setting to expose "
-"your RESTful resources under a different base. Note that this is a global "
-"change and other Seam resources (e.g. <literal>s:graphicImage</literal>) are "
-"then also served under that base path."
+"literal> if you follow the common examples, is appended. Change this setting "
+"to expose your RESTful resources under a different base. Note that this is a "
+"global change and other Seam resources (e.g. <literal>s:graphicImage</"
+"literal>) are then also served under that base path."
msgstr ""
#. Tag: para
-#: Webservices.xml:195
+#: Webservices.xml:201
#, no-c-format
msgid ""
"The RESTEasy integration for Seam then appends a configurable string to the "
"base path, by default this is <literal>/rest</literal>. Hence, the full base "
-"path of your resources would e.g. be <literal>/seam/resource/rest</literal>. "
-"We recommend that you change this string in your application, you could for "
-"example add a version number to prepare for a future REST API upgrade of "
-"your services (old clients would keep the old URI base): <literal>/seam/"
-"resource/restv1</literal>."
+"path of your resources would e.g. be <literal>/myapp/seam/resource/rest</"
+"literal>. We recommend that you change this string in your application, you "
+"could for example add a version number to prepare for a future REST API "
+"upgrade of your services (old clients would keep the old URI base): "
+"<literal>/myapp/seam/resource/restv1</literal>."
msgstr ""
#. Tag: para
-#: Webservices.xml:204
+#: Webservices.xml:210
#, no-c-format
msgid ""
"Finally, the actual resource is available under the defined <literal>@Path</"
"literal>, e.g. a resource mapped with <literal>@Path(\"/customer\")</"
-"literal> would be available under <literal>/seam/resource/rest/customer</"
-"literal>."
+"literal> would be available under <literal>/myapp/seam/resource/rest/"
+"customer</literal>."
msgstr ""
#. Tag: para
-#: Webservices.xml:212
+#: Webservices.xml:218
#, no-c-format
msgid ""
"As an example, the following resource definition would return a plaintext "
"representation for any GET requests using the URI <literal>http://your."
-"hostname/seam/resource/rest/customer/123</literal>:"
+"hostname/myapp/seam/resource/rest/customer/123</literal>:"
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:217
+#: Webservices.xml:223
#, no-c-format
msgid ""
"<![CDATA[@Path(\"/customer\")\n"
@@ -450,7 +458,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:219
+#: Webservices.xml:225
#, no-c-format
msgid ""
"No additional configuration is required, you do not have to edit "
@@ -461,7 +469,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:225
+#: Webservices.xml:231
#, no-c-format
msgid ""
"<![CDATA[<components\n"
@@ -476,63 +484,39 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:227
+#: Webservices.xml:233
#, no-c-format
msgid ""
"You can then change the <literal>/rest</literal> prefix as mentioned earlier:"
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:231
+#: Webservices.xml:237
#, no-c-format
msgid "<![CDATA[<resteasy:application resource-path-prefix=\"/restv1\"/>]]>"
msgstr ""
#. Tag: para
-#: Webservices.xml:233
-#, no-c-format
-msgid ""
-"The full base path to your resources is now <literal>/seam/resource/restv1/"
-"{resource}</literal> - note that your <literal>@Path</literal> definitions "
-"and mappings do NOT change. This is an application-wide switch usually used "
-"for versioning of the HTTP API."
-msgstr ""
-
-#. Tag: para
#: Webservices.xml:239
#, no-c-format
msgid ""
-"You can disable stripping of the base path if you'd like to map the full "
-"path in your resources:"
+"The full base path to your resources is now <literal>/myapp/seam/resource/"
+"restv1/{resource}</literal> - note that your <literal>@Path</literal> "
+"definitions and mappings do NOT change. This is an application-wide switch "
+"usually used for versioning of the HTTP interface."
msgstr ""
-#. Tag: programlisting
-#: Webservices.xml:243
-#, no-c-format
-msgid "<![CDATA[<resteasy:application strip-seam-resource-path=\"false\"/>]]>"
-msgstr ""
-
#. Tag: para
#: Webservices.xml:245
#, no-c-format
msgid ""
-"The path of a resource is now mapped with e.g. <literal>@Path(\"/seam/"
-"resource/rest/customer\")</literal>. We do not recommend disabling this "
-"feature, as your resource class mappings are then bound to a particular "
-"deployment scenario."
-msgstr ""
-
-#. Tag: para
-#: Webservices.xml:251
-#, no-c-format
-msgid ""
"Seam will scan your classpath for any deployed <literal>@javax.ws.rs.Path</"
"literal> resources and any <literal>@javax.ws.rs.ext.Provider</literal> "
"classes. You can disable scanning and configure these classes manually:"
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:257
+#: Webservices.xml:251
#, no-c-format
msgid ""
"<![CDATA[<resteasy:application\n"
@@ -554,7 +538,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:259
+#: Webservices.xml:253
#, no-c-format
msgid ""
"The <literal>use-built-in-providers</literal> switch enables (default) or "
@@ -564,7 +548,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:265
+#: Webservices.xml:259
#, no-c-format
msgid ""
"RESTEasy supports plain EJBs (EJBs that are not Seam components) as "
@@ -576,20 +560,21 @@
"<literal>@Path</literal>, <literal>@GET</literal>, and so on - not the bean "
"implementation class. This allows you to keep your application deployment-"
"portable with the global Seam <literal>jndi-pattern</literal> switch on "
-"<literal><core:init/></literal>. Note that EJB resources will not be "
-"found even if scanning of resources is enabled, you always have to list them "
-"manually. Again, this is only relevant for EJB resources that are not also "
-"Seam components and that do not have a <literal>@Name</literal> annotation."
+"<literal><core:init/></literal>. Note that plain (non-Seam component) "
+"EJB resources will not be found even if scanning of resources is enabled, "
+"you always have to list them manually. Again, this whole paragraph is only "
+"relevant for EJB resources that are not also Seam components and that do not "
+"have an <literal>@Name</literal> annotation."
msgstr ""
#. Tag: para
-#: Webservices.xml:277
+#: Webservices.xml:272
#, no-c-format
msgid "Finally, you can configure media type and language URI extensions:"
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:281
+#: Webservices.xml:276
#, no-c-format
msgid ""
"<![CDATA[<resteasy:application>\n"
@@ -606,7 +591,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:283
+#: Webservices.xml:278
#, no-c-format
msgid ""
"This definition would map the URI suffix of <literal>.txt.deutsch</literal> "
@@ -616,13 +601,13 @@
msgstr ""
#. Tag: title
-#: Webservices.xml:292
+#: Webservices.xml:287
#, no-c-format
msgid "Resources and providers as Seam components"
msgstr ""
#. Tag: para
-#: Webservices.xml:294
+#: Webservices.xml:289
#, no-c-format
msgid ""
"Any resource and provider instances are managed by RESTEasy by default. That "
@@ -633,7 +618,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:301
+#: Webservices.xml:296
#, no-c-format
msgid ""
"You can write resources and providers as Seam components and benefit from "
@@ -642,7 +627,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:307
+#: Webservices.xml:302
#, no-c-format
msgid ""
"<![CDATA[@Name(\"customerResource\")\n"
@@ -663,7 +648,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:309
+#: Webservices.xml:304
#, no-c-format
msgid ""
"An instance of <literal>customerResource</literal> is now handled by Seam "
@@ -677,7 +662,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:318
+#: Webservices.xml:313
#, no-c-format
msgid ""
"You can annotate an interface and keep the implementation free from JAX-RS "
@@ -685,7 +670,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:322
+#: Webservices.xml:317
#, no-c-format
msgid ""
"<![CDATA[@Path(\"/customer\")\n"
@@ -700,7 +685,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:324
+#: Webservices.xml:319
#, no-c-format
msgid ""
"<![CDATA[@Name(\"customerResource\")\n"
@@ -718,7 +703,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:326
+#: Webservices.xml:321
#, no-c-format
msgid ""
"You can use <literal>SESSION</literal>-scoped Seam components. By default, "
@@ -733,7 +718,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:335
+#: Webservices.xml:330
#, no-c-format
msgid ""
"Assuming that your Seam application only uses event, application, or "
@@ -745,7 +730,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:342
+#: Webservices.xml:337
#, no-c-format
msgid ""
"If your RESTful Seam application has to preserve session state across REST "
@@ -753,14 +738,14 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:347
+#: Webservices.xml:342
#, no-c-format
msgid ""
"<![CDATA[<resteasy:application destroy-session-after-request=\"false\"/>]]>"
msgstr ""
#. Tag: para
-#: Webservices.xml:349
+#: Webservices.xml:344
#, no-c-format
msgid ""
"Every REST HTTP request will now create a new session that will only be "
@@ -771,7 +756,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:356
+#: Webservices.xml:351
#, no-c-format
msgid ""
"<literal>CONVERSATION</literal>-scoped resource components and mapping of "
@@ -780,7 +765,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:361
+#: Webservices.xml:356
#, no-c-format
msgid ""
"EJB Seam components are supported. Always annotate the local business "
@@ -789,7 +774,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:366
+#: Webservices.xml:361
#, no-c-format
msgid ""
"Provider classes can also be Seam components, only <literal>APPLICATION</"
@@ -799,13 +784,13 @@
msgstr ""
#. Tag: title
-#: Webservices.xml:375
+#: Webservices.xml:370
#, no-c-format
msgid "Securing resources"
msgstr ""
#. Tag: para
-#: Webservices.xml:377
+#: Webservices.xml:372
#, no-c-format
msgid ""
"You can enable the Seam authentication filter for HTTP Basic and Digest "
@@ -813,7 +798,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:382
+#: Webservices.xml:377
#, no-c-format
msgid ""
"<![CDATA[<web:authentication-filter url-pattern=\"/seam/resource/rest/*\" "
@@ -821,14 +806,14 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:384
+#: Webservices.xml:379
#, no-c-format
msgid ""
"See the Seam security chapter on how to write an authentication routine."
msgstr ""
#. Tag: para
-#: Webservices.xml:388
+#: Webservices.xml:383
#, no-c-format
msgid ""
"After successful authentication, authorization rules with the common "
@@ -839,13 +824,13 @@
msgstr ""
#. Tag: title
-#: Webservices.xml:398
+#: Webservices.xml:393
#, no-c-format
msgid "Mapping exceptions to HTTP responses"
msgstr ""
#. Tag: para
-#: Webservices.xml:400
+#: Webservices.xml:395
#, no-c-format
msgid ""
"Section 3.3.4 of the JAX-RS specification defines how checked or unchecked "
@@ -858,7 +843,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:408
+#: Webservices.xml:403
#, no-c-format
msgid ""
"Exception handling within Seam requires that the Seam filter is executed for "
@@ -870,7 +855,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:415
+#: Webservices.xml:410
#, no-c-format
msgid ""
"<![CDATA[<filter>\n"
@@ -885,7 +870,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:417
+#: Webservices.xml:412
#, no-c-format
msgid ""
"To convert the unchecked <literal>UnsupportedOperationException</literal> "
@@ -895,7 +880,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:423
+#: Webservices.xml:418
#, no-c-format
msgid ""
"<![CDATA[<exception class=\"java.lang.UnsupportedOperationException\">\n"
@@ -906,13 +891,13 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:425
+#: Webservices.xml:420
#, no-c-format
msgid "Custom or checked exceptions are handled the same:"
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:429
+#: Webservices.xml:424
#, no-c-format
msgid ""
"<![CDATA[<exception class=\"my.CustomException\" log=\"false\">\n"
@@ -924,7 +909,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:431
+#: Webservices.xml:426
#, no-c-format
msgid ""
"You do not have to send an HTTP error to the client if an exception occurs. "
@@ -935,7 +920,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:438
+#: Webservices.xml:433
#, no-c-format
msgid ""
"Note that the HTTP response still passes through the servlet container, so "
@@ -946,13 +931,13 @@
msgstr ""
#. Tag: title
-#: Webservices.xml:447
+#: Webservices.xml:442
#, no-c-format
msgid "Testing resources and providers"
msgstr ""
#. Tag: para
-#: Webservices.xml:449
+#: Webservices.xml:444
#, no-c-format
msgid ""
"Seam includes a unit testing utility class that helps you create unit tests "
@@ -962,7 +947,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:455
+#: Webservices.xml:450
#, no-c-format
msgid ""
"<![CDATA[import org.jboss.seam.mock.ResourceRequestEnvironment;\n"
@@ -1019,7 +1004,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:457
+#: Webservices.xml:452
#, no-c-format
msgid ""
"This test only executes local calls, it does not communicate with the "
@@ -1032,7 +1017,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:465
+#: Webservices.xml:460
#, no-c-format
msgid ""
"Note that a <literal>ResourceRequest</literal> has to be executed in a "
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/zh-TW/Websphere.po
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/zh-TW/Websphere.po 2009-08-26 19:14:02 UTC (rev 11432)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/zh-TW/Websphere.po 2009-08-26 19:19:33 UTC (rev 11433)
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-08-22 13:17+0000\n"
+"POT-Creation-Date: 2009-08-26 18:48+0000\n"
"PO-Revision-Date: 2008-04-04 01:24+0000\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
@@ -76,25 +76,27 @@
#, no-c-format
msgid ""
"The following sections in this chapter assume that WebSphere is correctly "
-"installed and is functional, and a profile has been successfully created."
+"installed and is functional, and a WebSphere \"profile\" has been "
+"successfully created."
msgstr ""
#. Tag: para
#: Websphere.xml:40
#, no-c-format
msgid ""
-"This chapter explain how to compile, deploy and run some sample applications "
-"in WebSphere. These sample applications require a database. WebSphere comes "
-"by default with a set of sample applications called \"Default Application\". "
-"This set of sample applications use a Derby database running on the Derby "
-"instance installed with WebSphere. In order to keep this simple we'll use "
-"this Derby database created for the \"Default Applications\". However, to "
-"run the sample application with the Derby database \"as-is\", a patched "
-"Hibernate dialect must be used (The patch changes the default \"auto\" key "
-"generation strategy) as explained in <xref linkend=\"glassfish\"/>. If you "
-"want to use another database, it's just a matter of creating a connection "
-"pool in WebSphere pointing to this database, declare the correct Hibernate "
-"dialect and set the correct JNDI name in <literal>persistence.xml</literal>."
+"This chapter explains how to compile, deploy and run some sample "
+"applications in WebSphere. These sample applications require a database. "
+"WebSphere comes by default with a set of sample applications called "
+"\"Default Application\". This set of sample applications use a Derby "
+"database running on the Derby instance installed within WebSphere. In order "
+"to keep this simple we'll use this Derby database created for the \"Default "
+"Applications\". However, to run the sample application with the Derby "
+"database \"as-is\", a patched Hibernate dialect must be used (The patch "
+"changes the default \"auto\" key generation strategy) as explained in <xref "
+"linkend=\"glassfish\"/>. If you want to use another database, it's just a "
+"matter of creating a connection pool in WebSphere pointing to this database, "
+"declare the correct Hibernate dialect and set the correct JNDI name in "
+"<literal>persistence.xml</literal>."
msgstr ""
#. Tag: title
@@ -144,14 +146,14 @@
#, no-c-format
msgid ""
"On the right navigation menu, select <literal>Web Container Settings/Web "
-"container</literal>)"
+"container</literal>"
msgstr ""
#. Tag: listitem
#: Websphere.xml:73
#, no-c-format
msgid ""
-"On the right navigation menu, select <literal>custom properties</literal>) "
+"On the right navigation menu, select <literal>custom properties</literal> "
"and add the following properties:"
msgstr ""
@@ -170,7 +172,7 @@
#. Tag: listitem
#: Websphere.xml:84
#, no-c-format
-msgid "Save and restart the server"
+msgid "Save the configuration and restart the server"
msgstr ""
#. Tag: title
@@ -189,38 +191,38 @@
msgstr ""
#. Tag: listitem
-#: Websphere.xml:97
+#: Websphere.xml:96
#, no-c-format
msgid ""
"The global <literal>jndi-pattern</literal> switch on the <literal><core:"
-"init></literal>. in <literal>components.xml</literal>. The switch can use "
-"a special placeholder \"<literal>#{ejbName}</literal>\" that resolves to the "
-"unqualified name of the EJB"
+"init></literal>tag in <literal>components.xml</literal>. The switch can "
+"use a special placeholder \"<literal>#{ejbName}</literal>\" that resolves to "
+"the unqualified name of the EJB"
msgstr ""
#. Tag: para
-#: Websphere.xml:102
+#: Websphere.xml:100
#, no-c-format
msgid "The <literal>@JndiName</literal> annotation"
msgstr ""
#. Tag: para
-#: Websphere.xml:108
+#: Websphere.xml:106
#, no-c-format
msgid "gives detailed explanations on how those mechanisms work."
msgstr ""
#. Tag: para
-#: Websphere.xml:112
+#: Websphere.xml:110
#, no-c-format
msgid ""
-"By default, WebSphere will bind the session bean in its local JNDI name "
-"space under a \"short\" binding name that adheres to the following pattern "
+"By default, WebSphere will bind session beans in its local JNDI name space "
+"under a \"short\" binding name that adheres to the following pattern "
"<literal>ejblocal:<package.qualified.local.interface.name></literal>."
msgstr ""
#. Tag: para
-#: Websphere.xml:117
+#: Websphere.xml:115
#, no-c-format
msgid ""
"For a detailed description on how WebSphere v7 organizes and binds EJBs in "
@@ -228,7 +230,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:120
+#: Websphere.xml:118
#, no-c-format
msgid ""
"As explained before, Seam needs to lookup for session bean as they appear in "
@@ -236,35 +238,35 @@
msgstr ""
#. Tag: listitem
-#: Websphere.xml:124
+#: Websphere.xml:121
#, no-c-format
msgid ""
"Specify which JNDI name Seam must use for each session bean using the "
-"<literal>@JndiName</literal> annotation in the java source file"
+"<literal>@JndiName</literal> annotation in the java source file,"
msgstr ""
#. Tag: listitem
-#: Websphere.xml:127
+#: Websphere.xml:123
#, no-c-format
msgid ""
"Override the default session bean names generated by WebSphere to conform to "
-"the <literal>jndi-pattern</literal> attribute"
+"the <literal>jndi-pattern</literal> attribute,"
msgstr ""
#. Tag: listitem
-#: Websphere.xml:130
+#: Websphere.xml:126
#, no-c-format
-msgid "Use EJB references"
+msgid "Use EJB references."
msgstr ""
#. Tag: title
-#: Websphere.xml:137
+#: Websphere.xml:133
#, no-c-format
msgid "Strategy 1: Specify which JNDI name Seam must use for each Session Bean"
msgstr ""
#. Tag: para
-#: Websphere.xml:138
+#: Websphere.xml:134
#, no-c-format
msgid ""
"This strategy is the simplest and fastest one regarding development. It uses "
@@ -272,7 +274,7 @@
msgstr ""
#. Tag: listitem
-#: Websphere.xml:141
+#: Websphere.xml:137
#, no-c-format
msgid ""
"Add a <literal>@JndiName(\"ejblocal:<package.qualified.local.interface."
@@ -280,20 +282,20 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:145 Websphere.xml:188
+#: Websphere.xml:141 Websphere.xml:184
#, no-c-format
msgid ""
"<para>In <literal>components.xml</literal>, add the following line:</para>"
msgstr ""
#. Tag: programlisting
-#: Websphere.xml:147 Websphere.xml:220
+#: Websphere.xml:143 Websphere.xml:216
#, no-c-format
msgid "<![CDATA[<core:init jndi-name=\"java:comp/env/#{ejbName}\" />]]>"
msgstr ""
#. Tag: para
-#: Websphere.xml:151
+#: Websphere.xml:147
#, no-c-format
msgid ""
"Add a file named <literal>WEB-INF/classes/seam-jndi.properties</literal> in "
@@ -301,7 +303,7 @@
msgstr ""
#. Tag: programlisting
-#: Websphere.xml:153
+#: Websphere.xml:149
#, no-c-format
msgid ""
"com.ibm.websphere.naming.hostname.normalizer=com.ibm.ws.naming.util."
@@ -323,13 +325,13 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:157
+#: Websphere.xml:153
#, no-c-format
msgid "At the end of <literal>web.xml</literal>, add the following lines:"
msgstr ""
#. Tag: programlisting
-#: Websphere.xml:159
+#: Websphere.xml:155
#, no-c-format
msgid ""
"<![CDATA[<ejb-local-ref>\n"
@@ -341,7 +343,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:164
+#: Websphere.xml:160
#, no-c-format
msgid ""
"That's all folks! No need to update any file during the development, nor to "
@@ -349,23 +351,23 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:167
+#: Websphere.xml:163
#, no-c-format
msgid ""
-"Compared to the other strategies, this strategy has the advantage not to "
-"have to manage any EJBs reference and also not to have to maintain extra "
+"Compared to the other strategies, this strategy has the advantage to not "
+"have to manage any EJBs reference and also to not have to maintain extra "
"files. The only drawback is one extra line in the java source code with the "
"<literal>@JndiName</literal> annotation"
msgstr ""
#. Tag: title
-#: Websphere.xml:174
+#: Websphere.xml:170
#, no-c-format
msgid "Strategy 2: Override the default names generated by WebSphere"
msgstr ""
#. Tag: section
-#: Websphere.xml:174
+#: Websphere.xml:170
#, no-c-format
msgid ""
"There is no simple way to globally override the default naming strategy for "
@@ -374,13 +376,13 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:177
+#: Websphere.xml:173
#, no-c-format
msgid "To use this strategy:"
msgstr ""
#. Tag: para
-#: Websphere.xml:181
+#: Websphere.xml:177
#, no-c-format
msgid ""
"Add a file named <literal>META-INF/ibm-ejb-jar-ext.xml</literal> in the EJB "
@@ -405,13 +407,13 @@
msgstr ""
#. Tag: programlisting
-#: Websphere.xml:190
+#: Websphere.xml:186
#, no-c-format
msgid "<![CDATA[<core:init jndi-name=\"ejblocal:#{ejbName}\" />]]>"
msgstr ""
#. Tag: para
-#: Websphere.xml:194
+#: Websphere.xml:190
#, no-c-format
msgid ""
"Add a file named <literal>WEB-INF/classes/seam-jndi.properties</literal> as "
@@ -419,7 +421,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:199
+#: Websphere.xml:195
#, no-c-format
msgid ""
"In <literal>web.xml</literal>, add the following lines (Note the different "
@@ -427,7 +429,7 @@
msgstr ""
#. Tag: programlisting
-#: Websphere.xml:201
+#: Websphere.xml:197
#, no-c-format
msgid ""
"<![CDATA[<ejb-local-ref>\n"
@@ -439,7 +441,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:206
+#: Websphere.xml:202
#, no-c-format
msgid ""
"Compared to the first strategy, this strategy requires to maintain an extra "
@@ -449,13 +451,13 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:215
+#: Websphere.xml:211
#, no-c-format
msgid "Strategy 3: Use EJB references"
msgstr ""
#. Tag: section
-#: Websphere.xml:215
+#: Websphere.xml:211
#, no-c-format
msgid ""
"This strategy is based on the usage of EJB references, from EJB to EJB and "
@@ -463,7 +465,7 @@
msgstr ""
#. Tag: listitem
-#: Websphere.xml:218
+#: Websphere.xml:214
#, no-c-format
msgid ""
"<listitem>In <literal>components.xml</literal>, add the following line:</"
@@ -471,7 +473,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:223
+#: Websphere.xml:219
#, no-c-format
msgid ""
"Follow the instructions in <xref linkend=\"config.integration.ejb.container"
@@ -479,7 +481,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:228
+#: Websphere.xml:224
#, no-c-format
msgid ""
"This is the most tedious strategy as each session bean referenced by another "
@@ -489,27 +491,27 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:239
+#: Websphere.xml:235
#, no-c-format
msgid "Configuring timeouts for Stateful Session Beans"
msgstr ""
#. Tag: para
-#: Websphere.xml:240
+#: Websphere.xml:236
#, no-c-format
msgid ""
"A timeout value has to be set for each stateful session bean used in the "
"application because stateful bean must not expire in WebSphere while Seam "
-"might still need thenm. At the time of writing this document, WebSphere does "
+"might still need them. At the time of writing this document, WebSphere does "
"not provide a way to configure a global timeout at neither the cluster, "
"server, application nor ejb-jar level. It has to be done for each stateful "
-"bean individually. This is done by adding a file named <literal>META-INF/ibm-"
-"ejb-jar-ext.xml</literal> in the EJB module, and declare the timeout value "
-"for each bean:"
+"bean individually. By default, the default timeout is 10 minutes. This is "
+"done by adding a file named <literal>META-INF/ibm-ejb-jar-ext.xml</literal> "
+"in the EJB module, and declare the timeout value for each bean:"
msgstr ""
#. Tag: programlisting
-#: Websphere.xml:246
+#: Websphere.xml:242
#, no-c-format
msgid ""
"<![CDATA[<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
@@ -529,24 +531,24 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:248
+#: Websphere.xml:244
#, no-c-format
msgid ""
"The <literal>time-out</literal> is expressed in seconds and must be higher "
"than the Seam conversation expiration timeout and a few minutes higher than "
"the user's HTTP session timeout (The session expiration timeout can trigger "
-"a few minutes after the number of minutes declared to expire s for the HTTP "
-"session expiration)."
+"a few minutes after the number of minutes declared to expire the HTTP "
+"session)."
msgstr ""
#. Tag: title
-#: Websphere.xml:257
+#: Websphere.xml:253
#, no-c-format
msgid "The <literal>jee5/booking</literal> example"
msgstr ""
#. Tag: para
-#: Websphere.xml:259
+#: Websphere.xml:255
#, no-c-format
msgid ""
"The<literal>jee5/booking</literal>example is based on the Hotel Booking "
@@ -557,23 +559,32 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:265
+#: Websphere.xml:261
#, no-c-format
msgid ""
-"For running this example, we'll use the second JNDI mapping strategy "
-"(\"Override the default names generated by WebSphere\") as we don't want to "
-"change the java code to add the <literal>@JndiName</literal> annotation as "
-"in the first strategy."
+"The example already has a breakout of configurations and build scripts for "
+"WebSphere. First thing, we are going to do is build and deploy this example. "
+"Then we'll go over some key changes that we needed."
msgstr ""
+#. Tag: para
+#: Websphere.xml:266
+#, no-c-format
+msgid ""
+"The tailored configuration files for WebSphere use the second JNDI mapping "
+"strategy (\"Override the default names generated by WebSphere\") as the goal "
+"was to not change any java code to add the <literal>@JndiName</literal> "
+"annotation as in the first strategy."
+msgstr ""
+
#. Tag: title
-#: Websphere.xml:271
+#: Websphere.xml:272
#, no-c-format
msgid "Building the <literal>jee5/booking</literal> example"
msgstr ""
#. Tag: para
-#: Websphere.xml:273
+#: Websphere.xml:274
#, no-c-format
msgid ""
"Building it only requires running the correct ant command: "
@@ -583,21 +594,21 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:280
+#: Websphere.xml:281
#, no-c-format
msgid "Deploying the <literal>jee5/booking</literal> example"
msgstr ""
#. Tag: para
-#: Websphere.xml:281
+#: Websphere.xml:282
#, no-c-format
msgid ""
-"The steps below are for the WAS version stated above.The ports are default "
-"values, if you changed them, you must substitute the values."
+"The steps below are for the WAS version stated above.The ports are the "
+"default values, if you changed them, you must substitute the values."
msgstr ""
#. Tag: listitem
-#: Websphere.xml:284
+#: Websphere.xml:285
#, no-c-format
msgid ""
"Log in to the administration console <programlisting><![CDATA[http://"
@@ -606,7 +617,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:291
+#: Websphere.xml:292
#, no-c-format
msgid ""
"Go to the <literal>WebSphere enterprise applications</literal> menu option "
@@ -615,7 +626,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:298
+#: Websphere.xml:299
#, no-c-format
msgid ""
"At the top of the <literal>Enterprise Applications</literal> table select "
@@ -624,13 +635,13 @@
msgstr ""
#. Tag: literal
-#: Websphere.xml:304
+#: Websphere.xml:305
#, no-c-format
msgid "Preparing for the application installation"
msgstr ""
#. Tag: para
-#: Websphere.xml:307
+#: Websphere.xml:308
#, no-c-format
msgid ""
"Browse to the <literal>examples/jee5/booking/dist-websphere7/jboss-seam-jee5."
@@ -638,25 +649,25 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:313 Websphere.xml:323 Websphere.xml:341
+#: Websphere.xml:314 Websphere.xml:324 Websphere.xml:342
#, no-c-format
msgid "Select the <literal>Next</literal> button."
msgstr ""
#. Tag: para
-#: Websphere.xml:318
+#: Websphere.xml:319
#, no-c-format
msgid "Select the <literal>Fast Path</literal> button."
msgstr ""
#. Tag: literal
-#: Websphere.xml:332
+#: Websphere.xml:333
#, no-c-format
msgid "Select installation options"
msgstr ""
#. Tag: para
-#: Websphere.xml:335
+#: Websphere.xml:336
#, no-c-format
msgid ""
"Select the <literal>Deploy enterprise beans and Allow EJB reference targets "
@@ -665,13 +676,13 @@
msgstr ""
#. Tag: literal
-#: Websphere.xml:350
+#: Websphere.xml:351
#, no-c-format
msgid "Map modules to servers"
msgstr ""
#. Tag: para
-#: Websphere.xml:353
+#: Websphere.xml:354
#, no-c-format
msgid ""
"No changes needed here as we only have one server. Select the <literal>Next</"
@@ -679,13 +690,13 @@
msgstr ""
#. Tag: literal
-#: Websphere.xml:362
+#: Websphere.xml:363
#, no-c-format
msgid "Map virtual hosts for Web modules"
msgstr ""
#. Tag: para
-#: Websphere.xml:365
+#: Websphere.xml:366
#, no-c-format
msgid ""
"No changes needed here as we only have one virtual host. Select the "
@@ -693,31 +704,31 @@
msgstr ""
#. Tag: literal
-#: Websphere.xml:374
+#: Websphere.xml:375
#, no-c-format
msgid "Summary"
msgstr ""
#. Tag: para
-#: Websphere.xml:377
+#: Websphere.xml:378
#, no-c-format
msgid "No changes needed here. Select the <literal>Finish</literal> button."
msgstr ""
#. Tag: literal
-#: Websphere.xml:384
+#: Websphere.xml:385
#, no-c-format
msgid "Installation"
msgstr ""
#. Tag: para
-#: Websphere.xml:387
+#: Websphere.xml:388
#, no-c-format
msgid "Now you will see WebSphere installing and deploying your application."
msgstr ""
#. Tag: para
-#: Websphere.xml:390
+#: Websphere.xml:391
#, no-c-format
msgid ""
"When done, select the <literal>Save</literal> link and you will be returned "
@@ -725,15 +736,15 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:399
+#: Websphere.xml:400
#, no-c-format
msgid ""
-"To start the application select our application in the list, then click on "
+"To start the application, select the application in the list, then click on "
"the <literal>Start</literal> button at the top of the table."
msgstr ""
#. Tag: para
-#: Websphere.xml:409
+#: Websphere.xml:410
#, no-c-format
msgid ""
"You can now access the application at <literal>http://localhost:9080/seam-"
@@ -741,13 +752,13 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:418
+#: Websphere.xml:419
#, no-c-format
msgid "Deviation from the original base files"
msgstr ""
#. Tag: section
-#: Websphere.xml:418
+#: Websphere.xml:419
#, no-c-format
msgid ""
"Below are the differences between the base configuration files and the "
@@ -756,7 +767,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:422
+#: Websphere.xml:423
#, no-c-format
msgid ""
"<literal>META-INF/ejb-jar.xml</literal> — Removed all the EJB "
@@ -764,37 +775,37 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:428
+#: Websphere.xml:429
#, no-c-format
msgid ""
"<literal>META-INF/ibm-ejb-jar-bnd.xml</literal> — This WebSphere "
"specific file has been added as we use the second JNDI mapping strategy. It "
-"defines, for each session bean, the name WebSphere will use to bind it its "
-"JNDI name space"
+"defines, for each session bean, the name WebSphere will use to bind it in "
+"its JNDI name space"
msgstr ""
#. Tag: para
-#: Websphere.xml:435
+#: Websphere.xml:436
#, no-c-format
msgid ""
"<literal>META-INF/ibm-ejb-jar-ext.xml</literal> — This WebSphere "
-"specific file defines to WebSphere, the timeout value for each stateful bean"
+"specific file defines the timeout value for each stateful bean"
msgstr ""
#. Tag: para
-#: Websphere.xml:441
+#: Websphere.xml:442
#, no-c-format
msgid ""
"<literal>META-INF/persistence.xml</literal> — The main changes here "
"are for the datasource JNDI path, switching to the WebSphere transaction "
"manager lookup class, turning off the <literal>hibernate.transaction."
"flush_before_completion</literal> toggle, and forcing the Hibernate dialect "
-"to be <literal>GlassfishDerbyDialect</literal> how as using the integrated "
-"Derby database"
+"to be <literal>GlassfishDerbyDialect</literal> as we are using the "
+"integrated Derby database"
msgstr ""
#. Tag: para
-#: Websphere.xml:451
+#: Websphere.xml:452
#, no-c-format
msgid ""
"<literal>WEB-INF/components.xml</literal> — the change here is "
@@ -803,7 +814,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:459
+#: Websphere.xml:460
#, no-c-format
msgid ""
"<literal>WEB-INF/web.xml</literal> — Remove all the <literal>ejb-local "
@@ -813,7 +824,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:467 Websphere.xml:549
+#: Websphere.xml:468
#, no-c-format
msgid ""
"<literal>import.sql</literal> — due to the cutomized hibernate Derby "
@@ -822,7 +833,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:474
+#: Websphere.xml:475
#, no-c-format
msgid ""
"Also the build procedure has been changed to include the <literal>log4j.jar</"
@@ -831,13 +842,13 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:486
+#: Websphere.xml:487
#, no-c-format
msgid "The <literal>jpa</literal> booking example"
msgstr ""
#. Tag: para
-#: Websphere.xml:488
+#: Websphere.xml:489
#, no-c-format
msgid ""
"This is the Hotel Booking example implemented in Seam POJOs and using "
@@ -845,7 +856,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:493
+#: Websphere.xml:494
#, no-c-format
msgid ""
"The example already has a breakout of configurations and build scripts for "
@@ -853,7 +864,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:498
+#: Websphere.xml:499
#, no-c-format
msgid ""
"First thing, we are going to do is build and deploy that example. Then we'll "
@@ -861,13 +872,13 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:504
+#: Websphere.xml:505
#, no-c-format
msgid "Building the <literal>jpa</literal> example"
msgstr ""
#. Tag: para
-#: Websphere.xml:505
+#: Websphere.xml:506
#, no-c-format
msgid ""
"Building it only requires running the correct ant command: "
@@ -877,13 +888,13 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:514
+#: Websphere.xml:515
#, no-c-format
msgid "Deploying the <literal>jpa</literal> example"
msgstr ""
#. Tag: para
-#: Websphere.xml:515
+#: Websphere.xml:516
#, no-c-format
msgid ""
"Deploying <literal>jpa</literal> application is very similar to the "
@@ -894,7 +905,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:521
+#: Websphere.xml:522
#, no-c-format
msgid ""
"Follow the same instructions as for the <literal>jee5/booking</literal> "
@@ -902,11 +913,11 @@
"literal> file on the first page and on the <literal>Map context roots for "
"Web modules</literal> page (after the <literal>Map virtual host for Web "
"module</literal>), enter the context root you want to use for your "
-"application in the <literal>Contect Root</literal> input field."
+"application in the <literal>Context Root</literal> input field."
msgstr ""
#. Tag: para
-#: Websphere.xml:528
+#: Websphere.xml:529
#, no-c-format
msgid ""
"When started, you can now access the application at the <literal>http://"
@@ -914,13 +925,13 @@
msgstr ""
#. Tag: title
-#: Websphere.xml:534
+#: Websphere.xml:535
#, no-c-format
msgid "Deviation from the generic base files"
msgstr ""
#. Tag: section
-#: Websphere.xml:534
+#: Websphere.xml:535
#, no-c-format
msgid ""
"Below are the configuration file differences between the base configuration "
@@ -929,7 +940,7 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:539
+#: Websphere.xml:540
#, no-c-format
msgid ""
"<literal>META-INF/persistence.xml</literal> — The main changes here "
@@ -941,9 +952,18 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:556
+#: Websphere.xml:550
#, no-c-format
msgid ""
+"<literal>import.sql</literal> — due to the customized hibernate Derby "
+"dialect, the <literal>ID</literal> column can not be populated by this file "
+"and was removed."
+msgstr ""
+
+#. Tag: para
+#: Websphere.xml:557
+#, no-c-format
+msgid ""
"Also the build procedure have been changed to include the <literal>log4j."
"jar</literal> file and exclude the <literal>concurrent.jar</literal> and "
"<literal>jboss-common-core.jar</literal> files."
14 years, 8 months
Seam SVN: r11432 - branches/community/Seam_2_2/doc/Seam_Reference_Guide/it-IT.
by seam-commits@lists.jboss.org
Author: nico.ben
Date: 2009-08-26 15:14:02 -0400 (Wed, 26 Aug 2009)
New Revision: 11432
Modified:
branches/community/Seam_2_2/doc/Seam_Reference_Guide/it-IT/Configuration.po
branches/community/Seam_2_2/doc/Seam_Reference_Guide/it-IT/Webservices.po
branches/community/Seam_2_2/doc/Seam_Reference_Guide/it-IT/Websphere.po
Log:
Italian translation
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/it-IT/Configuration.po
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/it-IT/Configuration.po 2009-08-26 19:12:36 UTC (rev 11431)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/it-IT/Configuration.po 2009-08-26 19:14:02 UTC (rev 11432)
@@ -5,8 +5,8 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-05-05 12:31+0000\n"
-"PO-Revision-Date: 2009-05-24 13:07+0100\n"
+"POT-Creation-Date: 2009-08-26 18:47+0000\n"
+"PO-Revision-Date: 2009-08-26 21:08+0100\n"
"Last-Translator: Nicola Benaglia <nico.benaz(a)gmail.com>\n"
"Language-Team: none\n"
"MIME-Version: 1.0\n"
@@ -596,20 +596,65 @@
msgid "You are also responsible for ensuring propagation of any new conversation id back to the client. Seam exposes the conversation id as a property of the built in component <literal>conversation</literal>."
msgstr "Si è responsabili della propagazione di ogni nuovo id della conversazione attraverso il client. Seam espone l'id di conversazione come proprietà del componente predefinito <literal>conversation</literal>."
+# controllare
#. Tag: title
+#: Configuration.xml:325
+#, no-c-format
+msgid "Enabling HTTP cache-control headers"
+msgstr "Abilitazione delle intestazioni HTTP cache-control"
+
+#. Tag: para
#: Configuration.xml:326
#, no-c-format
+msgid "Seam does <emphasis>not</emphasis> automatically add <literal>cache-control</literal> HTTP headers to any resources served by the Seam resource servlet, or directly from your view directory by the servlet container. This means that your images, Javascript and CSS files, and resource representations from Seam resource servlet such as Seam Remoting Javascript interfaces are usually not cached by the browser. This is convenient in development but should be changed in production when optimizing the application."
+msgstr "Seam <emphasis>non</emphasis> aggiunge automaticamente le intestazioni HTTP <literal>cache-control</literal> alle risorse servite dal servlet resource Seam, o direttamente dalla directory di vista dal servlet container. Questo significa che le immagini, Javascript ed i file CSS, e le rappresentazioni delle risorse da parte del resource servlet di Seam quali le interfacce Seam Remoting Javascript solitamente non vengono messe nella cache del browser. Questo va bene in fase di sviluppo ma dovrebbe essere cambiato in fase di produzione quando si ottimizza l'applicazione."
+
+#. Tag: para
+#: Configuration.xml:334
+#, no-c-format
+msgid "You can configure a Seam filter to enable automatic addition of <literal>cache-control</literal> headers depending on the requested URI in <literal>components.xml</literal>:"
+msgstr "Si può configurare un filtro Seam ed abilitare l'aggiunta automatica delle intestazioni <literal>cache-control</literal> che dipendono dall'URI richiesta in <literal>components.xml</literal>:"
+
+#. Tag: programlisting
+#: Configuration.xml:339
+#, no-c-format
+msgid ""
+"<![CDATA[<web:cache-control-filter name=\"commonTypesCacheControlFilter\"\n"
+" regex-url-pattern=\".*(\\.gif|\\.png|\\.jpg|\\.jpeg|\\.css|\\.js)\"\n"
+" value=\"max-age=86400\"/> <!-- 1 day -->\n"
+"\n"
+"<web:cache-control-filter name=\"anotherCacheControlFilter\"\n"
+" url-pattern=\"/my/cachable/resources/*\"\n"
+" value=\"max-age=432000\"/> <!-- 5 days -->]]>"
+msgstr ""
+"<![CDATA[<web:cache-control-filter name=\"commonTypesCacheControlFilter\"\n"
+" regex-url-pattern=\".*(\\.gif|\\.png|\\.jpg|\\.jpeg|\\.css|\\.js)\"\n"
+" value=\"max-age=86400\"/> <!-- 1 day -->\n"
+"\n"
+"<web:cache-control-filter name=\"anotherCacheControlFilter\"\n"
+" url-pattern=\"/my/cachable/resources/*\"\n"
+" value=\"max-age=432000\"/> <!-- 5 days -->]]>"
+
+#. Tag: para
+#: Configuration.xml:341
+#, no-c-format
+msgid "You do not have to name the filters unless you have more than one filter enabled."
+msgstr "Non occorre dare il nome ai filtri amenoché vi sia più di un filtro abilitato."
+
+#. Tag: title
+#: Configuration.xml:348
+#, no-c-format
msgid "Adding custom filters"
msgstr "Aggiunta di filtri personalizzati"
#. Tag: para
-#: Configuration.xml:327
+#: Configuration.xml:349
#, no-c-format
msgid "Seam can install your filters for you, allowing you to specify <emphasis>where</emphasis> in the chain your filter is placed (the servlet specification doesn't provide a well defined order if you specify your filters in a <literal>web.xml</literal>). Just add the <literal>@Filter</literal> annotation to your Seam component (which must implement <literal>javax.servlet.Filter</literal>):"
msgstr "Seam può installare i filtri per voi, consentendo di specificare <emphasis>dove</emphasis> debba essere collocato il filtro nella catena (la specifica servlet non fornisce un ordine ben definito se si specificano i filtri in <literal>web.xml</literal>). Si aggiunga l'annotazione <literal>@Filter</literal> al componente Seam (che deve implementare <literal>javax.servlet.Filter</literal>):"
#. Tag: programlisting
-#: Configuration.xml:332
+#: Configuration.xml:354
#, no-c-format
msgid ""
"<![CDATA[@Startup\n"
@@ -627,31 +672,31 @@
"public class MultipartFilter extends AbstractFilter {]]>"
#. Tag: para
-#: Configuration.xml:334
+#: Configuration.xml:356
#, no-c-format
msgid "Adding the <literal>@Startup</literal> annotation means thar the component is available during Seam startup; bijection isn't available here (<literal>@BypassInterceptors</literal>); and the filter should be further down the chain than the RichFaces filter (<literal>@Filter(within=\"org.jboss.seam.web.ajax4jsfFilter\")</literal>)."
msgstr "Aggiungere l'annotazione <literal>@Startup</literal> significa che il componente è disponibile durante lo startup di Seam; la bijection non è disponibile qua (<literal>@BypassInterceptors</literal>); ed il filtro dovrebbe essere più in fondo alla catena rispetto al filtro RichFaces (<literal>@Filter(within=\"org.jboss.seam.web.ajax4jsfFilter\")</literal>)."
#. Tag: title
-#: Configuration.xml:343
+#: Configuration.xml:365
#, no-c-format
msgid "Integrating Seam with your EJB container"
msgstr "Integrazione di Seam con l'EJB container"
#. Tag: para
-#: Configuration.xml:345
+#: Configuration.xml:367
#, no-c-format
msgid "In a Seam application, EJB components have a certain duality, as they are managed by both the EJB container and Seam. Actually, it's more that Seam resolves EJB component references, manages the lifetime of stateful session bean components, and also participates in each method call via interceptors. Let's start with the configuration of the Seam interceptor chain."
msgstr "Nelle applicazioni Seam i componenti EJB hanno una certa dualità, poiché sono gestiti da entrambi: il container EJB e Seam. In verità Seam risolve i riferimenti ai componenti EJB, gestisce il ciclo di vita dei componenti bean con sessione stateful, e partecipa anche ad ogni chiamata di metodo via interceptor. Iniziamo con la configurazione della catena interceptor di Seam."
#. Tag: para
-#: Configuration.xml:350
+#: Configuration.xml:372
#, no-c-format
msgid "We need to apply the <literal>SeamInterceptor</literal> to our Seam EJB components. This interceptor delegates to a set of built-in server-side interceptors that handle such concerns as bijection, conversation demarcation, and business process signals. The simplest way to do this across an entire application is to add the following interceptor configuration in <literal>ejb-jar.xml</literal>:"
msgstr "Occorre applicare <literal>SeamInterceptor</literal> ai componenti EJB di Seam. Quest'interceptor delega ad un set di interceptor predefiniti lato server che gestiscono i concern quali la bijection, la demarcazione delle conversazioni ed i segnali del processo di business. Il modo più semplice per fare questo in tutta l'applicazione è aggiungere la seguente configurazione per l'interceptor in <literal>ejb-jar.xml</literal>:"
#. Tag: programlisting
-#: Configuration.xml:355
+#: Configuration.xml:377
#, no-c-format
msgid ""
"<![CDATA[<interceptors>\n"
@@ -683,79 +728,79 @@
"]]>"
#. Tag: para
-#: Configuration.xml:357
+#: Configuration.xml:379
#, no-c-format
msgid "Seam needs to know where to go to find session beans in JNDI. One way to do this is specify the <literal>@JndiName</literal> annotation on every session bean Seam component. However, this is quite tedious. A better approach is to specify a pattern that Seam can use to calculate the JNDI name from the EJB name. Unfortunately, there is no standard mapping to global JNDI defined in the EJB3 specification, so this mapping is vendor-specific (and may depend on your own naming conventions as well). We usually specify this option in <literal>components.xml</literal>."
msgstr "Seam necessita di sapere dove trovare i session bean in JNDI. Un modo per farlo è specificare l'annotazione <literal>@JndiName</literal> su ogni componente session bean. Comunque questa modalità è abbastanza noiosa. Un approccio migliore è specificare un pattern che Seam usa per calcolare il nome JNDI dal nome EJB. Sfortunatamente nella specifica EJB3 non è definita una mappatura standard al JNDI globale, quindi questa mappatura è specificata dal venditore (e può dipendere anche dalle proprie convenzioni di nome). Solitamente si specifica quest'opzione in <literal>components.xml</literal>."
#. Tag: para
-#: Configuration.xml:364
+#: Configuration.xml:386
#, no-c-format
msgid "For JBoss AS, the following pattern is correct:"
msgstr "Per JBoss AS ilseguente pattern è corretto:"
#. Tag: programlisting
-#: Configuration.xml:366
+#: Configuration.xml:388
#, no-c-format
msgid "<![CDATA[<core:init jndi-name=\"earName/#{ejbName}/local\" />]]>"
msgstr "<![CDATA[<core:init jndi-name=\"earName/#{ejbName}/local\" />]]>"
#. Tag: para
-#: Configuration.xml:368
+#: Configuration.xml:390
#, no-c-format
msgid "In this case, <literal>earName</literal> is the name of the EAR in which the bean is deployed, Seam replaces <literal>#{ejbName}</literal> with the name of the EJB, and the final segment represents the type of interface (local or remote)."
msgstr "In questo caso <literal>earName</literal> è il nome dell'EAR in cui viene deployato il bean, Seam sostituisce <literal>#{ejbName}</literal> con il nome dell'EJB ed il segmento finale rappresenta il tipo di interfaccia (locale o remota)."
#. Tag: para
-#: Configuration.xml:372
+#: Configuration.xml:394
#, no-c-format
msgid "Outside the context of an EAR (when using the JBoss Embeddable EJB3 container), the first segment is dropped since there is no EAR, leaving us with the following pattern:"
msgstr "Fuori dal contesto di un EAR (quando si usa il container JBoss Embeddable EJB3) il primo segmento viene ignorato poiché non c'è alcun EAR, rimanendo quindi con il seguente pattern:"
#. Tag: programlisting
-#: Configuration.xml:375
+#: Configuration.xml:397
#, no-c-format
msgid "<![CDATA[<core:init jndi-name=\"#{ejbName}/local\" />]]>"
msgstr "<![CDATA[<core:init jndi-name=\"#{ejbName}/local\" />]]>"
#. Tag: para
-#: Configuration.xml:377
+#: Configuration.xml:399
#, no-c-format
msgid "How these JNDI names are resolved and somehow locate an EJB component might appear a bit like black magic at this point, so let's dig into the details. First, let's talk about how the EJB components get into JNDI."
msgstr "Come questi nomi JNDI vengono risolti e come localizzare un componente EJB potrebbe apparire a questo punto un pò una questione di magia, quindi indaghiamo meglio i dettagli. Innanzitutto vediamo come i componenti EJB entrano in JNDI."
#. Tag: para
-#: Configuration.xml:381
+#: Configuration.xml:403
#, no-c-format
msgid "The folks at JBoss don't care much for XML, if you can't tell. So when they designed JBoss AS, they decided that EJB components would get assigned a global JNDI name automatically, using the pattern just described (i.e., EAR name/EJB name/interface type). The EJB name is the first non-empty value from the following list:"
msgstr "Le persone di JBoss non si preoccupano molto di XML. Quindi quando hanno progettato JBoss AS, hanno deciso che i componenti EJB avrebbero visto assegnarsi automaticamente un nome JNDI globale, usando il pattern appena descritto (cioè nome EAR/nome EJB/tipo interfaccia). Il nome EJB è il primo valore non vuoto della seguente lista:"
#. Tag: para
-#: Configuration.xml:387
+#: Configuration.xml:409
#, no-c-format
msgid "The value of the <literal><ejb-name></literal> element in ejb-jar.xml"
msgstr "Il valore dell'elemento <literal><ejb-name></literal> in ejb-jar.xml"
#. Tag: para
-#: Configuration.xml:390
+#: Configuration.xml:412
#, no-c-format
msgid "The value of the <literal>name</literal> attribute in the @Stateless or @Stateful annotation"
msgstr "Il valore dell'attributo <literal>name</literal> nell'annotazione @Stateless o @Stateful"
#. Tag: para
-#: Configuration.xml:393
+#: Configuration.xml:415
#, no-c-format
msgid "The simple name of the bean class"
msgstr "Il semplice nome della classe bean"
#. Tag: para
-#: Configuration.xml:397
+#: Configuration.xml:419
#, no-c-format
msgid "Let's look at an example. Assume that you have the following EJB bean and interface defined."
msgstr "Guardiamo un esempio. Si assuma di avere definiti il seguente bean EJB ed un'interfaccia."
#. Tag: programlisting
-#: Configuration.xml:399
+#: Configuration.xml:421
#, no-c-format
msgid ""
"<![CDATA[package com.example.myapp;\n"
@@ -803,25 +848,25 @@
"]]>"
#. Tag: para
-#: Configuration.xml:401
+#: Configuration.xml:423
#, no-c-format
msgid "Assuming your EJB bean class is deployed in an EAR named myapp, the global JNDI name myapp/AuthenticatorBean/local will be assigned to it on JBoss AS. As you learned, you can reference this EJB component as a Seam component with the name <literal>authenticator</literal> and Seam will take care of finding it in JNDI according to the JNDI pattern (or <literal>@JndiName</literal> annotation)."
msgstr "Assumendo che la classe del bean EJB sia deployata in un'applicazione EAR chiamata myapp, il nome JNDI globale myapp/AuthenticatorBean/local verrà assegnato a lei in JBoss AS. Come visto, si può fare riferimento a questo componente EJB come componente Seam con il nome <literal>authenticator</literal> e Seam si preoccuperà di trovarlo in JNDI secondo il pattern JNDI (o l'annotazione <literal>@JndiName</literal>)."
#. Tag: para
-#: Configuration.xml:407
+#: Configuration.xml:429
#, no-c-format
msgid "So what about the rest of the application servers? Well, according to the Java EE spec, which most vendors try to adhere to religiously, you have to declare an EJB reference for your EJB in order for it to be assigned a JNDI name. That requires some XML. It also means that it is up to you to establish a JNDI naming convention so that you can leverage the Seam JNDI pattern. You might find the JBoss convention a good one to follow."
msgstr "Ma cosa dire rispetto ai restanti application server? In accordo alla specifica Java EE, alla quale la maggior parte dei venditori cerca di aderire in modo religioso, si deve dichiarare un riferimento EJB per il proprio EJB affinché gli venga assegnato un nome JNDI. Questo richiede un pò di XML. Significa che sta a voi stabilire una convenzione di nomi JNDI per poter sfruttare il pattern JNDI di Seam. Si potrebbe ritenere buona e usare la convenzione JBoss."
#. Tag: para
-#: Configuration.xml:413
+#: Configuration.xml:435
#, no-c-format
msgid "There are two places you have to define the EJB reference when using Seam on non-JBoss application servers. If you are going to be looking up the Seam EJB component through JSF (in a JSF view or as a JSF action listener) or a Seam JavaBean component, then you must declare the EJB reference in web.xml. Here is the EJB reference for the example component just shown:"
msgstr "Ci sono due posti dove poter definire il riferimento EJB usando Seam su application server non-JBoss. Se si cercheranno i componenti EJB di Seam attraverso JSF (in una vista JSF o in un action listener JSF) od un componente JavaBean di Seam, allora occorre dichiarare il riferimento EJB in web.xml. Ecco qua il riferimento EJB per il componente d'esempio appena mostrato:"
#. Tag: programlisting
-#: Configuration.xml:418
+#: Configuration.xml:440
#, no-c-format
msgid ""
"<![CDATA[<ejb-local-ref>\n"
@@ -839,31 +884,31 @@
"]]>"
#. Tag: para
-#: Configuration.xml:420
+#: Configuration.xml:442
#, no-c-format
msgid "This reference will cover most uses of the component in a Seam application. However, if you want to be able to inject a Seam EJB component into another Seam EJB component using <literal>@In</literal>, you need to define this EJB reference in another location. This time, it must be defined in ejb-jar.xml, and it's a bit tricker."
msgstr "Questo riferimento coprirà la maggior parte degli usi dei componenti in un'applicazione Seam. Comunque se si vuole essere in grado di iniettare un componente EJB di Seam in un altro componente usando <literal>@In</literal>, occorre definire questo riferimento EJB in un'altra posizione. Questa volta deve essere definito in ejb-jar.xml, ed è un pò più complicato."
#. Tag: para
-#: Configuration.xml:425
+#: Configuration.xml:447
#, no-c-format
msgid "Within the context of an EJB method call, you have to deal with a somewhat sheltered JNDI context. When Seam attempts to find another Seam EJB component to satisfy an injection point defined using <literal>@In</literal>, whether or not it finds it depends on whether an EJB reference exists in JNDI. Strictly speaking, you cannot simply resolve JNDI names as you please. You have to define the references explicitly. Fortunately, JBoss recognized how aggrevating this would be for the developer and all versions of JBoss automatically register EJBs so they are always available in JNDI, both to the web container and the EJB container. So if you are using JBoss, you can skip the next few paragraphs. However, if you are deploying to GlassFish, pay close attention."
msgstr "Dentro il contesto di una chiamata di metodo EJB, occorre avere a che fare con un contesto JNDI protetto. Quando Seam tenta di trovare un altro componente EJB Seam per soddisfare un punto d'iniezione definito con <literal>@In</literal>, il fatto che Seam lo trovi oppure no dipende dal fatto che esista un riferimento EJB in JNDI. In senso letterale non si può semplicemente risolvere i nomi JNDI a proprio piacimento. Occorre definire esplicitamente i riferimenti. Fortunatamente JBoss ha capito come questo sarebbe aggravante per lo sviluppatore e quindi tutte le versioni di JBoss registrano automaticamente gli EJB cosicché siano sempre disponibili in JNDI, sia nel web container sia nell'EJB container. In definitiva se si usa JBoss, si possono saltare i prossimi paragrafi. Comunque, se si usa GlassFish, si presti molta attenzione."
#. Tag: para
-#: Configuration.xml:434
+#: Configuration.xml:456
#, no-c-format
msgid "For application servers that stubbornly adhere to the EJB specification, EJB references must always be defined explicitly. But unlike with the web context, where a single resource reference covers all uses of the EJB from the web environment, you cannot declare EJB references globally in the EJB container. Instead, you have to specify the JNDI resources for a given EJB component one-by-one."
msgstr "Per gli application server che aderiscono testardamente alla specifica EJB, i riferimenti EJB devono sempre essere definititi esplicitamente. Ma diversamente dal contesto web, dove un singolo riferimento di una risorsa copre tutti gli usi di EJB, non si possono dichiarare i riferimenti EJB in modo globale nel container EJB. Invece si devono specificare le risorse JNDI per un dato componente EJB una per una."
#. Tag: para
-#: Configuration.xml:439
+#: Configuration.xml:461
#, no-c-format
msgid "Let's assume that we have an EJB named RegisterAction (the name is resolved using the three steps mentioned previously). That EJB has the following Seam injection:"
msgstr "Si assuma di avere un EJB chiamato RegisterAction (nome che viene risolto usando i tre passi menzionati prima). Questo EJB ha la seguente injection Seam:"
#. Tag: programlisting
-#: Configuration.xml:442
+#: Configuration.xml:464
#, no-c-format
msgid ""
"<![CDATA[@In(create = true)\n"
@@ -875,13 +920,13 @@
"]]>"
#. Tag: para
-#: Configuration.xml:444
+#: Configuration.xml:466
#, no-c-format
msgid "In order for this injection to work, the link must be established in the ejb-jar.xml file as follows:"
msgstr "Per fare funzionare quest'injection, il link deve essere messo nel file ejb-jar.xml come mostrato:"
#. Tag: programlisting
-#: Configuration.xml:446
+#: Configuration.xml:468
#, no-c-format
msgid ""
"<![CDATA[<ejb-jar>\n"
@@ -919,109 +964,109 @@
"]]>"
#. Tag: para
-#: Configuration.xml:448
+#: Configuration.xml:470
#, no-c-format
msgid "Notice that the contents of the <literal><ejb-local-ref></literal> are identical to what we defined in web.xml. What we are doing is bringing the reference into the EJB context where it can be used by the RegisterAction bean. You will need to add one of these references for any injection of a Seam EJB compoenent into another Seam EJB component using <literal>@In</literal>. (You can see an example of this setup in the jee5/booking example)."
msgstr "Si noti che i contenuti di <literal><ejb-local-ref></literal> sono identici a ciò che viene definito in web.xml. Ciò che viene fatto è portare il riferimento nel contesto EJB dove può essere usato dal bean RegisterAction. Occorre aggiungere uno di questi riferimenti per qualsiasi injection di componente EJB Seam in un altro componente EJB Seam con <literal>@In</literal>. (Vedere l'esempio di setup di jee5/booking)."
#. Tag: para
-#: Configuration.xml:454
+#: Configuration.xml:476
#, no-c-format
msgid "But what about <literal>@EJB</literal>? It's true that you can inject one EJB into another using <literal>@EJB</literal>. However, by doing so, you are injecting the actual EJB reference rather than the Seam EJB component instance. In this case, some Seam features will work, while others won't. That's because Seam's interceptor is invoked on any method call to an EJB component. But that only invokes Seam's server-side interceptor chain. What you lose is Seam's state management and Seam's client-side interceptor chain. Client-side interceptors handle concerns such as security and concurrency. Also, when injecting a SFSB, there is no guarantee that you will get the SFSB bound to the active session or conversation, whatever the case may be. Thus, you definitely want to inject the Seam EJB component using <literal>@In</literal>."
msgstr "E riguardo <literal>@EJB</literal>? E' vero che si può iniettare un EJB in un altro usando <literal>@EJB</literal>. Comunque, facendo così, si sta iniettando il riferimento EJB piuttosto che l'istanza del componente EJB Seam. In questo caso, alcune funzionalità di Seam funzioneranno, mentre altre no. Questo perchè l'interceptor di Seam viene invocato ad ogni chiamata di metodo in un componente EJB. Ma questo invoca solo la catena dell'interceptor Seam lato server. Ciò che viene persa è la gestione dello stato di Seam e la catena dell'interceptor lato client. Gli interceptor lato client gestiscono i concern quali sicurezza e concorrenza. Inoltre, quando si inietta un SFSB, non c'è garanzia che il SFSB venga associato alla conversazione o sessione attiva, qualunque sia il caso. Quindi si inietterà il componente EJB Seam usando <literal>@In</literal>."
#. Tag: para
-#: Configuration.xml:464
+#: Configuration.xml:486
#, no-c-format
msgid "That covers how JNDI names are defined and used. The lesson is that with some application servers, such as GlassFish, you are going to have to specify JNDI names for all EJB components explicitly, and sometimes twice! And even if you are following the same naming convention as JBoss AS, the JNDI pattern in Seam may need to be altered. For instance, the global JNDI names are automatically prefixed with java:comp/env on GlassFish, so you need to define the JNDI pattern as follows:"
msgstr "Vediamo ora come vengono definiti ed usati i nomi JNDI. La lezione riguarda alcuni application server, come GlassFish, con cui occorre specificare i nomi JNDI esplicitamente per tutti i componenti EJB, ed alcune volte in modo doppio! Ed anche se si segue la stessa convenzione di nomi di JBoss AS, il pattern JNDI in Seam deve essere alterato. Per esempio in GlasshFish ai nomi JNDI viene automaticamente aggiunto il prefisso java:comp/env, e quindi occorre definire il pattern JNDI come segue:"
#. Tag: programlisting
-#: Configuration.xml:470
+#: Configuration.xml:492
#, no-c-format
msgid "<![CDATA[<core:init jndi-name=\"java:comp/env/earName/#{ejbName}/local\" />]]>"
msgstr "<![CDATA[<core:init jndi-name=\"java:comp/env/earName/#{ejbName}/local\" />]]>"
#. Tag: para
-#: Configuration.xml:472
+#: Configuration.xml:494
#, no-c-format
msgid "Finally, let's talk about transactions. In an EJB3 environment, we recommend the use of a special built-in component for transaction management, that is fully aware of container transactions, and can correctly process transaction success events registered with the <literal>Events</literal> component. If you don't add this line to your <literal>components.xml</literal> file, Seam won't know when container-managed transactions end:"
msgstr "Infine parliamo di transazioni. In un ambiente EJB3 si raccomanda l'uso di un componente speciale predefinito per la gestione delle transazioni, che sia pienamente consapevole delle transazioni del container e possa correttamente processare gli eventi di successo legati alle transazioni registrato con il componente <literal>Events</literal>. Se non viene aggiunta questa linea al file <literal>components.xml</literal>, Seam non saprà quando finiscono le transazioni gestite dal container:"
#. Tag: programlisting
-#: Configuration.xml:479
+#: Configuration.xml:501
#, no-c-format
msgid "<![CDATA[<transaction:ejb-transaction/>]]>"
msgstr "<![CDATA[<transaction:ejb-transaction/>]]>"
#. Tag: title
-#: Configuration.xml:484
+#: Configuration.xml:506
#, no-c-format
msgid "Don't forget!"
msgstr "Non dimenticare!"
#. Tag: para
-#: Configuration.xml:486
+#: Configuration.xml:508
#, no-c-format
msgid "There is one final item you need to know about. You must place a <literal>seam.properties</literal>, <literal>META-INF/seam.properties</literal> or <literal>META-INF/components.xml</literal> file in any archive in which your Seam components are deployed (even an empty properties file will do). At startup, Seam will scan any archives with <literal>seam.properties</literal> files for seam components."
msgstr "C'è un ulteriore punto finale da sapere. Occorre mettere un file <literal>seam.properties</literal>, <literal>META-INF/seam.properties</literal> o <literal>META-INF/components.xml</literal> in qualsiasi archivio in cui vengono deployati componenti Seam (anche un file vuoto). All'avvio Seam scansionerà ogni archivio con il file <literal>seam.properties</literal> per cercare componenti seam."
#. Tag: para
-#: Configuration.xml:491
+#: Configuration.xml:513
#, no-c-format
msgid "In a web archive (WAR) file, you must place a <literal>seam.properties</literal> file in the <literal>WEB-INF/classes</literal> directory if you have any Seam components included here."
msgstr "Nel file WAR occorre mettere il file <literal>seam.properties</literal> nella directory <literal>WEB-INF/classes</literal> qualora si abbiano componenti Seam da includere."
#. Tag: para
-#: Configuration.xml:494
+#: Configuration.xml:516
#, no-c-format
msgid "That's why all the Seam examples have an empty <literal>seam.properties</literal> file. You can't just delete this file and expect everything to still work!"
msgstr "E' questo il motivo per cui tutti gli esempi Seam hanno un file <literal>seam.properties</literal> vuoto. Non si può cancellare questo file ed attendersi che tutto funzioni!"
#. Tag: para
-#: Configuration.xml:497
+#: Configuration.xml:519
#, no-c-format
msgid "You might think this is silly and what kind of idiot framework designers would make an empty file affect the behavior of their software?? Well, this is a workaround for a limitation of the JVM — if we didn't use this mechanism, our next best option would be to force you to list every component explicitly in <literal>components.xml</literal>, just like some other competing frameworks do! I think you'll like our way better."
msgstr "Si potrebbe ritenere che ciò sia stupido e chiedersi quale stupida razza di designer di framework farebbe influenzare il proprio software da un file vuoto? Questo è un workaroundper una limitazione della JVM — se non venisse usato questo meccanismo la migliore opzione sarebbe quella di obbligarvi ad elencare esplicitamente in <literal>components.xml</literal> ciascun componente, proprio come fanno gli altri framework! Riflettete su quale sia il modo migliore."
#. Tag: title
-#: Configuration.xml:508
+#: Configuration.xml:530
#, no-c-format
msgid "Using Alternate JPA Providers"
msgstr "Uso di provider JPA alternativi"
#. Tag: para
-#: Configuration.xml:510
+#: Configuration.xml:532
#, no-c-format
msgid "Seam comes packaged and configured with Hibernate as the default JPA provider. If you require using a different JPA provider you must tell <literal>seam</literal> about it."
msgstr "Seam viene assemblato e configurato con Hibernate in qualità di provider JPA. Se si vuole usare un diverso provider JPA occorre dirlo a <literal>seam</literal>."
#. Tag: title
-#: Configuration.xml:516
+#: Configuration.xml:538
#, no-c-format
msgid "This is a workaround"
msgstr "Questo è un workaround"
#. Tag: para
-#: Configuration.xml:517
+#: Configuration.xml:539
#, no-c-format
msgid "Configuration of the JPA provider will be easier in the future and will not require configuration changes, unless you are adding a custom persistence provider implementation."
msgstr "La configurazione del provider JPA sarà più semplice in futuro e non richiederà cambiamenti nella configurazione, amenoché non si aggiunga un'implementazione personalizzata del provider di persistenza."
#. Tag: para
-#: Configuration.xml:524
+#: Configuration.xml:546
#, no-c-format
msgid "Telling seam about a different JPA provider can be be done in one of two ways:"
msgstr "Comunicare a Seam di usare un altro provider JPA può essere realizzato in uno dei due modi:"
#. Tag: para
-#: Configuration.xml:525
+#: Configuration.xml:547
#, no-c-format
msgid "Update your application's <literal>components.xml</literal> so that the generic <literal>PersistenceProvider</literal> takes precedence over the hibernate version. Simply add the following to the file:"
msgstr "Si aggiorni il <literal>components.xml</literal> della propria applicazione affinché <literal>PersistenceProvider</literal> abbia la precedenza sulla versione Hibernate. Semplicemente si aggiunga al file:"
#. Tag: programlisting
-#: Configuration.xml:530
+#: Configuration.xml:552
#, no-c-format
msgid ""
"<![CDATA[<component name=\"org.jboss.seam.persistence.persistenceProvider\" \n"
@@ -1035,13 +1080,13 @@
"</component>]]>"
#. Tag: para
-#: Configuration.xml:531
+#: Configuration.xml:553
#, no-c-format
msgid "If you want to take advantage of your JPA provider's non-standard features you will need to write you own implementation of the <literal>PersistenceProvider</literal>. Use <literal>HibernatePersistenceProvider</literal> as a starting point (don't forget to give back to the community :). Then you will need to tell <literal>seam</literal> to use it as before."
msgstr "Se si vogliono sfruttare le caratteristiche nonstandard del proprio provider JPA occorre scrivere la propria implementazione di <literal>PersistenceProvider</literal>. Si usa <literal>HibernatePersistenceProvider</literal> come punto di partenza (si ricordi di dare qualcosa alla comunità :). Quindi occorrerà dire a <literal>seam</literal> di usarlo come prima."
#. Tag: programlisting
-#: Configuration.xml:538
+#: Configuration.xml:560
#, no-c-format
msgid ""
"<![CDATA[<component name=\"org.jboss.seam.persistence.persistenceProvider\" \n"
@@ -1053,41 +1098,41 @@
"</component>]]>"
#. Tag: para
-#: Configuration.xml:539
+#: Configuration.xml:561
#, no-c-format
msgid "All that is left is updating the <literal>persistence.xml</literal> file with the correct provider class, and what ever properties your provider needs. Don't forget to package your new provider's jar files in the application if they are needed."
msgstr "Ciò che rimane da fare è aggiornare il file <literal>persistence.xml</literal> come la giusta classe del provider e quelle proprietà che il provider richiede. Non dimenticare di impacchettare nell'applicazione i file jar del provider se richiesti."
#. Tag: title
-#: Configuration.xml:547
+#: Configuration.xml:569
#, no-c-format
msgid "Configuring Seam in Java EE 5"
msgstr "Configurazione di Seam in java EE 5"
#. Tag: para
-#: Configuration.xml:558
+#: Configuration.xml:580
#, no-c-format
msgid "If you're running in a Java EE 5 environment, this is all the configuration required to start using Seam!"
msgstr "Se si esegue il software in ambiente Java EE 5, questa è tutta la configurazione richiesta per usare Seam!"
# come tradurre?
#. Tag: title
-#: Configuration.xml:561
-#: Configuration.xml:656
-#: Configuration.xml:794
-#: Configuration.xml:827
+#: Configuration.xml:583
+#: Configuration.xml:678
+#: Configuration.xml:816
+#: Configuration.xml:849
#, no-c-format
msgid "Packaging"
msgstr "Packaging"
#. Tag: para
-#: Configuration.xml:563
+#: Configuration.xml:585
#, no-c-format
msgid "Once you've packaged all this stuff together into an EAR, the archive structure will look something like this:"
msgstr "Una volta impacchettato assieme tutte queste cose in un EAR, la struttura dell'archivio apparirà così:"
#. Tag: programlisting
-#: Configuration.xml:566
+#: Configuration.xml:588
#, no-c-format
msgid ""
"<![CDATA[my-application.ear/\n"
@@ -1161,97 +1206,97 @@
" ...]]>"
#. Tag: para
-#: Configuration.xml:568
+#: Configuration.xml:590
#, no-c-format
msgid "You should declare <literal>jboss-seam.jar</literal> as an ejb module in <literal>META-INF/application.xml</literal>; <literal>jboss-el.jar</literal> should be placed in the EAR's lib directory (putting it in the EAR classpath."
msgstr "Si dovrebbe dichiarare <literal>jboss-seam.jar</literal> come modulo ejb in <literal>META-INF/application.xml</literal>; <literal>jboss-el.jar</literal> dovrebbe essere collocato nella directory lib dell'EAR (mettendolo nel classpath dell'EAR)."
#. Tag: para
-#: Configuration.xml:573
+#: Configuration.xml:595
#, no-c-format
msgid "If you want to use jBPM or Drools, you must include the needed jars in the EAR's lib directory."
msgstr "Se si vuole usare jBPM o Drools, occorre includere i jar necessari nella directory lib di EAR."
#. Tag: para
-#: Configuration.xml:575
+#: Configuration.xml:597
#, no-c-format
msgid "If you want to use facelets (our recommendation), you must include <literal>jsf-facelets.jar</literal> in the <literal>WEB-INF/lib</literal> directory of the WAR."
msgstr "Se si vuole usare facelets (consigliato), occorre includere <literal>jsf-facelets.jar</literal> nella directory <literal>WEB-INF/lib</literal> del WAR."
#. Tag: para
-#: Configuration.xml:578
+#: Configuration.xml:600
#, no-c-format
msgid "If you want to use the Seam tag library (most Seam applications do), you must include <literal>jboss-seam-ui.jar</literal> in the <literal>WEB-INF/lib</literal> directory of the WAR. If you want to use the PDF or email tag libraries, you need to put <literal>jboss-seam-pdf.jar</literal> or <literal>jboss-seam-mail.jar</literal> in <literal>WEB-INF/lib</literal>."
msgstr "Se si vuole usare la libreria dei tag di Seam (come per la maggior parte delle applicazioni), occorre includere <literal>jboss-seam-ui.jar</literal> nella directory <literal>WEB-INF/lib</literal> del WAR. Se si vuole usare la libreria PDF o quella email, occorre mettere <literal>jboss-seam-pdf.jar</literal> o <literal>jboss-seam-mail.jar</literal> in <literal>WEB-INF/lib</literal>."
#. Tag: para
-#: Configuration.xml:583
+#: Configuration.xml:605
#, no-c-format
msgid "If you want to use the Seam debug page (only works for applications using facelets), you must include <literal>jboss-seam-debug.jar</literal> in the <literal>WEB-INF/lib</literal> directory of the WAR."
msgstr "Se si vuole usare la pagina di debug di Seam (funziona solo per applicazioni con facelets), occorre includere <literal>jboss-seam-debug.jar</literal> nella directory <literal>WEB-INF/lib</literal> del WAR."
#. Tag: para
-#: Configuration.xml:586
+#: Configuration.xml:608
#, no-c-format
msgid "Seam ships with several example applications that are deployable in any Java EE container that supports EJB 3.0."
msgstr "Seam porta con sé parecchi esempi di applicazioni che sono deployate in un container Java EE che supporta EJB 3.0."
#. Tag: para
-#: Configuration.xml:589
+#: Configuration.xml:611
#, no-c-format
msgid "I really wish that was all there was to say on the topic of configuration but unfortunately we're only about a third of the way there. If you're too overwhelmed by all this tedious configuration stuff, feel free to skip over the rest of this section and come back to it later."
msgstr "Ci piacerebbe aver terminato l'argomento configurazione, ma sfortunatamente siamo solo ad un terzo. Se si è troppo sopraffatti da questo tedioso argomento, si può saltare alla prossima sezione e tornare qua più tardi."
#. Tag: title
-#: Configuration.xml:598
+#: Configuration.xml:620
#, no-c-format
msgid "Configuring Seam in J2EE"
msgstr "Configurare Seam in J2EE"
#. Tag: para
-#: Configuration.xml:600
+#: Configuration.xml:622
#, no-c-format
msgid "Seam is useful even if you're not yet ready to take the plunge into EJB 3.0. In this case you would use Hibernate3 or JPA instead of EJB 3.0 persistence, and plain JavaBeans instead of session beans. You'll miss out on some of the nice features of session beans but it will be very easy to migrate to EJB 3.0 when you're ready and, in the meantime, you'll be able to take advantage of Seam's unique declarative state management architecture."
msgstr "Seam è utile anche se non si è ancora pronti per il grande salto in EJB3.0. In questo caso si usa Hibernate3 o JPA invece della persistenza EJB3.0, ed i JavaBean invece dei bean di sessione. Non si avranno a disposizione alcune funzionalità carine per i session bean, ma sarà molto semplice migrare a EJB3.0 quando si sarà pronti ed allora si potrà sfruttare l'architettura unica di Seam per la gestione dichiarativa dello stato."
#. Tag: para
-#: Configuration.xml:615
+#: Configuration.xml:637
#, no-c-format
msgid "Seam JavaBean components do not provide declarative transaction demarcation like session beans do. You <emphasis>could</emphasis> manage your transactions manually using the JTA <literal>UserTransaction</literal> or declaratively using Seam's <literal>@Transactional</literal> annotation. But most applications will just use Seam managed transactions when using Hibernate with JavaBeans."
msgstr "I componenti JavaBean di Seam non forniscono la demarcazione dichiarativa delle transazioni come fanno i session bean. Si <emphasis>possono</emphasis> gestire manualmente le transazioni usando <literal>UserTransaction</literal> di JTA od in modo dichiarativo usando l'annotazione <literal>@Transactional</literal> di Seam. Ma la maggior parte delle applicazioni userà solo le transazioni gestite da Seam con Hibernate ed i JavaBean."
#. Tag: para
-#: Configuration.xml:621
+#: Configuration.xml:643
#, no-c-format
msgid "The Seam distribution includes a version of the booking example application that uses Hibernate3 and JavaBeans instead of EJB3, and another version that uses JPA and JavaBeans. These example applications are ready to deploy into any J2EE application server."
msgstr "La distribuzione Seam include una versione dell'esempio booking che usa Hibernate3 e JavaBean invece di EJB3, ed un'altra versione che usa JPA e JavaBean. Queste applicazioni d'esempio sono pronte per essere deployate in ogni application server J2EE."
#. Tag: title
-#: Configuration.xml:626
+#: Configuration.xml:648
#, no-c-format
msgid "Boostrapping Hibernate in Seam"
msgstr "Boostrapping di Hibernate in Seam"
#. Tag: para
-#: Configuration.xml:628
+#: Configuration.xml:650
#, no-c-format
msgid "Seam will bootstrap a Hibernate <literal>SessionFactory</literal> from your <literal>hibernate.cfg.xml</literal> file if you install a built-in component:"
msgstr "Seam avvierà un <literal>SessionFactory</literal> di Hibernate dal file <literal>hibernate.cfg.xml</literal> se si installa un componente predefinito:"
#. Tag: programlisting
-#: Configuration.xml:631
+#: Configuration.xml:653
#, no-c-format
msgid "<![CDATA[<persistence:hibernate-session-factory name=\"hibernateSessionFactory\"/>]]>"
msgstr "<![CDATA[<persistence:hibernate-session-factory name=\"hibernateSessionFactory\"/>]]>"
#. Tag: para
-#: Configuration.xml:633
+#: Configuration.xml:655
#, no-c-format
msgid "You will also need to configure a <emphasis>managed session</emphasis> if you want a Seam managed Hibernate <literal>Session</literal> to be available via injection."
msgstr "Occorre anche configurare una <emphasis>sessione gestita</emphasis> se si vuole disponibile via injection una <literal>Session</literal> di Hibernate gestita da Seam."
#. Tag: programlisting
-#: Configuration.xml:636
+#: Configuration.xml:658
#, no-c-format
msgid ""
"<![CDATA[<persistence:managed-hibernate-session name=\"hibernateSession\"\n"
@@ -1261,31 +1306,31 @@
" session-factory=\"#{hibernateSessionFactory}\"/>]]>"
#. Tag: title
-#: Configuration.xml:641
+#: Configuration.xml:663
#, no-c-format
msgid "Boostrapping JPA in Seam"
msgstr "Boostrapping di JPA in Seam"
#. Tag: para
-#: Configuration.xml:643
+#: Configuration.xml:665
#, no-c-format
msgid "Seam will bootstrap a JPA <literal>EntityManagerFactory</literal> from your <literal>persistence.xml</literal> file if you install this built-in component:"
msgstr "Seam avvierà un <literal>EntityManagerFactory</literal> JPA dal file <literal>persistence.xml</literal> se è stato installato il seguente componente predefinito:"
#. Tag: programlisting
-#: Configuration.xml:646
+#: Configuration.xml:668
#, no-c-format
msgid "<![CDATA[<persistence:entity-manager-factory name=\"entityManagerFactory\"/>]]>"
msgstr "<![CDATA[<persistence:entity-manager-factory name=\"entityManagerFactory\"/>]]>"
#. Tag: para
-#: Configuration.xml:648
+#: Configuration.xml:670
#, no-c-format
msgid "You will also need to configure a <emphasis>managed persistence context</emphasis> if you want a Seam managed JPA <literal>EntityManager</literal> to be available via injection."
msgstr "Occorre anche configurare un <emphasis>contesto di persistenza gestito</emphasis> se si vuole avere disponibile via injection un <literal>EntityManager</literal> JPA gestito da Seam."
#. Tag: programlisting
-#: Configuration.xml:651
+#: Configuration.xml:673
#, no-c-format
msgid ""
"<![CDATA[<persistence:managed-persistence-context name=\"entityManager\"\n"
@@ -1295,13 +1340,13 @@
" entity-manager-factory=\"#{entityManagerFactory}\"/>]]>"
#. Tag: para
-#: Configuration.xml:658
+#: Configuration.xml:680
#, no-c-format
msgid "We can package our application as a WAR, in the following structure:"
msgstr "Si può impacchettare l'applicazione come WAR nella seguente struttura:"
#. Tag: programlisting
-#: Configuration.xml:660
+#: Configuration.xml:682
#, no-c-format
msgid ""
"<![CDATA[my-application.war/\n"
@@ -1369,115 +1414,115 @@
" ...]]>"
#. Tag: para
-#: Configuration.xml:662
+#: Configuration.xml:684
#, no-c-format
msgid "If we want to deploy Hibernate in a non-EE environment like Tomcat or TestNG, we need to do a little bit more work."
msgstr "Se si vuole fare ildeploy di Hibernate in un ambiente non EE come Tomcat o TestNG, occorre un pò di lavoro."
#. Tag: title
-#: Configuration.xml:669
+#: Configuration.xml:691
#, no-c-format
msgid "Configuring Seam in Java SE, without JBoss Embedded"
msgstr "Configurazione di Seam in java EE 5 senza JBoss Embedded"
#. Tag: para
-#: Configuration.xml:671
+#: Configuration.xml:693
#, no-c-format
msgid "It is possible to use Seam completely outside of an EE environment. In this case, you need to tell Seam how to manage transactions, since there will be no JTA available. If you're using JPA, you can tell Seam to use JPA resource-local transactions, ie. <literal>EntityTransaction</literal>, like so:"
msgstr "E' possibile usare Seam completamente fuori dall'ambiente EE. In questo caso serve istruire Seam come gestire le transazioni gestire, poiché non sarà disponibile JTA. Se si usa JTA, si può dire a Seam di usare le transazioni resource-local di JTA, cioè <literal>EntityTransaction</literal>, in questo modo:"
#. Tag: programlisting
-#: Configuration.xml:675
+#: Configuration.xml:697
#, no-c-format
msgid "<![CDATA[<transaction:entity-transaction entity-manager=\"#{entityManager}\"/>]]>"
msgstr "<![CDATA[<transaction:entity-transaction entity-manager=\"#{entityManager}\"/>]]>"
#. Tag: para
-#: Configuration.xml:677
+#: Configuration.xml:699
#, no-c-format
msgid "If you're using Hibernate, you can tell Seam to use the Hibernate transaction API like this:"
msgstr "Se si usa Hibernate, si può dire a Seam di usare l'API transaction di Hibernate in questo modo:"
#. Tag: programlisting
-#: Configuration.xml:679
+#: Configuration.xml:701
#, no-c-format
msgid "<![CDATA[<transaction:hibernate-transaction session=\"#{session}\"/>]]>"
msgstr "<![CDATA[<transaction:hibernate-transaction session=\"#{session}\"/>]]>"
#. Tag: para
-#: Configuration.xml:681
+#: Configuration.xml:703
#, no-c-format
msgid "Of course, you'll also need to define a datasource."
msgstr "Certamente occorre definire un datasource."
#. Tag: para
-#: Configuration.xml:683
+#: Configuration.xml:705
#, no-c-format
msgid "A better alternative is to use JBoss Embedded to get access to the EE APIs."
msgstr "Un'alternativa migliore è usare JBoss Embedded per accedere alle API EE."
#. Tag: title
-#: Configuration.xml:688
+#: Configuration.xml:710
#, no-c-format
msgid "Configuring Seam in Java SE, with JBoss Embedded"
msgstr "Configurazione di Seam in java EE 5 con JBoss Embedded"
#. Tag: para
-#: Configuration.xml:690
+#: Configuration.xml:712
#, no-c-format
msgid "JBoss Embedded lets you run EJB3 components outside the context of the Java EE 5 application server. This is especially, but not only, useful for testing."
msgstr "JBoss Embedded consente di eseguire i componenti EJB3 fuori dal contesto dell'application server Java EE 5. Questo è utile specialmente, ma non solo, per il testing."
#. Tag: para
-#: Configuration.xml:693
+#: Configuration.xml:715
#, no-c-format
msgid "The Seam booking example application includes a TestNG integration test suite that runs on JBoss Embedded via <literal>SeamTest</literal>."
msgstr "L'applicazione d'esempio booking include la suite d'integrazione per TestNG che esegue JBoss Embedded via <literal>SeamTest</literal>."
#. Tag: para
-#: Configuration.xml:705
+#: Configuration.xml:727
#, no-c-format
msgid "The booking example application may even be deployed to Tomcat."
msgstr "L'applicazione d'esempio booking può essere deployata via Tomcat."
#. Tag: title
-#: Configuration.xml:717
+#: Configuration.xml:739
#, no-c-format
msgid "Installing Embedded JBoss"
msgstr "Installare JBoss Embedded"
#. Tag: para
-#: Configuration.xml:720
+#: Configuration.xml:742
#, no-c-format
msgid "Embedded JBoss must by installed into Tomcat for Seam applications to run correctly on it. Embedded JBoss runs with JDK 5 or JDK 6 ( see <xref linkend=\"jdk_dependencies\"/> for details on using JDK 6). Embedded JBoss can be downloaded <ulink url=\"http://sourceforge.net/project/showfiles.php?group_id=22866&package_i...">here</ulink>. The process for installing Embedded JBoss into Tomcat 6 is quite simple. First, you should copy the Embedded JBoss JARs and configuration files into Tomcat."
msgstr "Embedded JBoss deve essere installato in Tomcat per le eseguire correttamente le applicazioni Seam. Embedded JBoss gira con JDK 5 o JDK 6 (si veda <xref linkend=\"jdk_dependencies\"/> per i dettagli con JDK 6). Embedded JBoss può essere scaricato <ulink url=\"http://sourceforge.net/project/showfiles.php?group_id=22866&package_i...">qua</ulink>. Il processo di installazione di Embedded JBoss in Tomcat 6 è abbastanza semplice. Innanzitutto bisogna copiare i jar di Embedded JBoss ed i file di configurazione in Tomcat."
#. Tag: para
-#: Configuration.xml:734
+#: Configuration.xml:756
#, no-c-format
msgid "Copy all files and directories under the Embedded JBoss <literal>bootstrap</literal> and <literal>lib</literal> directories, except for the <literal>jndi.properties</literal> file, into the Tomcat <literal>lib</literal> directory."
msgstr "Copiare tutti i file e le directory di Embedded JBoss <literal>bootstrap</literal> e la directory <literal>lib</literal>, tranne il file <literal>jndi.properties</literal>, nella directory di Tomcat <literal>lib</literal>."
#. Tag: para
-#: Configuration.xml:741
+#: Configuration.xml:763
#, no-c-format
msgid "Remove the <literal>annotations-api.jar</literal> file from the Tomcat <literal>lib</literal> directory."
msgstr "Rimuovere il file <literal>annotations-api.jar</literal> dalla directory Tomcat <literal>lib</literal>."
#. Tag: para
-#: Configuration.xml:747
+#: Configuration.xml:769
#, no-c-format
msgid "Next, two configuration files need to be updated to add Embedded JBoss-specific functionality."
msgstr "Poi devono essere aggiornati due file di configurazione per poter aggiungere funzionalità specifiche di JBoss Embedded."
#. Tag: para
-#: Configuration.xml:753
+#: Configuration.xml:775
#, no-c-format
msgid "Add the Embedded JBoss listener <literal>EmbeddedJBossBootstrapListener</literal> to <literal>conf/server.xml</literal>. It must appear after all other listeners in the file:"
msgstr "Aggiungere il listener Embedded JBoss <literal>EmbeddedJBossBootstrapListener</literal> a <literal>conf/server.xml</literal>. Deve apparire dopo tutti gli altri listener nel file:"
#. Tag: programlisting
-#: Configuration.xml:756
+#: Configuration.xml:778
#, no-c-format
msgid ""
"<![CDATA[<Server port=\"8005\" shutdown=\"SHUTDOWN\">\n"
@@ -1499,7 +1544,7 @@
" <Listener className=\"org.apache.catalina.storeconfig.StoreConfigLifecycleListener\" />]]>"
#. Tag: programlisting
-#: Configuration.xml:757
+#: Configuration.xml:779
#, no-c-format
msgid ""
"<![CDATA[ <!-- Add this listener -->\n"
@@ -1509,13 +1554,13 @@
" <Listener className=\"org.jboss.embedded.tomcat.EmbeddedJBossBootstrapListener\" />]]>"
#. Tag: para
-#: Configuration.xml:761
+#: Configuration.xml:783
#, no-c-format
msgid "WAR file scanning should be enabled by adding the <literal>WebinfScanner</literal> listener to <literal>conf/context.xml</literal>:"
msgstr "La scansione del file WAR può essere abilitata aggiungendo il listener <literal>WebinfScanner</literal> in <literal>conf/context.xml</literal>:"
#. Tag: programlisting
-#: Configuration.xml:764
+#: Configuration.xml:786
#, no-c-format
msgid ""
"<![CDATA[<Context>\n"
@@ -1537,7 +1582,7 @@
" -->]]>"
#. Tag: programlisting
-#: Configuration.xml:765
+#: Configuration.xml:787
#, no-c-format
msgid ""
"<![CDATA[ <!-- Add this listener -->\n"
@@ -1547,55 +1592,55 @@
" <Listener className=\"org.jboss.embedded.tomcat.WebinfScanner\" />]]>"
#. Tag: programlisting
-#: Configuration.xml:766
+#: Configuration.xml:788
#, no-c-format
msgid "<![CDATA[</Context>]]>"
msgstr "<![CDATA[</Context>]]>"
#. Tag: para
-#: Configuration.xml:770
+#: Configuration.xml:792
#, no-c-format
msgid "If you are using Sun JDK 6, you need to set the Java option <literal>sun.lang.ClassLoader.allowArraySyntax</literal> to <literal>true</literal> in the JAVA_OPTS environment variable used by the Catalina startup script (catalina.bat on Windows or catalina.sh on Unix)."
msgstr "Se si usa Sun JDK 6, occorre impostare l'opzione Java <literal>sun.lang.ClassLoader.allowArraySyntax</literal> a <literal>true</literal> nella variabile d'ambiente JAVA_OPTS usata dallo script di avvio Catalina (catalina.bat in Windows o catalina.sh in Unix)."
#. Tag: para
-#: Configuration.xml:775
+#: Configuration.xml:797
#, no-c-format
msgid "Open the script appropriate for your operating system in a text editor. Add a new line immediately below the comments at the top of the file where you will define the JAVA_OPTS environment variable. On Windows, use the following syntax:"
msgstr "Aprire in un editor lo script appropriato per il proprio sistema operativo. Aggiungere una nuova linea immediatamente sotto i commenti in cima al file dove verrà definita la variabile d'ambiente JAVA_OPTS. Su Windows, usare la seguente sintassi:"
#. Tag: programlisting
-#: Configuration.xml:779
+#: Configuration.xml:801
#, no-c-format
msgid "<![CDATA[set JAVA_OPTS=%JAVA_OPTS% -Dsun.lang.ClassLoader.allowArraySyntax=true]]>"
msgstr "<![CDATA[set JAVA_OPTS=%JAVA_OPTS% -Dsun.lang.ClassLoader.allowArraySyntax=true]]>"
#. Tag: para
-#: Configuration.xml:781
+#: Configuration.xml:803
#, no-c-format
msgid "On Unix, use this syntax instead:"
msgstr "In Unix, usare invece questa sintassi:"
#. Tag: programlisting
-#: Configuration.xml:783
+#: Configuration.xml:805
#, no-c-format
msgid "<![CDATA[JAVA_OPTS=\"$JAVA_OPTS -Dsun.lang.ClassLoader.allowArraySyntax=true\"]]>"
msgstr "<![CDATA[JAVA_OPTS=\"$JAVA_OPTS -Dsun.lang.ClassLoader.allowArraySyntax=true\"]]>"
#. Tag: para
-#: Configuration.xml:788
+#: Configuration.xml:810
#, no-c-format
msgid "For more configuration options, please see the Embedded JBoss Tomcat integration <ulink url=\"http://wiki.jboss.org/wiki/Wiki.jsp?page=EmbeddedAndTomcat\">wiki entry</ulink>."
msgstr "Per ulteriorio opzioni di configurazione, si prega di vedere l'integrazione con Embedded JBoss Tomcat <ulink url=\"http://wiki.jboss.org/wiki/Wiki.jsp?page=EmbeddedAndTomcat\">wiki entry</ulink>."
#. Tag: para
-#: Configuration.xml:796
+#: Configuration.xml:818
#, no-c-format
msgid "The archive structure of a WAR-based deployment on an servlet engine like Tomcat will look something like this:"
msgstr "La struttura dell'archivio di un deploy basato su WAR per un servlet engine come Tomcat appare in questo modo:"
#. Tag: programlisting
-#: Configuration.xml:799
+#: Configuration.xml:821
#, no-c-format
msgid ""
"<![CDATA[my-application.war/\n"
@@ -1665,25 +1710,25 @@
" ...]]>"
#. Tag: para
-#: Configuration.xml:801
+#: Configuration.xml:823
#, no-c-format
msgid "Most of the Seam example applications may be deployed to Tomcat by running <literal>ant deploy.tomcat</literal>."
msgstr "La maggior parte delle applicazioni d'esempio può essere deployata in Tomcat eseguendo <literal>ant deploy.tomcat</literal>."
#. Tag: title
-#: Configuration.xml:809
+#: Configuration.xml:831
#, no-c-format
msgid "Configuring jBPM in Seam"
msgstr "Configurazione jBPM in Seam"
#. Tag: para
-#: Configuration.xml:810
+#: Configuration.xml:832
#, no-c-format
msgid "Seam's jBPM integration is not installed by default, so you'll need to enable jBPM by installing a built-in component. You'll also need to explicitly list your process and pageflow definitions. In <literal>components.xml</literal>:"
msgstr "L'integrazione jBPM di Seam non è installata di default, quindi occorre abilitare jBPM installando il componente predefinito. Serve anche elencare esplicitamente le definizioni di processo ed i pageflow. In <literal>components.xml</literal>:"
#. Tag: programlisting
-#: Configuration.xml:814
+#: Configuration.xml:836
#, no-c-format
msgid ""
"<![CDATA[<bpm:jbpm>\n"
@@ -1709,13 +1754,13 @@
"</bpm:jbpm>]]>"
#. Tag: para
-#: Configuration.xml:816
+#: Configuration.xml:838
#, no-c-format
msgid "No further special configuration is needed if you only have pageflows. If you do have business process definitions, you need to provide a jBPM configuration, and a Hibernate configuration for jBPM. The Seam DVD Store demo includes example <literal>jbpm.cfg.xml</literal> and <literal>hibernate.cfg.xml</literal> files that will work with Seam:"
msgstr "Non servono ulteriori configurazioni se si usano solo i pageflow. Se si hanno definizioni di processi di business, bisogna fornire una configurazione jBPM ed una configurazione Hibernate per jBPM. La demo Seam DVD Store include i file d'esempio <literal>jbpm.cfg.xml</literal> e <literal>hibernate.cfg.xml</literal> che funzionano con Seam:"
#. Tag: programlisting
-#: Configuration.xml:821
+#: Configuration.xml:843
#, no-c-format
msgid ""
"<![CDATA[<jbpm-configuration>\n"
@@ -1759,19 +1804,19 @@
"</jbpm-configuration>]]>"
#. Tag: para
-#: Configuration.xml:823
+#: Configuration.xml:845
#, no-c-format
msgid "The most important thing to notice here is that jBPM transaction control is disabled. Seam or EJB3 should control the JTA transactions."
msgstr "La cosa più importante da notare è che il controllo della transazione jBPM è disabilitato. Seam o EJB3 dovrebbero controllare le transazioni JTA."
#. Tag: para
-#: Configuration.xml:829
+#: Configuration.xml:851
#, no-c-format
msgid "There is not yet any well-defined packaging format for jBPM configuration and process/pageflow definition files. In the Seam examples we've decided to simply package all these files into the root of the EAR. In future, we will probably design some other standard packaging format. So the EAR looks something like this:"
msgstr "Non c'è ancora un formato di impacchettamento ben-definito per la configurazione jBPM ed i file di definizione processo/pageflow. Negli esempi Seam si è deciso di impacchettare semplicemente tutti questi file nella directory radice dell'EAR. In future, si progetterà probabilmente un formato standard di impacchettamento. Quindi l'EAR appare così:"
#. Tag: programlisting
-#: Configuration.xml:834
+#: Configuration.xml:856
#, no-c-format
msgid ""
"<![CDATA[my-application.ear/\n"
@@ -1859,25 +1904,25 @@
" documentLifecycle.jpdl.xml]]>"
#. Tag: title
-#: Configuration.xml:841
+#: Configuration.xml:863
#, no-c-format
msgid "Configuring SFSB and Session Timeouts in JBoss AS"
msgstr "Configurazione di SFSB e dei timeout di sessione in JBoss AS"
#. Tag: para
-#: Configuration.xml:843
+#: Configuration.xml:865
#, no-c-format
msgid "It is very important that the timeout for Stateful Session Beans is set higher than the timeout for HTTP Sessions, otherwise SFSB's may time out before the user's HTTP session has ended. JBoss Application Server has a default session bean timeout of 30 minutes, which is configured in <literal>server/default/conf/standardjboss.xml</literal> (replace <emphasis>default</emphasis> with your own configuration)."
msgstr "E' molto importante che il timeout per i bean di sessione stateful sia impostato ad un tempo maggiore del timeout per le sessioni HTTP, altrimenti SFSB può andare in timeout primache la sessione HTTP sia terminata. JBoss AS ha un timeout di default di 30 minuti, che è impostato nel file <literal>server/default/conf/standardjboss.xml</literal> (sostituire <emphasis>default</emphasis>con la propria configurazione)."
#. Tag: para
-#: Configuration.xml:849
+#: Configuration.xml:871
#, no-c-format
msgid "The default SFSB timeout can be adjusted by modifying the value of <literal>max-bean-life</literal> in the <literal>LRUStatefulContextCachePolicy</literal> cache configuration:"
msgstr "Il timeout di default di SFSB può essere impostato modificando il valore di <literal>max-bean-life</literal> nella configurazione della cache <literal>LRUStatefulContextCachePolicy</literal>:"
#. Tag: programlisting
-#: Configuration.xml:852
+#: Configuration.xml:874
#, no-c-format
msgid ""
"<![CDATA[<container-cache-conf>\n"
@@ -1919,13 +1964,13 @@
"</container-cache-conf>]]>"
#. Tag: para
-#: Configuration.xml:854
+#: Configuration.xml:876
#, no-c-format
msgid "The default HTTP session timeout can be modified in <literal>server/default/deploy/jbossweb-tomcat55.sar/conf/web.xml</literal> for JBoss 4.0.x, or in <literal>server/default/deploy/jboss-web.deployer/conf/web.xml</literal> for JBoss 4.2.x or later. The following entry in this file controls the default session timeout for all web applications:"
msgstr "Il timeout di default per la sessione HTTP può essere modificato in <literal>server/default/deploy/jbossweb-tomcat55.sar/conf/web.xml</literal> per JBoss 4.0.x, o in <literal>server/default/deploy/jboss-web.deployer/conf/web.xml</literal> per JBoss 4.2.x o successivi. La seguente riga in questo file controlla il timeout di default per la sessione di tutte le applicazioni web:"
#. Tag: programlisting
-#: Configuration.xml:859
+#: Configuration.xml:881
#, no-c-format
msgid ""
"<![CDATA[<session-config>\n"
@@ -1939,43 +1984,43 @@
"</session-config>]]>"
#. Tag: para
-#: Configuration.xml:861
+#: Configuration.xml:883
#, no-c-format
msgid "To override this value for your own application, simply include this entry in your application's own <literal>web.xml</literal>."
msgstr "Per sovrascrivere questo valore per la propria applicazione, si includa semplicemente questa riga nel proprio <literal>web.xml</literal>."
#. Tag: title
-#: Configuration.xml:867
+#: Configuration.xml:889
#, no-c-format
msgid "Running Seam in a Portlet"
msgstr "Esecuzione di Seam in un Portlet"
#. Tag: para
-#: Configuration.xml:869
+#: Configuration.xml:891
#, no-c-format
msgid "If you want to run your Seam application in a portlet, take a look at the JBoss Portlet Bridge, an implementation of JSR-301 that supports JSF within a portlet, with extensions for Seam and RichFaces. See <ulink url=\"http://labs.jboss.com/portletbridge\">http://labs.jboss.com/portletbridge</ulink> for more."
msgstr "Se si vogliono eseguire le applicazioni in un portlet, si guardi JBoss Portlet Bridge, un'implementazione di JSR-301 che supporta JSF con i portlet, con estensioni per Seam e RichFaces. Si veda <ulink url=\"http://labs.jboss.com/portletbridge\">http://labs.jboss.com/portletbridge</ulink>."
#. Tag: title
-#: Configuration.xml:880
+#: Configuration.xml:902
#, no-c-format
msgid "Deploying custom resources"
msgstr "Deploy di risorse personalizzate"
#. Tag: para
-#: Configuration.xml:882
+#: Configuration.xml:904
#, no-c-format
msgid "Seam scans all jars containing <literal>/seam.properties</literal>, <literal>/META-INF/components.xml</literal> or <literal>/META-INF/seam.properties</literal> on startup for resources. For example, all classes annotated with <literal>@Name</literal> are registered with Seam as Seam components."
msgstr "Seam scansiona all'avvio tutti i jar contenenti <literal>/seam.properties</literal>, <literal>/META-INF/components.xml</literal> o <literal>/META-INF/seam.properties</literal>. Per esempio, tutte le classi annotate con <literal>@Name</literal> vengono registrate da Seam come componenti Seam."
#. Tag: para
-#: Configuration.xml:889
+#: Configuration.xml:911
#, no-c-format
msgid "You may also want Seam to handle custom resources. A common use case is to handle a specific annotation and Seam provides specific support for this. First, tell Seam which annotations to handle in <literal>/META-INF/seam-deployment.properties</literal>:"
msgstr "Si potrebbe volere fare gestire a Seam delle risorse personalizzate. Un comune caso d'uso è gestire una specifica annotazione, Seam fornisce un supporto specifico per questo. Innanzitutto, dire a Seam quali annotazioni gestire in <literal>/META-INF/seam-deployment.properties</literal>:"
#. Tag: programlisting
-#: Configuration.xml:896
+#: Configuration.xml:918
#, no-c-format
msgid ""
"<![CDATA[# A colon-separated list of annotation types to handle\n"
@@ -1986,13 +2031,13 @@
# can get hold = ?
#. Tag: para
-#: Configuration.xml:898
+#: Configuration.xml:920
#, no-c-format
msgid "Then, during application startup you can get hold of all classes annotated with <literal>@Foo</literal>:"
msgstr "Poi durante l'avvio dell'applicazione si può comunicare con tutte le classi annotate con <literal>@Foo</literal>:"
#. Tag: programlisting
-#: Configuration.xml:903
+#: Configuration.xml:925
#, no-c-format
msgid ""
"<![CDATA[@Name(\"fooStartup\")\n"
@@ -2050,13 +2095,13 @@
"}]]>"
#. Tag: para
-#: Configuration.xml:905
+#: Configuration.xml:927
#, no-c-format
msgid "You can also handle <emphasis>any</emphasis> resource. For example, you process any files with the extension <literal>.foo.xml</literal>. To do this, we need to write a custom deployment handler:"
msgstr "Si può gestire <emphasis>qualsiasi</emphasis> risorsa. Per esempio, si processano i file con estensione <literal>.foo.xml</literal>. Per fare questo occorre scrivere un deployment handler personalizzato:"
#. Tag: programlisting
-#: Configuration.xml:911
+#: Configuration.xml:933
#, no-c-format
msgid ""
"<![CDATA[public class FooDeploymentHandler implements DeploymentHandler {\n"
@@ -2096,19 +2141,19 @@
"}]]>"
#. Tag: para
-#: Configuration.xml:913
+#: Configuration.xml:935
#, no-c-format
msgid "Here we are just building a list of any files with the suffix <literal>.foo.xml</literal>."
msgstr "Qua viene costruita una lista di file con il suffisso <literal>.foo.xml</literal>."
#. Tag: para
-#: Configuration.xml:918
+#: Configuration.xml:940
#, no-c-format
msgid "Then, we need to register the deployment handler with Seam in <literal>/META-INF/seam-deployment.properties</literal>. You can register multiple deployment handler using a comma separated list."
msgstr "Poi occorre registrare il deployment handler con Seam in <literal>/META-INF/seam-deployment.properties</literal>. Si possono registrare più deployment handler usando una lista separata da virgola."
#. Tag: programlisting
-#: Configuration.xml:925
+#: Configuration.xml:947
#, no-c-format
msgid ""
"<![CDATA[# For standard deployment\n"
@@ -2122,13 +2167,13 @@
"org.jboss.seam.deployment.hotDeploymentHandlers=com.acme.FooDeploymentHandler]]>"
#. Tag: para
-#: Configuration.xml:931
+#: Configuration.xml:953
#, no-c-format
msgid "Seam uses deployment handlers internally to install components and namespaces. You can easily access the deployment handler during an <literal>APPLICATION</literal> scoped component's startup:"
msgstr "Seam utilizza internamente dei deployment handler per installare componenti e namespace. Si può facilmente accedere ad un deployment handler durante l'avvio di un componente con scope <literal>APPLICATION</literal>:"
#. Tag: programlisting
-#: Configuration.xml:937
+#: Configuration.xml:959
#, no-c-format
msgid ""
"<![CDATA[@Name(\"fooStartup\")\n"
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/it-IT/Webservices.po
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/it-IT/Webservices.po 2009-08-26 19:12:36 UTC (rev 11431)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/it-IT/Webservices.po 2009-08-26 19:14:02 UTC (rev 11432)
@@ -5,8 +5,8 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-07-08 14:32+0000\n"
-"PO-Revision-Date: 2009-07-08 16:40+0100\n"
+"POT-Creation-Date: 2009-08-26 18:48+0000\n"
+"PO-Revision-Date: 2009-08-26 21:12+0100\n"
"Last-Translator: Nicola Benaglia <nico.benaz(a)gmail.com>\n"
"Language-Team: none\n"
"MIME-Version: 1.0\n"
@@ -359,29 +359,35 @@
#. Tag: para
#: Webservices.xml:186
#, no-c-format
-msgid "The URI starts with the pattern mapped in <literal>web.xml</literal> for the <literal>SeamResourceServlet</literal>, e.g <literal>/seam/resource</literal> if you follow the common examples. Change this setting to expose your RESTful resources under a different base. Note that this is a global change and other Seam resources (e.g. <literal>s:graphicImage</literal>) are then also served under that base path."
-msgstr "L'URI inizia con il pattern mappato in <literal>web.xml</literal> per il servlet <literal>SeamResourceServlet</literal>, ad esempio <literal>/seam/resource</literal>, se si seguono gli esempi comuni. Modificate questa impostazione per esporre le risorse RESTful con un diverso percorso di base. Si noti che questo cambiamento è globale e anche altre risorse Seam (ad esempio <literal>s:graphicImage</literal>) saranno servite sotto questo percorso di base."
+msgid "The URI starts with the host and context path of your application, e.g. <literal>http://your.hostname/myapp</literal>."
+msgstr "L'URI inizia con l'host ed il percorso del contesto dell'applicazione, es. <literal>http://your.hostname/myapp</literal>."
#. Tag: para
-#: Webservices.xml:195
+#: Webservices.xml:192
#, no-c-format
-msgid "The RESTEasy integration for Seam then appends a configurable string to the base path, by default this is <literal>/rest</literal>. Hence, the full base path of your resources would e.g. be <literal>/seam/resource/rest</literal>. We recommend that you change this string in your application, you could for example add a version number to prepare for a future REST API upgrade of your services (old clients would keep the old URI base): <literal>/seam/resource/restv1</literal>."
-msgstr "L'integratzione RESTEasy di Seam appende allora una stringa configurabile al percorso base, di default <literal>/rest</literal>. Quindi, il percorso completo delle risorse sarebbe, ad esempio, <literal>/seam/resource/rest</literal>. Si raccomanda di modificare questa stringa nella vostra applicazione. Ad esempio, si potrebbe aggiungere un numero di versione per prepararsi a futuri aggiornamenti di versione delle API REST dei vostri servizi (i vecchi client manterrebbero il vecchio URI di base): <literal>/seam/resource/restv1</literal>."
+msgid "Then the pattern mapped in <literal>web.xml</literal> for the <literal>SeamResourceServlet</literal>, e.g <literal>/seam/resource</literal> if you follow the common examples, is appended. Change this setting to expose your RESTful resources under a different base. Note that this is a global change and other Seam resources (e.g. <literal>s:graphicImage</literal>) are then also served under that base path."
+msgstr "Quindi viene accodato il pattern mappato in <literal>web.xml</literal> per il servlet <literal>SeamResourceServlet</literal>, ad esempio <literal>/seam/resource</literal>, se si seguono gli esempi comuni. Modificate questa impostazione per esporre le risorse RESTful con un diverso percorso di base. Si noti che questo cambiamento è globale e anche altre risorse Seam (ad esempio <literal>s:graphicImage</literal>) saranno servite sotto questo percorso di base."
#. Tag: para
-#: Webservices.xml:204
+#: Webservices.xml:201
#, no-c-format
-msgid "Finally, the actual resource is available under the defined <literal>@Path</literal>, e.g. a resource mapped with <literal>@Path(\"/customer\")</literal> would be available under <literal>/seam/resource/rest/customer</literal>."
-msgstr "Infine, la risorsa vera e propria è disponibile sotto il<literal>@Path</literal> definito, ad esempio una risorsa mappata con <literal>@Path(\"/customer\")</literal> sarebbe raggiungibile sotto <literal>/seam/resource/rest/customer</literal>."
+msgid "The RESTEasy integration for Seam then appends a configurable string to the base path, by default this is <literal>/rest</literal>. Hence, the full base path of your resources would e.g. be <literal>/myapp/seam/resource/rest</literal>. We recommend that you change this string in your application, you could for example add a version number to prepare for a future REST API upgrade of your services (old clients would keep the old URI base): <literal>/myapp/seam/resource/restv1</literal>."
+msgstr "L'integrazione RESTEasy di Seam accoda allora una stringa configurabile al percorso base, di default <literal>/rest</literal>. Quindi, il percorso completo delle risorse sarebbe, ad esempio, <literal>/myapp/seam/resource/rest</literal>. Si raccomanda di modificare questa stringa nella vostra applicazione. Ad esempio, si potrebbe aggiungere un numero di versione per prepararsi a futuri aggiornamenti di versione delle API REST dei vostri servizi (i vecchi client manterrebbero il vecchio URI di base): <literal>/seam/resource/restv1</literal>."
#. Tag: para
-#: Webservices.xml:212
+#: Webservices.xml:210
#, no-c-format
-msgid "As an example, the following resource definition would return a plaintext representation for any GET requests using the URI <literal>http://your.hostname/seam/resource/rest/customer/123</literal>:"
-msgstr "Come esempio, la seguente definizione di risorsa restituirebbe una rappresentazione puramente testuale for ogni richiesta GET diretta all'URI <literal>http://your.hostname/seam/resource/rest/customer/123</literal>:"
+msgid "Finally, the actual resource is available under the defined <literal>@Path</literal>, e.g. a resource mapped with <literal>@Path(\"/customer\")</literal> would be available under <literal>/myapp/seam/resource/rest/customer</literal>."
+msgstr "Infine, la risorsa vera e propria è disponibile sotto il<literal>@Path</literal> definito, ad esempio una risorsa mappata con <literal>@Path(\"/customer\")</literal> sarebbe raggiungibile sotto <literal>/myapp/seam/resource/rest/customer</literal>."
+#. Tag: para
+#: Webservices.xml:218
+#, no-c-format
+msgid "As an example, the following resource definition would return a plaintext representation for any GET requests using the URI <literal>http://your.hostname/myapp/seam/resource/rest/customer/123</literal>:"
+msgstr "Come esempio, la seguente definizione di risorsa restituirebbe una rappresentazione puramente testuale for ogni richiesta GET diretta all'URI <literal>http://your.hostname/myapp/seam/resource/rest/customer/123</literal>:"
+
#. Tag: programlisting
-#: Webservices.xml:217
+#: Webservices.xml:223
#, no-c-format
msgid ""
"<![CDATA[@Path(\"/customer\")\n"
@@ -409,13 +415,13 @@
"}]]>"
#. Tag: para
-#: Webservices.xml:219
+#: Webservices.xml:225
#, no-c-format
msgid "No additional configuration is required, you do not have to edit <literal>web.xml</literal> or any other setting if these defauls are acceptable. However, you can configure RESTEasy in your Seam application. First import the <literal>resteasy</literal> namespace into your XML configuration file header:"
msgstr "Non è richiesta alcuna configurazione addizionale, non è necessario editare il file <literal>web.xml</literal> o nessun altra configurazione se questi valori di default sono accettabili. Comunque, è possibile procedere alla configurazione RESTEasy in un'applicazione Seam. Innanzitutto, occorre importare il namespace <literal>resteasy</literal> nell'header del file di configurazione XML:"
#. Tag: programlisting
-#: Webservices.xml:225
+#: Webservices.xml:231
#, no-c-format
msgid ""
"<![CDATA[<components\n"
@@ -439,50 +445,31 @@
" http://jboss.com/products/seam/components-2.2.xsd\">]]>"
#. Tag: para
-#: Webservices.xml:227
+#: Webservices.xml:233
#, no-c-format
msgid "You can then change the <literal>/rest</literal> prefix as mentioned earlier:"
msgstr "Allora è possibile modificare il prefisso <literal>/rest</literal> come accennato in precedenza:"
#. Tag: programlisting
-#: Webservices.xml:231
+#: Webservices.xml:237
#, no-c-format
msgid "<![CDATA[<resteasy:application resource-path-prefix=\"/restv1\"/>]]>"
msgstr "<![CDATA[<resteasy:application resource-path-prefix=\"/restv1\"/>]]>"
#. Tag: para
-#: Webservices.xml:233
-#, no-c-format
-msgid "The full base path to your resources is now <literal>/seam/resource/restv1/{resource}</literal> - note that your <literal>@Path</literal> definitions and mappings do NOT change. This is an application-wide switch usually used for versioning of the HTTP API."
-msgstr "Il percorso completo alle risorse è ora <literal>/seam/resource/restv1/{resource}</literal> - si noti che che le definizioni e le mappature di tipo path <literal>@Path</literal> NON cambiano. Questo è uno \"switch\" a livello di applicazione di solito usato per la gestione delle versioni delle API HTTP."
-
-# troncamento??? ritaglio....
-#. Tag: para
#: Webservices.xml:239
#, no-c-format
-msgid "You can disable stripping of the base path if you'd like to map the full path in your resources:"
-msgstr "E' possibile disabilitare il troncamento del percorso base, qualora nelle risorse si voglia mappare il percorso completo:"
+msgid "The full base path to your resources is now <literal>/myapp/seam/resource/restv1/{resource}</literal> - note that your <literal>@Path</literal> definitions and mappings do NOT change. This is an application-wide switch usually used for versioning of the HTTP interface."
+msgstr "Il percorso completo alle risorse è ora <literal>/myapp/seam/resource/restv1/{resource}</literal> - si noti che che le definizioni e le mappature di tipo path <literal>@Path</literal> NON cambiano. Questo è uno \"switch\" a livello di applicazione di solito usato per la gestione delle versioni delle API HTTP."
-#. Tag: programlisting
-#: Webservices.xml:243
-#, no-c-format
-msgid "<![CDATA[<resteasy:application strip-seam-resource-path=\"false\"/>]]>"
-msgstr "<![CDATA[<resteasy:application strip-seam-resource-path=\"false\"/>]]>"
-
#. Tag: para
#: Webservices.xml:245
#, no-c-format
-msgid "The path of a resource is now mapped with e.g. <literal>@Path(\"/seam/resource/rest/customer\")</literal>. We do not recommend disabling this feature, as your resource class mappings are then bound to a particular deployment scenario."
-msgstr "Il percorso di una risorsa è ora mappato, per esempio, con <literal>@Path(\"/seam/resource/rest/customer\")</literal>. Non è raccomandabile disabilitare questa caratteristica, poiché le mappature delle classi delle risorse risultano allora legate al particolare scenario di deploy."
-
-#. Tag: para
-#: Webservices.xml:251
-#, no-c-format
msgid "Seam will scan your classpath for any deployed <literal>@javax.ws.rs.Path</literal> resources and any <literal>@javax.ws.rs.ext.Provider</literal> classes. You can disable scanning and configure these classes manually:"
msgstr "Seam scandaglierà il classpath alla ricerca delle risorsa <literal>@javax.ws.rs.Path</literal> e di ogni classe <literal>@javax.ws.rs.ext.Provider</literal>. E' possibile disabilitare la ricerca e configurare queste classi manualmente:"
#. Tag: programlisting
-#: Webservices.xml:257
+#: Webservices.xml:251
#, no-c-format
msgid ""
"<![CDATA[<resteasy:application\n"
@@ -522,27 +509,27 @@
# interni, precostituiti=built-in???
# marshalling=serializzazione, invio???
#. Tag: para
-#: Webservices.xml:259
+#: Webservices.xml:253
#, no-c-format
msgid "The <literal>use-built-in-providers</literal> switch enables (default) or disables the RESTEasy built-in providers. We recommend you leave them enabled, as they provide plaintext, JSON, and JAXB marshalling out of the box."
msgstr "L'interruttore <literal>use-built-in-providers</literal> abilita (default) o disabilita i provider RESTEasy precostituiti. Si raccomanda di lasciarli abilitati, poiché essi forniscono automaticamente la gestione del \"marshalling\" testuale, JSON, e JAXB."
# Seam <literal>jndi-pattern</literal> su <literal><core:init/></literal>????????????
#. Tag: para
-#: Webservices.xml:265
+#: Webservices.xml:259
#, no-c-format
-msgid "RESTEasy supports plain EJBs (EJBs that are not Seam components) as resources. Instead of configuring the JNDI names in a non-portable fashion in <literal>web.xml</literal> (see RESTEasy documentation), you can simply list the EJB implementation classes, not the business interfaces, in <literal>components.xml</literal> as shown above. Note that you have to annotate the <literal>@Local</literal> interface of the EJB with <literal>@Path</literal>, <literal>@GET</literal>, and so on - not the bean implementation class. This allows you to keep your application deployment-portable with the global Seam <literal>jndi-pattern</literal> switch on <literal><core:init/></literal>. Note that EJB resources will not be found even if scanning of resources is enabled, you always have to list them manually. Again, this is only relevant for EJB resources that are not also Seam components and that do not have a <literal>@Name</literal> annotation."
-msgstr "RESTEasy supporta gli EJB semplici (EJB che non sono componenti Seam) alla stregua di risorse. Invece di configurare i nomi JNDI in modo non portabile nel file<literal>web.xml</literal> (si veda la documentazione RESTEasy), è possibile elencare semplicemente le classi di implementazione degli EJB, non le interfacce di business, nel file <literal>components.xml</literal>, come mostrato sopra. Si noti che si deve annotare l'interfaccia <literal>@Local</literal> dell'EJB con <literal>@Path</literal>, <literal>@GET</literal>, e così via - non la classe di implementazionedel bean. Ciò permette di mantenere l'applicazione portabile rispetto al tipo di deploy con lo switch globale di Seam <literal>jndi-pattern</literal> su <literal><core:init/></literal>. Si noti che le risorse EJB non verrano trovate anche se la ricerca delle risorse è abilitata, bisogna sempre elencarle manualmente. Di nuovo, ciò è rilevante solo per risorse EJB che non sono anche componenti !
Seam e che non hanno l'annotazione <literal>@Name</literal>."
+msgid "RESTEasy supports plain EJBs (EJBs that are not Seam components) as resources. Instead of configuring the JNDI names in a non-portable fashion in <literal>web.xml</literal> (see RESTEasy documentation), you can simply list the EJB implementation classes, not the business interfaces, in <literal>components.xml</literal> as shown above. Note that you have to annotate the <literal>@Local</literal> interface of the EJB with <literal>@Path</literal>, <literal>@GET</literal>, and so on - not the bean implementation class. This allows you to keep your application deployment-portable with the global Seam <literal>jndi-pattern</literal> switch on <literal><core:init/></literal>. Note that plain (non-Seam component) EJB resources will not be found even if scanning of resources is enabled, you always have to list them manually. Again, this whole paragraph is only relevant for EJB resources that are not also Seam components and that do not have an <literal>@Name</literal> !
annotation."
+msgstr "RESTEasy supporta gli EJB semplici (EJB che non sono componenti Seam) alla stregua di risorse. Invece di configurare i nomi JNDI in modo non portabile nel file<literal>web.xml</literal> (si veda la documentazione RESTEasy), è possibile elencare semplicemente le classi di implementazione degli EJB, non le interfacce di business, nel file <literal>components.xml</literal>, come mostrato sopra. Si noti che si deve annotare l'interfaccia <literal>@Local</literal> dell'EJB con <literal>@Path</literal>, <literal>@GET</literal>, e così via - non la classe di implementazione del bean. Ciò permette di mantenere l'applicazione portabile rispetto al tipo di deploy con lo switch globale di Seam <literal>jndi-pattern</literal> su <literal><core:init/></literal>. Si noti che le risorse EJB (componenti non-Seam) non verranno trovate anche se la ricerca delle risorse è abilitata, bisogna sempre elencarle manualmente. Di nuovo, ciò è rilevante solo per risorse EJB che no!
n sono anche componenti Seam e che non hanno l'annotazione <literal>@Name</literal>."
# verificare, molto aprossimativo
#. Tag: para
-#: Webservices.xml:277
+#: Webservices.xml:272
#, no-c-format
msgid "Finally, you can configure media type and language URI extensions:"
msgstr "Infine, è possibile configurare le estensioni degli URI dei tipi di media e dei linguaggi:"
#. Tag: programlisting
-#: Webservices.xml:281
+#: Webservices.xml:276
#, no-c-format
msgid ""
"<![CDATA[<resteasy:application>\n"
@@ -571,31 +558,31 @@
# VERIFICARE
#. Tag: para
-#: Webservices.xml:283
+#: Webservices.xml:278
#, no-c-format
msgid "This definition would map the URI suffix of <literal>.txt.deutsch</literal> to additional <literal>Accept</literal> and <literal>Accept-Language</literal> header values <literal>text/plain</literal> and <literal>de-DE</literal>."
msgstr "Questa definizione mapperebbe il suffisso dell'URI di <literal>.txt.deutsch</literal> sui valori aggiuntivi <literal>text/plain</literal> and <literal>de-DE</literal> ripettivamente degli header <literal>Accept</literal> e <literal>Accept-Language</literal>."
#. Tag: title
-#: Webservices.xml:292
+#: Webservices.xml:287
#, no-c-format
msgid "Resources and providers as Seam components"
msgstr "Risorse e provider come componenti Seam"
#. Tag: para
-#: Webservices.xml:294
+#: Webservices.xml:289
#, no-c-format
msgid "Any resource and provider instances are managed by RESTEasy by default. That means a resource class will be instantiated by RESTEasy and serve a single request, after which it will be destroyed. This is the default JAX-RS lifecycle. Providers are instantiated once for the whole application and are effectively singletons and supposed to be stateless."
msgstr "Qualunque istanza di risorsa e di provider è gestita da RESTEasy di default. Ciò significa che la classe di una risorsa sarà istanziata da RESTEasy e servirà una singola richiesta, dopo di ché sarà distrutta. I provider sono istanziati una sola volta per tutta l'applicazione e in effetti sono dei singletons che sono supposti stateless."
#. Tag: para
-#: Webservices.xml:301
+#: Webservices.xml:296
#, no-c-format
msgid "You can write resources and providers as Seam components and benefit from the richer lifecycle management of Seam, and interception for bijection, security, and so on. Simply make your resource class a Seam component:"
msgstr "E' possibile scrivere risorse e provider come componenti Seam e trarre beneficio dalla più ricca gestione del ciclo di vita di Seam e dall'interception, dalla bijection, dalla sicurezza e così via. Occorre semplicemente rendere la classe della risorsa un componente Seam:"
#. Tag: programlisting
-#: Webservices.xml:307
+#: Webservices.xml:302
#, no-c-format
msgid ""
"<![CDATA[@Name(\"customerResource\")\n"
@@ -631,19 +618,19 @@
"}]]>"
#. Tag: para
-#: Webservices.xml:309
+#: Webservices.xml:304
#, no-c-format
msgid "An instance of <literal>customerResource</literal> is now handled by Seam when a request hits the server. This is a Seam JavaBean component that is <literal>EVENT</literal>-scoped, hence no different than the default JAX-RS lifecycle. You get full Seam injection and interception support, and all other Seam components and contexts are available to you. Currently also supported are <literal>APPLICATION</literal> and <literal>STATELESS</literal> resource Seam components. These three scopes allow you to create an effectively stateless Seam middle-tier HTTP request-processing application."
msgstr "Quando una richiesta raggiunge il server, un'istanza di <literal>customerResource</literal> viene ora gestita da Seam. Si tratta di un componente JavaBean di Seam con scope <literal>EVENT</literal>, quindi in nulla diverso dal ciclo di vita del JAX-RS di default. Si ottiene il completo supporto di Seam per la bijection e tutti gli altri componenti e contesti di Seam sono disponibili. Attualmente sono supportati anche i componenti Seam che sono risorse di tipo <literal>APPLICATION</literal> e <literal>STATELESS</literal>. Questi tre scope permettono di creare un'applicazione Seam middle-tier che processa le richieste HTTP in modo stateless."
#. Tag: para
-#: Webservices.xml:318
+#: Webservices.xml:313
#, no-c-format
msgid "You can annotate an interface and keep the implementation free from JAX-RS annotations:"
msgstr "Si può annotare un'interfaccia e mantenere l'implementazione libera da annotazioni JAX-RS:"
#. Tag: programlisting
-#: Webservices.xml:322
+#: Webservices.xml:317
#, no-c-format
msgid ""
"<![CDATA[@Path(\"/customer\")\n"
@@ -667,7 +654,7 @@
"}]]>"
#. Tag: programlisting
-#: Webservices.xml:324
+#: Webservices.xml:319
#, no-c-format
msgid ""
"<![CDATA[@Name(\"customerResource\")\n"
@@ -697,105 +684,105 @@
"}]]>"
#. Tag: para
-#: Webservices.xml:326
+#: Webservices.xml:321
#, no-c-format
msgid "You can use <literal>SESSION</literal>-scoped Seam components. By default, the session will however be shortened to a single request. In other words, when an HTTP request is being processed by the RESTEasy integration code, an HTTP session will be created so that Seam components can utilize that context. When the request has been processed, Seam will look at the session and decide if the session was created only to serve that single request (no session identifier has been provided with the request, or no session existed for the request). If the session has been created only to serve this request, the session will be destroyed after the request!"
msgstr "E' possibile utilizzare componenti Seam con scope <literal>SESSION</literal>. Di default, la sessione sarà comunque ridotta ad una singola richiesta. In altre parole, mentre una richiesta HTTP viene processata dal codice di integrazione RESTEasy, viene creata una sessione HTTP in modo che i componenti Seam possano utilizzare tale contesto. Dopo che la richiesta è stata processata, Seam esamina la sessione e decide se è stata creata soltanto per servire quella singola richiesta (nessun identificatore di sessione è stato fornito con la richiesta o nessuna sessione esiste per la richiesta). Se la sessione è stata creata solo per servire la richiesta corrente, essa sarà distrutta al termine della richiesta!"
#. Tag: para
-#: Webservices.xml:335
+#: Webservices.xml:330
#, no-c-format
msgid "Assuming that your Seam application only uses event, application, or stateless components, this procedure prevents exhaustion of available HTTP sessions on the server. The RESTEasy integration with Seam assumes by default that sessions are not used, hence anemic sessions would add up as every REST request would start a session that will only be removed when timed out."
msgstr "Assumendo che l'applicazione Seam usi solo componenti evento, applicazione o stateless, questa procedura previene l'esaurimento delle sessioni HTTP sul server. L'integrazione RESTEasy di Seam assume di default che le sessioni non siano usate, poiché si aggiungerebbero sessioni anemiche all'avvio di una sessione da parte di ciascuna richiesta REST, sessione che sarà rimossa solo alla scadenza."
#. Tag: para
-#: Webservices.xml:342
+#: Webservices.xml:337
#, no-c-format
msgid "If your RESTful Seam application has to preserve session state across REST HTTP requests, disable this behavior in your configuration file:"
msgstr "Se l'applicazione RESTful di Seam deve preservare lo stato della sessione fra richieste HTTP REST, occorre disabilitare questo comportamento nel file di configurazione:"
#. Tag: programlisting
-#: Webservices.xml:347
+#: Webservices.xml:342
#, no-c-format
msgid "<![CDATA[<resteasy:application destroy-session-after-request=\"false\"/>]]>"
msgstr "<![CDATA[<resteasy:application destroy-session-after-request=\"false\"/>]]>"
#. Tag: para
-#: Webservices.xml:349
+#: Webservices.xml:344
#, no-c-format
msgid "Every REST HTTP request will now create a new session that will only be removed by timeout or explicit invalidation in your code through <literal>Session.instance().invalidate()</literal>. It is your responsibility to pass a valid session identifier along with your HTTP requests, if you want to utilize the session context across requests."
msgstr "Tutte le richieste HTTP RESTful creeranno ora una nuova sessione che sarà rimossa soltanto alla sua scadenza o per invalidazione esplicita da parte del codice dell'applicazione usando <literal>Session.instance().invalidate()</literal>. E' responsabilità dello sviluppatore passare un identificatore di sessione valido insieme a ciascuna richiesta HTTP, se si vuole utilizzare il contesto di sessione tra una richiesta e l'altra."
#. Tag: para
-#: Webservices.xml:356
+#: Webservices.xml:351
#, no-c-format
msgid "<literal>CONVERSATION</literal>-scoped resource components and mapping of conversations to temporary HTTP resources and paths is planned but currently not supported."
msgstr "Risorse che siano componenti con scope <literal>CONVERSATION</literal> e la mappatura delle conversazioni su risorse e percorsi HTTP temporanei è nei piani ma non ancora supportato."
#. Tag: para
-#: Webservices.xml:361
+#: Webservices.xml:356
#, no-c-format
msgid "EJB Seam components are supported. Always annotate the local business interface, not the EJB implementation class, with JAX-RS annotations. The EJB has to be <literal>STATELESS</literal>."
msgstr "Sono supportati i componenti EJB Seam. Si annoti sempre l'interfaccia locale di business, non la classe di implementazione EJB, con le annotazioni JAX-RS. L'EJB deve essere <literal>STATELESS</literal>."
#. Tag: para
-#: Webservices.xml:366
+#: Webservices.xml:361
#, no-c-format
msgid "Provider classes can also be Seam components, only <literal>APPLICATION</literal>-scoped provider components are supported. You can annotate the bean interface or implementation with JAX-RS annotations. EJB Seam components as providers are currently <emphasis>NOT</emphasis> supported, only POJOs!"
msgstr "Le classi del provider possono essere componenti Seam, vengono supportati solo i componenti provider con scope <literal>APPLICATION</literal>. Si può annotare l'interfaccia bean o l'implementazione con le annotazioni JAX-RS. I componenti EJB Seam come provider <emphasis>NON</emphasis> sono attualmente supportati, solo i POJO!"
#. Tag: title
-#: Webservices.xml:375
+#: Webservices.xml:370
#, no-c-format
msgid "Securing resources"
msgstr "Sicurezza della risorse"
#. Tag: para
-#: Webservices.xml:377
+#: Webservices.xml:372
#, no-c-format
msgid "You can enable the Seam authentication filter for HTTP Basic and Digest authentication in <literal>components.xml</literal>:"
msgstr "Si può abilitare il filtro di autenticazione per l'autenticazione HTTP Basic e Digest in <literal>components.xml</literal>:"
#. Tag: programlisting
-#: Webservices.xml:382
+#: Webservices.xml:377
#, no-c-format
msgid "<![CDATA[<web:authentication-filter url-pattern=\"/seam/resource/rest/*\" auth-type=\"basic\"/>]]>"
msgstr "<![CDATA[<web:authentication-filter url-pattern=\"/seam/resource/rest/*\" auth-type=\"basic\"/>]]>"
#. Tag: para
-#: Webservices.xml:384
+#: Webservices.xml:379
#, no-c-format
msgid "See the Seam security chapter on how to write an authentication routine."
msgstr "Si veda il capitolo sulla sicurezza di Seam per sapere come scrivere la routine di autenticazione."
#. Tag: para
-#: Webservices.xml:388
+#: Webservices.xml:383
#, no-c-format
msgid "After successful authentication, authorization rules with the common <literal>@Restrict</literal> and <literal>@PermissionCheck</literal> annotations are in effect. You can also access the client <literal>Identity</literal>, work with permission mapping, and so on. All regular Seam security features for authorization are available."
msgstr "Dopo che l'autenticazione ha avuto successo, hanno effetto le regole di autorizzazione con le annotazioni <literal>@Restrict</literal> e <literal>@PermissionCheck</literal>. Si può anche accedere <literal>Identity</literal> del client, lavorare con la mappatura dei permessi, e così via. Sono disponibili tutte le caratteristiche di sicurezza di Seam per l'autorizzazione."
#. Tag: title
-#: Webservices.xml:398
+#: Webservices.xml:393
#, no-c-format
msgid "Mapping exceptions to HTTP responses"
msgstr "Mappare eccezioni e risposte HTTP"
# VERIFICARE ultima frase
#. Tag: para
-#: Webservices.xml:400
+#: Webservices.xml:395
#, no-c-format
msgid "Section 3.3.4 of the JAX-RS specification defines how checked or unchecked exceptions are handled by the JAX RS implementation. In addition to using an exception mapping provider as defined by JAX-RS, the integration of RESTEasy with Seam allows you to map exceptions to HTTP response codes within Seam's <literal>pages.xml</literal> facility. If you are already using <literal>pages.xml</literal> declarations, this is easier to maintain than potentially many JAX RS exception mapper classes."
msgstr "La sezione 3.3.4 delle specifiche JAX-RS definisce come le eccezioni di tipo checked o unchecked debbano essere trattate dall'implementazione JAX-RS. Oltre all'utilizzo di un provider della mappatura delle eccezioni come definito dalle JAX-RS, l'integrazione di RESTEasy con Seam permette di mappare le eccezioni con i codici di risposta HTTP all'interno del file <literal>pages.xml</literal> di Seam. Se si stanno già utilizzando dichiarazioni di <literal>pages.xml</literal>, ciò è più semplice da manutenetere delle numerose potenziali classi JAX RS di mappatura delle eccezioni."
# VERIFICARE: not - as some Seam examples might show - a request URI pattern that doesn't cover your REST request paths
#. Tag: para
-#: Webservices.xml:408
+#: Webservices.xml:403
#, no-c-format
msgid "Exception handling within Seam requires that the Seam filter is executed for your HTTP request. Ensure that you do filter <emphasis>all</emphasis> requests in your <literal>web.xml</literal>, not - as some Seam examples might show - a request URI pattern that doesn't cover your REST request paths. The following example intercepts <emphasis>all</emphasis> HTTP requests and enables Seam exception handling:"
msgstr "In Seam la gestione delle eccezioni richiede che il filtro di Seam intercetti le richieste HTTP. Assicuratevi di filtrare <emphasis>tutte</emphasis> le richieste nel file <literal>web.xml</literal>, e non - come mostrato in alcuni esempi di Seam - quelle corrispondenti ad URI di richiesta che non coprono i percorsi delle richieste REST. L'esempio seguente intercetta <emphasis>tutte</emphasis> le richieste HTTP e abilita la gestione delle eccezioni di Seam:"
#. Tag: programlisting
-#: Webservices.xml:415
+#: Webservices.xml:410
#, no-c-format
msgid ""
"<![CDATA[<filter>\n"
@@ -819,13 +806,13 @@
"</filter-mapping>]]>"
#. Tag: para
-#: Webservices.xml:417
+#: Webservices.xml:412
#, no-c-format
msgid "To convert the unchecked <literal>UnsupportedOperationException</literal> thrown by your resource methods to a <literal>501 Not Implemented</literal> HTTP status response, add the following to your <literal>pages.xml</literal> descriptor:"
msgstr "Per convertire l'eccezione unchecked <literal>UnsupportedOperationException</literal> lanciata dai metodi delle risorse nel codice di riposta HTTP <literal>501 Not Implemented</literal> , occorre aggiungere ciò che segue al descrittore <literal>pages.xml</literal>:"
#. Tag: programlisting
-#: Webservices.xml:423
+#: Webservices.xml:418
#, no-c-format
msgid ""
"<![CDATA[<exception class=\"java.lang.UnsupportedOperationException\">\n"
@@ -841,13 +828,13 @@
"</exception>]]>"
#. Tag: para
-#: Webservices.xml:425
+#: Webservices.xml:420
#, no-c-format
msgid "Custom or checked exceptions are handled the same:"
msgstr "Le eccezioni di tipo custom e di tipo checked sono gestite allo stesso modo:"
#. Tag: programlisting
-#: Webservices.xml:429
+#: Webservices.xml:424
#, no-c-format
msgid ""
"<![CDATA[<exception class=\"my.CustomException\" log=\"false\">\n"
@@ -863,31 +850,31 @@
"</exception>]]>"
#. Tag: para
-#: Webservices.xml:431
+#: Webservices.xml:426
#, no-c-format
msgid "You do not have to send an HTTP error to the client if an exception occurs. Seam allows you to map the exception as a redirect to a view of your Seam application. As this feature is typically used for human clients (web browsers) and not for REST API remote clients, you should pay extra attention to conflicting exception mappings in <literal>pages.xml</literal>."
msgstr "Se si verifica un'eccezione, non è necessario inviare al client un codice di errore HTTP. Seam permette di mappare l'eccezione con la redirezione ad una vista dell'applicazione Seam . Poichè questa caratteristica è tipicamente usata per i client umani (browser web) e non per i client remoti dell'API REST, occorre prestare un'attenzione particolare a mappature di eccezioni in conflitto fra loro in <literal>pages.xml</literal>."
#. Tag: para
-#: Webservices.xml:438
+#: Webservices.xml:433
#, no-c-format
msgid "Note that the HTTP response still passes through the servlet container, so an additional mapping might apply if you have <literal><error-page></literal> mappings in your <literal>web.xml</literal> configuration. The HTTP status code would then be mapped to a rendered HTML error page with status <literal>200 OK</literal>!"
msgstr "Si noti che la risposta HTTP continua a passare attraverso il servlet container, così che è possibile apportare una mappatura aggiuntiva se nel file <literal>web.xml</literal> vi sono delle mappature <literal><error-page></literal>. Il codice di risposta HHTP sarebbe in questo caso mappato con una pagina HTML di errore con codice <literal>200 OK</literal>!"
#. Tag: title
-#: Webservices.xml:447
+#: Webservices.xml:442
#, no-c-format
msgid "Testing resources and providers"
msgstr "Test delle risorse e dei provider"
#. Tag: para
-#: Webservices.xml:449
+#: Webservices.xml:444
#, no-c-format
msgid "Seam includes a unit testing utility class that helps you create unit tests for a RESTful architecture. Extend the <literal>SeamTest</literal> class as usual and use the <literal>ResourceRequestEnvironment.ResourceRequest</literal> to emulate HTTP requests/response cycles:"
msgstr "Seam include una classe d'utilità che agevola la creazione di test d'unità per un architettura RESTful. Si estenda la classe <literal>SeamTest</literal> come al solito e si usi <literal>ResourceRequestEnvironment.ResourceRequest</literal> per emulare i cicli richiesta/risposta HTTP:"
#. Tag: programlisting
-#: Webservices.xml:455
+#: Webservices.xml:450
#, no-c-format
msgid ""
"<![CDATA[import org.jboss.seam.mock.ResourceRequestEnvironment;\n"
@@ -985,13 +972,13 @@
"}]]>"
#. Tag: para
-#: Webservices.xml:457
+#: Webservices.xml:452
#, no-c-format
msgid "This test only executes local calls, it does not communicate with the <literal>SeamResourceServlet</literal> through TCP. The mock request is passed through the Seam servlet and filters and the response is then available for test assertions. Overriding the <literal>getDefaultHeaders()</literal> method in a shared instance of <literal>ResourceRequestEnvironment</literal> allows you to set request headers for every test method in the test class."
msgstr "Questo test esegue soltanto chiamate locali, non comunica con <literal>SeamResourceServlet</literal> attraverso TCP. La richiesta mock viene passata attraverso il servlet ed i filtri Seam e la risposta è poi disponibile per asserzioni di test. L'override del metodo <literal>getDefaultHeaders()</literal> in un'istanza condivisa di <literal>ResourceRequestEnvironment</literal> consente di impostare gli header di richiesta per ogni metodo di test nella classe di test."
#. Tag: para
-#: Webservices.xml:465
+#: Webservices.xml:460
#, no-c-format
msgid "Note that a <literal>ResourceRequest</literal> has to be executed in a <literal>@Test</literal> method or in a <literal>@BeforeMethod</literal> callback. You can not execute it in any other callback, such as <literal>@BeforeClass</literal>."
msgstr "Si noti che <literal>ResourceRequest</literal> deve essere eseguita in un metodo <literal>@Test</literal> o in una callback <literal>@BeforeMethod</literal>. Si può, ma non si dovrebbe eseguirla in altre callback, come <literal>@BeforeClass</literal>."
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/it-IT/Websphere.po
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/it-IT/Websphere.po 2009-08-26 19:12:36 UTC (rev 11431)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/it-IT/Websphere.po 2009-08-26 19:14:02 UTC (rev 11432)
@@ -5,8 +5,8 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-08-22 13:17+0000\n"
-"PO-Revision-Date: 2009-08-22 15:25+0100\n"
+"POT-Creation-Date: 2009-08-26 18:48+0000\n"
+"PO-Revision-Date: 2009-08-26 21:13+0100\n"
"Last-Translator: Nicola Benaglia <nico.benaz(a)gmail.com>\n"
"Language-Team: none\n"
"MIME-Version: 1.0\n"
@@ -58,13 +58,13 @@
#. Tag: para
#: Websphere.xml:35
#, no-c-format
-msgid "The following sections in this chapter assume that WebSphere is correctly installed and is functional, and a profile has been successfully created."
+msgid "The following sections in this chapter assume that WebSphere is correctly installed and is functional, and a WebSphere \"profile\" has been successfully created."
msgstr ""
#. Tag: para
#: Websphere.xml:40
#, no-c-format
-msgid "This chapter explain how to compile, deploy and run some sample applications in WebSphere. These sample applications require a database. WebSphere comes by default with a set of sample applications called \"Default Application\". This set of sample applications use a Derby database running on the Derby instance installed with WebSphere. In order to keep this simple we'll use this Derby database created for the \"Default Applications\". However, to run the sample application with the Derby database \"as-is\", a patched Hibernate dialect must be used (The patch changes the default \"auto\" key generation strategy) as explained in <xref linkend=\"glassfish\"/>. If you want to use another database, it's just a matter of creating a connection pool in WebSphere pointing to this database, declare the correct Hibernate dialect and set the correct JNDI name in <literal>persistence.xml</literal>."
+msgid "This chapter explains how to compile, deploy and run some sample applications in WebSphere. These sample applications require a database. WebSphere comes by default with a set of sample applications called \"Default Application\". This set of sample applications use a Derby database running on the Derby instance installed within WebSphere. In order to keep this simple we'll use this Derby database created for the \"Default Applications\". However, to run the sample application with the Derby database \"as-is\", a patched Hibernate dialect must be used (The patch changes the default \"auto\" key generation strategy) as explained in <xref linkend=\"glassfish\"/>. If you want to use another database, it's just a matter of creating a connection pool in WebSphere pointing to this database, declare the correct Hibernate dialect and set the correct JNDI name in <literal>persistence.xml</literal>."
msgstr ""
#. Tag: title
@@ -106,32 +106,32 @@
#. Tag: listitem
#: Websphere.xml:70
#, no-c-format
-msgid "On the right navigation menu, select <literal>Web Container Settings/Web container</literal>)"
+msgid "On the right navigation menu, select <literal>Web Container Settings/Web container</literal>"
msgstr ""
#. Tag: listitem
#: Websphere.xml:73
-#, no-c-format
-msgid "On the right navigation menu, select <literal>custom properties</literal>) and add the following properties:"
-msgstr ""
+#, fuzzy, no-c-format
+msgid "On the right navigation menu, select <literal>custom properties</literal> and add the following properties:"
+msgstr "Aggiornamento del file <literal>build.xml</literal>"
#. Tag: literal
#: Websphere.xml:77
#, no-c-format
msgid "prependSlashToResource = true"
-msgstr ""
+msgstr "prependSlashToResource = true"
#. Tag: literal
#: Websphere.xml:80
#, no-c-format
msgid "com.ibm.ws.webcontainer.invokefilterscompatibility = true"
-msgstr ""
+msgstr "com.ibm.ws.webcontainer.invokefilterscompatibility = true"
#. Tag: listitem
#: Websphere.xml:84
-#, no-c-format
-msgid "Save and restart the server"
-msgstr ""
+#, fuzzy, no-c-format
+msgid "Save the configuration and restart the server"
+msgstr "Sotto sono riportate le modifiche al file di configurazione necessarie all'esempio base."
#. Tag: title
#: Websphere.xml:92
@@ -146,99 +146,99 @@
msgstr ""
#. Tag: listitem
-#: Websphere.xml:97
+#: Websphere.xml:96
#, no-c-format
-msgid "The global <literal>jndi-pattern</literal> switch on the <literal><core:init></literal>. in <literal>components.xml</literal>. The switch can use a special placeholder \"<literal>#{ejbName}</literal>\" that resolves to the unqualified name of the EJB"
+msgid "The global <literal>jndi-pattern</literal> switch on the <literal><core:init></literal>tag in <literal>components.xml</literal>. The switch can use a special placeholder \"<literal>#{ejbName}</literal>\" that resolves to the unqualified name of the EJB"
msgstr ""
#. Tag: para
-#: Websphere.xml:102
+#: Websphere.xml:100
#, fuzzy, no-c-format
msgid "The <literal>@JndiName</literal> annotation"
msgstr "Selezionare il pulsante <literal>Next</literal>."
#. Tag: para
-#: Websphere.xml:108
+#: Websphere.xml:106
#, no-c-format
msgid "gives detailed explanations on how those mechanisms work."
msgstr ""
#. Tag: para
-#: Websphere.xml:112
+#: Websphere.xml:110
#, no-c-format
-msgid "By default, WebSphere will bind the session bean in its local JNDI name space under a \"short\" binding name that adheres to the following pattern <literal>ejblocal:<package.qualified.local.interface.name></literal>."
+msgid "By default, WebSphere will bind session beans in its local JNDI name space under a \"short\" binding name that adheres to the following pattern <literal>ejblocal:<package.qualified.local.interface.name></literal>."
msgstr ""
#. Tag: para
-#: Websphere.xml:117
+#: Websphere.xml:115
#, no-c-format
msgid "For a detailed description on how WebSphere v7 organizes and binds EJBs in its JNDI name spaces, please refer to the WebSphere Information Center."
msgstr ""
#. Tag: para
-#: Websphere.xml:120
+#: Websphere.xml:118
#, no-c-format
msgid "As explained before, Seam needs to lookup for session bean as they appear in JNDI. Basically, there are three strategies, in order of complexity:"
msgstr ""
#. Tag: listitem
-#: Websphere.xml:124
+#: Websphere.xml:121
#, no-c-format
-msgid "Specify which JNDI name Seam must use for each session bean using the <literal>@JndiName</literal> annotation in the java source file"
+msgid "Specify which JNDI name Seam must use for each session bean using the <literal>@JndiName</literal> annotation in the java source file,"
msgstr ""
#. Tag: listitem
-#: Websphere.xml:127
+#: Websphere.xml:123
#, no-c-format
-msgid "Override the default session bean names generated by WebSphere to conform to the <literal>jndi-pattern</literal> attribute"
+msgid "Override the default session bean names generated by WebSphere to conform to the <literal>jndi-pattern</literal> attribute,"
msgstr ""
#. Tag: listitem
-#: Websphere.xml:130
+#: Websphere.xml:126
#, no-c-format
-msgid "Use EJB references"
+msgid "Use EJB references."
msgstr ""
#. Tag: title
-#: Websphere.xml:137
+#: Websphere.xml:133
#, no-c-format
msgid "Strategy 1: Specify which JNDI name Seam must use for each Session Bean"
msgstr ""
#. Tag: para
-#: Websphere.xml:138
+#: Websphere.xml:134
#, no-c-format
msgid "This strategy is the simplest and fastest one regarding development. It uses the WebSphere v7 default binding mechanism. To use this strategy:"
msgstr ""
#. Tag: listitem
-#: Websphere.xml:141
+#: Websphere.xml:137
#, no-c-format
msgid "Add a <literal>@JndiName(\"ejblocal:<package.qualified.local.interface.name>)</literal> annotation to each session bean that is a Seam component."
msgstr ""
#. Tag: para
-#: Websphere.xml:145
-#: Websphere.xml:188
+#: Websphere.xml:141
+#: Websphere.xml:184
#, no-c-format
msgid "<para>In <literal>components.xml</literal>, add the following line:</para>"
msgstr ""
#. Tag: programlisting
-#: Websphere.xml:147
-#: Websphere.xml:220
+#: Websphere.xml:143
+#: Websphere.xml:216
#, no-c-format
msgid "<![CDATA[<core:init jndi-name=\"java:comp/env/#{ejbName}\" />]]>"
msgstr "<![CDATA[<core:init jndi-name=\"java:comp/env/#{ejbName}\" />]]>"
#. Tag: para
-#: Websphere.xml:151
+#: Websphere.xml:147
#, no-c-format
msgid "Add a file named <literal>WEB-INF/classes/seam-jndi.properties</literal> in the web module with the following content:"
msgstr ""
#. Tag: programlisting
-#: Websphere.xml:153
+#: Websphere.xml:149
#, no-c-format
msgid ""
"com.ibm.websphere.naming.hostname.normalizer=com.ibm.ws.naming.util.DefaultHostnameNormalizer\n"
@@ -257,13 +257,13 @@
msgstr ""
#. Tag: para
-#: Websphere.xml:157
+#: Websphere.xml:153
#, fuzzy, no-c-format
msgid "At the end of <literal>web.xml</literal>, add the following lines:"
msgstr "Aggiornamento del file <literal>build.xml</literal>"
#. Tag: programlisting
-#: Websphere.xml:159
+#: Websphere.xml:155
#, no-c-format
msgid ""
"<![CDATA[<ejb-local-ref>\n"
@@ -281,37 +281,37 @@
" </ejb-local-ref>]]>"
#. Tag: para
-#: Websphere.xml:164
+#: Websphere.xml:160
#, no-c-format
msgid "That's all folks! No need to update any file during the development, nor to define any EJB to EJB or web to EJB reference!"
msgstr ""
#. Tag: para
-#: Websphere.xml:167
+#: Websphere.xml:163
#, no-c-format
-msgid "Compared to the other strategies, this strategy has the advantage not to have to manage any EJBs reference and also not to have to maintain extra files. The only drawback is one extra line in the java source code with the <literal>@JndiName</literal> annotation"
+msgid "Compared to the other strategies, this strategy has the advantage to not have to manage any EJBs reference and also to not have to maintain extra files. The only drawback is one extra line in the java source code with the <literal>@JndiName</literal> annotation"
msgstr ""
#. Tag: title
-#: Websphere.xml:174
+#: Websphere.xml:170
#, no-c-format
msgid "Strategy 2: Override the default names generated by WebSphere"
msgstr ""
#. Tag: section
-#: Websphere.xml:174
+#: Websphere.xml:170
#, no-c-format
msgid "There is no simple way to globally override the default naming strategy for session beans in WebSphere. However, WebSphere provides a way to override the name of each bean."
msgstr ""
#. Tag: para
-#: Websphere.xml:177
+#: Websphere.xml:173
#, no-c-format
msgid "To use this strategy:"
msgstr ""
#. Tag: para
-#: Websphere.xml:181
+#: Websphere.xml:177
#, no-c-format
msgid ""
"Add a file named <literal>META-INF/ibm-ejb-jar-ext.xml</literal> in the EJB module and add an entry for each session bean like this: <programlisting role=\"XML\"><![CDATA[<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
@@ -329,25 +329,25 @@
msgstr ""
#. Tag: programlisting
-#: Websphere.xml:190
+#: Websphere.xml:186
#, no-c-format
msgid "<![CDATA[<core:init jndi-name=\"ejblocal:#{ejbName}\" />]]>"
msgstr "<![CDATA[<core:init jndi-name=\"ejblocal:#{ejbName}\" />]]>"
#. Tag: para
-#: Websphere.xml:194
+#: Websphere.xml:190
#, no-c-format
msgid "Add a file named <literal>WEB-INF/classes/seam-jndi.properties</literal> as described in strategy 1"
msgstr ""
#. Tag: para
-#: Websphere.xml:199
+#: Websphere.xml:195
#, no-c-format
msgid "In <literal>web.xml</literal>, add the following lines (Note the different <literal>ejb-ref-name</literal> value):"
msgstr ""
#. Tag: programlisting
-#: Websphere.xml:201
+#: Websphere.xml:197
#, no-c-format
msgid ""
"<![CDATA[<ejb-local-ref>\n"
@@ -365,55 +365,55 @@
" </ejb-local-ref>]]>"
#. Tag: para
-#: Websphere.xml:206
+#: Websphere.xml:202
#, no-c-format
msgid "Compared to the first strategy, this strategy requires to maintain an extra file (<literal>META-INF/ibm-ejb-jar-ext.xml</literal>), where a line must be added each time a new session bean is added to the application), but still does not require to maintain EJB reference between beans."
msgstr ""
#. Tag: title
-#: Websphere.xml:215
+#: Websphere.xml:211
#, no-c-format
msgid "Strategy 3: Use EJB references"
msgstr ""
#. Tag: section
-#: Websphere.xml:215
+#: Websphere.xml:211
#, no-c-format
msgid "This strategy is based on the usage of EJB references, from EJB to EJB and from the web module to EJB. To use it:"
msgstr ""
#. Tag: listitem
-#: Websphere.xml:218
+#: Websphere.xml:214
#, no-c-format
msgid "<listitem>In <literal>components.xml</literal>, add the following line:</listitem>"
msgstr ""
#. Tag: para
-#: Websphere.xml:223
+#: Websphere.xml:219
#, no-c-format
msgid "Follow the instructions in <xref linkend=\"config.integration.ejb.container\"/> to declare the references from web to EJB and from EJB to EJB"
msgstr ""
#. Tag: para
-#: Websphere.xml:228
+#: Websphere.xml:224
#, no-c-format
msgid "This is the most tedious strategy as each session bean referenced by another session bean (i.e. \"injected\") as to be declared in <literal>ejb-jar.xml</literal> file. Also, each new session bean has to be added to the list of referenced bean in <literal>web.xml</literal>"
msgstr ""
#. Tag: title
-#: Websphere.xml:239
+#: Websphere.xml:235
#, no-c-format
msgid "Configuring timeouts for Stateful Session Beans"
msgstr ""
#. Tag: para
-#: Websphere.xml:240
+#: Websphere.xml:236
#, no-c-format
-msgid "A timeout value has to be set for each stateful session bean used in the application because stateful bean must not expire in WebSphere while Seam might still need thenm. At the time of writing this document, WebSphere does not provide a way to configure a global timeout at neither the cluster, server, application nor ejb-jar level. It has to be done for each stateful bean individually. This is done by adding a file named <literal>META-INF/ibm-ejb-jar-ext.xml</literal> in the EJB module, and declare the timeout value for each bean:"
+msgid "A timeout value has to be set for each stateful session bean used in the application because stateful bean must not expire in WebSphere while Seam might still need them. At the time of writing this document, WebSphere does not provide a way to configure a global timeout at neither the cluster, server, application nor ejb-jar level. It has to be done for each stateful bean individually. By default, the default timeout is 10 minutes. This is done by adding a file named <literal>META-INF/ibm-ejb-jar-ext.xml</literal> in the EJB module, and declare the timeout value for each bean:"
msgstr ""
#. Tag: programlisting
-#: Websphere.xml:246
+#: Websphere.xml:242
#, no-c-format
msgid ""
"<![CDATA[<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
@@ -443,316 +443,327 @@
"</ejb-jar-ext>]]>"
#. Tag: para
-#: Websphere.xml:248
+#: Websphere.xml:244
#, no-c-format
-msgid "The <literal>time-out</literal> is expressed in seconds and must be higher than the Seam conversation expiration timeout and a few minutes higher than the user's HTTP session timeout (The session expiration timeout can trigger a few minutes after the number of minutes declared to expire s for the HTTP session expiration)."
+msgid "The <literal>time-out</literal> is expressed in seconds and must be higher than the Seam conversation expiration timeout and a few minutes higher than the user's HTTP session timeout (The session expiration timeout can trigger a few minutes after the number of minutes declared to expire the HTTP session)."
msgstr ""
#. Tag: title
-#: Websphere.xml:257
+#: Websphere.xml:253
#, no-c-format
msgid "The <literal>jee5/booking</literal> example"
msgstr "L'esempio <literal>jee5/booking</literal>"
#. Tag: para
-#: Websphere.xml:259
+#: Websphere.xml:255
#, fuzzy, no-c-format
msgid "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 following steps, it can be deployed on WebSphere. It is located in the <literal>$SEAM_DIST/examples/jee5/booking</literal> directory."
msgstr "L'esempio <literal>jee5/booking</literal> è basato sull'esempio PrenotazioneHotel (che gira su JBoss AS). E' stato progettato per girare anche su Glassfish, ma con i passi descritti sotto può essere deployato in Websphere. E' collocato nella directory <literal>$SEAM_DIST/examples/jee5/booking</literal>."
#. Tag: para
-#: Websphere.xml:265
+#: Websphere.xml:261
+#, fuzzy, no-c-format
+msgid "The example already has a breakout of configurations and build scripts for WebSphere. First thing, we are going to do is build and deploy this example. Then we'll go over some key changes that we needed."
+msgstr "La prima cosa da fare è costruire e deployare quell'esempio. Poi verranno apportate delle modifiche chiave necessarie."
+
+#. Tag: para
+#: Websphere.xml:266
#, no-c-format
-msgid "For running this example, we'll use the second JNDI mapping strategy (\"Override the default names generated by WebSphere\") as we don't want to change the java code to add the <literal>@JndiName</literal> annotation as in the first strategy."
+msgid "The tailored configuration files for WebSphere use the second JNDI mapping strategy (\"Override the default names generated by WebSphere\") as the goal was to not change any java code to add the <literal>@JndiName</literal> annotation as in the first strategy."
msgstr ""
#. Tag: title
-#: Websphere.xml:271
+#: Websphere.xml:272
#, no-c-format
msgid "Building the <literal>jee5/booking</literal> example"
msgstr "Build dell'esempio <literal>jee5/booking</literal>"
#. Tag: para
-#: Websphere.xml:273
+#: Websphere.xml:274
#, fuzzy, no-c-format
msgid "Building it only requires running the correct ant command: <programlisting>ant -f build-websphere7.xml</programlisting> This will create container specific distribution and exploded archive directories with the <literal>websphere7</literal> label."
msgstr "Il building richiede l'esecuzione del corretto comando ant: <programlisting>ant websphere7</programlisting>. Questo creerà una distribuzione specifica per il container e le directory esplose per l'archivio con etichetta <literal>websphere7</literal>."
#. Tag: title
-#: Websphere.xml:280
+#: Websphere.xml:281
#, fuzzy, no-c-format
msgid "Deploying the <literal>jee5/booking</literal> example"
msgstr "Build dell'esempio <literal>jee5/booking</literal>"
#. Tag: para
-#: Websphere.xml:281
+#: Websphere.xml:282
#, fuzzy, no-c-format
-msgid "The steps below are for the WAS version stated above.The ports are default values, if you changed them, you must substitute the values."
+msgid "The steps below are for the WAS version stated above.The ports are the default values, if you changed them, you must substitute the values."
msgstr "I passi sottostanti riguardano la versione WAS dichiarata all'inizio. Le porte sono ai valori di default, se vengono cambiati occorre sostituire i valori."
#. Tag: listitem
-#: Websphere.xml:284
+#: Websphere.xml:285
#, fuzzy, no-c-format
msgid "Log in to the administration console <programlisting><![CDATA[http://localhost:9060/admin]]></programlisting> Enter your userid annd/or your password if security is enabled for the console."
msgstr "Fare il login nella console di amministrazione <programlisting><![CDATA[https://localhost:9043/admin]]></programlisting> oppure"
#. Tag: para
-#: Websphere.xml:291
+#: Websphere.xml:292
#, fuzzy, no-c-format
msgid "Go to the <literal>WebSphere enterprise applications</literal> menu option under the <literal>Applications --> Application Type</literal> left side menu."
msgstr "Accedere all'opzione menu <literal>Websphere enterprise applications</literal> sotto il menu a sinistra <literal>Applications --> Application Type</literal>."
#. Tag: para
-#: Websphere.xml:298
+#: Websphere.xml:299
#, no-c-format
msgid "At the top of the <literal>Enterprise Applications</literal> table select <literal>Install</literal>. Below are installation wizard pages and what needs to done on each:"
msgstr "In cima alla tabella <literal>Enterprise Applications</literal> selezionare <literal>Install</literal>. Sotto sono visualizzate le pagine del wizard con ciò che va fatto su ciascuna:"
#. Tag: literal
-#: Websphere.xml:304
+#: Websphere.xml:305
#, no-c-format
msgid "Preparing for the application installation"
msgstr "Preparazione per l'installazione dell'applicazione"
#. Tag: para
-#: Websphere.xml:307
+#: Websphere.xml:308
#, fuzzy, no-c-format
msgid "Browse to the <literal>examples/jee5/booking/dist-websphere7/jboss-seam-jee5.ear</literal> file using the file upload widget."
msgstr "Andare fino al file <literal>examples/jee5/booking/dist/jboss-seam-jee5.ear</literal> usando il widget di upload dei file."
#. Tag: para
-#: Websphere.xml:313
-#: Websphere.xml:323
-#: Websphere.xml:341
+#: Websphere.xml:314
+#: Websphere.xml:324
+#: Websphere.xml:342
#, no-c-format
msgid "Select the <literal>Next</literal> button."
msgstr "Selezionare il pulsante <literal>Next</literal>."
#. Tag: para
-#: Websphere.xml:318
+#: Websphere.xml:319
#, no-c-format
msgid "Select the <literal>Fast Path</literal> button."
msgstr "Selezionare il pulsante <literal>Fast Path</literal>."
#. Tag: literal
-#: Websphere.xml:332
+#: Websphere.xml:333
#, no-c-format
msgid "Select installation options"
msgstr "Selezionare le opzioni di installazione"
#. Tag: para
-#: Websphere.xml:335
+#: Websphere.xml:336
#, fuzzy, no-c-format
msgid "Select the <literal>Deploy enterprise beans and Allow EJB reference targets to resolve automatically</literal> check boxes at the bottom of the page. This will let WebSphere use its simplified JNDI reference mapping."
msgstr "Selezionare i check box <literal>Deploy enterprise beans</literal> e <literal>Allow EJB reference targets to resolve automatically</literal>. Queso serve amenoché si usi il tool di Websphere AS per impacchettare l'applicazione."
#. Tag: literal
-#: Websphere.xml:350
+#: Websphere.xml:351
#, no-c-format
msgid "Map modules to servers"
msgstr "Mappare i moduli sul server"
#. Tag: para
-#: Websphere.xml:353
+#: Websphere.xml:354
#, fuzzy, no-c-format
msgid "No changes needed here as we only have one server. Select the <literal>Next</literal>button."
msgstr "Avendo un solo server non sono necessarie modifiche. Selezionare il pulsante <literal>Next</literal>."
#. Tag: literal
-#: Websphere.xml:362
+#: Websphere.xml:363
#, fuzzy, no-c-format
msgid "Map virtual hosts for Web modules"
msgstr "Mappare context roots per i moduli Web"
#. Tag: para
-#: Websphere.xml:365
+#: Websphere.xml:366
#, fuzzy, no-c-format
msgid "No changes needed here as we only have one virtual host. Select the <literal>Next</literal>button."
msgstr "Avendo un solo server non sono necessarie modifiche. Selezionare il pulsante <literal>Next</literal>."
#. Tag: literal
-#: Websphere.xml:374
+#: Websphere.xml:375
#, no-c-format
msgid "Summary"
msgstr "Sommario"
#. Tag: para
-#: Websphere.xml:377
+#: Websphere.xml:378
#, no-c-format
msgid "No changes needed here. Select the <literal>Finish</literal> button."
msgstr "Non sono necessarie modifiche. Selezionare il pulsante <literal>Finish</literal>."
#. Tag: literal
-#: Websphere.xml:384
+#: Websphere.xml:385
#, no-c-format
msgid "Installation"
msgstr "Installazione"
#. Tag: para
-#: Websphere.xml:387
+#: Websphere.xml:388
#, fuzzy, no-c-format
msgid "Now you will see WebSphere installing and deploying your application."
msgstr "Ora si vedra l'installazione ed il deploy dell'applicazione."
#. Tag: para
-#: Websphere.xml:390
+#: Websphere.xml:391
#, fuzzy, no-c-format
msgid "When done, select the <literal>Save</literal> link and you will be returned to the <literal>Enterprise Applications</literal> table."
msgstr "Quando termina selezionare il link <literal>Save</literal> e si verrà reindirizzati alla tabella <literal>Enterprise Applications</literal>."
#. Tag: para
-#: Websphere.xml:399
+#: Websphere.xml:400
#, fuzzy, no-c-format
-msgid "To start the application select our application in the list, then click on the <literal>Start</literal> button at the top of the table."
+msgid "To start the application, select the application in the list, then click on the <literal>Start</literal> button at the top of the table."
msgstr "Per avviare l'applicazione ritornare alla tabella <literal>Enterprise Applications</literal> e selezionare l'applicazione nella lista. Quindi scegliere il pulsante <literal>Start</literal> in cima alla tabella."
#. Tag: para
-#: Websphere.xml:409
+#: Websphere.xml:410
#, fuzzy, no-c-format
msgid "You can now access the application at <literal>http://localhost:9080/seam-jee5-booking</literal>"
msgstr "Ora si può accedere all'applicazione all'indirizzo <literal>http://localhost:9080/seam-jee5-booking/index.html</literal>."
#. Tag: title
-#: Websphere.xml:418
+#: Websphere.xml:419
#, no-c-format
msgid "Deviation from the original base files"
msgstr ""
#. Tag: section
-#: Websphere.xml:418
+#: Websphere.xml:419
#, no-c-format
msgid "Below are the differences between the base configuration files and the WebSphere specific files held in the <literal>resources-websphere7</literal> directory."
msgstr ""
#. Tag: para
-#: Websphere.xml:422
+#: Websphere.xml:423
#, no-c-format
msgid "<literal>META-INF/ejb-jar.xml</literal> — Removed all the EJB references"
msgstr ""
#. Tag: para
-#: Websphere.xml:428
+#: Websphere.xml:429
#, no-c-format
-msgid "<literal>META-INF/ibm-ejb-jar-bnd.xml</literal> — This WebSphere specific file has been added as we use the second JNDI mapping strategy. It defines, for each session bean, the name WebSphere will use to bind it its JNDI name space"
+msgid "<literal>META-INF/ibm-ejb-jar-bnd.xml</literal> — This WebSphere specific file has been added as we use the second JNDI mapping strategy. It defines, for each session bean, the name WebSphere will use to bind it in its JNDI name space"
msgstr ""
#. Tag: para
-#: Websphere.xml:435
+#: Websphere.xml:436
#, no-c-format
-msgid "<literal>META-INF/ibm-ejb-jar-ext.xml</literal> — This WebSphere specific file defines to WebSphere, the timeout value for each stateful bean"
+msgid "<literal>META-INF/ibm-ejb-jar-ext.xml</literal> — This WebSphere specific file defines the timeout value for each stateful bean"
msgstr ""
#. Tag: para
-#: Websphere.xml:441
+#: Websphere.xml:442
#, fuzzy, no-c-format
-msgid "<literal>META-INF/persistence.xml</literal> — The main changes here are for the datasource JNDI path, switching to the WebSphere transaction manager lookup class, turning off the <literal>hibernate.transaction.flush_before_completion</literal> toggle, and forcing the Hibernate dialect to be <literal>GlassfishDerbyDialect</literal> how as using the integrated Derby database"
+msgid "<literal>META-INF/persistence.xml</literal> — The main changes here are for the datasource JNDI path, switching to the WebSphere transaction manager lookup class, turning off the <literal>hibernate.transaction.flush_before_completion</literal> toggle, and forcing the Hibernate dialect to be <literal>GlassfishDerbyDialect</literal> as we are using the integrated Derby database"
msgstr "<literal>META-INF/persistence.xml</literal> — le maggiori modifiche sono per il path JNDI del datasource, passando alla classe di ricerca del gestore di transazioni Websphere e cambiando il dialetto Hibernate a <literal>GlassfishDerbyDialect</literal>."
#. Tag: para
-#: Websphere.xml:451
+#: Websphere.xml:452
#, fuzzy, no-c-format
msgid "<literal>WEB-INF/components.xml</literal> — the change here is <literal>jndi-pattern</literal> to use <literal>ejblocal:#{ejbname}</literal> as using the second JNDI matching strategy"
msgstr "<literal>WEB-INF/components.xml</literal> — qua la modifica è <literal>jndi-pattern</literal> senza la stringa /local."
#. Tag: para
-#: Websphere.xml:459
+#: Websphere.xml:460
#, no-c-format
msgid "<literal>WEB-INF/web.xml</literal> — Remove all the <literal>ejb-local ref</literal> except the one for <literal>EjbSynchronizations</literal> bean. Changed the ref fo this bean to <literal>ejblocal:EjbSynchronizations</literal>"
msgstr ""
#. Tag: para
-#: Websphere.xml:467
-#: Websphere.xml:549
+#: Websphere.xml:468
#, fuzzy, no-c-format
msgid "<literal>import.sql</literal> — due to the cutomized hibernate Derby dialect, the <literal>ID</literal> column can not be populated by this file and was removed."
msgstr "<literal>import.sql</literal> — la colonna <literal>ID</literal> sia del dialetto sia del Derby DB non può essere popolata ed è stata rimossa."
#. Tag: para
-#: Websphere.xml:474
+#: Websphere.xml:475
#, no-c-format
msgid "Also the build procedure has been changed to include the <literal>log4j.jar</literal> file and exclude the <literal>concurrent.jar</literal> and <literal>jboss-common-core.jar</literal> files."
msgstr ""
#. Tag: title
-#: Websphere.xml:486
+#: Websphere.xml:487
#, no-c-format
msgid "The <literal>jpa</literal> booking example"
msgstr "Esempio Prenotazione <literal>jpa</literal>"
#. Tag: para
-#: Websphere.xml:488
+#: Websphere.xml:489
#, fuzzy, no-c-format
msgid "This is the Hotel Booking example implemented in Seam POJOs and using Hibernate JPA with JPA transactions. It does not use EJB3."
msgstr "Fortunatamente far funzionare l'esempio <literal>jpa</literal> è molto più semplice che per l'esempio <literal>jee5</literal>. Questo è l'esempio Prenotazione Hotel implementato in Seam POJOs usando Hibernate JPA con le transazioni JPA. Non usa EJB3."
#. Tag: para
-#: Websphere.xml:493
+#: Websphere.xml:494
#, fuzzy, no-c-format
msgid "The example already has a breakout of configurations and build scripts for many of the common containers including WebSphere."
msgstr "L'esempio ha già un pò di configurazioni e build script per molti comuni container incluso Websphere."
#. Tag: para
-#: Websphere.xml:498
+#: Websphere.xml:499
#, fuzzy, no-c-format
msgid "First thing, we are going to do is build and deploy that example. Then we'll go over some key changes that we needed."
msgstr "La prima cosa da fare è costruire e deployare quell'esempio. Poi verranno apportate delle modifiche chiave necessarie."
#. Tag: title
-#: Websphere.xml:504
+#: Websphere.xml:505
#, no-c-format
msgid "Building the <literal>jpa</literal> example"
msgstr "Build dell'esempio <literal>jpa</literal>"
#. Tag: para
-#: Websphere.xml:505
+#: Websphere.xml:506
#, no-c-format
msgid "Building it only requires running the correct ant command: <programlisting>ant websphere7</programlisting> This will create container specific distribution and exploded archive directories with the <literal>websphere7</literal> label."
msgstr "Il building richiede l'esecuzione del corretto comando ant: <programlisting>ant websphere7</programlisting>. Questo creerà una distribuzione specifica per il container e le directory esplose per l'archivio con etichetta <literal>websphere7</literal>."
#. Tag: title
-#: Websphere.xml:514
+#: Websphere.xml:515
#, no-c-format
msgid "Deploying the <literal>jpa</literal> example"
msgstr "Deploy dell'esempio <literal>jpa</literal>"
#. Tag: para
-#: Websphere.xml:515
+#: Websphere.xml:516
#, no-c-format
msgid "Deploying <literal>jpa</literal> application is very similar to the <literal>jee5/booking</literal> example at <xref linkend=\"jee5-websphere-deploy\"/>. The main difference is, that this time, we will deploy a war file instead of an ear file, and we'll have to manually specify the context root of the application."
msgstr ""
#. Tag: para
-#: Websphere.xml:521
+#: Websphere.xml:522
#, no-c-format
-msgid "Follow the same instructions as for the <literal>jee5/booking</literal> sample. Select the <literal>examples/jpa/dist-websphere7/jboss-seam-jpa.war</literal> file on the first page and on the <literal>Map context roots for Web modules</literal> page (after the <literal>Map virtual host for Web module</literal>), enter the context root you want to use for your application in the <literal>Contect Root</literal> input field."
+msgid "Follow the same instructions as for the <literal>jee5/booking</literal> sample. Select the <literal>examples/jpa/dist-websphere7/jboss-seam-jpa.war</literal> file on the first page and on the <literal>Map context roots for Web modules</literal> page (after the <literal>Map virtual host for Web module</literal>), enter the context root you want to use for your application in the <literal>Context Root</literal> input field."
msgstr ""
#. Tag: para
-#: Websphere.xml:528
+#: Websphere.xml:529
#, fuzzy, no-c-format
msgid "When started, you can now access the application at the <literal>http://localhost:9080/<context root></literal>."
msgstr "Si può ora accedere all'applicazione all'indirizzo <literal>http://localhost:9080/jboss-seam-jpa/index.html</literal>."
#. Tag: title
-#: Websphere.xml:534
+#: Websphere.xml:535
#, no-c-format
msgid "Deviation from the generic base files"
msgstr ""
#. Tag: section
-#: Websphere.xml:534
+#: Websphere.xml:535
#, no-c-format
msgid "Below are the configuration file differences between the base configuration files and the files customized for WebSphere held in the <literal>resources-websphere7</literal> directory."
msgstr ""
#. Tag: para
-#: Websphere.xml:539
+#: Websphere.xml:540
#, fuzzy, no-c-format
msgid "<literal>META-INF/persistence.xml</literal> — The main changes here are for the datasource JNDI path, switching to the WebSphere transaction manager look up class, turning off the <literal>hibernate.transaction.flush_before_completion</literal> toggle, and forcing the Hibernate dialect to be <literal>GlassfishDerbyDialect</literal> how as using the integrated Derby database"
msgstr "<literal>META-INF/persistence.xml</literal> — le maggiori modifiche sono per il path JNDI del datasource, passando alla classe di ricerca del gestore di transazioni Websphere e cambiando il dialetto Hibernate a <literal>GlassfishDerbyDialect</literal>."
#. Tag: para
-#: Websphere.xml:556
+#: Websphere.xml:550
+#, fuzzy, no-c-format
+msgid "<literal>import.sql</literal> — due to the customized hibernate Derby dialect, the <literal>ID</literal> column can not be populated by this file and was removed."
+msgstr "<literal>import.sql</literal> — la colonna <literal>ID</literal> sia del dialetto sia del Derby DB non può essere popolata ed è stata rimossa."
+
+#. Tag: para
+#: Websphere.xml:557
#, no-c-format
msgid "Also the build procedure have been changed to include the <literal>log4j.jar</literal> file and exclude the <literal>concurrent.jar</literal> and <literal>jboss-common-core.jar</literal> files."
msgstr ""
@@ -776,12 +787,6 @@
#~ "installazione."
#~ msgid "<title>Configuration file changes</title>"
#~ msgstr "<title>Cambiamenti al file di configurazione</title>"
-#~ msgid ""
-#~ "Below are the configuration file changes that are need to the base "
-#~ "example."
-#~ msgstr ""
-#~ "Sotto sono riportate le modifiche al file di configurazione necessarie "
-#~ "all'esempio base."
#~ msgid "resources/WEB-INF/components.xml"
#~ msgstr "resources/WEB-INF/components.xml"
#~ msgid ""
14 years, 8 months
Seam SVN: r11431 - in branches/community/Seam_2_2_Drools5/src/main/org/jboss/seam: drools and 1 other directory.
by seam-commits@lists.jboss.org
Author: tsurdilovic
Date: 2009-08-26 15:12:36 -0400 (Wed, 26 Aug 2009)
New Revision: 11431
Added:
branches/community/Seam_2_2_Drools5/src/main/org/jboss/seam/drools/StatelessKnowledgeSession.java
Modified:
branches/community/Seam_2_2_Drools5/src/main/org/jboss/seam/drools-2.2.xsd
Log:
Drools5 Integration.
Added: branches/community/Seam_2_2_Drools5/src/main/org/jboss/seam/drools/StatelessKnowledgeSession.java
===================================================================
--- branches/community/Seam_2_2_Drools5/src/main/org/jboss/seam/drools/StatelessKnowledgeSession.java (rev 0)
+++ branches/community/Seam_2_2_Drools5/src/main/org/jboss/seam/drools/StatelessKnowledgeSession.java 2009-08-26 19:12:36 UTC (rev 11431)
@@ -0,0 +1,158 @@
+package org.jboss.seam.drools;
+
+import java.io.InputStream;
+import java.util.Properties;
+
+import org.drools.KnowledgeBaseFactory;
+import org.drools.event.process.ProcessEventListener;
+import org.drools.event.rule.AgendaEventListener;
+import org.drools.event.rule.WorkingMemoryEventListener;
+import org.drools.logger.KnowledgeRuntimeLogger;
+import org.drools.logger.KnowledgeRuntimeLoggerFactory;
+import org.drools.runtime.KnowledgeSessionConfiguration;
+import org.drools.spi.GlobalResolver;
+import org.jboss.seam.ScopeType;
+import org.jboss.seam.annotations.Destroy;
+import org.jboss.seam.annotations.Scope;
+import org.jboss.seam.annotations.Unwrap;
+import org.jboss.seam.annotations.intercept.BypassInterceptors;
+import org.jboss.seam.core.ResourceLoader;
+import org.jboss.seam.core.Expressions.ValueExpression;
+import org.jboss.seam.log.LogProvider;
+import org.jboss.seam.log.Logging;
+
+/**
+ * A conversation-scoped Drools StatelessKnowledgeSession for a named KnowledgeBase
+ *
+ * @author Tihomir Surdilovic
+ *
+ */
+(a)Scope(ScopeType.CONVERSATION)
+@BypassInterceptors
+public class StatelessKnowledgeSession
+{
+ private static final LogProvider log = Logging.getLogProvider(org.jboss.seam.drools.StatelessKnowledgeSession.class);
+
+ private ValueExpression<org.drools.KnowledgeBase> knowledgeBase;
+ private String[] eventListeners;
+ private String knowledgeSessionConfig;
+ private String auditLog;
+
+ private org.drools.runtime.StatelessKnowledgeSession ksession;
+ private KnowledgeRuntimeLogger krLogger;
+
+ @Unwrap
+ public org.drools.runtime.StatelessKnowledgeSession getStatelessKnowledgeSession() throws Exception {
+ if(ksession == null) {
+ KnowledgeSessionConfiguration ksessionconfig;
+ if(knowledgeSessionConfig != null) {
+ Properties ksessionProp = new Properties();
+ InputStream stream = ResourceLoader.instance().getResourceAsStream(knowledgeSessionConfig);
+ if (stream==null) {
+ throw new IllegalStateException("could not locate knowledgeSession configuration: " + knowledgeSessionConfig);
+ }
+ ksessionProp.load(stream);
+ log.info("loading knowledge session config properties: " + ksessionProp.toString());
+ stream.close();
+ ksessionconfig = KnowledgeBaseFactory.newKnowledgeSessionConfiguration(ksessionProp);
+ } else {
+ ksessionconfig = KnowledgeBaseFactory.newKnowledgeSessionConfiguration();
+ }
+
+ ksession = knowledgeBase.getValue().newStatelessKnowledgeSession(ksessionconfig);
+
+ ksession.getGlobals().setDelegate(new SeamDelegate());
+
+ if(eventListeners != null) {
+ for(String eventListener : eventListeners) {
+ setEventListener(ksession, eventListener);
+ }
+ }
+
+ if(auditLog != null) {
+ auditLog+=System.currentTimeMillis();
+ log.info("Setting auding log: " + auditLog);
+ krLogger = KnowledgeRuntimeLoggerFactory.newFileLogger(ksession, auditLog);
+ }
+ }
+
+ return ksession;
+ }
+
+ protected GlobalResolver createGlobalResolver(GlobalResolver delegate)
+ {
+ return new SeamGlobalResolver(delegate);
+ }
+
+ protected void setEventListener(org.drools.runtime.StatelessKnowledgeSession ksession, String eventListener) {
+ try {
+ Class eventListenerClass = Class.forName(eventListener);
+ Object eventListenerObject = eventListenerClass.newInstance();
+
+ if(eventListenerObject instanceof WorkingMemoryEventListener) {
+ ksession.addEventListener((WorkingMemoryEventListener) eventListenerObject);
+ } else if(eventListenerObject instanceof AgendaEventListener) {
+ ksession.addEventListener((AgendaEventListener) eventListenerObject);
+ } else if(eventListenerObject instanceof ProcessEventListener) {
+ ksession.addEventListener((ProcessEventListener) eventListenerObject);
+ } else {
+ log.warn("event Listener " + eventListener + " is not of valid type");
+ }
+ } catch(Exception e) {
+ log.warn("error adding event listener " + eventListener);
+ }
+ }
+
+ public boolean clearDirty()
+ {
+ return true;
+ }
+
+ @Destroy
+ public void destroy()
+ {
+ if(krLogger != null) {
+ krLogger.close();
+ }
+ }
+
+ public ValueExpression<org.drools.KnowledgeBase> getKnowledgeBase()
+ {
+ return knowledgeBase;
+ }
+
+ public void setKnowledgeBase(ValueExpression<org.drools.KnowledgeBase> knowledgeBase)
+ {
+ this.knowledgeBase = knowledgeBase;
+ }
+
+ public String[] getEventListeners()
+ {
+ return eventListeners;
+ }
+
+ public void setEventListeners(String[] eventListeners)
+ {
+ this.eventListeners = eventListeners;
+ }
+
+ public String getKnowledgeSessionConfig()
+ {
+ return knowledgeSessionConfig;
+ }
+
+ public void setKnowledgeSessionConfig(String knowledgeSessionConfig)
+ {
+ this.knowledgeSessionConfig = knowledgeSessionConfig;
+ }
+
+ public String getAuditLog()
+ {
+ return auditLog;
+ }
+
+ public void setAuditLog(String auditLog)
+ {
+ this.auditLog = auditLog;
+ }
+}
Modified: branches/community/Seam_2_2_Drools5/src/main/org/jboss/seam/drools-2.2.xsd
===================================================================
--- branches/community/Seam_2_2_Drools5/src/main/org/jboss/seam/drools-2.2.xsd 2009-08-26 10:59:14 UTC (rev 11430)
+++ branches/community/Seam_2_2_Drools5/src/main/org/jboss/seam/drools-2.2.xsd 2009-08-26 19:12:36 UTC (rev 11431)
@@ -105,7 +105,26 @@
<xs:attribute name="fact-provider" type="components:expressionType"/>
<xs:attribute name="audit-log" type="components:string"/>
</xs:attributeGroup>
- <xs:element name="globals" type="components:multiValuedProperty" />
+
+ <xs:element name="stateless-knowledge-session">
+ <xs:annotation>
+ <xs:documentation>Drools StatelessKnowledgeSession</xs:documentation>
+ </xs:annotation>
+ <xs:complexType mixed="true">
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
+ <xs:element minOccurs="0" maxOccurs="1"
+ ref="drools:event-listeners" />
+ </xs:choice>
+ <xs:attributeGroup ref="components:attlist.component" />
+ <xs:attributeGroup ref="drools:attlist.StatelessKnowledgeSession" />
+ </xs:complexType>
+ </xs:element>
+ <xs:attributeGroup name="attlist.StatelessKnowledgeSession">
+ <xs:attribute name="knowledge-base" type="components:expressionType" />
+ <xs:attribute name="event-listeners" type="components:string" />
+ <xs:attribute name="knowledge-session-config" type="components:string" />
+ <xs:attribute name="audit-log" type="components:string"/>
+ </xs:attributeGroup>
<xs:element name="knowledge-agent">
<xs:annotation>
14 years, 8 months
Seam SVN: r11430 - branches/enterprise/JBPAPP_5_0/src/test/integration/src/org/jboss/seam/test/integration.
by seam-commits@lists.jboss.org
Author: manaRH
Date: 2009-08-26 06:59:14 -0400 (Wed, 26 Aug 2009)
New Revision: 11430
Modified:
branches/enterprise/JBPAPP_5_0/src/test/integration/src/org/jboss/seam/test/integration/MessagingTest.java
Log:
removed printout to console
Modified: branches/enterprise/JBPAPP_5_0/src/test/integration/src/org/jboss/seam/test/integration/MessagingTest.java
===================================================================
--- branches/enterprise/JBPAPP_5_0/src/test/integration/src/org/jboss/seam/test/integration/MessagingTest.java 2009-08-26 10:35:20 UTC (rev 11429)
+++ branches/enterprise/JBPAPP_5_0/src/test/integration/src/org/jboss/seam/test/integration/MessagingTest.java 2009-08-26 10:59:14 UTC (rev 11430)
@@ -47,8 +47,7 @@
// need to delay a bit to make sure the message is delivered
// might need
- Thread.sleep(2000);
- System.out.println("HODNOTA ->" + messageText.getValue());
+ Thread.sleep(2000);
assert messageText.getValue().equals("message for topic");
}
14 years, 8 months
Seam SVN: r11429 - in branches/community/Seam_2_2: examples/restbay/src/org/jboss/seam/example/restbay and 1 other directories.
by seam-commits@lists.jboss.org
Author: christian.bauer(a)jboss.com
Date: 2009-08-26 06:35:20 -0400 (Wed, 26 Aug 2009)
New Revision: 11429
Modified:
branches/community/Seam_2_2/doc/Seam_Reference_Guide/en-US/Webservices.xml
branches/community/Seam_2_2/examples/restbay/src/org/jboss/seam/example/restbay/AuctionService.java
branches/community/Seam_2_2/src/resteasy/org/jboss/seam/resteasy/ResteasyBootstrap.java
branches/community/Seam_2_2/src/resteasy/org/jboss/seam/resteasy/ResteasyResourceAdapter.java
branches/community/Seam_2_2/src/resteasy/org/jboss/seam/resteasy/resteasy-2.2.xsd
Log:
JBSEAM-4360, fixed REST URI base path extraction
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/en-US/Webservices.xml
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/en-US/Webservices.xml 2009-08-26 08:05:50 UTC (rev 11428)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/en-US/Webservices.xml 2009-08-26 10:35:20 UTC (rev 11429)
@@ -242,11 +242,17 @@
</para>
<itemizedlist>
+ <listitem>
+ <para>
+ The URI starts with the host and context path of your application,
+ e.g. <literal>http://your.hostname/myapp</literal>.
+ </para>
+ </listitem>
<listitem>
<para>
- The URI starts with the pattern mapped in <literal>web.xml</literal> for the
- <literal>SeamResourceServlet</literal>, e.g <literal>/seam/resource</literal> if you follow
- the common examples. Change this setting to expose your RESTful resources under a different base.
+ Then the pattern mapped in <literal>web.xml</literal> for the <literal>SeamResourceServlet</literal>,
+ e.g <literal>/seam/resource</literal> if you follow the common examples, is appended.
+ Change this setting to expose your RESTful resources under a different base.
Note that this is a global change and other Seam resources (e.g. <literal>s:graphicImage</literal>)
are then also served under that base path.
</para>
@@ -255,23 +261,23 @@
<para>
The RESTEasy integration for Seam then appends a configurable string to the base path, by default
this is <literal>/rest</literal>. Hence, the full base path of your resources would e.g. be
- <literal>/seam/resource/rest</literal>. We recommend that you change this string in your application,
+ <literal>/myapp/seam/resource/rest</literal>. We recommend that you change this string in your application,
you could for example add a version number to prepare for a future REST API upgrade of your services
- (old clients would keep the old URI base): <literal>/seam/resource/restv1</literal>.
+ (old clients would keep the old URI base): <literal>/myapp/seam/resource/restv1</literal>.
</para>
</listitem>
<listitem>
<para>
Finally, the actual resource is available under the defined <literal>@Path</literal>, e.g. a resource
mapped with <literal>@Path("/customer")</literal> would be available under
- <literal>/seam/resource/rest/customer</literal>.
+ <literal>/myapp/seam/resource/rest/customer</literal>.
</para>
</listitem>
</itemizedlist>
<para>
As an example, the following resource definition would return a plaintext representation for any
- GET requests using the URI <literal>http://your.hostname/seam/resource/rest/customer/123</literal>:
+ GET requests using the URI <literal>http://your.hostname/myapp/seam/resource/rest/customer/123</literal>:
</para>
<programlisting role="JAVA"><![CDATA[@Path("/customer")
@@ -309,24 +315,12 @@
<programlisting role="XML"><![CDATA[<resteasy:application resource-path-prefix="/restv1"/>]]></programlisting>
<para>
- The full base path to your resources is now <literal>/seam/resource/restv1/{resource}</literal> - note
+ The full base path to your resources is now <literal>/myapp/seam/resource/restv1/{resource}</literal> - note
that your <literal>@Path</literal> definitions and mappings do NOT change. This is an application-wide
- switch usually used for versioning of the HTTP API.
+ switch usually used for versioning of the HTTP interface.
</para>
<para>
- You can disable stripping of the base path if you'd like to map the full path in your resources:
- </para>
-
- <programlisting role="XML"><![CDATA[<resteasy:application strip-seam-resource-path="false"/>]]></programlisting>
-
- <para>
- The path of a resource is now mapped with e.g.
- <literal>@Path("/seam/resource/rest/customer")</literal>. We do not recommend disabling this feature,
- as your resource class mappings are then bound to a particular deployment scenario.
- </para>
-
- <para>
Seam will scan your classpath for any deployed <literal>@javax.ws.rs.Path</literal> resources and any
<literal>@javax.ws.rs.ext.Provider</literal> classes. You can disable scanning and configure these
classes manually:
@@ -362,9 +356,10 @@
as shown above. Note that you have to annotate the <literal>@Local</literal> interface of the EJB with
<literal>@Path</literal>, <literal>@GET</literal>, and so on - not the bean implementation class. This allows
you to keep your application deployment-portable with the global Seam <literal>jndi-pattern</literal> switch
- on <literal><core:init/></literal>. Note that EJB resources will not be found even if scanning of
- resources is enabled, you always have to list them manually. Again, this is only relevant for EJB resources
- that are not also Seam components and that do not have a <literal>@Name</literal> annotation.
+ on <literal><core:init/></literal>. Note that plain (non-Seam component) EJB resources will not be found
+ even if scanning of resources is enabled, you always have to list them manually. Again, this whole paragraph
+ is only relevant for EJB resources that are not also Seam components and that do not have
+ an <literal>@Name</literal> annotation.
</para>
<para>
Modified: branches/community/Seam_2_2/examples/restbay/src/org/jboss/seam/example/restbay/AuctionService.java
===================================================================
--- branches/community/Seam_2_2/examples/restbay/src/org/jboss/seam/example/restbay/AuctionService.java 2009-08-26 08:05:50 UTC (rev 11428)
+++ branches/community/Seam_2_2/examples/restbay/src/org/jboss/seam/example/restbay/AuctionService.java 2009-08-26 10:35:20 UTC (rev 11429)
@@ -1,18 +1,18 @@
package org.jboss.seam.example.restbay;
+import org.jboss.seam.annotations.In;
import org.jboss.seam.annotations.Name;
-import org.jboss.seam.annotations.In;
-import org.jboss.seam.util.Reflections;
-import javax.ws.rs.*;
+import javax.persistence.EntityManager;
+import javax.ws.rs.GET;
+import javax.ws.rs.Path;
+import javax.ws.rs.PathParam;
+import javax.ws.rs.Produces;
+import javax.ws.rs.core.Context;
import javax.ws.rs.core.HttpHeaders;
-import javax.ws.rs.core.Context;
-import javax.ws.rs.core.MediaType;
import javax.ws.rs.core.UriInfo;
-import javax.persistence.EntityManager;
-import java.util.GregorianCalendar;
+import java.net.URI;
import java.util.List;
-import java.lang.reflect.Field;
/**
* @author Christian Bauer
@@ -39,6 +39,12 @@
@Produces("text/plain")
public String getAuctions()
{
+
+ URI builtURI = uriInfo.getAbsolutePathBuilder().path("3").build();
+ // We can't test for /<context> prefix here, as we don't have a context in unit tests but we
+ // have it when the application is deployed... so use endsWith()
+ assert builtURI.getPath().endsWith("/seam/resource/restv1/auction/3");
+
// This is supposed to test field and setter injection for @Context
assert uriInfo.getPath().equals("/auction");
assert headers.getAcceptableMediaTypes().size() == 1;
Modified: branches/community/Seam_2_2/src/resteasy/org/jboss/seam/resteasy/ResteasyBootstrap.java
===================================================================
--- branches/community/Seam_2_2/src/resteasy/org/jboss/seam/resteasy/ResteasyBootstrap.java 2009-08-26 08:05:50 UTC (rev 11428)
+++ branches/community/Seam_2_2/src/resteasy/org/jboss/seam/resteasy/ResteasyBootstrap.java 2009-08-26 10:35:20 UTC (rev 11429)
@@ -415,8 +415,12 @@
// We can always instantiate this safely here because it can't have dependencies!
AbstractResource instance = (AbstractResource) seamComponent.newInstance();
String path = instance.getPath();
- if (instance.getPath() != null)
+ if (path != null)
{
+ if (!path.startsWith("/")) {
+ path = "/" + path;
+ }
+
log.debug(
"registering resource, configured ResourceHome/Query on path {1}, as Seam component: {0}",
seamComponent.getName(),
Modified: branches/community/Seam_2_2/src/resteasy/org/jboss/seam/resteasy/ResteasyResourceAdapter.java
===================================================================
--- branches/community/Seam_2_2/src/resteasy/org/jboss/seam/resteasy/ResteasyResourceAdapter.java 2009-08-26 08:05:50 UTC (rev 11428)
+++ branches/community/Seam_2_2/src/resteasy/org/jboss/seam/resteasy/ResteasyResourceAdapter.java 2009-08-26 10:35:20 UTC (rev 11429)
@@ -83,7 +83,8 @@
// No injection, so lookup on first request
dispatcher = (Dispatcher) Component.getInstance("org.jboss.seam.resteasy.dispatcher");
application = (Application) Component.getInstance(Application.class);
- if (dispatcher == null) {
+ if (dispatcher == null)
+ {
throw new IllegalStateException(
"ReasteasyDispatcher not available, make sure RESTEasy and all required JARs are on your classpath"
);
@@ -125,7 +126,7 @@
{
HttpHeaders headers = ServletUtil.extractHttpHeaders(request);
- UriInfoImpl uriInfo = extractUriInfo(request);
+ UriInfoImpl uriInfo = extractUriInfo(request, application.getResourcePathPrefix());
HttpResponse theResponse = new HttpServletResponseWrapper(
response,
@@ -165,50 +166,34 @@
}
}
- // Replaces the static ServletUtil.extractUriInfo(), removes the Seam-related sub-path
- protected UriInfoImpl extractUriInfo(HttpServletRequest request)
+ protected UriInfoImpl extractUriInfo(HttpServletRequest request, String pathPrefix)
{
- String contextPath = request.getContextPath();
- URI absolutePath;
try
{
- URL absolute = new URL(request.getRequestURL().toString());
+ // Append a slash if there isn't one
+ if (!pathPrefix.startsWith("/")) {
+ pathPrefix = "/" + pathPrefix;
+ }
- UriBuilderImpl builder = new UriBuilderImpl();
- builder.scheme(absolute.getProtocol());
- builder.host(absolute.getHost());
- builder.port(absolute.getPort());
- builder.path(absolute.getPath());
- builder.replaceQuery(absolute.getQuery());
- absolutePath = builder.build();
+ // Get the full path of the current request
+ URL requestURL = new URL(request.getRequestURL().toString());
+ String requestPath = requestURL.getPath();
+
+ // Find the 'servlet mapping prefix' for RESTEasy (in our case: /seam/resource/rest)
+ String mappingPrefix =
+ requestPath.substring(0, requestPath.indexOf(pathPrefix)+pathPrefix.length());
+
+ // Still is /<context>/seam/resource/rest, so cut off the context
+ mappingPrefix = mappingPrefix.substring(request.getContextPath().length());
+
+ log.debug("Using request mapping prefix: " + mappingPrefix);
+
+ // This is the prefix used by RESTEasy to resolve resources and generate URIs with
+ return ServletUtil.extractUriInfo(request, mappingPrefix);
}
catch (MalformedURLException e)
{
throw new RuntimeException(e);
}
-
- String path = PathHelper.getEncodedPathInfo(absolutePath.getRawPath(), contextPath);
-
- if (application.isStripSeamResourcePath())
- {
- log.debug("removing SeamResourceServlet url-pattern and dispatcher prefix from request path");
- path = path.substring(path.indexOf(getResourcePath()) + getResourcePath().length());
- }
-
- List<PathSegment> pathSegments = PathSegmentImpl.parseSegments(path);
- URI baseURI = absolutePath;
- if (!path.trim().equals(""))
- {
- String tmpContextPath = contextPath;
- if (!tmpContextPath.endsWith("/")) tmpContextPath += "/";
- baseURI = UriBuilder.fromUri(absolutePath).replacePath(tmpContextPath).build();
- }
-
- log.debug("UriInfo, absolute URI : " + absolutePath);
- log.debug("UriInfo, base URI : " + baseURI);
- log.debug("UriInfo, relative path/@Path: " + path);
- log.debug("UriInfo, query string : " + request.getQueryString());
-
- return new UriInfoImpl(absolutePath, baseURI, path, request.getQueryString(), pathSegments);
}
}
Modified: branches/community/Seam_2_2/src/resteasy/org/jboss/seam/resteasy/resteasy-2.2.xsd
===================================================================
--- branches/community/Seam_2_2/src/resteasy/org/jboss/seam/resteasy/resteasy-2.2.xsd 2009-08-26 08:05:50 UTC (rev 11428)
+++ branches/community/Seam_2_2/src/resteasy/org/jboss/seam/resteasy/resteasy-2.2.xsd 2009-08-26 10:35:20 UTC (rev 11429)
@@ -126,10 +126,7 @@
<xs:attribute name="strip-seam-resource-path" type="components:boolean">
<xs:annotation>
<xs:documentation>
- Remove the "/<url-pattern-of-seam-resource-servlet>/<resource-path-prefix>" part
- of the request path before the request is mapped to a @Path resource. If disabled,
- all @Path definitions must use the full prefix of the SeamResourceServlet as
- mapped with the url-pattern in web.xml, plus the resourcePathPrefix.
+ (DEPRECATED) Has no effect, remove from configuration.
</xs:documentation>
</xs:annotation>
</xs:attribute>
14 years, 8 months
Seam SVN: r11428 - in sandbox/trunk/modules/xwidgets: src/main/javascript and 1 other directory.
by seam-commits@lists.jboss.org
Author: shane.bryzak(a)jboss.com
Date: 2009-08-26 04:05:50 -0400 (Wed, 26 Aug 2009)
New Revision: 11428
Modified:
sandbox/trunk/modules/xwidgets/examples/helloworld/index.html
sandbox/trunk/modules/xwidgets/examples/helloworld/test.xw
sandbox/trunk/modules/xwidgets/examples/helloworld/xw.Panel.js
sandbox/trunk/modules/xwidgets/src/main/javascript/xw.js
Log:
layout manager functionality
Modified: sandbox/trunk/modules/xwidgets/examples/helloworld/index.html
===================================================================
--- sandbox/trunk/modules/xwidgets/examples/helloworld/index.html 2009-08-26 02:34:26 UTC (rev 11427)
+++ sandbox/trunk/modules/xwidgets/examples/helloworld/index.html 2009-08-26 08:05:50 UTC (rev 11428)
@@ -2,7 +2,7 @@
<body style="background-color:#eeeeee">
<h1>Hello World Example</h1>
- <div id="container"></div>
+ <div id="container" style="border:1px solid black;width:50%;height:50%"></div>
<script src="../../src/main/javascript/xw.js"></script>
Modified: sandbox/trunk/modules/xwidgets/examples/helloworld/test.xw
===================================================================
--- sandbox/trunk/modules/xwidgets/examples/helloworld/test.xw 2009-08-26 02:34:26 UTC (rev 11427)
+++ sandbox/trunk/modules/xwidgets/examples/helloworld/test.xw 2009-08-26 08:05:50 UTC (rev 11428)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<view xmlns="http://jboss.com/products/xwidgets">
- <panel>
+ <panel align="top" height="100">
<label value="Hello World!"/>
<button value="Click me!">
@@ -10,5 +10,24 @@
</action>
</event>
</button>
+ </panel>
+ <panel align="right" width="100">
+ <label value="right"/>
+ </panel>
+
+ <panel align="bottom" height="30">
+ <label value="bottom"/>
+ </panel>
+
+ <panel align="left" width="40">
+ <label value="left"/>
+ </panel>
+
+ <panel align="left" width="40">
+ <label value="left2"/>
+ </panel>
+
+ <panel align="client">
+ <label value="client"/>
</panel>
-</view>
\ No newline at end of file
+</view>
Modified: sandbox/trunk/modules/xwidgets/examples/helloworld/xw.Panel.js
===================================================================
--- sandbox/trunk/modules/xwidgets/examples/helloworld/xw.Panel.js 2009-08-26 02:34:26 UTC (rev 11427)
+++ sandbox/trunk/modules/xwidgets/examples/helloworld/xw.Panel.js 2009-08-26 08:05:50 UTC (rev 11428)
@@ -5,29 +5,53 @@
this.width = 200;
this.height = 100;
this.parent = null;
- this.control = null;
+ this.control = null;
+ this.align = null;
xw.controls.Panel.prototype.setParent = function(parent)
{
this.parent = parent;
+ }
+
+ xw.controls.Panel.prototype.setAlign = function(align)
+ {
+ this.align = align;
+ }
+
+ xw.controls.Panel.prototype.setWidth = function(width)
+ {
+ this.width = width;
+ }
+
+ xw.controls.Panel.prototype.setHeight = function(height)
+ {
+ this.height = height;
}
- xw.controls.Panel.prototype.paint = function()
+ xw.controls.Panel.prototype.paint = function(layout)
{
if (this.control == null)
{
this.control = document.createElement("div");
- this.control.widget = this;
- this.parent.control.appendChild(this.control);
-
- this.control.style.width = "400";
- this.control.style.height = "200";
-
+ this.control.widget = this;
this.control.style.backgroundColor = "#ece9d6";
this.control.style.borderTop = "1px solid white";
this.control.style.borderLeft = "1px solid white";
this.control.style.borderBottom = "1px solid #555555";
- this.control.style.borderRight = "1px solid #555555";
+ this.control.style.borderRight = "1px solid #555555";
+
+ if (layout != null)
+ {
+ layout.setBounds(this);
+ }
+ else
+ {
+ this.control.style.width = this.width;
+ this.control.style.height = this.height;
+ this.control.style.display = "inline";
+ }
+
+ this.parent.control.appendChild(this.control);
}
for (var i = 0; i < this.children.length; i++)
Modified: sandbox/trunk/modules/xwidgets/src/main/javascript/xw.js
===================================================================
--- sandbox/trunk/modules/xwidgets/src/main/javascript/xw.js 2009-08-26 02:34:26 UTC (rev 11427)
+++ sandbox/trunk/modules/xwidgets/src/main/javascript/xw.js 2009-08-26 08:05:50 UTC (rev 11428)
@@ -114,6 +114,82 @@
// really old browsers
// alert("your browser doesn't support adding event listeners");
}
+}
+
+/**
+ * A Map implementation
+ */
+xw.Map = function()
+{
+ this.elements = new Array();
+
+ xw.Map.prototype.size = function()
+ {
+ return this.elements.length;
+ }
+
+ xw.Map.prototype.isEmpty = function()
+ {
+ return this.elements.length == 0;
+ }
+
+ xw.Map.prototype.keySet = function()
+ {
+ var keySet = new Array();
+ for (var i = 0; i < this.elements.length; i++)
+ keySet[keySet.length] = this.elements[i].key;
+ return keySet;
+ }
+
+ xw.Map.prototype.values = function()
+ {
+ var values = new Array();
+ for (var i = 0; i < this.elements.length; i++)
+ values[values.length] = this.elements[i].value;
+ return values;
+ }
+
+ xw.Map.prototype.get = function(key)
+ {
+ for (var i = 0; i < this.elements.length; i++)
+ {
+ if (this.elements[i].key == key)
+ return this.elements[i].value;
+ }
+ return null;
+ }
+
+ xw.Map.prototype.put = function(key, value)
+ {
+ for (var i = 0; i < this.elements.length; i++)
+ {
+ if (this.elements[i].key == key)
+ {
+ this.elements[i].value = value;
+ return;
+ }
+ }
+ this.elements.push({key:key,value:value});
+ }
+
+ xw.Map.prototype.remove = function(key)
+ {
+ for (var i = 0; i < this.elements.length; i++)
+ {
+ if (this.elements[i].key == key)
+ this.elements.splice(i, 1);
+ }
+ }
+
+ xw.Map.prototype.contains = function(key)
+ {
+ for (var i = 0; i < this.elements.length; i++)
+ {
+ if (this.elements[i].key == key)
+ return true;
+ }
+ return false;
+ }
}
/**
@@ -389,20 +465,152 @@
}
}
+/**
+ * Defines the physical bounds of a control
+ */
+xw.Bounds = function(top, left, height, width)
+{
+ this.top = top;
+ this.left = left;
+ this.height = height;
+ this.width = width;
+ this.style = new Object();
+
+ xw.Bounds.prototype.getTop = function()
+ {
+ return this.top;
+ }
+
+ xw.Bounds.prototype.getLeft = function()
+ {
+ return this.left;
+ }
+
+ xw.Bounds.prototype.getHeight = function()
+ {
+ return this.height;
+ }
+
+ xw.Bounds.prototype.getWidth = function()
+ {
+ return this.width;
+ }
+
+ xw.Bounds.prototype.addStyleProperty = function(property, value)
+ {
+ this.style[property] = value;
+ return this;
+ }
+
+ xw.Bounds.prototype.applyToControl = function(control)
+ {
+ if (this.height != null) control.style.height = this.height;
+ if (this.width != null) control.style.width = this.width;
+ if (this.height != null) control.style.height = this.height;
+ if (this.width != null) control.style.width = this.width;
+ for (var i in this.style) control.style[i] = this.style[i];
+ }
+}
+
/** LAYOUT MANAGERS **/
xw.BorderLayout = function(container)
{
this.container = container;
+ this.bounds = new xw.Map();
xw.BorderLayout.prototype.layout = function()
- {
- for (var i = 0; i < container.children.length; i++)
+ {
+ this.container.control.style.position = "relative";
+ var topControls = new Array();
+ var bottomControls = new Array();
+ var leftControls = new Array();
+ var rightControls = new Array();
+ var clientControls = new Array();
+
+ for (var i = 0; i < this.container.children.length; i++)
+ {
+ var child = this.container.children[i];
+ if ("top" == child.align) topControls.push(child);
+ else if ("bottom" == child.align) bottomControls.push(child);
+ else if ("left" == child.align) leftControls.push(child);
+ else if ("right" == child.align) rightControls.push(child);
+ else if ("client" == child.align) clientControls.push(child);
+ }
+
+ var topSpace = 0;
+ var bottomSpace = 0;
+ var leftSpace = 0;
+ var rightSpace = 0;
+
+ // TODO - take border widths into account so we don't need all the +2's everywhere
+
+ for (var i = 0; i < topControls.length; i++)
+ {
+ this.bounds.put(topControls[i], new xw.Bounds(null, null, topControls[i].height, null)
+ .addStyleProperty("position", "absolute")
+ .addStyleProperty("top", topSpace)
+ .addStyleProperty("left", "0")
+ .addStyleProperty("right", "0")
+ );
+ topSpace += 1.0 * topControls[i].height;
+ }
+
+ for (var i = 0; i < bottomControls.length; i++)
+ {
+ this.bounds.put(bottomControls[i], new xw.Bounds(null, null, bottomControls[i].height, null)
+ .addStyleProperty("position","absolute")
+ .addStyleProperty("bottom", bottomSpace)
+ .addStyleProperty("left", "0")
+ .addStyleProperty("right", "0")
+ );
+ bottomSpace += 1.0 * bottomControls[i].height;
+ }
+
+ for (var i = 0; i < leftControls.length; i++)
+ {
+ this.bounds.put(leftControls[i], new xw.Bounds(null, null, null, leftControls[i].width)
+ .addStyleProperty("position", "absolute")
+ .addStyleProperty("left", leftSpace + (leftSpace > 0 ? 2 : 0))
+ .addStyleProperty("top", topSpace + 2)
+ .addStyleProperty("bottom", bottomSpace + 2)
+ );
+ leftSpace += 1.0 * leftControls[i].width;
+ }
+
+ for (var i = 0; i < rightControls.length; i++)
+ {
+ this.bounds.put(rightControls[i], new xw.Bounds(null, null, null, rightControls[i].width)
+ .addStyleProperty("position", "absolute")
+ .addStyleProperty("right", rightSpace)
+ .addStyleProperty("top", topSpace + 2)
+ .addStyleProperty("bottom", bottomSpace + 2)
+ );
+ rightSpace += 1.0 * rightControls[i].width;
+ }
+
+ for (var i = 0; i < clientControls.length; i++)
+ {
+ this.bounds.put(clientControls[i], new xw.Bounds(null, null, null, null)
+ .addStyleProperty("position", "absolute")
+ .addStyleProperty("left", leftSpace + 4)
+ .addStyleProperty("right", rightSpace + 2)
+ .addStyleProperty("top", topSpace + 2)
+ .addStyleProperty("bottom", bottomSpace + 2)
+ );
+ }
+
+ for (var i = 0; i < this.container.children.length; i++)
{
- container.children[i].paint();
+ this.container.children[i].paint(this);
}
}
+ xw.BorderLayout.prototype.setBounds = function(ctl)
+ {
+ var bounds = this.bounds.get(ctl);
+ if (bounds != null) bounds.applyToControl(ctl.control);
+ }
}
xw.layoutManagers = new Object();
14 years, 8 months