In prepping for the certification I have the following question:
in javax.xml.rpc.handler.Handler you have handleRequest(MessageContext context) and handleResponse(MessageContext context)
in javax.xml.ws.handler.Handler<C extends MessageContext> you have handleMessage(C context)
Now it seems to me that you have to use the MessageContext field MESSAGE_OUTBOUND_PROPERTY to make the distinction between in/out bound message direction vs. the "rpc" handler that had the container making that distinction, i.e. the logic was moved from the container to the implementor of the handler.
WHY was this done?
Is there another idea here in that the purpose of the handler should not care about direction? i.e. it should be performing the same behavior irrespective of the direction of the message?
OCP Java SE 6 Programmer | OCM Java SE 6 Developer | OCE Web Components (OCEWD) | OCE JPA 6 (OCEJPAD) | OCE EJB 6 (OCEBCD) | OCE Web Services (OCEWSD) | OCM Java 6 Enterprise Architect(OCMEA)
MySQL Certified Administrator & Developer,
OMG Certified UML Prof. Fund., Int., Adv.