Our existing EJB 2.1 code is calling ejbHome<name> methods that are to
be found in the RemoteHome interface.
Now we want to migrate the EJBs to EJB 3.0, while the client must stay
EJB 2.1 for a while.
So we are using EJB 2.1 Compatibility View (@RemoteHome).
The AdaptedHome declares (as in EJB 2.1) our ejbHome<name> method, just
as before in EJB 2.1 times.
The EJB 3.0 JPA entity is implementing the ejbHome<name> method, just as
before (non-static).
When we are calling our ejbHome<name> method remotely, what will
GlassFish do?
It doesn't have an entity instance at that time.
Will it create an empty instance just for sake of the ejbHome<name> call?
Or do I have to make the ejbHome<name> methods static in the implementation?
Or is it just impossible to use ejbHome<name> methods anymore in the EJB
2.1 Compatibility View?
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.