Hello
This Email refers to the first Email of the 'case studies' series. I may
look at things less politically in building a webarchitecture for
transactions. And actually this is what most of us want at least: Storing
and serving data from a database and hopefully using some intelligent
middleware which does OR-Mapping, gives high availability and
performance...etc.
Performance, one important point. The last tier in Webarchitecture mostly
is a relational DB. So, whatever you're using or programming, there are
usually SQL-Statements and somekind of hardware which stores or provides
data as fast as this hardware and software is for this DB. I don't even
want to talk about the performance of JBoss. It is high.
Now, you may look for an alternative for EJB. What you want to use? Sure,
maybe you're building a Webarchitecture like a MVC-2-Model. Where should
placed the scalability? Then you program kind of intelligent pooling for
connections to the DB, pooling for the data in the DB (Datatree or so..).
Then you may implement an intelligent OR-Mapping and a SQL-Server for
default SQL-statements all this features are maybe placed in JavaBeans and
other strutures.
What you've done? You actually implemented almost (there's are still more
features of course) everything which defines a EJB-Server whitout looking
at the EJB-Specs! So, why don't use EJB? One thing is for sure: the
maintance for the written code is a lot more higher. And code need to be
maintanced. Or we want to have more functionality: add some entity or
session beans and everything's done. That's where the MVC-3-Model starts.
Not to long ago I helped to build the following architechture:
MVC-2: JSP/Servlets<-->JavaBeans<-->DB-Logic<-->Database
If you have done something like that too and you know what EJB is able to
do for you, and of course you're using a good EJB-Server like JBoss then
next time or in future you will use EJB.
regards,
Michael Gasche
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]