Every
single one of those calls to dir.getXXX() has to go across
the
network via RMI. This is slow. You are better off using
a
bulk
accessor pattern. For example, create a new class
called
DirView which contains all the attributes of your Dir EJB.
Then
make a
single call to the Dir EJB to get a DirView. This will
cause
only 1
RMI call and save you a huge amount of time.
Do you
understand? I can probably pseudo-code an example
if
necessary.
-tim
|
- EJB Performance Question. 김철회
- Re: EJB Performance Question. Klaus Thiele
- RE: EJB Performance Question. Juan Lorandi (Chile)
- RE: EJB Performance Question. Tim Drury
- RE: EJB Performance Question. Robert Krueger
- Re: EJB Performance Question. 김철회
- RE: EJB Performance Question. Tim Drury
- RE: EJB Performance Question. Robert Krueger
- RE: EJB Performance Question. Mike Clark
- RE: EJB Performance Question. Tim Drury
- RE: EJB Performance Question. Robert Krueger
- RE: EJB Performance Question. Gerald Gutierrez
- RE: EJB Performance Question. Tim Drury
- EJB using "core" classes? Kevin Duffey