This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes EJB and other Java EE Technologies and the fly likes secure web service annotation? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "secure web service annotation?" Watch "secure web service annotation?" New topic

secure web service annotation?

Johann Dobbins
Ranch Hand

Joined: Oct 16, 2008
Posts: 62
the only way i have found to configure my ejb3 web service to be secure is to add this line to the sun-ejb-jar.xml:


is there an annotation for this?

Thank You
Devaka Cooray
ExamLab Creator
Saloon Keeper

Joined: Jul 29, 2008
Posts: 3179

Use TransportGuaranteeDT annotation as

to annotate the web service class.

Author of ExamLab ExamLab - a free SCJP / OCPJP exam simulator
What would SCJP exam questions look like? -- Home -- Twitter -- How to Ask a Question
Consider Paul's rocket mass heater.
subject: secure web service annotation?