>FROM: Boris Nieuwenhuis >DATE: 04/16/2002 03:52:52 > >Hi, >I am using the session and util and the packagesubstitution subtask. >For the Util classes the package substitution from facades to interfaces >package is working, but the classes generated from the session subtask end >up in the facades packages. This is not very practical, since I want to use >the Util class in the class generated in the Session subtask. >Anybody knows where this behaviour comes from and if this is by design?
By design, I'd say. The generated Session class (or BMP/CMP class in the case of entity EJBs) is half of the bean's implementation (the other half being in your bean class), so they belong together IMO. The util class is an interface thing, since you'd use it from client applications to look up the EJB's home. That way you simply jar up everything in the interfaces package as a MyBeanClient.jar for the client apps to use. You need to import the home & remote interfaces in your session bean to use what the util object's returning, so what's wrong with having to import the util class too? Andrew. _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp. _______________________________________________ Xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user
