[jboss-user] [JBoss Seam] - Re: Bijection clarification

monkeyden do-not-reply at jboss.com
Tue Jul 24 14:13:52 EDT 2007


The most basic description is that @In and @Out just replaces the glue code you have to write to get things out of some context (Session, Request, Application and, in Seam, Conversation scopes).  Rather than having:

String param = request.getSession().get("param");

you have:

@In(scope=ScopeType.SESSION)
String param;

Be careful though.  I realized (sort of late) that bijection apparently happens for value-binding method calls too, so if you're injection a lot, you will pay a price in RENDER_RESPONSE.  In our case, we had a huge form with many validation error messages from the resource bundle.

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

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



More information about the jboss-user mailing list