I did look into the Jboss AS /client/ dir. Unfortunately for me all the j2ee packages are embedded into one jar (jboss-j2ee.jar). I ended up manually removing the javax.sql package out of the jbossall-client .jar.
This leads me to the next question.... are all jboss artifacts (client facing at least) mavenized ? i.e. are they published to an external repo by the jboss team? Trying to figure out dependencies of Jboss Messaging 1.3 GA is based solely on the small section in the documentation regarding using jboss messaging from a remote client. This section suggests using jbossall-client.jar which contains upto 5 different artifacts that are high level artifacts(J2ee, remoting, jnp etc) in themselves. This makes the job of getting granular with exact versions of deps very difficult.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4078836#4078836
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4078836
Why do you think raiseEvent is bad? That's probably what I would use. If the second set of initializers depend on contextual variables outjected from the first initializer, I would probably use @RaiseEvent instead of Events.instance.raiseEvent, because the second approach won't do outjection before raising the event, and the first approach will. (I think; haven't tested, but from looking at seam src, it should)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4078829#4078829
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4078829
Another test of the same thing resulted a 'classCastException',
almost same seam stacktrace, but here are the important lines again:
| at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
| at java.lang.Thread.run(Thread.java:619)
| Caused by: java.lang.IllegalArgumentException: java.lang.ClassCastException@19de347
| at sun.reflect.GeneratedMethodAccessor558.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:597)
| at javax.el.BeanELResolver.setValue(BeanELResolver.java:108)
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4078828#4078828
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4078828