I am trying to figure out an old and quite bit-rotten EJB 2.0 application, with a migration to EJB 3.x being a future possibility.
EJB 3.x is nice enough to keep its bean definitions compact and use annotations for important metadata. Unfortunately, EJB 2.x is definitely more complex, with several XML files heaped upon each other. Add some JBoss-specific method calls and the corresponding XML files and the result is a mess...
So, starting from the basics:
How could one reliably tell stateful and stateless EJB 2.0 beans apart?