自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(68)
  • 收藏
  • 关注

JBoss系列专题

我在CSDN上面写了一些JBoss技术博客,欢迎大家光临指正,我将列表更新如下:JBoss 7/WildFly 配置管理,开发示例,架构分析,最佳实践数据网格,分布式缓存,No-SQL数据库,Key/Value数据存储jBPM 工作流应用开发指南...

2013-10-06 22:18:20 147

Java Nio Usage Demo & A example of use selectableChannel

Primary purpose of this blog is to use http://kylinsoong.iteye.com/blog/1250681 Listed API, complete a demo application: this application has two part, one is the Server, the other is Client, Client s...

2011-12-06 21:42:30 166

JDK Source Code & java.nio

java.nio is very useful and a pretty good supplement for java.io, today's series I will exploring java.nio key interface and class in below figures: Channel: A channel represents an open connection ...

2011-11-10 23:26:19 179

Oracle - Add Exist Validation Before Create Table

Usually we need to check the table is exist or not before create a new table, In Mysql database, that's very easy, 'cause mysql default sql statement support exist check, But in Oracle it's quite comp...

2011-11-07 13:49:00 122

JDK Source Code & java.rmi.server.RMISocketFactory

Today's Source code analysing series I will dive into java.rmi.server.RMISocketFactory, First the UML Diagram: This Diagram containing 1 abstract Class: RMISocketFactory, and 3 Interface: RMIClientS...

2011-10-31 23:14:25 147

Oracle - An Managing Lob examples

I met a request: I need to read files from Computer File System and insert this readed files into Oracle database as Clob, and need to complete this through PL/SQL only.To describ this request more ...

2011-10-30 17:28:23 114

JMX Architecture & "Hello Word" the JMX way

JMX Architecture Overview:JMX technology provides a standard API for management and monitoring of resources. As http://kylinsoong.iteye.com/admin/blogs/794995  Part 3 depicted, the JMX architecture ...

2011-10-25 20:07:02 108

PL/SQL Studing Notes

      As an extension of native sql, PL/SQL has Procedural Language features of programming languages. like block structures what it consists of blocks of code, can be nested within each other, can be...

2011-10-20 21:48:04 98

一组Linux命令

今天做测试发现Oracle服务器磁盘使用率达到100%导致Oracle Server 不能够正常运行,花了好久时间最后请教Linux高手清理了出了100GB的空间,下面列出用到的一些Linux Command, as Following:1. Use 'df' to check file system disk usagedf -kdf -l the outputs:Files...

2011-09-29 13:09:32 89

Thinking in JDBC

This blog will beas on a series of examples to account for each viewpoint which will list below.I. Overview of JDBC      JDBC defines how a Java program can communicate with a database. JDBC API p...

2011-09-22 20:56:03 104

Jboss-eap-5.1 Messaging

This section I will concertate on the difference of messaging mechenism with old platform Jboss.1. Queue Test      Firstly, deploy a Queue on EAP-5.1 Jboss, create 'homeTest-service.xml' file unde...

2011-08-02 21:50:26 95

Jboss-eap-5.1 starting up note

Jboss enterprise platform 5 have some big change compared with platform 4(Jboss-eap-4.3), to explore this changes, so we started our Jboss-eap-5.1 studying, this section we just point to platform 5's ...

2011-07-26 22:46:55 203

Oracle Reference Exception Gallery

The Following Exception is really Frequency When we Using Oracle.1. ORA-02292: integrity constraint (IPCUSER.STUDENT_STUDENTCARD_FK) violated - child record found      If you delete a row from a t...

2011-07-05 22:28:18 106

SQL Studying Note I - Join

 SQL Join      SQL Join are used very frequently to query data from 2 or more tables, base on the relationship between certain columns in these tables.      Tables in a certain database are offen ...

2011-07-02 10:28:20 89

Customized Utility 2: JarClassSearcher

      In some occasion we offen need to know a Class belongs to which jar in lots of jars, for example: if we want to know org.jboss.security.SecurityAssociation refered jar under JBOSS_HOME, we all k...

2011-05-22 11:25:28 115

EJB Security & JAAS Demo

PROLOGUE:      When deploying enterprise application like EJB on some enterprise-based container, we also need to bound lots of important busniss resource with our application. Important means criti...

2011-05-21 19:39:00 88

Customized Utility 1: FileChangeMonitor

      When we are in software developing we usually need to do some very simple things manually, for instance, we offen need to check the files under a directory is added or deleted. especially when y...

2011-05-20 22:57:12 144

JBoss LoginInitialContext Factory Implementation

      Jboss has a series of implementation of InitialContext Factory, but  this blog only concentrated on org.jboss.security.jndi.LoginInitialContextFactory, and I was planned to prestent this issue a...

2011-05-15 16:05:40 251

Crazy Programmer Homework One: Apache Xalan Studying

      Crazy Programmer Homework will be released as a series what i had planed, today i will pull the first term:Crazy Programmer Homework One, and the Two, Three... will coming sooner      Today's ...

2011-05-08 19:34:38 129

Jboss Reference Exception Gallery

1. Unable to locate a login configuration        If you missing the auth.conf file which holding the client side JAAS configuration, you will accepte this Exception:(Only be used to invoke Remote In...

2011-04-27 14:08:29 120

大家说说BBC的网站用的是什么技术做的

最近在英国出差,发现这里的一些网站做的相当有特色,有些网站不是什么华丽,但给人感觉很舒服,如BBChttp://www.bbc.co.uk/大家说说这个网站前台用的是什么技术?...

2011-02-22 05:01:53 149

Hibernate OneToMany 单向和双向配置对数据存取性能的比较

1. 开篇说明:今天是春节长假的最后一天,春节过后博客将继续,这篇博客主要用来总结年前的研究结果,研究的主要Hibernate OneToMany 单向和双向配置对数据存取性能的问题。本文按照我测试实验的过程,最后得出结论。 2. 本文实验是基于之前博客EJB 学习阶段总结:JBoss下发布一个Toy企业应用,在此工程基础上,在实体中添加一对独立的一对多关系如下图: 如上图Man和Love...

2011-02-08 17:06:23 357

XSLT学习总结

从一组定义开始:XSL:指扩展样式表语言(EXtensible Stylesheet Language)。XSL 可描述如何来显示 XML 文档,当然万维网联盟 (W3C) 发展XSL 的原因就是存在着对于基于 XML 的样式表语言的需求。XSLT:指 XSL 转换(XSL Transformations)。 XSLT 用于将一种 XML 文档转换为另外一种 XML 文档,或者可被浏览...

2011-01-09 20:39:18 102

对Hibernate属性(CascadeType、JoinColumn、JoinTable、ForeignKey等)的研究

本文列出几个“EJB 学习阶段总结:JBoss下发布一个Toy企业应用”开发测试过程中遇到的几个问题。1. Hibernate 懒加载有一定局限性:EJB远程调运时Hibernate懒加载Session失效通过实例说明:给Entity类中添加Transformer类,Transformer与UserCard存在一对一的单向关联,如下:@Entity(name="Transformer"...

2010-12-26 15:45:44 313

EJB 学习阶段总结:JBoss下发布一个Toy企业应用

   解释题目:为什么叫Toy企业应用,因为接下来全文将要描述的应用(home-test-all.ear)没有任何实际应用价值,之所以发布他,只是为了应用EJB相关技术;解释企业应用:      一个企业应用是指按照JavaEE标准开发出来比较大型的企业级应用;      一般这样的应用以.ear结尾命名,可以运行在任何JavaEE容器中;      一般一个应用中包括很多...

2010-12-25 12:11:32 160

EJB7: Message Driven Bean

在企业系统中需要使用消息传递,在企业系统中使用消息传递需要满足下面几个条件:1 调用必须是支持异步的;2 调用必须是可靠的;3 调用可以支持有多个调用者和多个接受;为什么消息传递在企业调运中能够满足上面三点要求?如下图: 消息中间件,它类似于一个在发送者和接收者的中间缓存机制,发送调用请求和接收可以异步的工作,发送方发完消息就可以继续忙着执行自己的程序,并且不必等待消息的接受者完成...

2010-12-21 22:42:40 81

Windows批处理脚步实例-创建Oracle数据库用户并向该用户添加数据

Windows批处理使用方便、灵活,功能强大,自动化程度高,特别是在项目测试阶段,利用批处理脚步可以方便搭建测试环境或启动单元测试等,本文分三部分:简单介绍批处理用法、一个简单例子(拷贝、删除文件)、一个较复杂例子(向Oracle数据库创建用户, 给创建的用户分配权限, 给创建的用户创建新表并添加数据)。1 简单用法:echo打开回显或关闭请求回显功能,或显示消息。如果没有任...

2010-12-11 09:25:01 162

EJB6: EntityBean例子

      本例子描述向EJB容器(JBoss)部署http://kylinsoong.iteye.com/blog/824676中描述的例子的全过程,链接博客中描述的例子包含7个实体:User、Event、Friend、Property、Pet、UserCard、Wife,其中:User和Event,User和Friend,Event和Property,Wife和Pet,Pet和Property...

2010-11-26 14:48:23 122

JPA dev: 几个问题总结(续)

2. 如何由PoJo类生成数据库中的表首先可以根据实体间关系及对应关系设计表,写出相应建表SQL语句,执行生成表,或者可以用hibernate映射来生成表,在http://kylinsoong.iteye.com/admin/blogs/739502一开始说明怎样通过hibernate mapping生成表;我们例子生成表如下图所示:  共生成11张表,7个实体对应7张表及5个一对多关...

2010-11-25 18:02:18 105

JPA dev: 几个问题总结

最近工作中遇到几个与JPA相关的问题,本文通过一个例子总结一下这些问题。1 给出一个例子:如下图表式Persistent Context中所有实体的关系图: 从图中可以看到:所有实体间对应关系都是单向的;User和Event,User和Friend,Event和Property,Wife和Pet,Pet和Property关系为一对多关系;User和UserCard,Frie...

2010-11-25 16:56:21 127

EJB5: JPA扩展-J2SE环境下使用EntityManager

      好久没有写博客了,最近比较忙,今天抽时间写点,最近的工作都是围绕EJB及JBoss的,所以这篇博客还是EJB相关。我们知道EJB环境下Session Bean(两种状态)中可以直接使用EntityManager,使用时只需对EntityManager加一个Annotation(EJB 3)即可,如下:@PersistenceContext(unitName="com.xxx.x...

2010-11-10 19:07:43 102

EJB4:RMI和RMI-IIOP

计划提纲:引入→RMI概念→RMI HelloWorld程序→RMI-IIOP→RMI-IIOP HelloWorld程序Part One:引入从一幅图开始: 上图说明的是client端程序访问远程服务器上EJB的详细流程,这里我主要要关注的是底层实现技术RMI-IIOP,同样EJB3: JBOSS 企业版、JBOSS服务器构架、EJB2.0 HelloWrold实例中第四部分...

2010-11-02 21:14:39 287

EJB3: JBOSS 企业版、JBOSS服务器构架、EJB2.0 HelloWrold实例

本文的研究基于jboss-eap-4.3,一开始解决一个问题,接下来实验jboss-eap-4.3的一些简单属性。1. 解决一个简单问题问题如上一篇博客描述:jboss-eap-4.3启动时停滞在Configuring from URL: resource:jboss-log4j.xml ,详细描述可以参见链接http://kylinsoong.iteye.com/blog/793215;...

2010-10-26 22:43:13 124

jboss-eap-4.3 启动停止在Configuring from URL: resource:jboss-log4j.xml 问题

如题,我改用jboss-eap-4.3, 启动时停止在Configuring from URL: resource:jboss-log4j.xml ,如下为Command line 输出日志:=============================================================================== JBoss Bootstrap E...

2010-10-25 14:49:24 464

EJB Dev2: Ant JNDI JMS

      说三个方面问题:Ant的使用(对Dev1的补充)写一个例子:如何将一个项目打包发送到指定位置,JNDI和JMS是理解EJB非常重要的两个方面。本文所有例子是基于JBoss5.1,JBoss5.1安装及Home变量的配置,参见我的上篇博客EJB Dev1。1. Ant Ant的官方定义:"Ant is a Java library and command-line tool....

2010-10-18 09:03:37 98

EJB Dev 1: EJB入门例子

关键字:EJB ANT JBoss 入门实例说明:本文从一个实例说明EJB的基本理念1. 简单说一下EJB概念引用几句比较官方的话来定义EJB    "EJB(Enterprise JavaBeans) is a server-side component framework that simplifies the process of building enterprise-cl...

2010-10-13 22:47:03 89

Oracle starting up 5: Oracle 10g在WINDOWS服务中有5个Oracle服务项及解决与服务项相关的几个问题...

在Windows下安装Oracle 10g,安装完后在WINDOWS服务中有5个服务项,如下图:  下面对这5个服务项做一分析:      1. OracleDBConsoleorcl 服务是启动em的,如果OracleDBConsoleorcl不能启动,oracle的em将无法使用。启动服务项OracleDBConsoleorcl实际上是要运行prel.exe程序,prel.exe程序位...

2010-10-10 17:25:05 142

Oracle starting up 4: Oracle 10g 客户端 enterprise manager console 消失问题

      在家装了台服务器,因为家里电脑不行,所以服务器和客户端装在两台机器上,服务器装在XP上,客户端装在Win7上,安装完后,在服务器上可以用sqlplus连接服务器;而在客户端出现了不少问题:客户端问题:首先我安装完客户端后在Net Configuration Assistant 对话框中空完成了配置,并测试连接没有问题:如下截图:问题描述:      启动了ora...

2010-10-06 15:20:24 306

Oracle Start Up 3:Oracle数据库基础

 1. 创建TableSpace、用户及给用户分派权限      可以通过Oracle客户端工具Enterprise Manager Console连接相应数据库,通过图形化操作来完成,这里我记录通过sqlplus连接到Oracle,通过命令来完成创建TableSpace、用户及给用户分派权限:create tablespace testall datafile 'c:\oracle\pr...

2010-10-05 20:17:30 129

Oracle Start Up 2 Oracle 框架构件、启动、解决一个问题

Warming Up:       本文适合Oracle初学者。      在Oracle Start Up 1中我说了几个概念和Oracle数据库的结构,当然在Oracle Start Up 1 里面主要说明的是Oracle数据库的结构(物理组成和逻辑结构)。      本文解决一个初学者很可能常遇到的问题(我遇到了,花了好久才解决)。      本文一切测试实验基于Oracle...

2010-10-02 14:07:00 166

空空如也

空空如也

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

TA关注的人

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