`
文章列表
1. The repository XML Descriptor     在POM文件组中指定打包部署后的Bundle所存放的本地仓库:           <plugin>                 <groupId>org.apache.felix</groupId>                 <artifactId>maven-bundle-plugin</artifactId>                 <version>2.3.4</version> ...
1.  设计: 三层架构      1.1 The data inventory tier       主要功能:进行CRUD(Creat - Retrive - Update - Delete)操作。      1.2 The business loigic tier      1.3 The user interaction tier(Presentation Tier) 2.  开发The Book Inventory Bundle 3.  附件为在Eclipse3.7.0下调试成功的Bundel:com.packtpub.felix.bookshelf-inventory-a ...
1. 使用Archatype生成项目骨架     mvn archetype:generate -DgroupId=com.targsoft.oa -DartifactId=Simple          -DpackageName=com.targsoft.oa.example -Dversion=1.0.0     说明:     (1)Maven3下:使用mvn archetype:generate     (2)Mavne2下:使用mvn org.apache.plugins:mavn-archetype-plugin:2.2.1:generate     使用插件的标 ...
1. Maven 安装     (1) Windows下的安装     首先验证JDK是否安装及Path,ClassPath路径是否正确;     设置M2_HOME环境变量:M2_HOME=C:\Apache-maven-3.0.3;     设置Path环境变量:Path=%M@_HOME%\bin;     解压命令:     C:\>jar xvf "C:\D ...
1. Maven定义     Maven是一个项目管理工具,它包含了一个项目对象模型(POM)、一组标准集合、一个项目生命周期、一个依     赖管理系统;以及用来运行定义在生命周期阶段中插件(plugin)的目标(goal)的逻辑;主要服务 ...
    基于Eclipse的SCA Tools是STP的一个子工程,具体的STP工程可查看官方网站: 1. 安装     http://www.eclipse.org/soa/sca/index.php     (1) org.eclipse.stp.sca-tools-2.2.0.20111204190354插件下载地址:     http://build.eclipse.org/soa/sca/     或者从Eclipse的Instal New Software中安装:     http://build.eclipse.org/soa/sca/2.2.0.20111204190 ...
1.  创建Felix启动Bat:      讲Felix解压完毕后,新建Felix.bat文件,用notepad++打开,输入下面内容:      cd D:\Felix\org.apache.felix.main.distribution-3.2.2\felix-framework-3.2.2      java -jar bin/felix.jar 2.  Eclipse环境下开发Felix Bundle      注:这部分内容乃参照http://felix.apache.org/site/integrating-felix-with-eclipse.h ...
Eclipse安装Maven插件后,Eclipse启动问题:Maven Integration for Eclipse JDK Warning。 解决方法: 1. 设置Eclipse使用的JRE为本机安装的JDK目录:     1.1 在eclipse.ini中添加两行     -vm     C:\Program Files\Java\jdk1.6.0_10\bin\javaw.exe     注意: 要写在两行,写在一行不能生效;这两行要定在-vmargs之前,不然也不能生效。     1.2  或设置Eclipse--Windows--Preferences--Java ...
当在同一台机器上运行两个JBOSS实例的时候,则需要修改在以下端口号: 1. default\conf\jboss-service.xml中的1098,1099,4444,4445,8083:     ===> line : 191 --<attribute name="RmiPort">1098</attribute>                       <attribute name="RmiPort">59200</attribute>       ===> l ...
分两种情况: 1.  表中没有数据:    alter table 表名 modify (字段名 类型)      eg:alter table student (id number(4)); 2.  表中有数据    /*修改原字段名*/    ALTER TABLE 表名 RENAME COLUMN 字段名 TO 字段名1;    /*添加一个和原字段同名的字段*/    ALTER TABLE 表名 ADD 字段名 VARCHAR2(30);    /*   将原来的数据更新到新字段中   这是要注意,一定要显示进行数据类型转换(不同于MSSQ ...
原因: 出现这个问题,可能有人move过表,或者disable 过索引。 1. alter table xxxxxx move tablespace xxxxxxx 命令后,索引就会失效。 2. alter index index_name  unusable,命令使索引失效。 解决办法: 1. 重建索引才是解决这类问题的完全的方法。      alter index index_name rebuild (online);      或者alter index index_name rebuild; 2. 如果是分区索引只需要重建那个失效的分区 。      ...
Global site tag (gtag.js) - Google Analytics