![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
J2SE&J2EE
文章平均质量分 87
thedayyourejectme
这个作者很懒,什么都没留下…
展开
-
How to switch bewteen differenct JAXP?
How to switch bewteen differenct JAXP 1 JAXP in Sun JDK uses the implementation from Apache Xerces by default. But we can change it by setting the system properties. 1.1 How to use the O...2008-07-25 21:42:43 · 69 阅读 · 0 评论 -
How to use the Junit in JDeveloper
See Attachment.2008-10-28 18:05:11 · 80 阅读 · 0 评论 -
oid/oim/ldap/jndi API
Reference http://download.oracle.com/docs/cd/B15904_01/manage.1012/b14087/toc.htm OID/OIM is an implementation of JNDI by LDAP.(Actually, it has C API to access it as well.) 1. Put th...2009-04-28 22:45:02 · 129 阅读 · 0 评论 -
How to configure OID Authentication in Weblogic
Oracle WebLogic Server provides a plugable security architecture in which authentication providers handle user identification. One of the native authentication providers in WebLogic server is for a ...原创 2009-04-28 23:22:39 · 112 阅读 · 0 评论 -
BufferredOutputStream
BufferredOutputStream is not implemented consistently between Windows and Linux. Take this for an example, BufferredOutputStream bos = new BufferredOutputStream (new FileOutputSteam); ...2009-05-16 20:08:21 · 130 阅读 · 0 评论 -
Weblogic/ADF/Fussion Middleware
http://download.oracle.com/docs/cd/E12839_01/web.1111/b31974/deployment_topics.htm#CIHHFCFF http://e-docs.bea.com/wls/docs81/deployment/tools.html#1000477 http://otnbeta.oracle.com/fmw11g/582tj3...2009-05-22 00:35:44 · 81 阅读 · 0 评论 -
Jave VM memory Arg/Java 虚拟机内存参数
http://winywan.com/index.php/reviews/java-foundation/2009/01/05/94/ JVM参数详解以及配置调优 基本概念: PermGen space:全称是Permanent Generation space。就是说是永久保存的区域,用于存放Class和Meta信息,Class在被L...原创 2009-05-22 16:05:21 · 240 阅读 · 0 评论 -
ant 和 java的关系
1. ant中的javac使用哪个jdk的bootstrap class path? 默认情况下使用启动ant的那个jdk所在的bootstrap class path, 但是这个bootstrap class path可以在javac中指定。 2. java 1.6 compiler使用target=1.5 source=1.5编译过的类是可以在1.5jre上运行的。...2009-02-10 18:19:30 · 307 阅读 · 0 评论 -
J2EE Security
J2EE Security2009-06-25 13:56:12 · 92 阅读 · 0 评论 -
一直在linux下运行服务器,今天尝试了一下windows下的websphere,也很不错
1. 默认的websphere试用版安装作为一个windows服务,启动的时候会出错,所以,安装后要删除, wasservice -remove robertNode01, robertNode01 is the windows service name. 2. Start the websphere, startServer.bat server1...2009-06-26 20:45:05 · 78 阅读 · 0 评论 -
Java Knowledge - Miscelaneous
See attachment!2009-02-22 00:16:05 · 75 阅读 · 0 评论 -
JDK 1.4 Logging
1. Default property file. By default, JDK 1.4's logging package looks in the JAVA_HOME/lib/logging.properties file for logging configuration. 2. Overrided property file. java -Djava.util.log...2009-02-23 23:26:05 · 75 阅读 · 0 评论 -
Log4j
1. Default property file. CLASSPATH/log4j.configuration 2. Overrided property file. log4j.configuration=log4j.configuration 3. Default initialization algorithm Setting the log4j.defaultInit...2009-02-24 00:16:44 · 74 阅读 · 0 评论 -
Common Logging
1. Specify the log implementation. commons-logging.properties 2. Guess which log implementation should be used. There are two base abstractions used by JCL: Log (the basic logger) and Lo...2009-02-24 00:27:00 · 93 阅读 · 0 评论 -
Oracle Appserver - Common Logging - Log4j
In Oracle Appserver, when an EAR file is deployed, which contains common loggin and log4j, it says No Suitable Log Constructor when you try to get a log from log factory.After investigation, it is cau...2009-02-24 11:42:36 · 98 阅读 · 0 评论 -
How to develop extension in JDeveloper?
See Attachment.2008-10-28 18:02:37 · 50 阅读 · 0 评论 -
EAR/WAR/JAR(EJB) structure
http://www.oracle.com/technology/global/cn/pub/articles/dev2arch/2008/01/packaging-best-practices.html2009-04-16 01:38:33 · 67 阅读 · 0 评论 -
Search Class - http://www.findjar.com/
http://www.findjar.com/2008-07-25 21:43:59 · 107 阅读 · 0 评论 -
How to setup tomcat in linux?
After downloading the Tomcat, you will set up something to make it work. 1. Set the JAVA_HOME to start the Tomcat. Add the follong lines into the /bin/catalina.sh #--------------------------------...2008-07-25 21:44:47 · 43 阅读 · 0 评论 -
How to use use zip/unzip in java?
http://www.particle.kth.se/~lindsey/JavaCourse/Book/Part1/Supplements/Chapter09/compressDecompress.html http://www.weste.net/2004/11-25/09122953405.html2008-07-25 22:04:44 · 61 阅读 · 0 评论 -
关于SAX,DOM,JAXP,JDOM,DOM4J的一些理解
第一:首先介绍一下SAX,DOM,JAXP,JDOM,DOM4J的基本知识: (注意:至于 JAXP | JAXB | JAXM | JAXR | JAX-RPC 分别指什么,查看http://gceclub.sun.com.cn/staticcontent/html/xml/faq/#jaxr _) 1、W3C的sax、dom是两种对xml文档进行分析的方法(没有具...2008-07-25 22:05:34 · 55 阅读 · 0 评论 -
Eclipse Project
I found one great thing Eclipse can do for us. That is to merge multiple projects to one. If I have multiple child projects, please see the direcotry structure. MyWorkspace -----MyProject --------...2008-07-25 22:06:21 · 68 阅读 · 0 评论 -
我对字符集的理解
Please take a look at the attachement.2008-07-25 22:07:29 · 63 阅读 · 0 评论 -
Visual Paradigm - 一个用于绘制UML的java实现的一个工具软件
这是一个从Visual paradigm(绘制UML图的工具)工具里提取出来的一个Jar包,去掉了所有其他的文件,适合在一些软件不能任意安装的公司利用,只要有jre被安全了,就能运行它,没有任何exe,dll在这个包里。绿色安全省事好用。 如何下载使用这个软件。 1. 下载下面两个文件。http://download.csdn.net/source/461850 和 http://downl...2008-07-25 22:12:19 · 155 阅读 · 0 评论 -
Java Interview Questions/Java面试题
Please refer to the attachement.2008-07-25 22:13:40 · 73 阅读 · 0 评论 -
With commons loggin and Log4j, the TRACE level is
Recently, when I was using the commons logging 1.0.4 and log4j 1.2.13, I found the log level TRACE is replaced with DEBUG. Then I trace into the codes, I found the Apache commons logging has the TRACE...2008-07-27 17:11:35 · 65 阅读 · 0 评论 -
Netbeans: optional language package is not install
CompilersIf you are using netbeans to develop c/c++ program, it has 3 kind compilers availabe to us. 1. Sun UCB Compatible C Compiler. Make command, /usr/ccs/bin/make C compiler, /usr/ucb/cc 2...2008-07-27 17:15:03 · 60 阅读 · 0 评论 -
javascript与applet之间相互通讯
javascript与applet之间能够相互通讯给我们带来了很多方便,Java与JavaScript互相补充,以开发功能更完美的Web应用程序。B/S下能够充分利用java的优势,给我们带来更多的网络体验, 方便用户。我用的比较多的是利用Swing组件开发的应用程序利用applet实现B/S下架构, 这样能够充分显示Swing组件的优势,便于系统升级,便于维护;还有就是在WEB下,有时客户端要使...原创 2009-03-11 21:08:08 · 134 阅读 · 0 评论 -
Firefox Plugin - Gecko SDK/npapi
原文: 1. http://mqjing.blogspot.com/2008/09/plugin-firefox-plugin.html 2. http://mqjing.blogspot.com/2008/10/firefox-firefox-xpi-50.html 如何写Firefox Plugin 如果想讓你的 binary 軟体元件在瀏覽器上能夠執行, 你需要實做一...原创 2009-03-12 21:40:25 · 363 阅读 · 0 评论 -
浏览器Plugin总结(ActiveX vs. Gecko SDK)
Java Applet Java Applet runs inside a Java plugin in the explorer. In IE, the plugin is a kind of ActiveX. Please see the diagram. Hoever, in firefox, it is a plugin implemented by Gecko SDK(...2009-03-12 22:22:32 · 169 阅读 · 0 评论 -
Oracle Appserver remote deployment
java -jar admin_client.jar deployer:oc4j:opmn://localhost:6003/default_group oc4jadmin manager -validateURI2009-04-03 11:02:07 · 92 阅读 · 0 评论 -
Converter between XML and Java Bean
Not done.2009-08-14 22:10:29 · 124 阅读 · 0 评论