"viniciuscarvalho" wrote :
| Ok, regarding performance. Its just a guess, but a SLSB with all the interceptors it
has (tx,security etc...) is a bit heavy in terms of processing time and memory usage than
a simple managed bean.
|
There is no doubt there will be additional overhead when you use EJBs, but this is the
cost incurred for the additional services your application requires. If you don't
need tx, security, pooling, etc., then managed beans would suffice. I would concur with
you that processing time will increase, but the burning question: is it real-world
noticeable? Could you afford a few more extra clock cycles for the added benefit of
services afforded to you by EJB? It really depends on your requirements and your
available resources.
As for memory usage, SLSB don't carry any state so they are easier to
"scale," at least in theory.
"viniciuscarvalho" wrote : Not trying to create any problems,
There are no problems caused=)
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4012611#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...