结尾
学习html5、css、javascript这些基础知识,学习的渠道很多,就不多说了,例如,一些其他的优秀博客。但是本人觉得看书也很必要,可以节省很多时间,常见的javascript的书,例如:javascript的高级程序设计,是每位前端工程师必不可少的一本书,边看边用,了解js的一些基本知识,基本上很全面了,如果有时间可以读一些,js性能相关的书籍,以及设计者模式,在实践中都会用的到。
开源分享:【大厂前端面试题解析+核心总结学习笔记+真实项目实战+最新讲解视频】
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the “License”); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an “AS IS” BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
List of comma-separated packages that start with or equal this string
will cause a security exception to be thrown when
passed to checkPackageAccess unless the
corresponding RuntimePermission (“accessClassInPackage.”+package) has
been granted.
package.access=sun.,org.apache.catalina.,org.apache.coyote.,org.apache.tomcat.,org.apache.jasper.
List of comma-separated packages that start with or equal this string
will cause a security exception to be thrown when
passed to checkPackageDefinition unless the
corresponding RuntimePermission (“defineClassInPackage.”+package) has
been granted.
by default, no packages are restricted for definition, and none of
the class loaders supplied with the JDK call checkPackageDefinition.
package.definition=sun.,java.,org.apache.catalina.,org.apache.coyote.,org.apache.tomcat.,org.apache.jasper.
List of comma-separated paths defining the contents of the “common”
classloader. Prefixes should be used to define what is the repository type.
Path may be relative to the CATALINA_HOME or CATALINA_BASE path or absolute.
If left as blank,the JVM system loader will be used as Catalina’s “common”
loader.
Examples:
“foo”: Add this folder as a class repository
“foo/*.jar”: Add all the JARs of the specified folder as class
repositories
“foo/bar.jar”: Add bar.jar as a class repository
common.loader= c a t a l i n a . h o m e / s h a r e d / l i b / ∗ . j a r , {catalina.home}/shared/lib/*.jar, catalina.home/shared/lib/∗.jar,{catalina.home}/shared/lib, c a t a l i n a . b a s e / l i b , {catalina.base}/lib, catalina.base/lib,{catalina.base}/lib/.jar, c a t a l i n a . h o m e / l i b , {catalina.home}/lib, catalina.home/lib,{catalina.home}/lib/.jar
找到common.loader配置项增加KaTeX parse error: Undefined control sequence: \* at position 28: …me}/shared/lib/\̲*̲.jar,{catalina.home}/shared/lib 这两个路径即可
4、建立项目
新建一个web项目,webservice_web,目录结构如下
HelloService.java是提供web service的一个接口,代码如下:
package com.zxuqian.webservice;
import javax.jws.WebMethod;
import javax.jws.WebService;
@WebService
public interface HelloService {
@WebMethod
String greetings (String name);
}
HelloServiceImpl.java是实现类,代码如下:
package com.zxuqian.webservice.impl;
import javax.jws.WebService;
import com.zxuqian.webservice.HelloService;
@WebService (endpointInterface = “com.zxuqian.webservice.HelloService” )
public class HelloServiceImpl implements HelloService {
@Override
public String greetings(String name) {
return "Hello: " + name;
}
}
5、添加sun-jaxws.xml
sun-jaxws.xml是通过web方式发布web service应用的描述文件,内容如下:
<?xml version="1.0" encoding="UTF-8"?><endpoint name=“HelloWorld” implementation=“com.zxuqian.webservice.impl.HelloServiceImpl”
url-pattern=“/hello” />
各个节点的具体说明请参考下载的jaxws ri包里面的docs文档,在这里简单说明一下,endpoint需要指定
web service服务的接口和实现类,以及它的url相对路径
文末
从转行到现在,差不多两年的时间,虽不能和大佬相比,但也是学了很多东西。我个人在学习的过程中,习惯简单做做笔记,方便自己复习的时候能够快速理解,现在将自己的笔记分享出来,和大家共同学习。
个人将这段时间所学的知识,分为三个阶段:
第一阶段:HTML&CSS&JavaScript基础
第二阶段:移动端开发技术
第三阶段:前端常用框架
开源分享:【大厂前端面试题解析+核心总结学习笔记+真实项目实战+最新讲解视频】
-
推荐学习方式:针对某个知识点,可以先简单过一下我的笔记,如果理解,那是最好,可以帮助快速解决问题;
-
大厂的面试难在,针对一个基础知识点,比如JS的事件循环机制,不会上来就问概念,而是换个角度,从题目入手,看你是否真正掌握。所以对于概念的理解真的很重要。
da6e4.png)
开源分享:【大厂前端面试题解析+核心总结学习笔记+真实项目实战+最新讲解视频】
-
推荐学习方式:针对某个知识点,可以先简单过一下我的笔记,如果理解,那是最好,可以帮助快速解决问题;
-
大厂的面试难在,针对一个基础知识点,比如JS的事件循环机制,不会上来就问概念,而是换个角度,从题目入手,看你是否真正掌握。所以对于概念的理解真的很重要。