You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by an...@apache.org on 2014/05/07 19:48:59 UTC

svn commit: r1593082 - in /tomee/site/trunk/content: documentation.mdtext tip-concurrency.mdtext tip-weblogic.mdtext weblogic.mdtext

Author: andygumbrecht
Date: Wed May  7 17:48:59 2014
New Revision: 1593082

URL: http://svn.apache.org/r1593082
Log:
Global concurrency tip

Added:
    tomee/site/trunk/content/tip-concurrency.mdtext
    tomee/site/trunk/content/tip-weblogic.mdtext
      - copied unchanged from r1592790, tomee/site/trunk/content/weblogic.mdtext
Removed:
    tomee/site/trunk/content/weblogic.mdtext
Modified:
    tomee/site/trunk/content/documentation.mdtext

Modified: tomee/site/trunk/content/documentation.mdtext
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/documentation.mdtext?rev=1593082&r1=1593081&r2=1593082&view=diff
==============================================================================
--- tomee/site/trunk/content/documentation.mdtext (original)
+++ tomee/site/trunk/content/documentation.mdtext Wed May  7 17:48:59 2014
@@ -90,6 +90,7 @@ You can also find us on IRC freenode.org
 }
 {span-one-third
 ###Tips and Tricks
-[WebLogic Lookup](weblogic.html)  
+[Global Concurrency Management](tip-concurrency.html)  
+[WebLogic Lookup](tip-weblogic.html)  
 }
 }
\ No newline at end of file

Added: tomee/site/trunk/content/tip-concurrency.mdtext
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/tip-concurrency.mdtext?rev=1593082&view=auto
==============================================================================
--- tomee/site/trunk/content/tip-concurrency.mdtext (added)
+++ tomee/site/trunk/content/tip-concurrency.mdtext Wed May  7 17:48:59 2014
@@ -0,0 +1,22 @@
+Title: Global Concurrency Management
+
+If for whatever reason you want to define the global default concurrency add this to your META-INF/ejb-jar.xml:
+
+	<?xml version="1.0"?>
+	<ejb-jar
+		xmlns="http://java.sun.com/xml/ns/javaee"
+		xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+		xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/ejb-jar_3_1.xsd"
+		version="3.1">
+
+		<enterprise-beans>
+			<session>
+				<ejb-name>*</ejb-name>
+				<concurrency-management-type>Bean</concurrency-management-type>
+			</session>
+		<enterprise-beans>
+	</ejb-jar>
+	
+You may need to create the file if it does not exist.	
+
+	src/main/resources/META-INF/ejb-jar.xml
\ No newline at end of file