自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(23)
  • 问答 (1)
  • 收藏
  • 关注

原创 Writing an Android Sync Provider: Part 1

One of the highlights of the Android 2.0 SDK is that you can write custom sync providers to integrate with the system contacts, calendars, etc. The only problem is that there’s very little documentati...

2010-10-27 17:15:43 106

原创 我的毕业综合症

最近听到的消息有点多,FOR EXAMPLE,XX获得 UNIVERSITY XXX 的 OFFER (XXX可以替代 Cambridge,Oxford,OR Stanford etc..),ORXX的PHD获批,一年XXXXX欧元研究经费,还不用交学费,ORXX雅思6+、7+,GRE 1400+……P.S:暂时没有听见XX被Microsof...

2010-06-20 02:29:30 136

原创 Hibernate 一对一实践

最近做的一个工程要用到hibernate的一对一关联,比如论坛的一个主题对应一个作者。  hibernate的一对一关系有两种形式,一种是共享主键方式,另一种是惟一外键方式,因为这里用到的是在主题表里与作者表之间的对应关系,所以介绍的是惟一外键方式的一以一关联。  由于网上很多教程都说得不清楚,给出的实例不能正确运行,所以写下这份笔记,以便以后查询,并与大家分享,如有不对的地方请指正。...

2010-02-09 20:51:04 98

原创 Android开发中如何执行POST请求

上篇文章我简单描述了在Android开发中如何发送一个Get请求,这篇文章我们探讨下在Android开发中如何执行一个Post请求。首先我们先了解下Get请求和Post请求的区别:表单提交中get和post方式的区别有5点 1.get是从服务器上获取数据,post是向服务器传送数据。 2.get是把参数数据队列加到提交表单的ACTION属性所指的URL中,值和表单内各个字段...

2010-01-29 23:15:37 114

原创 Android如何发送Get请求

[code="java"]*URL可以随意改*/ String uriAPI = "http://192.168.1.100:8080/test/test.jsp?u=wangyi&p=456"; /*建立HTTP Get对象*/ HttpGet httpRequest = new HttpGet(uriAPI); t...

2010-01-29 23:14:19 85

原创 Java核心API需要掌握的程度

Java的核心API是非常庞大的,这给开发者来说带来了很大的方便,经常人有评论,java让程序员变傻。但是一些内容我认为是必须掌握的,否则不可以熟练运用java,也不会使用就很难办了。1、java.lang包下的80%以上的类的功能的灵活运用。2、java.util包下的80%以上的类的灵活运用,特别是集合类体系、正规表达式、时间、属性、和Timer.3、java....

2009-08-15 07:23:56 70

基于OSGi的搜索程序实现

最近很多人问我在Ericsson搞点什么,说实话,什么都没有搞就是在看书。实习2周就见了BOSS三面,除了第一天的介绍,然后一次是告诉我们换桌子,最后一次是来看看我们坐在哪里。。。我们就这样从Ericsso白拿了400+。。不过BOSS还是吩咐了点学的东西,那就是OSGi,OSGi到底是什么大家可以Google一下。简单的来说就是一个FRAMEWORK,其最大的特点就是提供了软件模块的动态...

2009-07-24 02:23:52 79

原创 Enterprise OSGi Is Not Bloated OSGi

I’ve been watching with interest the work of the OSGi Enterprise Expert Group (EEG). It’s been a slow process, as any standardisation effort should be, but they now appear to be on the home straig...

2009-07-24 02:20:17 111

请大家帮忙修改下我的简历

姓名 **** 性别 男 Email ***** 手机 *******出生日期 1986-12 学历 本科工作年限 在读学生 居住地 澳大利亚目前年薪 2万以下 原籍 柳州求职意向 程序员 职位 自 我 评 价对计算机科学有着浓厚的兴趣,工作努力认真,曾经在Ericsson,Ireland实习半年,负责软件项目的持续集成,熟悉...

2009-07-21 22:22:03 174

原创 Getting Started with OSGi: Declarative Services and Dependencies

Welcome back to the EclipseZone "Getting Started with OSGi" tutorial series. Before getting into today's lesson I'd like to remind you that you can find links to all the previous parts of the tutorial...

2009-07-20 21:14:51 135

原创 Getting Started with OSGi: Introducing Declarative Services

Welcome to the much-delayed next installment of the "Getting Started with OSGi" series. This installment is quite exciting, because we're going to start experimenting with Declarative Services.The...

2009-07-20 21:12:35 106

原创 Getting Started with OSGi: Dynamic Service Tracking

Welcome back to the EclipseZone OSGi mini series.Last time we looked at how to consume a service, using a scenario inspired by Martin Fowler: a MovieLister depends on a MovieFinder to search for m...

2009-07-20 21:11:05 216

原创 Getting Started with OSGi: Consuming a Service

In our last part we looked at how to register a service. Now we need to work out how to lookup and use that service from another bundle.We will put the problem in the context of our requirements, ...

2009-07-20 21:09:17 101

原创 Getting Started with OSGi: Registering a Service

Welcome back to the EclipseZone OSGi mini-series. Finally, we're ready to get on to services. In my opinion, the service layer is the most exciting part of OSGi, so these next few installments should ...

2009-07-20 21:07:47 101

原创 Getting Started with OSGi: Dependencies between Bundles

In our previous tutorial installments, we looked at how bundles can be started and stopped, and how they can interact with the framework and each other's lifecycle. But what are bundles really for?...

2009-07-20 20:53:26 101

原创 Getting started with OSGi: Interacting with the Framework

Welcome back to the EclipseZone OSGi tutorial series.Last time we looked at a simple Hello World bundle that printed a message when starting and stopping. It did that by implementing the BundleAct...

2009-07-20 20:49:51 85

原创 Getting started with OSGi: Your first bundle

Over the next week or two, EclipseZone will be running a series of short posts on OSGi. Taken together they should form a smooth path into mastering the art of OSGi programming, but each post will int...

2009-07-20 20:48:02 123

Hudson 插件开发 (Part 3: 插件结构解读 Ⅱ)

最近公司的CI服务器挂了,我们学校的老师又要来视察,都没有时间更新博客。SORRY。。。。好了,现在我们继续。在上篇文章里,讲解了Hudson插件中JAVA类的内容,在这篇文章里讲讲解RESOURCES里的相关内容。如果你想在Hudson的控制台,或者项目配置页面里赋予你的插件一些参数,或者在project或者build页面里现实点什么,那么你就需要写一个jelly脚本并将...

2009-07-15 17:16:12 109

原创 算法的时间复杂度

定义:如果一个问题的规模是n,解这一问题的某一算法所需要的时间为T(n),它是n的某一函数 T(n)称为这一算法的“时间复杂性”。当输入量n逐渐加大时,时间复杂性的极限情形称为算法的“渐近时间复杂性”。我们常用大O表示法表示时间复杂性,注意它是某一个算法的时间复杂性。大O表示只是说有上界,由定义如果f(n)=O(n),那显然成立f(n)=O(n^2),它给你一个上界,但并不是上确界...

2009-07-09 07:31:06 78

原创 Java中的return语句使用总结

Java中的return语句总是和方法有密切关系,return语句总是用在方法中,有两个作用,一个是返回方法指定类型的值(这个值总是确定的),一个是结束方法的执行(仅仅一个return语句)。在return语句的各类文章中,大多仅仅介绍了return语句用于有返回值(非void返回值)的方法中。而很少或没有介绍return语句在vodi返回值方法中的运用。return语句用在非void返回...

2009-07-09 07:22:26 160

Hudson 插件开发 (Part 2: 插件结构解读 I )

经过前一篇文章的步骤,在我们的指定目录下已经生成了一个Hudson 插件的项目文件夹。在Eclipse中导入这个项目,我们可以看见项目有如下的结构:+ src + main + java + full.package.name +- HelloWorldBuilder.java ...

2009-07-08 00:43:20 95

Hudson 插件开发(Part 1:准备工作)

持续集成(CI)是将多个团队成员贡献的代码频繁持续的构建并给与反馈,而不必将寻找和修复缺陷的过程放在开发后期。在典型的持续集成周期中,代码首先被周期性的从版本控制服务器(如CVS或Subversion)中更新下来,随后调用自动化编译脚本(如Ant或Maven)编译,并运行所有测试用例,给出结果分析的报告。java.net上的开源工具Hudson便是一款优秀的持续集成工具,目前的发展速度很快...

2009-07-01 21:57:40 107

Hudson 插件啊

昨天在公司接到了个任务,为公司的CI服务器Hudson开发个插件,相关的资料太少了,官方的说明文档又相当繁杂,哎,努力吧

2009-07-01 18:16:50 115

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除