[jboss-dev-forums] [Design of EJB 3.0] - Re: Mandating the presence of local/remote interface in Sess

ALRubinger do-not-reply at jboss.com
Wed May 20 09:42:43 EDT 2009


To add some more context, putting this Validator in the Chain gets picked up and run by:

http://anonsvn.jboss.org/repos/jbossas/projects/ejb3/trunk/deployers/src/main/java/org/jboss/ejb3/deployers/Ejb3MetadataProcessingDeployer.java

The benefits are:

1) We can give the user a series of error messages (this thing is wrong, that thing is wrong) all at once so they can fix their deployment
2) Validation is a concern that gets removed from ejb3-core and is testable outside using only a metadata object.

S,
ALR

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4232243#4232243

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4232243



More information about the jboss-dev-forums mailing list