This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes JBoss/WildFly and the fly likes how to initialize the size of EJB objects? Help! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "how to initialize the size of EJB objects? Help!" Watch "how to initialize the size of EJB objects? Help!" New topic
Author

how to initialize the size of EJB objects? Help!

Jamy Wang
Ranch Hand

Joined: Sep 21, 2003
Posts: 83
want to create a instance of some EJB when JBoss AS starting.
How can I configurate the max/min size of the EJB?
In Weblogic AS, I know how to do it. In weblogic-ejb-jar.xml:
<stateless-session-descriptor>
<pool>
<max-beans-in-free-pool>1</max-beans-in-free-pool>
<initial-beans-in-free-pool>1</initial-beans-in-free-pool>
</pool>
</stateless-session-descriptor>
Can anyone tell me how to realize it on JBoss AS?
Thanks a lot!
James


Best Regards<br /> <br />SCJP1.4 SCJD1.4 SCEA
Jamy Wang
Ranch Hand

Joined: Sep 21, 2003
Posts: 83
nobody can help me?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to initialize the size of EJB objects? Help!
 
Similar Threads
java.lang.RuntimeException: while creating a new bean instance
how to get the LOCAL interface of Session Bean form a application in the same JVM?
Deploying EJB 3 and its DD elements
setting pool size for ejb ???????????
Seting instance pool limit for stateful session bean