Removing EJB Business Delegate 2004-02-25 - By Arzamasov Alexey
Back Hi All! Reading through many sources about business delegate pattern, I can't get clear one thing. Please, help me with it if someout have a clue. The thing is the following: - Business delegates are intended to simplity work with underlying EJB layer. - Client-side classes (e.g. JSPs) can use business delegates like simple plain java classes. - Having this, user don't thing that he have to remove underlying EJB explictly, leaving object desctruction to the garbage collector. - Therefore, EJB got created but never get removed (freed).
Am I wrong? Or maybe business delegate pattern implictly states that client class _have to_ call remove() method on delegate class?
==================================================================== Companion Site: http://www.corej2eepatterns.com J2EE BluePrints: http://java.sun.com/blueprints/corej2eepatterns List Archive: http://archives.java.sun.com/archives/j2eepatterns-interest.html Unsubscribing: email "signoff J2EEPATTERNS-INTEREST" to listserv@(protected)
|
|