geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Jencks <david_jen...@yahoo.com>
Subject Re: EJB Entity Cache in Geronimo 2.1
Date Thu, 21 Feb 2008 22:31:11 GMT
I'm not sure what that means..... however the cmp 2.1 support in g 2.1 is a wrapper around
jpa with IIUC the main purpose to provide correct functionality while you migrate your apps
to JPA.  I don't think performance of cmp entity beans has been addressed at all.  Again IIUC
the performance is

openjpa (jpa in g 2.x) >> cmp 2 in g 1.x (based on tranql) >> cmp 2 in g 2.x (wrapper
around jpa)

Hopefully if I'm less than accurate someone will correct me.

thanks
david jencks

----- Original Message ----
From: ApolloX <scott@selikoff.net>
To: user@geronimo.apache.org
Sent: Thursday, February 21, 2008 1:51:21 PM
Subject: Re: EJB Entity Cache in Geronimo 2.1



I 
forgot 
to 
mention, 
I 
have 
code 
from 
G1.0 
that 
is 
now 
running 
*EXTREMELY
SLOW* 
in 
G2.1.  
With 
OpenEJB 
logging 
debug 
enabled, 
I'm 
seeing 
endless
repeated 
calls, 
such 
as:

12:00:00,000 
DEBUG 
[OpenEJB] 
finished 
invoking 
method 
... 
Return 
value 
...

does 
that 
mean 
its 
connecting 
to 
the 
database 
everytime 
I 
see 
one 
of 
these
lines?  
If 
so, 
it's 
thrashing 
on 
repeated 
database 
calls.  
I'm 
seeing
hundreds 
of 
these 
calls 
for 
the 
same 
data 
over 
and 
over 
again 
in 
short
periods 
of 
time.

Any 
suggestions 
as 
to 
what 
could 
be 
configured 
wrong?

-ApolloX


ApolloX 
wrote:
> 
> 
Hi,
> 
> 
I'm 
using 
Geronimo 
2.1, 
where 
exactly 
is 
the 
EJB 
entity 
cache 
configured
> 
from 
within 
an 
application?  
The 
openejb-jar.xml, 
persistence.xml,
> 
ejb-jar.xml 
or 
some 
other 
location?
> 
> 
In 
my 
log 
file 
I 
have 
numerous 
repeated 
calls 
from 
Open 
EJB 
using 
the
> 
findAll() 
methods.  
It 
seems 
to 
be 
hitting 
the 
database 
multiple 
times 
for
> 
a 
single 
table 
in 
a 
short 
period 
making 
me 
think 
there 
is 
no 
cache
> 
configured.
> 
> 
Thanks,
> 
ApolloX
> 

-- 
View 
this 
message 
in 
context: 
http://www.nabble.com/EJB-Entity-Cache-in-Geronimo-2.1-tp15614510s134p15619565.html
Sent 
from 
the 
Apache 
Geronimo 
- 
Users 
mailing 
list 
archive 
at 
Nabble.com.





Mime
View raw message