Preloader image

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