No, I wouldn't say that the combination of Struts and EJB is problem prone.
The problems lie mainly with EJB and are in the following areas.. 1) EJBs are only useful/applicable is certain situations. Incorrect use of EJBs (i.e. dictated by management when inappropriate) is a source of a lot of issues. 2) Incorrect usage of EJB types by designers. Studying the design patterns and using the right type of beans for the right task is essential. 3) Inexperienced developers. The EJB spec is large and the learning curve steep. The problems addressed by EJBs are non-trivial, and the method of programming them is different to that which most programmers will be used to. Hence the problems that are being reported. I do think that people like Vic stating 'EJB=bad' is extremely unhelpful (and is probably more a reflection of the fact that they have not looked into the subject deeply enough to understand why it is incorrect). Also 'EJBs are for newbies' could not be more wrong. EJBs are about as much for newbies as the javax.swing.text packages are! BTW: I ended up getting a copy of the Monson-Haefel book for each of my developers, and I would recommend that development teams get a copy of the chosen EJB reference text for each developer, as it seems to be important to help the developers immerse themselves in the technology to be able to make it work. Hope that helps david ----- Original Message ----- From: "Yu, Yanhui" <[EMAIL PROTECTED]> To: "'Vic Cekvenich'" <[EMAIL PROTECTED]>; "Struts Users Mailing List" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Thursday, February 21, 2002 8:27 PM Subject: RE: EJB = bad = MS.net > Hi, > > I am involved in a pretty large project (we have not really started coding > yet). As far as I can tell, we seem to go with Struts + WSAD + EJBs & Java > + JSP. Am I right to interpret that you mean the combination of Struts and > EJBs are problem prone? Please help me to clarify on this. Thank you very > much, > > Yanhui > > > > > -----Original Message----- > From: Vic Cekvenich [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, February 20, 2002 11:42 AM > To: Struts Users Mailing List > Cc: [EMAIL PROTECTED] > Subject: EJB = bad = MS.net > > > Home page of Jakarta has this > http://jakarta.apache.org/site/news.html#0130.2 > on this: > http://www.mail-archive.com/general%40jakarta.apache.org/msg03376.html > > I agree. Doing EJBs is bad on many levels and creates more problems. > Avoid EJB if you want to stay in Java. > > Alternative is to just use Struts + TomCat + RowSet (or DAO if you are > doing something simple or small) and done. This is the sweet spot. MVC > is all you need. > > Alternative, do EJBs and your organization WILL switch to MS .NET on the > next project, leave J2EE, and you have to learn VB.net. > > EJBs are for newbies. (If you need middleware (very rare) use SOAP) > > lol, > Vic > > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>