My DS architecture trial process

Source: Internet
Author: User
Tags wsdl
2007-01-16
Java 5.0 is newly installed today. It can use the annonation declaration function, and the stub generated by xfire Code Required;
As a WebService architecture, xfire uses the stub method to generate stub from the WSDL Source code ;
Xalan-2.7.0.jar and xfire-all-1.2.4.jar must be added to the lib directory of the Project for normal use;
Xfiredemo is done to prove that web service can be used! And Development Method considerations!
Genclient. XML is an ant project used to generate stub code. The XXXX. xml file is from http: // 127.0.0.1: 8080/services/XXXX? XML generated in WSDL

File,

2007-01-18
It mainly solves the Java Web Start Problem!
The main problem is the JRE version judgment. After the new JRE version is successfully installed, restart ie! Make it clear on the page
A Java applet is used to solve the JRE version judgment problem! This is the file detectpluginapplet. Java!

2007-01-19
It is mainly used to solve the problem of dynamic JNLP. Now we need to write codebase to the jnlp tag to solve this problem! Otherwise, you need to change the JNLP file every time you change the Server IP address!
There are two methods: one is to dynamically generate the JNLP file when starting the service. In the servlet, set to start the servlet in Web. xml when starting tomcat.
Set a header ("Content-Type: Application/X-Java-JNLP-file"); to replace the JNLP file.
Which of the two methods is better? Try to use the second method, which may be better and slightly changed. If it succeeds!
Tested
The second method is successful. For details, see index. jsp in the demo. In this case, the index. JNLP file is not required.

The company has another urgent task. We only need to release it first and try again later!
All of the above are eclipse projects. Unfortunately, I don't know how to upload attachments!

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.