• drony中英文版本安装文件

    安装后解决部分app无法通过代理被fiddler识别,亲测可用

    0
    280
    11.78MB
    2021-04-14
    49
  • spring实战第四版+依赖注入(Dependency injection)

    合辑共包括两本书其中sping实战为中文版第四版,依赖注入为英文版 目录 版权信息 作者简介 版权声明 内容提要 关于本书 路线图 代码规范与下载 作者在线 封面插图简介 前言 译者序 致谢 第1部分Spring 的核心 第1章Spring 之旅 1.1 简化Java开发 1.1.1 激发POJO的潜能 1.1.2 依赖注入 1.1.3 应用切面 1.1.4 使用模板消除样板式代码 1.2 容纳你的Bean 1.2.1 使用应用上下文 1.2.2 bean 的生命周期 1.3 俯瞰Spring 风景线 1.3.1 Spring 模块 1.3.2 Spring Portfolio 1.4 Spring 的新功能 1.4.1 Spring 3.1新特性 1.4.2 Spring 3.2新特性 1.4.3 Spring 4.0新特性 1.5 小结 第2章 装配Bean 2.1 Spring 配置的可选方案 2.2 自动化装配bean 2.2.1 创建可被发现的bean 2.2.2 为组件扫描的bean 命名 2.2.3 设置组件扫描的基础包 2 Linux公社www.linuxidc.com 2.2.4 通过为bean 添加注解实现自动装配 2.2.5 验证自动装配 2.3 通过Java代码装配bean 2.3.1 创建配置类 2.3.2 声明简单的bean 2.3.3 借助JavaConfig 实现注入 2.4 通过XML 装配bean 2.4.1 创建XML 配置规范 2.4.2 声明一个简单的<bean> 2.4.3 借助构造器注入初始化bean 2.4.4 设置属性 2.5 导入和混合配置 2.5.1 在JavaConfig 中引用XML 配置 2.5.2 在XML 配置中引用JavaConfig 2.6 小结 第3章 高级装配 3.1 环境与profile 3.1.1 配置profile bean 3.1.2 激活profile 3.2 条件化的bean 3.3 处理自动装配的歧义性 3.3.1 标示首选的bean 3.3.2 限定自动装配的bean 3.4 bean 的作用域 3.4.1 使用会话和请求作用域 3.4.2 在XML 中声明作用域代理 3.5 运行时值注入 3.5.1 注入外部的值 3.5.2 使用Spring 表达式语言进行装配 3.6 小结 第4章 面向切面的Spring 4.1 什么是面向切面编程 4.1.1 定义AOP术语 4.1.2 Spring 对AOP的支持 4.2 通过切点来选择连接点 4.2.1 编写切点 4.2.2 在切点中选择bean 4.3 使用注解创建切面 4.3.1 定义切面 4.3.2 创建环绕通知 3 Linux公社www.linuxidc.com 4.3.3 处理通知中的参数 4.3.4 通过注解引入新功能 4.4 在XML 中声明切面 4.4.1 声明前置和后置通知 4.4.2 声明环绕通知 4.4.3 为通知传递参数 4.4.4 通过切面引入新的功能 4.5 注入AspectJ切面 4.6 小结 第2部分Web中的Spring 第5章 构建Spring Web应用程序 5.1 Spring MVC起步 5.1.1 跟踪Spring MVC的请求 5.1.2 搭建Spring MVC 5.1.3 Spittr应用简介 5.2 编写基本的控制器 5.2.1 测试控制器 5.2.2 定义类级别的请求处理 5.2.3 传递模型数据到视图中 5.3 接受请求的输入 5.3.1 处理查询参数 5.3.2 通过路径参数接受输入 5.4 处理表单 5.4.1 编写处理表单的控制器 5.4.2 校验表单 5.5 小结 第6章 渲染Web视图 6.1 理解视图解析 6.2 创建JSP视图 6.2.1 配置适用于JSP的视图解析器 6.2.2 使用Spring 的JSP库 6.3 使用Apache Tiles视图定义布局 6.3.1 配置Tiles视图解析器 6.4 使用Thymeleaf 6.4.1 配置Thymeleaf视图解析器 6.4.2 定义Thymeleaf模板 6.5 小结 第7章Spring MVC的高级技术 7.1 Spring MVC配置的替代方案 7.1.1 自定义DispatcherServlet配置 4 Linux公社www.linuxidc.com 7.1.2 添加其他的Servlet和Filter 7.1.3 在web.xml中声明DispatcherServlet 7.2 处理multipart形式的数据 7.2.1 配置multipart解析器 7.2.2 处理multipart请求 7.3 处理异常 7.3.1 将异常映射为HTTP状态码 7.3.2 编写异常处理的方法 7.4 为控制器添加通知 7.5 跨重定向请求传递数据 7.5.1 通过URL 模板进行重定向 7.5.2 使用flash 属性 7.6 小结 第8章 使用Spring Web Flow 8.1 在Spring 中配置Web Flow 8.1.1 装配流程执行器 8.1.2 配置流程注册表 8.1.3 处理流程请求 8.2 流程的组件 8.2.1 状态 8.2.2 转移 8.2.3 流程数据 8.3 组合起来:披萨流程 8.3.1 定义基本流程 8.3.2 收集顾客信息 8.3.3 构建订单 8.3.4 支付 8.4 保护Web流程 8.5 小结 第9章 保护Web应用 9.1 Spring Security 简介 9.1.1 理解Spring Security 的模块 9.1.2 过滤Web请求 9.1.3 编写简单的安全性配置 9.2 选择查询用户详细信息的服务 9.2.1 使用基于内存的用户存储 9.2.2 基于数据库表进行认证 9.2.3 基于LDAP进行认证 9.2.4 配置自定义的用户服务 9.3 拦截请求 5 Linux公社www.linuxidc.com 9.3.1 使用Spring 表达式进行安全保护 9.3.2 强制通道的安全性 9.3.3 防止跨站请求伪造 9.4 认证用户 9.4.1 添加自定义的登录页 9.4.2 启用HTTP Basic认证 9.4.3 启用Remember-me功能 9.4.4 退出 9.5 保护视图 9.5.1 使用Spring Security 的JSP标签库 9.5.2 使用Thymeleaf的Spring Security 方言 9.6 小结 第3部分 后端中的Spring 第10章 通过Spring 和JDBC征服数据库 10.1 Spring 的数据访问哲学 10.1.1 了解Spring 的数据访问异常体系 10.1.2 数据访问模板化 10.2 配置数据源 10.2.1 使用JNDI数据源 10.2.2 使用数据源连接池 10.2.3 基于JDBC驱动的数据源 10.2.4 使用嵌入式的数据源 10.2.5 使用profile选择数据源 10.3 在Spring 中使用JDBC 10.3.1 应对失控的JDBC代码 10.3.2 使用JDBC模板 10.4 小结 第11章 使用对象-关系映射持久化数据 11.1 在Spring 中集成Hibernate 11.1.1 声明Hibernate的Session 工厂 11.1.2 构建不依赖于Spring 的Hibernate代码 11.2 Spring 与Java持久化API 11.2.1 配置实体管理器工厂 11.2.2 编写基于JPA的Repository 11.3 借助Spring Data实现自动化的JPA Repository 11.3.1 定义查询方法 11.3.2 声明自定义查询 11.3.3 混合自定义的功能 11.4 小结 第12章 使用NoSQL 数据库 6 Linux公社www.linuxidc.com 12.1 使用MongoDB持久化文档数据 12.1.1 启用MongoDB 12.1.2 为模型添加注解,实现MongoDB持久化 12.1.3 使用MongoTemplate访问MongoDB 12.1.4 编写MongoDB Repository 12.2 使用Neo4j操作图数据 12.2.1 配置Spring Data Neo4j 12.2.2 使用注解标注图实体 12.2.3 使用Neo4jTemplate 12.2.4 创建自动化的Neo4j Repository 12.3 使用Redis操作key-value数据 12.3.1 连接到Redis 12.3.2 使用RedisTemplate 12.3.3 使用key 和value的序列化器 12.4 小结 第13章 缓存数据 13.1 启用对缓存的支持 13.1.1 配置缓存管理器 13.2 为方法添加注解以支持缓存 13.2.1 填充缓存 13.2.2 移除缓存条目 13.3 使用XML 声明缓存 13.4 小结 第14章 保护方法应用 14.1 使用注解保护方法 14.1.1 使用@Secured注解限制方法调用 14.1.2 在Spring Security 中使用JSR-250的@RolesAllowed注解 14.2 使用表达式实现方法级别的安全性 14.2.1 表述方法访问规则 14.2.2 过滤方法的输入和输出 14.3 小结 第4部分Spring 集成 第15章 使用远程服务 15.1 Spring 远程调用概览 15.2 使用RMI 15.2.1 导出RMI服务 15.2.2 装配RMI服务 15.3 使用Hessian和Burlap发布远程服务 15.3.1 使用Hessian和Burlap导出bean 的功能 15.3.2 访问Hessian/Burlap服务 7 Linux公社www.linuxidc.com 15.4 使用Spring 的HttpInvoker 15.4.1 将bean 导出为HTTP服务 15.4.2 通过HTTP访问服务 15.5 发布和使用Web服务 15.5.1 创建基于Spring 的JAX-WS端点 15.5.2 在客户端代理JAX-WS服务 15.6 小结 第16章 使用Spring MVC创建REST API 16.1 了解REST 16.1.1 REST的基础知识 16.1.2 Spring 是如何支持REST的 16.2 创建第一个REST端点 16.2.1 协商资源表述 16.2.2 使用HTTP信息转换器 16.3 提供资源之外的其他内容 16.3.1 发送错误信息到客户端 16.3.2 在响应中设置头部信息 16.4 编写REST客户端 16.4.1 了解RestTemplate的操作 16.4.2 GET资源 16.4.3 检索资源 16.4.4 抽取响应的元数据 16.4.5 PUT资源 16.4.6 DELETE资源 16.4.7 POST资源数据 16.4.8 在POST请求中获取响应对象 16.4.9 在POST请求后获取资源位置 16.4.10 交换资源 16.5 小结 第17章Spring 消息 17.1 异步消息简介 17.1.1 发送消息 17.1.2 评估异步消息的优点 17.2 使用JMS发送消息 17.2.1 在Spring 中搭建消息代理 17.2.2 使用Spring 的JMS模板 17.2.3 创建消息驱动的POJO 17.2.4 使用基于消息的RPC 17.3 使用AMQP实现消息功能 17.3.1 AMQP简介 8 Linux公社www.linuxidc.com 17.3.2 配置Spring 支持AMQP消息 17.3.3 使用RabbitTemplate发送消息 17.3.4 接收AMQP消息 17.4 小结 第18章 使用WebSocket和STOMP实现消息功能 18.1 使用Spring 的低层级WebSocket API 18.2 应对不支持WebSocket的场景 18.3 使用STOMP消息 18.3.1 启用STOMP消息功能 18.3.2 处理来自客户端的STOMP消息 18.3.3 发送消息到客户端 18.4 为目标用户发送消息 18.4.1 在控制器中处理用户的消息 18.4.2 为指定用户发送消息 18.5 处理消息异常 18.6 小结 第19章 使用Spring 发送Email 19.1 配置Spring 发送邮件 19.1.1 配置邮件发送器 19.1.2 装配和使用邮件发送器 19.2 构建丰富内容的Email消息 19.2.1 添加附件 19.2.2 发送富文本内容的Email 19.3 使用模板生成Email 19.3.1 使用Velocity 构建Email消息 19.3.2 使用Thymeleaf构建Email消息 19.4 小结 第20章 使用JMX管理Spring Bean 20.1 将Spring bean 导出为MBean 20.1.1 通过名称暴露方法 20.1.2 使用接口定义MBean的操作和属性 20.1.3 使用注解驱动的MBean 20.1.4 处理MBean冲突 20.2 远程MBean 20.2.1 暴露远程MBean 20.2.2 访问远程MBean 20.2.3 代理MBean 20.3 处理通知 20.3.1 监听通知 20.4 小结 9 Linux公社www.linuxidc.com 第21章 借助Spring Boot简化Spring 开发 21.1 Spring Boot简介 21.1.1 添加Starter依赖 21.1.2 自动配置 21.1.3 Spring Boot CLI 21.1.4 Actuator 21.2 使用Spring Boot构建应用 21.2.1 处理请求 21.2.2 创建视图 21.2.3 添加静态内容 21.2.4 持久化数据 21.2.5 尝试运行 21.3 组合使用Groovy与Spring Boot CLI 21.3.1 编写Groovy控制器 21.3.2 使用Groovy Repository实现数据持久化 21.3.3 运行Spring Boot CLI 21.4 通过Actuator获取了解应用内部状况 21.5 小结 contents preface xv acknowledgments xvii about this book xix about the cover illustration xxii 1 Dependency injection: what’s all the hype? 1 1.1 Every solution needs a problem 2 Seeing objects as services 2 1.2 Pre-DI solutions 4 Construction by hand 5 ■ The Factory pattern 7 ■ The Service Locator pattern 12 1.3 Embracing dependency injection 13 The Hollywood Principle 13 ■ Inversion of Control vs. dependency injection 15 1.4 Dependency injection in the real world 17 Java 17 ■ DI in other languages and libraries 19 1.5 Summary 19 2 Time for injection 21 2.1 Bootstrapping the injector 22 2.2 Constructing objects with dependency injection 23 Licensed to Mylene Corbett <pedbro@gmail.com> Download at WoWeBook.Com CONTENTS x 2.3 Metadata and injector configuration 26 XML injection in Spring 27 ■ From XML to in-code configuration 30 Injection in PicoContainer 31 ■ Revisiting Spring and autowiring 34 2.4 Identifying dependencies for injection 36 Identifying by string keys 37 ■ Limitations of string keys 42 Identifying by type 44 ■ Limitations of identifying by type 46 Combinatorial keys: a comprehensive solution 47 2.5 Separating infrastructure and application logic 51 2.6 Summary 52 3 Investigating DI 54 3.1 Injection idioms 55 Constructor injection 55 ■ Setter injection 56 ■Interface injection 60 Method decoration (or AOP injection) 62 3.2 Choosing an injection idiom 65 Constructor vs. setter injection 66 ■ The constructor pyramid problem 69 The circular reference problem 71 ■ The in-construction problem 75 Constructor injection and object validity 78 3.3 Not all at once: partial injection 81 The reinjection problem 81 ■ Reinjection with the Provider pattern 82 The contextual injection problem 84 ■ Contextual injection with the Assisted Injection pattern 86 ■ Flexible partial injection with the Builder pattern 88 3.4 Injecting objects in sealed code 92 Injecting with externalized metadata 93 ■ Using the Adapter pattern 95 3.5 Summary 96 4 Building modular applications 99 4.1 Understanding the role of an object 100 4.2 Separation of concerns (my pants are too tight!) 101 Perils of tight coupling 102 ■ Refactoring impacts of tight coupling 105 ■ Programming to contract 108 ■ Loose coupling with dependency injection 111 4.3 Testing components 112 Out-of-container (unit) testing 113 ■ I really need my dependencies! 114 More on mocking dependencies 115 ■ Integration testing 116 4.4 Different deployment profiles 118 Rebinding dependencies 118 ■ Mutability with the Adapter pattern 119 4.5 Summary 121 Licensed to Mylene Corbett <pedbro@gmail.com> Download at WoWeBook.Com CONTENTS xi 5 Scope: a fresh breath of state 123 5.1 What is scope? 124 5.2 The no scope (or default scope) 125 5.3 The singleton scope 128 Singletons in practice 131 ■ The singleton anti-pattern 135 5.4 Domain-specific scopes: the web 139 HTTP request scope 141 ■ HTTP session scope 149 5.5 Summary 154 6 More use cases in scoping 156 6.1 Defining a custom scope 157 A quick primer on transactions 157 ■ Creating a custom transaction scope 158 ■ A custom scope in Guice 160 ■ A custom scope in Spring 164 6.2 Pitfalls and corner cases in scoping 166 Singletons must be thread-safe 167 ■ Perils of scope-widening injection 169 6.3 Leveraging the power of scopes 180 Cache scope 181 ■ Grid scope 181 ■ Transparent grid computing with DI 183 6.4 Summary 184 7 From birth to death: object lifecycle 186 7.1 Significant events in the life of objects 187 Object creation 187 ■ Object destruction (or finalization) 189 7.2 One size doesn’t fit all (domain-specific lifecycle) 191 Contrasting lifecycle scenarios: servlets vs. database connections 191 ■ The Destructor anti-pattern 196 ■ Using Java’s Closeable interface 197 7.3 A real-world lifecycle scenario: stateful EJBs 198 7.4 Lifecycle and lazy instantiation 201 7.5 Customizing lifecycle with postprocessing 202 7.6 Customizing lifecycle with multicasting 205 7.7 Summary 207 8 Managing an object’s behavior 210 8.1 Intercepting methods and AOP 211 A tracing interceptor with Guice 212 ■ A tracing interceptor with Spring 214 How proxying works 216 ■ Too much advice can be dangerous! 219 Licensed to Mylene Corbett <pedbro@gmail.com> Download at WoWeBook.Com CONTENTS xii 8.2 Enterprise use cases for interception 221 Transactional methods with warp-persist 222 ■ Securing methods with Spring Security 224 8.3 Pitfalls and assumptions about interception and proxying 228 Sameness tests are unreliable 228 ■ Static methods cannot be intercepted 230 ■ Neither can private methods 231 ■ And certainly not final methods! 233 ■ Fields are off limits 234 ■ Unit tests and interception 236 8.4 Summary 238 9 Best practices in code design 240 9.1 Objects and visibility 241 Safe publication 244 ■ Safe wiring 245 9.2 Objects and design 247 On data and services 247 ■ On better encapsulation 252 9.3 Objects and concurrency 257 More on mutability 258 ■ Synchronization vs. concurrency 261 9.4 Summary 264 10 Integrating with third-party frameworks 266 10.1 Fragmentation of DI solutions 267 10.2 Lessons for framework designers 270 Rigid configuration anti-patterns 271 ■ Black box anti-patterns 276 10.3 Programmatic configuration to the rescue 280 Case study: JSR-303 280 10.4 Summary 286 11 Dependency injection in action! 289 11.1 Crosstalk: a Twitter clone! 290 Crosstalk’s requirements 290 11.2 Setting up the application 290 11.3 Configuring Google Sitebricks 294 11.4 Crosstalk’s modularity and service coupling 295 11.5 The presentation layer 296 The HomePage template 298 ■ The Tweet domain object 301 Users and sessions 302 ■ Logging in and out 304 Licensed to Mylene Corbett <pedbro@gmail.com> Download at WoWeBook.Com CONTENTS xiii 11.6 The persistence layer 308 Configuring the persistence layer 310 11.7 The security layer 311 11.8 Tying up to the web lifecycle 312 11.9 Finally: up and running! 313 11.10 Summary 314 appendix A The Butterfly Container 315 appendix B SmartyPants for Adobe Flex 320 index 323

    0
    0
    48.46MB
    2018-03-28
    3
  • Scala Spark pdf文档大合集,大数据就看这些

    学习Spark技术相关文档,包括Scala由浅入深,及Spark详细介绍实践等文档,主要都是文字版,对大数据感兴趣的应该不会失望,包含Scala in Action; Learning Spark; Scala in Depth;Scala for the Impatient;Spark快速数据处理等,不过大部分为英文,请慎重。

    4
    154
    29.65MB
    2015-09-11
    10
  • owb workflow发布为Web Service实现手动抽取

    通过文档完全可以很好的解决OWB中映射、工作流及工作计划的手动执行(已在项目中应用),适合于外部调用OWB的需求。文档详细介绍了owb10g owb11g通过webservice调用实现数据同步的方法步骤,对于项目中有手动数据同步需求的会有帮助。代码采用java实现

    0
    62
    602KB
    2014-03-24
    9
  • java 调用 odi webservice

    用户需要通过第三方手动调用触发ODI方案的执行从而实现数据的同步。文档中描述了如何创建及调用ODI webservice,包括测试结果,相信对想手动调用实现odi数据同步者会有帮助。

    4
    217
    353KB
    2013-08-05
    19
  • EffectiveJava

    强烈推荐2008最畅销java书籍之一 好不容易找到本中文版的 相信其中知识点会让你兴奋 本书介绍了在Java编程中57条极具实用价值的经验规则,这些经验规则涵盖了大多数开发人员每天所面临的问题的解决方案。通过对Java平台设计专家所使用的技术的全面描述,揭示了应该做什么,不应该做什么才能产生清晰、健壮的高效的代码。 本书中的每条规则都以简短、独立的小文章形式出现,这些小文章包含了详细而精确的建议,以及对语言中许多细微之处的深入分析,并通过例子代码加以进一步说明。贯穿全书的是通用的语言用法的设计模式,以及一些具有启发意义的技巧的技术。

    0
    0
    1.35MB
    2008-11-04
    4
  • 50个常用sql语句

    很 不错 的 掌握 好这些 语句 基本就成专家了

    0
    35
    13KB
    2008-10-18
    2
  • SQL基础SQL语法

    SQL基本介绍及常用语法 内容为繁体不过基本不影响阅读

    0
    35
    820KB
    2008-10-14
    9
  • 分享达人

    成功上传6个资源即可获取
关注 私信
上传资源赚积分or赚钱