`
classtwo5367
  • 浏览: 37506 次
  • 性别: Icon_minigender_1
  • 来自: Cork
最近访客 更多访客>>
社区版块
存档分类
最新评论
文章列表
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 documentation on how it all fits together. And worse, if you mess up in certain places, the Android system will ...
最近听到的消息有点多, FOR EXAMPLE, XX获得 UNIVERSITY XXX 的 OFFER (XXX可以替代 Cambridge,Oxford,OR Stanford etc..), OR XX的PHD获批,一年XXXXX欧元研究经费,还不用交学费, OR XX雅思6+、7+,GRE 1400+…… P.S:暂时没有听见XX被Microsoft, Google, Ericsson, IBM, Oracle录取,不然我彻底崩溃 然后我就开始质疑我的选择是否正确,并纠结着是否给Dan发个邮件问他能不能赏个PHD我读读,最后开始感叹同样是人,怎么差距就那么大。 我开始担 ...
最近做的一个工程要用到hibernate的一对一关联,比如论坛的一个主题对应一个作者。   hibernate的一对一关系有两种形式,一种是共享主键方式,另一种是惟一外键方式,因为这里用到的是在主题表里与作者表之间的对应关系,所以介绍的是惟一外键方式的一以一关联。   由于网上很多教程都说得不清楚,给出的实例不能正确运行,所以写下这份笔记,以便以后查询,并与大家分享,如有不对的地方请指正。   本测试使用mysql数据库,eclipse2.1平台,使用tanghan插件生成hbm文件。   1、新建数据库表如下:    CREATE TABLE `author` (    `id` int(1 ...
上篇文章我简单描述了在Android开发中如何发送一个Get请求,这篇文章我们探讨下在Android开发中如何执行一个Post请求。 首先我们先了解下Get请求和Post请求的区别: 表单提交中get和post方式的区别有5点 1.get是从服务器上获取数据,post是向服务器传送数据。 2.get是把参数数据队列加到提交表单的ACTION属性所指的URL中,值和表单内各个字段一一对应,在URL中可以看到。post是通过HTTPpost机制,将表单内各个字段与其内容放置在HTML HEADER内一起传送到ACTION属性所指的URL地址。用户看不到这个过程。 3.对于get方式,服务器 ...
*URL可以随意改*/ String uriAPI = "http://192.168.1.100:8080/test/test.jsp?u=wangyi&p=456"; /*建立HTTP Get对象*/ HttpGet httpRequest = new HttpGet(uriAPI); try { /*发送请求并等待响应*/ HttpResponse httpResponse = new DefaultHttpClien ...
Java的核心API是非常庞大的,这给开发者来说带来了很大的方便,经常人有评论,java让程序员变傻。 但是一些内容我认为是必须掌握的,否则不可以熟练运用java,也不会使用就很难办了。 1、java.lang包下的80%以上的类的功能的灵活运用。 2、java.util包下的80%以上的类的灵活运用,特别是集合类体系、正规表达式、时间、属性、和Timer. 3、java.io包下的60%以上的类的使用,理解IO体系的基于管道模型的设计思路以及常用IO类的特性和使用场合。 4、java.math包下的100%的内容。 5、java.net包下的60%以上的内容,对各个类的功能比较熟悉 ...
最近很多人问我在Ericsson搞点什么,说实话,什么都没有搞就是在看书。实习2周就见了BOSS三面,除了第一天的介绍,然后一次是告诉我们换桌子,最后一次是来看看我们坐在哪里。。。我们就这样从Ericsso白拿了400+。。 不过BOSS还是吩咐了点学的东西,那就是OSGi,OSGi到底是什么大家可以Google一下。简单的来说就是一个FRAMEWORK,其最大的特点就是提供了软件模块的动态加载,各模块通过接口向外提供服务,所以说OSGi也是一个面向服务的程序构架。 可以说OSGi是很优秀的,但是国内基本没有什么有用的教程(OSGi已经诞生10年了,可见国内的技术落后别人多少)。 下 ...
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 straight and have started releasing deliverables. For example, there is an implementation of the Distributed O ...
姓名  **** 性别  男  Email ***** 手机 ******* 出生日期 1986-12 学历 本科 工作年限 在读学生 居住地 澳大利亚 目前年薪 2万以下 原籍 柳州 求职意向 程序员 职位 自 我 评 价 对计算机科学有着浓厚的兴趣,工作努力认真,曾经在Ericsson,Ireland实习半年,负责软件项目的持续集成,熟悉相应的持续集成工具. 掌握Java编程语言,熟悉Struts、Hibernate框架,并对OSGi有一定研究。 工 作 经 验 2007/04-2007/9 :Ericsson,Ireland 所属行业: 计算机软 ...
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 on the contents page  on my personal blog. Last time we took our first look at Declarativ ...
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 Declarative Services (or "DS") specification is one of the newest parts of OSGi, a ...
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 movies directed by a specified director. We looked also at strategies for dealing with the dynamic natur ...
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, which as before are inspired by Martin Fowler's paper on dependency injection. We have built a MovieFin ...
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 be fun. Last time we looked at the example of a MovieFinder interface, which we said would be used b ...
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? Bundles are modules. They allow us to split apart our monolithic projects into manageable pieces which ...
Global site tag (gtag.js) - Google Analytics