Web sercies Related Technical resources __web

Source: Internet
Author: User

Http://juleven.blogdriver.com/juleven/681942.html

In a long, long time ago, when I published Web Services in axis with spring, I was reckless in proposing a conclusion that Axis might not be able to enjoy the benefits of spring, and had always felt that it might be too hasty.
Recently I have time to look back at some information to prove that I was wrong.
Here are some of the more characteristic two references:
The http://starrynight.blogdriver.com/starrynight/425172.html of the star Moon
The http://www.wrytradesman.com/blog/archives/000030.html of wry tradesman
These two articles illustrate two solutions: the star moonlit solution is to modify axis jar files, adding true to Spring's Provider;wry tradesman solution is in the published method, The spring contextspring is obtained directly through Axis Contextaxis, and the bean is further obtained.
In fact, the two approaches have a common place, that is, the need to get spring contextspring from Axis's Contextaxis, as long as the spring context can take advantage of spring. The exact method is the following two lines of code
HttpServlet servlet = (httpservlet) messagecontext.getcurrentcontext (). GetProperty (Httpconstants.mc_http_servlet);
ApplicationContext context = Webapplicationcontextutils.getwebapplicationcontext (Servlet.getservletcontext ());
Individuals tend to be more inclined to wry tradesman solutions, because the star moonlit solution is to modify axis's jar files.
I have always been less interested in modifying other people's code, especially for the jar packages that were released, and certainly when I did the project, I would have to change the code of others, but there was no way.
These jar packages, since released, it is certainly not only you are using, here to modify this, there to modify that, so that people will lose the basis of joint discussion sooner or later.
Other people don't know how to help you out because the jar bag you use is different from others.

Using axis in spring

Http://www.wrytradesman.com/blog/archives/000030.html

There is also a new Xfire, which is used in Java to develop Web services.

Http://xfire.codehaus.org/Download

Http://www-128.ibm.com/developerworks/cn/webservices/ws-deepaxis/index.html

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.