📄 main.java
字号:
package ebay.server;
import javax.xml.ws.Endpoint;
public class Main {
/** Creates a new instance of Main */
public Main() {
}
/**
* @param args the command line arguments
*/
public static void main(String[] args) {
// TODO code application logic here
System.out.println("Starting endpoint with address http://localhost:7070/Ebay");
Endpoint.publish("http://localhost:7070/Ebay", new Ebay());
Endpoint.publish("http://localhost:7070/ImageProvider", new ImageProvider());
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -