darkstar
文章平均质量分 79
eclipser1987
这个作者很懒,什么都没留下…
展开
-
Oracle收购SUN.将停止对PDS的投入,难道darkstar将要永远的停止在0.9版本...杯具..
Today is a difficult day for all of us associated with Project Darkstar. Regretfully, we must inform our community members that Sun Labs engineering effort is no longer being applied to Darkstar devel原创 2010-02-03 13:06:00 · 922 阅读 · 0 评论 -
darkstar(sgs) Task 测试(1)
public class Person implements ManagedObject,Serializable { private static final long serialVersionUID = 1L; private String username = "Vicky"; private String password = "123456"; p原创 2010-02-09 10:46:00 · 1023 阅读 · 0 评论 -
darkstar(sgs) Task 测试(2)
修改代码: public class BuyTask1 implements Task, Serializable { private String name = "NAME"; public BuyTask1(String name) { this.name = name; } private static final long serialVers原创 2010-02-09 11:02:00 · 599 阅读 · 0 评论 -
darkstar(sgs) Task 测试(3)
public class BuyTask1 implements Task, Serializable { private String name = "NAME"; private ManagedReference subTaskRef = null; public BuyTask1(String name) { this.name = name; } pr原创 2010-02-09 16:51:00 · 758 阅读 · 0 评论 -
ClientSession注意事项!
ClientSession extends ManagedObject 其无法保存在impl ManagedObject的对象中。原创 2010-03-02 15:01:00 · 1737 阅读 · 0 评论 -
Object转换byte[],byte[]转换Object的传统转换以及AMF的实现方式.(1)
package cn.vicky.unit;import java.io.ByteArrayOutputStream;import java.io.DataOutputStream;import java.io.IOException;import java.io.UnsupportedEncodingException;import flex.messaging.原创 2010-03-04 10:43:00 · 2409 阅读 · 0 评论 -
darkstar处理超时,分解Task的方案!
package cn.vicky.sgs.app;import java.io.Serializable;import java.util.Properties;import org.slf4j.Logger;import org.slf4j.LoggerFactory;import cn.vicky.sgs.task.BaseTask;import cn.vi原创 2010-03-30 16:04:00 · 1219 阅读 · 1 评论 -
Comparator,Collections对List排序!
package cn.vicky.vo;import java.util.ArrayList;import java.util.Collections;import java.util.Comparator;import java.util.List;public class Person implements Comparator { private int原创 2010-03-31 10:38:00 · 4490 阅读 · 0 评论 -
darkstar 线程互斥原理以及测试!
测试一:不使用线程互斥:package cn.vicky.sgs.app;import java.io.Serializable;import java.util.Properties;import cn.vicky.sgs.mo.Player;import cn.vicky.sgs.task.MyThread;import com.sun.sgs.app.Ap原创 2010-03-31 17:15:00 · 889 阅读 · 0 评论