(7)EJB3.0 EJB开发消息驱动bean JMS 一:Java消息服务(Java Message Service) 二:jms中的消息 消息传递系统的中心就是消息。一条 Message 由三个部分组成: 头(header),属性(property)和主体(body)。消息有下面几种类...
分类:
其他好文 时间:
2014-07-22 22:52:13
阅读次数:
357
Jzzhu has invented a kind of sequences, they meet the following property:
You are given x and y,
please calculate fn modulo 1000000007 (109?+?7).
Input
The first line contains two int...
分类:
其他好文 时间:
2014-07-22 22:49:33
阅读次数:
296
Jzzhu has invented a kind of sequences, they meet the following property:
You are given x and
y, please calculate fn modulo
1000000007 (109?+?7).
Input
The first line contains two integers...
分类:
其他好文 时间:
2014-07-20 10:43:17
阅读次数:
213
Target-Action传值
实质就是:A页面要给B页面传值,A就提供接口出去,抓A到B内部来,A间接调用自己内部方法(相当于,A把自己内部需 要操作的方法,传到B内来,到B内部进行赋值,这样就不存在访问不到各自的局部实例变量)
@property (nonatomic,assign)id traget; @property (nonatomic,assign)SEL action;
[self.traget performSelecto...
分类:
其他好文 时间:
2014-07-19 23:28:19
阅读次数:
281
atitit.提升开发效率---MDA 软件开发方式的革命(4)----编辑表单建模
1. 建模语言的选型anno+html...不是uml 1
2. 指定显示模板 @BeanEditForm(tmplt="c:/edit.html") 1
3. 配置属性的@Property(lable=”xxx”)显示 2
4. 配置属性的显示控件方式@DataType(value=DataTyp...
分类:
其他好文 时间:
2014-07-19 23:26:38
阅读次数:
288
常用属性name:映射类属性的名字column:对应数据库表的字段名 默认值为属性名 type:字段的类型 update:update操作时是否包含本字段的数据 默认值为true (设置为false则hibernate执行update语句时会把这个字段忽略)insert:insert操作时是...
分类:
系统相关 时间:
2014-07-19 18:32:41
阅读次数:
270
类1.合成存取器方法@property 成员变量@synthesize 成员变量可以让编译器自动合成 设置和获取函数的方法,不用手动生成set成员变量,Get成员变量@interface Complex : NSObject{ int iReal,iImag;}@property int iReal...
分类:
其他好文 时间:
2014-07-19 15:08:15
阅读次数:
224
使用缩写可以帮助减少你CSS文件的大小,更加容易阅读。css缩写的主要规则如下: 颜色 16进制的色彩值,如果每两位的值相同,可以缩写一半,例如:#000000可以缩写为#000;#336699可以缩写为#369; 盒尺寸 通常有下面四种书写方法: property:value1; 表...
分类:
Web程序 时间:
2014-07-18 15:35:11
阅读次数:
236
```objc#import "ViewController.h"@interface ViewController ()@property (weak, nonatomic) IBOutlet UIActivityIndicatorView *action;@end@implementation ...
分类:
其他好文 时间:
2014-07-18 14:26:27
阅读次数:
247
http://yzxqml.iteye.com/blog/1761540————————————————————————————————————————————————————————————————————————————————Log4j是Apache的一个开放源代码项目,通过使用Log4j,我...
分类:
移动开发 时间:
2014-07-18 09:02:20
阅读次数:
277