-
1. Re: J2EE is not complex. Distributed Computing is Complex!
schaefera Aug 30, 2002 3:42 PM (in response to nhebert)Hi
My experience with J2EE is too complex is that developers and architects don't understand that J2EE is a framework and must be understood in order to use it most effectivly.
It is stupid to use Entity Beans when you want to aggregate functions on the data (sum, average etc.) but I think it is stupid as well not to use Entity Beans when you deal with records on a DB.
BTW don't forget that J2EE never talks about clustering. This is just a concept underneath J2EE.
Have fun - Andy -
2. Re: J2EE is not complex. Distributed Computing is Complex!
dsundstrom Sep 3, 2002 10:05 PM (in response to nhebert)> It is stupid to use Entity Beans when you want to
> aggregate functions on the data (sum, average etc.)
Unless you are using the EJB-QL 2.1 spec which has these functions. Of course we don't support 2.1 spec yet. -
3. Re: J2EE is not complex. Distributed Computing is Complex!
xdariox Sep 9, 2002 5:34 PM (in response to nhebert)Yes, Distributed programming is difficult, and EJB does a good job at hiding the complexity. In fact I think the problem with complexity in EJB is not the distributed aspect of it. There are two main reasons for the complexity in EJB:
1) I belive the complexity in the EJB specification stems from the fact that it mixes distributed computing with Object persistence. Had it just concentrated on distributed computing it would have been lot easier to deal with.
2) I also feel the other complexity in EJB, as is the trend with the current software, is its reliance on XML type declarations. Your application is in Java and XML. We all know how to debug a piece of code, but how do you debug a XML deployment descriptor. A bug in your application may very well be a bug in your deployment descriptor, yet there are no way to debug it.
Daryoush