aspose file tools*
The moose likes EJB and other Java EE Technologies and the fly likes how to make anotation call using netbeans Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "how to make anotation call using netbeans" Watch "how to make anotation call using netbeans" New topic
Author

how to make anotation call using netbeans

anarkali perera
Ranch Hand

Joined: Sep 10, 2009
Posts: 237
i am using this tutorial.

http://java.sun.com/javaee/5/docs/firstcup/doc/p6.html

i have finished till "Annotate the DukesAge Class as a Web Service" in the tutorials.
i can't fined how to make anotation class using netbeans.
i change my class by manually

then it says cann't find symbol WebService?
Ankit Garg
Sheriff

Joined: Aug 03, 2008
Posts: 9293
    
  17

i can't fined how to make anotation class using netbeans.

Do you want to create an annotation or use one?? If you just want to use the @WebService annotation, then just add an import for javax.jws.WebService class (netbeans automatically prompts for adding the import for you)...


SCJP 6 | SCWCD 5 | Javaranch SCJP FAQ | SCWCD Links
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: how to make anotation call using netbeans