Aspect-Oriented Programming and JBoss
Subject:   Logging and tracing code
Date:   2003-05-29 15:24:12
From:   warjort
Response to: Logging and tracing code

A healthy sceptic :-)

1) We have been "hacking" bytecode for a while
within jboss. How do you think we implement
abstract getters/setters for Entity beans?
It is a one time operation during classloading
or deployment.
Sun do it themselves in their
java.lang.reflect.Proxy implementation.

2) Try changing java to jdb in the examples.
Most good IDEs will let you filter packages
such as org.jboss.aop if you aren't interested
in the plumbing.

3) The byte code engineering, no.
But the aspect implementations are based
on tried and tested production code we have
been using in our EJB containers for a while.
We are bringing EJB to the POJO.

4) Would you really ask for a read-lock or
even use a transaction when checking a
user/password table?
In any case, security will be one of the first
aspects in the chain, you don't want people
starting transactions or wasting other
resources if they are not authorised to the


1 to 1 of 1
  1. Logging and tracing code
    2003-05-29 16:23:22  anonymous2 [View]

1 to 1 of 1