随笔 - 630  文章 - 7 评论 - 47 阅读 - 49万
< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

08 2013 档案
如何判断Socket连接失效
摘要:http://cuisuqiang.iteye.com/blog/1453632————————————————————————————————————————————————————————————————————现在都搞升级,本人也也使用JDK6进行开发。在开发工程中对Socket进行管理时对于这个连接的超时和是否失效进行研究。结果网上的资料很是让人失望,可以说google和百度下来,前几页原创很少都是抄袭。说正经的,对于连接超时和失效肯定会想到设置超时时间和判断连接是否可用。但是设置超时时间后起作用是在调用read方法的时候,如果只是设置了超时时间却没有调用read,那么就算服务端中断连 阅读全文
posted @ 2013-08-24 16:26 网络大豆 阅读(1016) 评论(0) 推荐(0) 编辑
log4j:ERROR LogMananger.repositorySelector was null likely due to error in class reloading, using NOPLoggerRepository.
摘要:The reason for the error is a new listener in Tomcat 6.0.24. You can fix this error by adding this line:org.apache.catalina.loader.WebappClassLoader.ENABLE_CLEAR_REFERENCES=falseto the "conf/catalina.properties" file in your tomcat directory. 阅读全文
posted @ 2013-08-18 19:54 网络大豆 阅读(1151) 评论(0) 推荐(0) 编辑
Jbpm4.4+hibernate3.5.4+spring3.0.4+struts2.1.8整合例子(附完整的请假流程例子,jbpm基础,常见问题解决)
摘要:http://www.blogjava.net/wangxinsh55/archive/2011/07/24/354925.html——————————————————————————————————————————————————————————Jbpm4.4+hibernate3.5.4+spring3.0.4+struts2.1.8 整合例子(附完整的请假流程例子)。1. jbpm4.4 测试环境搭建2. Jbpm4.4+hibernate3.5.4+spring3.0.4+struts2.1. 整合环境搭建3. jbpm4.4 基础知识4. 整合过程中常见问题的... 阅读全文
posted @ 2013-08-15 14:43 网络大豆 阅读(370) 评论(0) 推荐(0) 编辑
设置结点的ID为固定ID
摘要:https://www.java.net//forum/topic/jxta/jxta-community-forum/how-initialize-pse-jxse-27————————————————————————————————————————————————————————————————————borysdOfflineJoined: 2009-11-22Does anybody know how to initialize PSE in 2.7? If I start a rdv peer without peerId or infrastructureID then an ed 阅读全文
posted @ 2013-08-11 17:41 网络大豆 阅读(624) 评论(2) 推荐(0) 编辑
CalendarUtil
摘要:1 package ch.makery.address.util; 2 3 import java.text.ParseException; 4 import java.text.SimpleDateFormat; 5 import java.util.Calendar; 6 7 /** 8 * Helper functions for handling dates. 9 */10 public class CalendarUtil {11 12 /**13 * Default date format in the form 2013-03-18.14 */15 pr... 阅读全文
posted @ 2013-08-09 15:51 网络大豆 阅读(419) 评论(0) 推荐(0) 编辑
Hadoop port to Jxta P2P Framework
摘要:https://www.java.net/forum/topic/jxta/jxta-community-forum/hadoop-port-jxta-p2p-framework——————————————————————————————————————————————————————————————————————besn0847OfflineJoined: 2010-06-01Hi,I started few months ack a port of Hadoop DFS to JXTA to use it to share files across all my PCs and ensu 阅读全文
posted @ 2013-08-08 22:07 网络大豆 阅读(539) 评论(0) 推荐(0) 编辑
java.net.BindException: Address already in use: bind
摘要:环境:jxse-2.7, netty-3.6.6.Final 现象:每次执行都抛出以下异常八月 08, 2013 8:45:19 下午 net.jxta.logging.Logging logCheckedInfoINFO: Line 127 net.jxta.impl.endpoint.netty.NettyTransportServer.bindServerChannel()Attempt to bind to /0.0.0.0:8080 failed (Address already in use: bind), trying another address八月 08, 2013 8:. 阅读全文
posted @ 2013-08-08 21:10 网络大豆 阅读(13337) 评论(0) 推荐(0) 编辑
修改Oracle 10g Express Edition默认的8080端口
摘要:http://sucre.blog.51cto.com/1084905/475531——————————————————————————————————————————————————————————————————————以前发表了一篇文章用另一种方法解决Address already in use: JVM_Bind:8080(http://sucre.blog.51cto.com/1084905/413988) ,这是在发生冲突的时候的解决方法,那怎么才能让冲突不再发生呢,试试下面的方法吧,有了它,上面的方法估计就只是救火时才能用到呢。选择“运行SQL命令”,进入如下提示符 SQL> 阅读全文
posted @ 2013-08-08 21:02 网络大豆 阅读(427) 评论(0) 推荐(0) 编辑
五虎
摘要:http://code.google.com/p/fivetiger/————————————————————————————————————————————————————给大家推荐一个小游戏《五虎》这是一个鲁中南地区非常流行的益智棋类对战游戏。在网上找了n久也没有人发现有人写出来过,估计是这种游戏流行面比较窄,很多人都不了解。所以决心把它写出来,就当作弘扬民族文化了。这里的游戏规则不是我自己创立出来的,只凭着当年玩的时候留下的记忆,写出来的。尤其是在我上初中的时候,风靡的不得了,因为道具准备简单,就地捡一些石子和木棍,然后在地上画个棋盘就可以玩了。咱当年也是打遍全班无敌手(没吹牛。。。)还 阅读全文
posted @ 2013-08-08 15:27 网络大豆 阅读(455) 评论(0) 推荐(0) 编辑
easily add files to META-INF in NetBeans
摘要:http://georgeinfo.blog.163.com/blog/static/16368334120101019104044650/————————————————————————————————————————————————————————————These days when you find me working in Java, you’ll find me working in NetBeans. If I wanted to spend my time manually editing ant scripts, you’d probably find me working 阅读全文
posted @ 2013-08-07 21:42 网络大豆 阅读(569) 评论(0) 推荐(0) 编辑
http://edu.makery.ch/
摘要:http://edu.makery.ch/ 阅读全文
posted @ 2013-08-07 16:46 网络大豆 阅读(187) 评论(0) 推荐(0) 编辑
JavaFX 2 Dialogs
摘要:http://edu.makery.ch/blog/2012/10/30/javafx-2-dialogs/————————————————————————————————————————————When programming a graphical user interface (GUI) there are occasions where you’ll need a simple popup dialog to communicate with the user. In Swing (the predecessor of JavaFX) there is a convenient cla 阅读全文
posted @ 2013-08-07 16:15 网络大豆 阅读(467) 评论(0) 推荐(0) 编辑
JavaFx版本植物大战僵尸
摘要:http://www.cnblogs.com/lslvxy/archive/2013/04/17/3026711.html—————————————————————————————————————————————— 阅读全文
posted @ 2013-08-07 16:07 网络大豆 阅读(293) 评论(0) 推荐(0) 编辑
关于P2P架构的网络游戏
摘要:以下内容摘自《ActionScript大型网页游戏开发》—————————————————————————————————————————————————————————P2P架构P2P架构是两个或多个客户端不经过服务器而直接通信的架构。可能首先会使用服务器以让客户端间能查找到对方,但在此之后就不再需要服务器了。具体也分两种不同的形式:一种是完整连接拓扑架构,指的是每个客户端与其他客户端之间都必须有连接,信息可以直接在用户间交换;另一种是环状拓扑架构,指的是信息只有流经一个或多个客户端后才能传递过来的架构。本文当谈到P2P架构时,指的是完整连接拓扑架构。一般来说,P2P架构在游戏方面用的不多。 阅读全文
posted @ 2013-08-05 17:17 网络大豆 阅读(6396) 评论(0) 推荐(1) 编辑
Styling FX Buttons with CSS
摘要:http://fxexperience.com/2011/12/styling-fx-buttons-with-css/———————————————————————————————————————————— 阅读全文
posted @ 2013-08-05 13:17 网络大豆 阅读(173) 评论(0) 推荐(0) 编辑
JavaFx2.0中CSS的应用
摘要:http://user.qzone.qq.com/773534839#!app=2&via=QZ.HashRefresh&pos=1326994508—————————————————————————————————————————————————— 阅读全文
posted @ 2013-08-05 12:03 网络大豆 阅读(217) 评论(0) 推荐(0) 编辑
fx-experience-tools
摘要:http://fxexperience.com/2012/03/announcing-fx-experience-tools/I have some cool new stuff for you today. I have been working on porting some of the little tools I wrote for JavaFX 1.X. Also I was inspired by the web css button creator UiParade Button Builder. So I created a simple theming tool for J 阅读全文
posted @ 2013-08-05 11:09 网络大豆 阅读(431) 评论(0) 推荐(0) 编辑
PENCIL PROJECT --- An open-source GUI prototyping tool that's available for ALL platforms.
摘要:http://pencil.evolus.vn/Default.html 阅读全文
posted @ 2013-08-05 10:24 网络大豆 阅读(193) 评论(0) 推荐(0) 编辑
Java Thread.interrupt 害人! 中断JAVA线程(zz)
摘要:http://www.blogjava.net/jinfeng_wang/archive/2012/04/22/196477.html#376322——————————————————————————————————————————————————————————程序是很简易的。然而,在编程人员面前,多线程呈现出了一组新的难题,如果没有被恰当的解决,将导致意外的行为以及细微的、难以发现的错误。 在本篇文章中,我们针对这些难题之一:如何中断一个正在运行的线程。 背景 中断(Interrupt)一个线程意味... 阅读全文
posted @ 2013-08-04 17:58 网络大豆 阅读(459) 评论(0) 推荐(0) 编辑
mysql注册服务
摘要:http://www.2cto.com/database/201301/185456.html______________________________________________________mysql注册服务1,解压好绿色版Mysql2,如果机子上没有装安装版Mysql,跳过第4步3,进入cmd www.2cto.com 4,关闭mysql服务,net stop mysql。移除Mysql服务 进入Mysql安装目录bin目录下 执行 mysqld --remove5,注册Mysql服务 进入Mysql安装目录bin目录下 执行 mysqld --install6,开启mysql服 阅读全文
posted @ 2013-08-04 08:56 网络大豆 阅读(414) 评论(0) 推荐(0) 编辑
New full duplex HTTP tunnel implementation (client and server)
摘要:https://issues.jboss.org/browse/NETTY-246?page=com.atlassian.jirafisheyeplugin:fisheye-issuepanel——————————————————————————————————————————————————————————————————As a contributor to the JXTA peer to peer networking framework, I have been tasked with replacing the HTTP based transport that exists in 阅读全文
posted @ 2013-08-03 09:17 网络大豆 阅读(333) 评论(0) 推荐(0) 编辑
http://www.hameister.org/JavaFX_PuzzleGame.html
摘要:http://www.hameister.org/JavaFX_PuzzleGame.html 阅读全文
posted @ 2013-08-01 17:33 网络大豆 阅读(188) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示