This content has been marked as final.
Show 4 replies
-
1. Re: Calling Seam Components (Stateless EJB) outside Seam app
pmuir Aug 14, 2006 5:23 PM (in response to msteiner)I'm not sure but I'm pretty sure that's not the way Seam is intended to be used. I'm not sure about it from an architectural point of view either - surely you add all sorts of nasty dependencies to your app.
How about using JMS to communicate between the two applications? -
2. Re: Calling Seam Components (Stateless EJB) outside Seam app
msteiner Aug 16, 2006 3:14 AM (in response to msteiner)JMS is good idea. Which Seam components I can safely use in MDB ? Will I have access to JBPM process definitions from MDB ?
-
3. Re: Calling Seam Components (Stateless EJB) outside Seam app
msteiner Aug 16, 2006 4:29 AM (in response to msteiner)With MDB it doesnt work either. I have MDB (with @name annotation). When I send JMS Message I get NPE:
Caused by: java.lang.NullPointerException at org.jboss.seam.Component.forName(Component.java:1298) at org.jboss.seam.ejb.SeamInterceptor.getSeamComponent(SeamInterceptor.java:166) at org.jboss.seam.ejb.SeamInterceptor.postConstruct(SeamInterceptor.java:72) at sun.reflect.GeneratedMethodAccessor126.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.ejb3.interceptor.LifecycleInvocationContextImpl.proceed(LifecycleInvocationContextImpl.java:131) at org.jboss.ejb3.interceptor.LifecycleInterceptorHandler.postConstruct(LifecycleInterceptorHandler.java:105) ... 15 more
Seam version from CVS. -
4. Re: Calling Seam Components (Stateless EJB) outside Seam app
gavin.king Aug 23, 2006 10:53 AM (in response to msteiner)This looks like a bug in the CVS version of Seam:
http://jira.jboss.com/jira/browse/JBSEAM-338