2 Replies Latest reply: Mar 25, 2011 3:42 AM by 802316 RSS

    Can I Use Properties File Value in Annotation?

    Michelle-Oracle
      Hi Experts,

      I have a java class using an annotation for a url, e.g.,

      @WebService(wsdlLocation="http://mymachine:myport/...

      I can't hard-code the url in the java code during deployment to appserver. I'm wondering if there's a way to use properties file value in this annotation, so that the url can be pickup up during runtime?

      Thanks!