Hi,

This feature is only for entity bean with container-managed persistence.
Indeed, entity bean with bean-managed persistence can itself
implement this kind of optimization. In BMP case, the data access
in the database are completely done and controled by the bean.

Kind regards.
H�l�ne.

Stanislav Markin wrote:
> 
> Hello!
> 
>   I've  got  problem using isModified extension. I have BMP bean which
>   is "read-only".
> 
>   As described in JOnAS docs, I declared isModified method:
> 
>   public boolean isModified(){
>     Log.log("enter", "ClassifMetadataEJB.isModified()");
>     return false;
>   }
> 
>   and modified jonas xml descriptor:
> 
> <!DOCTYPE jonas-ejb-jar SYSTEM "jonas-ejb-jar.dtd">
> <jonas-ejb-jar>
>   <jonas-entity>
>     <ejb-name>ClassifMetadata</ejb-name>
>     <is-modified-method-name>isModified</is-modified-method-name>
>     <jndi-name>com.ulterwest.server.core.ClassifMetadataHome</jndi-name>
>   </jonas-entity>
> </jonas-ejb-jar>
> 
>   And  method  isModified  is  never called. Instead after each remote
>   call ejbStore and ejbLoad are called. I want to prevent ejbLoad call
>   after each remote call.
> 
>   Maybe  I  need  to  place isModified method in remote interface (not
>   only in Impl class)?
> 
> 
> With best regards,
>  Stanislav Markin                       mailto:[EMAIL PROTECTED]
> 
> ----
> To unsubscribe, send email to [EMAIL PROTECTED] and
> include in the body of the message "unsubscribe jonas-users".
> For general help, send email to [EMAIL PROTECTED] and
> include in the body of the message "help".

-- 
-=- H�l�ne JOANIN -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
  mailto:[EMAIL PROTECTED]    http://www-frec.bull.com
  Phone: 33.4.76.29.73.53          Fax: 33.4.76.29.76.00
 Download our EJB Server JOnAS at http://www.bullsoft.com/ejb
_______________________________________________________________
----
To unsubscribe, send email to [EMAIL PROTECTED] and
include in the body of the message "unsubscribe jonas-users".
For general help, send email to [EMAIL PROTECTED] and
include in the body of the message "help".

Reply via email to