Hi Markus,
 
1. We are using TX Required only not TX requires new.
 
2. Our problem is that when we call create method it is first calling ejbCreate() method and  followed by
ejbStore().Which is  not acceptable.
 
3. Note that, in all the above process we are not calling anywhere our bussiness method.It does not make to sense when i am inserting some thing to DB  .
 
4. Also we r using BMP and not CMP.
 
Pls revert back with ur comments asap.
 
Thanks n regds,
Rads.
----- Original Message -----
Sent: Wednesday, October 10, 2001 3:28 PM
Subject: Re: Help reqd on ejbStore() and ejbLoad()..........URGENT

1) Try to use TX=Required but not TX=RequiresNew.
2) ejbLoad is never called after ejbStored since it's J2EE's intention to have all logic to be implemented inside of the application server, so it's unneccessary to have an automatically called ejbLoad afterwards. If you need this, e. g. to retrieve autoinc numbers or something from legacy systems, you have to call ejbLoad yourself, e. g. by using BMP.
 
 
Original Message      
 processed by Tobit InfoCenter 
Subject: 
Help reqd on ejbStore() and ejbLoad()..........URGENT (10-Okt-2001 11:53)
From:    
[EMAIL PROTECTED]
To:      
[EMAIL PROTECTED]
 
Hi,
 We have been facing problems with unnnecessary calls to ejbStore() while working with Jonas. This is something undecirable.
 
The scenario is as below :
 While calling create() , a call to ejbStore() is made by the server on its own, which should not be the case.However, also ejbStore() is being called without firing the ejbload(); again creating problems.
 
Kindly help us out.
 
Thanks n regds,
RC/S/AS
To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED]

Reply via email to