mbn> On Wed, Dec 18, 2002 at 01:33:27PM -0800, Nicholas wrote: >> I am using JBoss 3.0.4 and developing a large number >> of CMP 2 beans in a preliminary proof of concept. >> >> Based on the new Local interfaces in EJB 2, can anyone >> recommend a source for an updated pattern >> implementation for Session Facades ? It seems like I >> simply need to generate value objects to return to the >> clients (in this case some clients will be servlets, >> others will be rich clients) and I was hoping I could >> save some coding time.......
mbn> Xdoclet can make VO-objects for you (the new beta). I know but why have duplicate code ? UserEJB : name, username, etc... UserVO : name, username, etc... and have a session bean doing silly things like : SessionEJB : getUserByID(int id) { UserLocal user = home.findByPrimakryKey(id); return user.getVO(); } >> >> The second question is, what do I need to do to make >> JBoss log the SQL is issuing agains the database from >> the CMP 2 engine to the consle or a file ? >> >> Thanks ! >> >> //Nicholas >> >> ===== >> Nicholas Whitehead >> Home: (973) 377 9335 >> Cell: (201) 615 2716 >> Work: (212) 622 5639 >> [EMAIL PROTECTED] >> >> >> ------------------------------------------------------- >> This SF.NET email is sponsored by: Order your Holiday Geek Presents Now! >> Green Lasers, Hip Geek T-Shirts, Remote Control Tanks, Caffeinated Soap, >> MP3 Players, XBox Games, Flying Saucers, WebCams, Smart Putty. >> T H I N K G E E K . C O M http://www.thinkgeek.com/sf/ >> _______________________________________________ >> JBoss-user mailing list >> [EMAIL PROTECTED] >> https://lists.sourceforge.net/lists/listinfo/jboss-user -- Best regards, julien mailto:[EMAIL PROTECTED] ___________________________________________________________ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Yahoo! Mail : http://fr.mail.yahoo.com ------------------------------------------------------- This SF.NET email is sponsored by: Order your Holiday Geek Presents Now! Green Lasers, Hip Geek T-Shirts, Remote Control Tanks, Caffeinated Soap, MP3 Players, XBox Games, Flying Saucers, WebCams, Smart Putty. T H I N K G E E K . C O M http://www.thinkgeek.com/sf/ _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user