[JBoss Seam] - How to test Seam/JSF/EJB3
by lightbulb432
If you have an application that uses Seam, JSF, and EJB3, how would you test all of this? I've searched for a fair bit of time but haven't been able to turn up any useful resources on testing...
I've come across some things that talk about mock objects, others that talk about using some embedded container, others that say I'm trying to test the wrong thing...so I'm really confused about what I actually need to do.
I realize there are different layers of testing, but could somebody please lay it all out for me from the perspective of Seam, JSF, and EJB3 (I already know the differences between unit testing, integration testing, etc, so that's not what I mean)?
Your help would be really appreciated...I really don't even know how to begin...
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4000125#4000125
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4000125
19 years, 3 months
[JBossWS] - Client Side Handler InvalidClassException
by greenbean
i am attempting to include a client side handler with my service call. The client is deployed and the application-client and error are below. Things work fine with a server side handler. When I comment out the handler, the web service works fine. What is wrong here?
application-client xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/application-client_1_4.xsd" version="1.4">
<display-name>webservice client</display-name>
<service-ref>
<service-ref-name>service/s</service-ref-name>
<service-interface>com.s.S</service-interface>
<wsdl-file>META-INF/s.wsdl</wsdl-file>
<jaxrpc-mapping-file>META-INF/mapping.xml</jaxrpc-mapping-file>
<handler-name>SHandler</handler-name>
<handler-class>com.s.SHandler</handler-class>
</service-ref>
</application-client>
javax.naming.NamingException: Cannot unmarshall service ref meta data, cause: java.io.InvalidClassException: org.jboss.ws.metadata.j2ee.UnifiedHandlerMetaData; local class incompatible: stream classdesc serialVersionUID = -3019416564080333900, local class serialVersionUID = 8000854586742278995
at org.jboss.ws.jaxrpc.ServiceObjectFactory.getObjectInstance(ServiceObjectFactory.java:126)
at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
at org.jnp.interfaces.NamingContext.getObjectInstance(NamingContext.java:1125)
at org.jnp.interfaces.NamingContext.getObjectInstanceWrapFailure(NamingContext.java:1142)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:705)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587)
at javax.naming.InitialContext.lookup(InitialContext.java:351)
at com.Client.main(Client.java:59)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4000107#4000107
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4000107
19 years, 3 months