About Question enthuware.ocejws.v6.2.113 :

Moderators: Site Manager, fjwalraven

Post Reply
vini_srcna
Posts: 6
Joined: Sat Sep 17, 2016 2:29 am
Contact:

About Question enthuware.ocejws.v6.2.113 :

Post by vini_srcna »

In JAX-WS 2.x and EE6, the deployment descriptor webservices.xml has become optional. You can still use it to override the Handers defined on the endpoint (for example to override the Handlers defined by the @HandlerChain).  You either package it in the WEB-INF directory of the WAR module or in the META-INF directory if it is an EJB module.
I did not understand this. Can you please elaborate this for me ?. I miss the basics of ejbs. WEB-INF , looks familiar, but META-INF is something for the container, isn't it ?. i.e we are not supposed to poke into META-INF, thats what I was told, atleast.

Please correct me if am wrong.

fjwalraven
Posts: 429
Joined: Tue Jul 24, 2012 2:43 am
Contact:

Re: About Question enthuware.ocejws.v6.2.113 :

Post by fjwalraven »

The webservices.xml has become optional in Java EE6, so you won't find many questions (maybe one or two) about it on the exam. However you might want to go through the possibilities of this file and how you should package it in an EE6 application.

You might want to check http://docs.oracle.com/javaee/6/tutorial/doc/bnaby.html and JSR-109 https://jcp.org/en/jsr/detail?id=109

Regards,
Frits

Post Reply

Who is online

Users browsing this forum: No registered users and 24 guests