Newsletter sign-up
View all newsletters

Enterprise Java Newsletter
Stay up to date on the latest tutorials and Java community news posted on JavaWorld

JavaWorld Daily Brew

Only one instance of an MDB!


Back to:
www.javaworld.com/javaworld/jw-06-2005/jw-0606-jca.html
.

"To take advantage of MDB's object pooling, create message endpoints for each message in the TradeWorker's run() method".

Although I have done so, I have only one instance of my MDB.

//Message prozessed by the same MDB-Id
logger.info("[THIS MDB]:" + his.toString());

Your rating: None

Post new comment

  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <p> <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <br /> <br> <strike>
  • Lines and paragraphs break automatically.
  • Use <!--pagebreak--> to create page breaks.
  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.

More information about formatting options

CAPTCHA
Just checking to see if you're an actual person rather than a spammer. Sorry for the inconvenience.