Skip to content

Commit 9ef14ac

Browse files
vonzhouvonzhou
vonzhou
authored and
vonzhou
committed
莫听穿林打叶声,何妨吟啸且徐行。竹杖芒鞋轻胜马,谁怕?一蓑烟雨任平生
1 parent a3ea6fb commit 9ef14ac

File tree

77 files changed

+3058
-76
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

77 files changed

+3058
-76
lines changed

README.md

Lines changed: 31 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ org.xml.sax.SAXParseException; lineNumber: 8; columnNumber: 96; cvc-complex-type
251251

252252
* [Spring Web Flow官网](http://projects.spring.io/spring-webflow/)
253253
* [spring-webflow-samples](https://github.com/spring-projects/spring-webflow-samples)
254-
* [Spring Web Flow 2.0 入门](http://www.ibm.com/developerworks/cn/education/java/j-spring-webflow/index.html), 代码[CartApp]()
254+
* [Spring Web Flow 2.0 入门](http://www.ibm.com/developerworks/cn/education/java/j-spring-webflow/index.html), 代码[CartApp](https://github.com/vonzhou/SpringInAction3/tree/master/CartApp)
255255
* [What's the difference between @Component, @Repository & @Service annotations in Spring?](http://stackoverflow.com/questions/6827752/whats-the-difference-between-component-repository-service-annotations-in)
256256
* JSPX 和 JSP 的区别
257257

@@ -263,6 +263,7 @@ org.xml.sax.SAXParseException; lineNumber: 8; columnNumber: 96; cvc-complex-type
263263
* 登录表单的提交action的url要和security配置中form-login的login-processing-url对应起来,否则谁知道怎么处理
264264
* 关于CSRF的一点总结,首先要在form里面配置一个csrf的隐藏域因为Spring默认开启了csrf防护,否则Invalid CSRF Token 'null' was found on the request parameter '_csrf' or header 'X-CSRF-TOKEN'.
265265
* 注意login表单中的用户名和密码input的name不能是默认的j\_username, 发生了Invalid CSRF Token的问题,我不知道为何。书中的代码怎么通过的?我在这里迷失了很久!解决的方法就是在security配置中的form-login中显示的指定username-parameter="username", password-parameter="password". login.jsp中保持和这里的一致。
266+
* **书中对该框架的讲解只是抛砖引玉,需要自己深入学习**
266267

267268
一个问题的记录,当security配置文件中配置两个access ROLE的时候就会出现重定向次数太多的错误,对应这种场景必定有解决方法,这里先配置一种ROLE。
268269

@@ -280,6 +281,35 @@ org.xml.sax.SAXParseException; lineNumber: 8; columnNumber: 96; cvc-complex-type
280281

281282

282283

284+
## 10. 使用远程服务
285+
286+
* java RMI基本原理
287+
* 在阅读Oracle的rmi文档的时候,感觉很爽啊,有时间多看看这些原汁原味的文档,收获自然不菲
288+
* java -cp 参数的多个路径用冒号分隔,. 代码当前目录
289+
* 实现一个简单的RMI示例,Java RMI tutorial没有跑通。如果出现LocateRegistry.createRegistry()绑定默认的1099端口失败,那么就先杀死他,然后启动rmiregistry,如下:
290+
291+
![](rmidemo/kill-rmiregistry.jpg)
292+
293+
294+
295+
296+
297+
298+
**参阅学习:**
299+
300+
* [Trail: RMI: Table of Contents](http://docs.oracle.com/javase/tutorial/rmi/TOC.html), 搞了半天没有跑通,草!
301+
302+
303+
304+
305+
## TODO
306+
307+
开启阅读 Oracle 的java文档 & coding
308+
309+
[The Java™ Tutorials](https://docs.oracle.com/javase/tutorial/)
310+
311+
如何发布一个jar到maven仓库中test
312+
283313

284314

285315

compute-client-server/.idea/compiler.xml

Lines changed: 32 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

compute-client-server/.idea/copyright/profiles_settings.xml

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

compute-client-server/.idea/encodings.xml

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

compute-client-server/.idea/libraries/Maven__junit_junit_3_8_1.xml

Lines changed: 13 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

compute-client-server/.idea/misc.xml

Lines changed: 42 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

compute-client-server/.idea/modules.xml

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

compute-client-server/.idea/uiDesigner.xml

Lines changed: 124 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)