Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

EJB Performance Tuning  RSS feed

 
Kasey Cummings
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I browsed the table of contents on amazon.com and the book looks like it would be a great reference. I'm wondering if the book includes any discussion on performance tuning issues for any of the topics it includes? Thanks!
Kasey
 
Benjamin Sullins
Author
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Performance is one area I wish we had spent more time one. Unfortunately, it does not have a dedicated chapter, but you will find some recipes that deal with improving the performance of logging, JMS message processing, and some EJB lookup improvements.
 
Karthik Guru
Ranch Hand
Posts: 1209
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Benjamin Sullins:
Performance is one area I wish we had spent more time one. Unfortunately, it does not have a dedicated chapter, but you will find some recipes that deal with improving the performance of logging, JMS message processing, and some EJB lookup improvements.


W'd be great if you guys c'd post some tips/articles on CMP, CMR performance improvements. We used weblogic6.1.
We were a young team with a not so experienced J2ee architect, though he was very smart, and ended up using Entity beans for some high volume data operations. We did revert back to good old jdbc for those modules.
But we actually learnt the hard way :-( -- we had to rewrite code.
Things like use ejbSelect instead of finders if you want to extract single column data form the database were'nt of much help actually bcos very rarely do you operate only on single column from a database.
I guess numerous entity bean objects are created on the server once a finder returns large numbe of rows from the DB. The server used to hang @ certain times. Not sure if it's a coincidence, but anytime the client used to report a performance related problem, we c'd track it down to a entity bean operation, either a CMR related issue or a finder taking too much time to execute a query.
We did figure out things like "field grouping" etc that weblogic provides to narrow down the CMP fields that a quesy s'd select.
Ofcourse , i do accept that we probably didnt know how to employ the solution properly but i personally feel that there are lots of inherent drawbacks to the whole entity bean thingy and determining when (or the modules that need to coded using entty bean) to use Entity Beans in a project is by far the most critical part of a project and s'd be done upfront.
thanks for listening.
 
John Hembree
hired gun
Ranch Hand
Posts: 250
MS IE Oracle Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can you use standard java performance tips and tricks or would there be specific things that you would need to do to tune an EJB?
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can you use standard java performance tips and tricks or would there be specific things that you would need to do to tune an EJB?

Have you checked out javaperformancetuning.com?
 
Benjamin Sullins
Author
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
another resource is www.precisejava.com
 
John Hembree
hired gun
Ranch Hand
Posts: 250
MS IE Oracle Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Lasse Koskela:
[QB]Have you checked out..QB]

I think I have seen that site before but not necessarily that specific link to EJB's. I also have the book, "Java Performance Tuning" by Jack Shirazi. I was just wondering if their were specific tuning aspects related to EJB's or if I could apply normal tuning principles as found in Jack's book.
Thanks to both of you for the links though, I will look into them further.
[ August 05, 2003: Message edited by: John Hembree ]
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!