- 浏览: 143865 次
- 性别:
- 来自: ZhuHai
最新评论
-
ahack:
http://maven.springframework.or ...
下载最新的 Spring -
muzibaishui2006:
用的挺方便的,十分感谢!
SWT组件Table 的排序 -
shinmeei:
我也遇到這問題.
參考這網頁, 解決了.
http://sta ...
SVN: RA layer request failed -
makemyownlife:
您好 ,和您讨论一个问题 ,在spring 和jms结合里 我 ...
Spring JMS CLIENT_ACKNOWLEDGE -
caiw0418:
试试看。谢谢
Unable to load default SVN client
文章列表
Compile Flex source(.mxml) to SWF
1) Create project
mvn archetype:create -DarchetypeArtifactId=maven-archetype-flex -DarchetypeVersion=1.0 -DarchetypeGroupId=dk.jacobve.maven.archetypes -DgroupId=multiModuleProjectId -DartifactId=multiModuleProjectArtifactIdFlex -DpackageName=com.zero.demo.flex
2) ...
version: Jboss-4.2.0.GA
1. 配置 Queue 和 Topic
1) 在这个文件里面配置
jboss-4.2.0.GA\server\default\deploy\jms\jbossmq-destinations-service.xml
2) 或者在目录 jboss-4.2.0.GA\server\default\deploy\jms\ 下 建立单独的配置文件*-service.xml
<?xml version="1.0" encoding="UTF-8"?>
<server>
...
- 2009-03-11 17:44
- 浏览 3720
- 评论(0)
public class Singleton {
private static class SingletonHolder {
static Singleton instance = new Singleton();
}
public static Singleton getInstance() {
return SingletonHolder.instance;
}
private Singleton() {
}
}
- 2009-03-10 21:41
- 浏览 859
- 评论(0)
@MappedSuperclass
@EntityListeners( { PersistenceObjectListener.class })
public abstract class AbstractPersistenceObject implements PersistenceObject {
private Timestamp version;
private String createdBy;
private String updatedBy;
@Column(name = "CREATED_BY", length ...
- 2009-03-10 21:36
- 浏览 2159
- 评论(0)
CREATE TABLE FATHER (
ID CHAR(32) NOT NULL,
NAME CHAR(32) NOT NULL,
PRIMARY KEY(id)
)
CREATE TABLE SON (
ID CHAR(32) NOT NULL,
NAME CHAR(32) NOT NULL,
FATHER_ID CHAR(32) NOT NULL,
PRIMARY KEY(id)
)
ALTER TABLE SON ADD ...
- 2009-03-10 21:12
- 浏览 859
- 评论(0)
1)
@Entity
@Table(name = "UT_PARENT")
public class ParentObject {
private int id;
private String value;
private Set<ChildObject> children;
@Id
@GeneratedValue(strategy = GenerationType.AUTO)
@Column(name = "ID", precision = 19, scale = 0)
...
- 2009-03-10 21:07
- 浏览 2935
- 评论(1)
Create Eclipse project
mvn eclipse:eclipse
cd/d F:\downloads\spring-framework-2.5.6\dist\modules
set SpringVersion=2.5.6
mvn install:install-file -DgroupId=org.springframework -DartifactId=spring-core -Dversion=%SpringVersion% -Dpackaging=jar -Dfile=spring-core.jar
mvn install:install-file -Dgro ...
- 2009-03-08 16:08
- 浏览 1253
- 评论(0)
1) Maven
http://m2eclipse.codehaus.org/
Update site: http://m2eclipse.sonatype.org/update/
2) Subversion
http://subclipse.tigris.org/
Update site: http://subclipse.tigris.org/update_1.4.x
- 2009-03-08 11:31
- 浏览 959
- 评论(0)
Create OSGi environment outside Eclipse.
------------------------------------------------------------------------------
1) Create folder and files:
C:\equinox
│ run.bat
│
├─configuration
│ config.ini
│
└─plugins
org.eclipse.osgi.services_3.1.200.v20070605.jar
org.eclips ...
- 2009-01-09 01:11
- 浏览 2017
- 评论(0)
JavaScript 未结束的字符串常量
做JavaScript的时候,发现老是出现错误:“未结束的字符串常量”.
自己找了下应该是传参数的时候,有特殊字符引起的.
网上也找了下,也有好多出现这种情况.做下总结,以方便以后查阅.
1.JAVASCRIPT引用时,使用的字符语言不一致.
比如:<script type=”text/javascript” src=”xxx.js” charset=”UTF-8″>.
xxx.js文件内部使用的是GB2312的格式,外面调用使用的是UTF-8,所以文件内部部分特殊字符因为格式不一致,出现乱码,造成此原因.
改为charset=&quo ...
- 2008-12-27 23:17
- 浏览 5404
- 评论(0)
Features:
modularity
dynamic,” Plug and Play”
extensionable
these features are supported by OSGI, the meaning is that you don’t need realize those features yourself, what you need do is just use it
What is OSGi
Dynamic Module System For Java
JSR232, JSR291
Universal Middl ...
- 2008-12-26 11:42
- 浏览 1600
- 评论(0)
软件DIY
http://bbs.imseb.cn/forum-8-1.html
http://www.javafaq.nu
- 2008-12-24 20:53
- 浏览 813
- 评论(0)
在 Eclipse 3.4(Gandymede) 里面安装 Subclipse 时出错:
Unable to load default SVN client.
解决办法:
安装时,选择下面2项:
JavaHL Adapter
Subclipse
用Spring 的 JmsTemplate 来接收消息时, 按照其文档:
/*
Default settings for JMS Sessions are "not transacted" and "auto-acknowledge". As defined by the J2EE specification, the transaction and acknowledgement parameters are ignored when a JMS Session is created inside ...
/**
* Add a new Row when click on the blank row of the table
*/
void addNewRow(MouseEvent e, Table mTable) {
TableItem item = mTable.getItem(new Point(e.x, e.y));
if (item == null) {
if (mTable.getItemCount() == 0) {
item = new TableItem(mTable, SWT.NONE);
...
- 2008-08-21 15:26
- 浏览 1254
- 评论(0)