当前位置:首页 » 软件开发
开发技术指南» 文章正文
    引言: 1. create EJB module(lomboz)2.
 

 

    摘要: internationalization is the process of designing an application to work with multiple languages and in regions around the world. this not only involves translating text labels to other languages. it ......
    摘要: 实际上我们可以在客户端生成一个用graphics画的图或者也可以在客户端转发一个从服务器取来的图片但如何集成多个gif,jpg图片生成一个大的图片,同时还有自己画的图就不容易了,比如:我上上星期遇到了这个困难,所幸把这个问题解决了。大家都是程序员,各种api我也不用解释了,就把代码贴出来好了,我会在必要的地方加上注释。总共有三个文件showimage-----------------------......


在eclipse中使用JBossIDE和xDoclet创建EJB

1. create ejb module(lomboz)2. create ejb (jboss): package must end with: .ejb3. config xdoclet(eclipse project properties)  1. add standard-->standard ejb-->ejb doclet  2. right click ejbdoclet and select jboss    set version: 4.0    set datasource: java:/tutorial    set datasourcemapping: oracle9i( look up d:\j2ee\jboss-4.0.1\server\default\conf\standardjbosscmp-jdbc.xml for it)    set destdir: simpleejb/meta-inf/ (where the the jboss.xml and jbosscmp-jdbc.xml will create)  3. select home, interface,remoteinterface,localhome and select destdir  4. entitypk: set destdir to simpleejb/src    5. set fileset      3. click ok  4. create datasource mapping  1. copy jdbc driver to: d:\j2ee\jboss-4.0.1\server\default\lib  2. create table  3. find d:\j2ee\jboss-4.0.1\docs\examples\jca\oracle-ds.xml and copy it to d:\j2ee\jboss-4.0.1\server\default\deploy  4. update it like below:   <datasources>   <local-tx-datasource>     <jndi-name>heliumds</jndi-name>     <connection-url>jdbc:oracle:thin:@192.168.0.109:1521:labdb</connecti
...   下一页

 ·hibernate的性能    »显示摘要«
    摘要: xiecc:我们的项目从去年12月份启动,采用了struts+hibernate的架构,一开始使用hibernate的时候速度极快,对象操作异常方便,大家都说爽歪歪。 可惜好景不长,随着我们对象关系的不断复杂,数据量的不断增加,hibernate的性能急剧下降。具体表现为:我们在设计对象时采用了很多的one-to-many和many-to-one的关系,在取某个对象的几个简单的属性时,它会把所有......
» 本期热门文章:

©2000-2007 All Rights Reserved. 最佳浏览:1024X768 MSIE