I need to write a client on JBoss 4.0.4 GA.
In order to consume a web service using legacy style which approach of the following would be better
JAX-RPC ServiceFactory or JNDI service lookup
Is pro/cons of each approach is listed any where?
Second question:
1. Can we put JNDI service lookup jar file in WEB-INF/lib of a war file? When I put jar file in deploy folder service context is established but when i put it inside war file it did not work.
Thanks.