There are always different solutions to any given problem. The util classes are typesafe, you don't cast the returned type to MyConcreteHome type. Brett's solution is not.
Ara. > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:xdoclet-user- > [EMAIL PROTECTED]] On Behalf Of Lukas Severin > Sent: Friday, November 29, 2002 2:15 PM > To: [EMAIL PROTECTED] > Subject: [Xdoclet-user] caching homes in util > > Instead of generating a bean util (for each bean) with xdoclet, would it > not > be better to use something like the following home factory ? > > http://www-106.ibm.com/developerworks/java/library/j- > ejb0924.html?dwzone=jav > a > > Comments ? > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Get the new Palm Tungsten T > handheld. Power & Color in a compact size! > http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en > _______________________________________________ > Xdoclet-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/xdoclet-user ------------------------------------------------------- This SF.net email is sponsored by: Get the new Palm Tungsten T handheld. Power & Color in a compact size! http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en _______________________________________________ Xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user
