描述
开 本: 128开纸 张: 胶版纸包 装: 平装-胶订是否套装: 否国际标准书号ISBN: 9787121421662
内容简介
本书主要包括IntelliJ IDEA,JDBC,Servlet,Vue四部分内容,这四部分是学习Java Web开发的重点。在IntelliJ IDEA部分介绍了40多种使用技巧,还介绍了IntelliJ IDEA的核心技能,包括调试Java项目,创建Java/Web/JavaMaven/WebMaven项目等。JDBC部分介绍如何处理海量数据的查询与添加操作,常见JDBC接口的使用等功能。Servlet部分介绍了request-response请求响应模型原理,接口Servlet,ServletConfig的使用,web.xml中常见的配置,HttpServletRequest和HttpServletResponse接口的使用等核心技术的使用。Vue章节介绍了模板语法、计算属性和侦听器、Class和Style操作、条件渲染、列表渲染、事件处理、等核心技能。后以购物车的案例将所有知识点串联,达到综合演练的目的。
目 录
目 录
第 1 章 IntelliJ IDEA 常用技巧 ················································································.1
1.1 初次配置 IntelliJ IDEA ···············································································.2
1.2 创建 Java 项目 ···························································································.4
1.2.1 关联 JDK 并创建 Java 项目 ······································································.4
1.2.2 查看项目结构 ·······················································································.6
1.2.3 创建 Java 类 ·························································································.6
1.2.4 运行 Java 类 ·························································································.7
1.3 IntelliJ IDEA 相关配置与使用技巧 ······························································.7
1.3.1 配置界面皮肤 ·······················································································.8
1.3.2 设置 Eclipse 风格的快捷键 ······································································.8
1.3.3 更改代码编辑器文字大小 ········································································.8
1.3.4 快速生成代码 ························································································.8
1.3.5 设置快捷键“Alt /” ···············································································.9
1.3.6 设置代码完成对大小写不敏感 ·································································.10
1.3.7 配置 JDK ···························································································.11
1.3.8 设置自动编译 ······················································································.13
1.3.10 抛出异常 ··························································································.13
1.3.11 使用“Ctrl Alt T”快捷键生成代码块 ····················································.13
1.3.12 使用 Generate 菜单生成方法 ··································································.14
1.3.13 使用 fori 生成 for 语句 ·········································································.16
1.3.14 实现自动导入的功能 ···········································································.16
1.3.15 实现水平或垂直分屏的功能 ··································································.16
1.3.16 树形显示包结构 ·················································································.17
1.3.17 设置“F2”键用于改名 ········································································.18
1.3.18 将类的方法抽取成接口 ········································································.18
1.3.19 Maven 项目下载源代码和帮助文档 ·························································.19
Java Web 实操
1.3.20 Find Usages 菜单查看方法调用 ······························································.20
1.3.21 增加控制台保存输出信息的缓冲区大小 ···················································.20
1.3.22 增加可用内存 ····················································································.21
1.3.23 启用 Toolbar ······················································································.21
1.3.24 显示方法分割符 ·················································································.21
1.3.25 设置文件编码 ····················································································.22
1.3.26 使用快捷键找到对应的功能名称 ····························································.24
1.3.27 使用快捷键自动生成返回值或声明变量 ···················································.24
1.3.28 使用快捷键实现代码导航 ·····································································.24
1.3.29 使用“F4”键查看类继承结构 ·······························································.24
1.3.30 使用快捷键查看类大纲结构 ··································································.24
1.3.31 使用快捷键搜索与替换文本功能 ····························································.25
1.3.32 使用“Ctrl H”快捷键实现查询更大范围的功能 ········································.25
1.3.33 使用“Shift”键实现全局搜索 ·······························································.26
1.3.34 生成 UML 类图 ··················································································.27
1.3.35 使用快捷键查看方法的重写或实现 ····························································.28
1.3.36 使用快捷键查看文件 ···········································································.28
1.3.37 生成.jar 文件 ·································································
第 1 章 IntelliJ IDEA 常用技巧 ················································································.1
1.1 初次配置 IntelliJ IDEA ···············································································.2
1.2 创建 Java 项目 ···························································································.4
1.2.1 关联 JDK 并创建 Java 项目 ······································································.4
1.2.2 查看项目结构 ·······················································································.6
1.2.3 创建 Java 类 ·························································································.6
1.2.4 运行 Java 类 ·························································································.7
1.3 IntelliJ IDEA 相关配置与使用技巧 ······························································.7
1.3.1 配置界面皮肤 ·······················································································.8
1.3.2 设置 Eclipse 风格的快捷键 ······································································.8
1.3.3 更改代码编辑器文字大小 ········································································.8
1.3.4 快速生成代码 ························································································.8
1.3.5 设置快捷键“Alt /” ···············································································.9
1.3.6 设置代码完成对大小写不敏感 ·································································.10
1.3.7 配置 JDK ···························································································.11
1.3.8 设置自动编译 ······················································································.13
1.3.10 抛出异常 ··························································································.13
1.3.11 使用“Ctrl Alt T”快捷键生成代码块 ····················································.13
1.3.12 使用 Generate 菜单生成方法 ··································································.14
1.3.13 使用 fori 生成 for 语句 ·········································································.16
1.3.14 实现自动导入的功能 ···········································································.16
1.3.15 实现水平或垂直分屏的功能 ··································································.16
1.3.16 树形显示包结构 ·················································································.17
1.3.17 设置“F2”键用于改名 ········································································.18
1.3.18 将类的方法抽取成接口 ········································································.18
1.3.19 Maven 项目下载源代码和帮助文档 ·························································.19
Java Web 实操
1.3.20 Find Usages 菜单查看方法调用 ······························································.20
1.3.21 增加控制台保存输出信息的缓冲区大小 ···················································.20
1.3.22 增加可用内存 ····················································································.21
1.3.23 启用 Toolbar ······················································································.21
1.3.24 显示方法分割符 ·················································································.21
1.3.25 设置文件编码 ····················································································.22
1.3.26 使用快捷键找到对应的功能名称 ····························································.24
1.3.27 使用快捷键自动生成返回值或声明变量 ···················································.24
1.3.28 使用快捷键实现代码导航 ·····································································.24
1.3.29 使用“F4”键查看类继承结构 ·······························································.24
1.3.30 使用快捷键查看类大纲结构 ··································································.24
1.3.31 使用快捷键搜索与替换文本功能 ····························································.25
1.3.32 使用“Ctrl H”快捷键实现查询更大范围的功能 ········································.25
1.3.33 使用“Shift”键实现全局搜索 ·······························································.26
1.3.34 生成 UML 类图 ··················································································.27
1.3.35 使用快捷键查看方法的重写或实现 ····························································.28
1.3.36 使用快捷键查看文件 ···········································································.28
1.3.37 生成.jar 文件 ·································································
评论
还没有评论。