[jboss-user] [JBoss Seam] - Re: SEAM 2 Beta - Webservices

gbc@gmx.de do-not-reply at jboss.com
Tue Sep 11 16:20:17 EDT 2007


some possibilities:

- Is our WebService class a Seam Component? (Annotated with @Name)
- If not, Seam connot build up any Contexts, because it doesn't know about your class
- Make your class a Stateless SessionBean incl. interface
- Or add @Scope(ScopeType.SESSION) to the class

Other things:

- You may mark your method with @Begin and @End (see Docu for details) so that you will get a long running conversation
- Or, make a seperate SessionBean for your logic and use WebSerive a facade. As long as your WebService is a Seam Component you can inject your SessionBean via @In

Greetz GHad

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

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

More information about the jboss-user mailing list