Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[ajdt-dev] Introductions on EJb (partially OT)

hello all,
  i have a general question to ask, partially OT.
 
i guess AspectJ could be used other than for behaviour that is scattered throughout classes also
for evolving the system without touching existing code.... correct?
 
now, i have a 'business modujle' to implement, and its functionality is scattered throughout different
EJBs...
so i was wondering, why not use AspectJ ? all changes/business rules needed for new modle are all
in one file, without going thru different files, and different if statements..
 
NOw, one of the requirement of the module business rules require to add a new method... but problem
is that this method should be called from ejb clients, so this method should be not only
on the EJB but also on the EJB local interface..
 
How does that work with aspectJ/introductions? is it a bad idea?
 
i guess because some classes are generated by EJB compiler, aspectJ won't work properly...
 
anyone has had similar usecase?
 
thanks in advance and regards
 marco
 
 

Back to the top