File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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: 63
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

Joined: Jul 29, 2008
Posts: 3783

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
I agree. Here's the link:
subject: secure web service annotation?
It's not a secret anymore!