Interesting question could be: can the transaction semantics used in the application
with iBatis also be used in an EJB transactional (read: distributed) environment -
switching from local to distributed based on the absence or presence of an EJB
container?


Is that even possible?  hmmm ...

Kind regards

Abdullah


Douglas wrote:

I'm working in a large project with JBoss 4, EJB
(without entity beans, only with Session beans and
Message Driven Beans), iBatis SQLMap, iBatis DAO
Framework and Struts.

The transaction is controlled by iBatis DAO (the
transaction manager implementation is SQLMAP).

Nowadays i'm using a single Session beans (stateless)
+ business delegate with the EJB Command Design
pattern approach to encapsulate the business logic.

IMHO, EJB Command and Business Delegate should be used
for decouple tiers.

I never used Session beans and i would like to know
what is the better architecture for this project.

Thanks in advance,

Douglas





_______________________________________________________ Yahoo! Acesso Grátis - Instale o discador do Yahoo! agora. http://br.acesso.yahoo.com/ - Internet rápida e grátis




Reply via email to