M.-Leander Reimer
2003-01-20 15:31:05 UTC
Hi Aslak,
a problem once again. Sorry! I recently migrated one of our projects to the
latest Middlegen version and a lot has changed (especially in the template)
from the "super old" version I was using up to now. :)
Here is the problem: The code uses the HomeFactory pattern to perform a
lookup using the full qualified class name of the localhome interfaces. I do
specify the jndiPrefix (the value is:
com.techdivision.mtool.ejbcontainer.domain) in the cmp20 task, but the
generated JNDI name now is
com.techdivision.mtool.ejbcontainer.domain/UserLocalHome
instead of
com.techdivision.mtool.ejbcontainer.domain.UserLocalHome
Can't we just include the last separator in the jndiPrefix instead of hard
coding it into the getLocalJNDIName() method?? What do you think?
Thanks!
Leander
-------
M.-Leander Reimer
MSc Computer Science
Dipl.-Inf. (FH)
Techdivision
Kunstmühlstr. 17
83022 Rosenheim
Fon: +49 (0)8031 356 38 32
Fax: +49 (0)8031 356 38 48
Email: ***@techdivision.com
Internet: www.techdivision.com
a problem once again. Sorry! I recently migrated one of our projects to the
latest Middlegen version and a lot has changed (especially in the template)
from the "super old" version I was using up to now. :)
Here is the problem: The code uses the HomeFactory pattern to perform a
lookup using the full qualified class name of the localhome interfaces. I do
specify the jndiPrefix (the value is:
com.techdivision.mtool.ejbcontainer.domain) in the cmp20 task, but the
generated JNDI name now is
com.techdivision.mtool.ejbcontainer.domain/UserLocalHome
instead of
com.techdivision.mtool.ejbcontainer.domain.UserLocalHome
Can't we just include the last separator in the jndiPrefix instead of hard
coding it into the getLocalJNDIName() method?? What do you think?
Thanks!
Leander
-------
M.-Leander Reimer
MSc Computer Science
Dipl.-Inf. (FH)
Techdivision
Kunstmühlstr. 17
83022 Rosenheim
Fon: +49 (0)8031 356 38 32
Fax: +49 (0)8031 356 38 48
Email: ***@techdivision.com
Internet: www.techdivision.com