In EJB 2.1, an entity was able to send a JMS message or an email as soon
as it was created, since it could obtain such resources using its
component context.
In EJB 3.0, an entity is nor more an EJB, so it no more has a component
context.
How to implement features like the abovemention in EJB 3.0 using JPA
Entities?
Do I have to pass the calling session's component context all the way
down through possibly lots of chained entity POJO constructors and
buffer the context in each single entity instance for later use in
@PostPersist? Is that really what the Java EE spec wants me to do?
Thanks!
Markus
--
QUIPSY QUALITY GmbH & Co. KG
Ein Unternehmen der MES-Gruppe
Stuttgarter Strasse 23
D-75179 Pforzheim
Tel: 07231-9189-52
Fax: 07231-9189-59
www.quipsy.de
karg_at_quipsy.de
Registergericht Mannheim HRA 701214
Gesch�ftsf�hrer: Nils Schroeder
Diese E-Mail enth�lt pers�nliche, vertrauliche und vor Weitergabe gesch�tzte Informationen und ist ausschlie�lich f�r den vorgesehenen o.g. Empf�nger (Adressaten) bestimmt. Falls Sie diese E-Mail versehentlich erhalten haben und nicht der vorgesehene Empf�nger sind, bitten wir Sie, die E-Mail und deren Anh�nge nicht aufzubewahren, nicht zu vervielf�ltigen, nicht zu nutzen und nicht weiterzugeben. Bitte informieren Sie uns als Absender �ber diesen Zustellungsfehler und l�schen Sie die E-Mail.