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!