HowTo Configure WorkManagers for ejb’s


Put the following inside each weblogic-ejb-jar.xml:

<?xml version="1.0" encoding="UTF-8"?>
 <weblogic-ejb-jar xmlns="http://www.bea.com/ns/weblogic/90" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.bea.com/ns/weblogic/90 http://www.bea.com/ns/weblogic/920/weblogic-ejb-jar.xsd http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/ejb-jar_2_1.xsd">
 <weblogic-enterprise-bean>
 <ejb-name>InfoPaisesBean</ejb-name>
 <stateless-session-descriptor>
 <pool>
 <max-beans-in-free-pool>50</max-beans-in-free-pool>
 </pool>
 </stateless-session-descriptor>
 <jndi-name>JNDI_3EJBInfoPaises</jndi-name>
     <dispatch-policy>
     seurecatWM
     </dispatch-policy>
 </weblogic-enterprise-bean>
 </weblogic-ejb-jar>

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.