[jboss-user] [JBoss Seam] - Re: Injection and remoting

2006-11-15 Thread gllambi
Thank you very much! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3986094#3986094 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3986094 ___ jboss-user mailing list

[jboss-user] [JBoss Seam] - Re: Injection and remoting

2006-11-14 Thread gllambi
Thank you very much for the fast reply. sbryzak2 wrote : The login() method in your example is clearly intended to be invoked within a JSF context - it adds messages via FacesMessages and returns an action string. Remoting is not intended to be used to call action methods such as this. |

[jboss-user] [JBoss Seam] - Re: Injection and remoting

2006-11-14 Thread sbryzak2
gllambi wrote : | I'm new to Remoting and Ajax, can you give me a good example when to use it? | It's hard to give a definitive answer, because I'm sure there's some usage scenarios that I haven't even thought of yet. In general, you should use it when your page can benefit from making a

[jboss-user] [JBoss Seam] - Re: Injection and remoting

2006-11-13 Thread sbryzak2
Injection should work just fine. Can you post a code sample? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3985125#3985125 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3985125

[jboss-user] [JBoss Seam] - Re: Injection and remoting

2006-11-13 Thread gllambi
sbryzak2 wrote : Injection should work just fine. Can you post a code sample? Here is the Session Bean | package org.seam.ejemplo.login.session; | | import java.util.List; | | import javax.ejb.Stateless; | import javax.persistence.EntityManager; | import

[jboss-user] [JBoss Seam] - Re: Injection and remoting

2006-11-13 Thread sbryzak2
The login() method in your example is clearly intended to be invoked within a JSF context - it adds messages via FacesMessages and returns an action string. Remoting is not intended to be used to call action methods such as this. If however this is just an experiment to see how remoting works,