[jboss-jira] [JBoss JIRA] Closed: (JBESB-78) Remove dependencies of new user classes in JBossEsbPersistHandlerBean (and EJB interfaces)

Esteban Schifman (JIRA) jira-events at jboss.com
Sun Jul 16 14:23:11 EDT 2006


     [ http://jira.jboss.com/jira/browse/JBESB-78?page=all ]

Esteban Schifman closed JBESB-78.
---------------------------------

    Resolution: Done

The persistence handler now depends only on BobjStdDTO.
All locators for objects that go to the store are now added to the DTO just prior to sending it to the store.
Persistence handler now takes locators from the DTO.  It  is now able to store objects without needing to be aware of user classes that extend BaseBusinessObject.

> Remove dependencies of new user classes in JBossEsbPersistHandlerBean (and EJB interfaces)
> ------------------------------------------------------------------------------------------
>
>                 Key: JBESB-78
>                 URL: http://jira.jboss.com/jira/browse/JBESB-78
>             Project: JBoss ESB
>          Issue Type: Task
>      Security Level: Public(Everyone can see) 
>          Components: ESB Core
>    Affects Versions: 4.0 Alpha 1
>            Reporter: Esteban Schifman
>         Assigned To: Esteban Schifman
>             Fix For: 4.0 Beta 1
>
>   Original Estimate: 4 days
>          Time Spent: 4 days
>  Remaining Estimate: 0 minutes
>
> Public local and remote interface of the persistence handler EJB now takes BaseBusinessObject as argument for several methods.  An unwanted consequence of this signature, is that if future users wish to use the object store,  implementation of the persistence handler would have to be aware of these user classes (for example via a user jarfile in the classpath).
> It is advisable to replace references to BaseBusinessObject in EJB method signatures, by references to BobjStdDTO.  All classes (current and future) have a toDTO() method, and the base BobjStdDTO is enough to manipulate the object store.  By doing so, current and future implementations of the IpersistHandler interface will not need to know about user specialization of the BaseBusinessObject class.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list