Suggestions for inspection/error highlighting:
1.) Creating Threads in an EJB
2.) Waiting on threads in an EJB
3.) Synchronization on threads in an EJB
4.) Doing anything to threads within an EJB in complete violation of the EJB spec...
5.) Use of statics in an EJB (although if readonly, this is ok, but when you read/write, well...)
In fact, how about all of the EJB language spec suggestions about prohibitive programming practices?