enlbi的博客
enlbi · 共 52 篇文章
Classloader
The class loader: BootStrap classloader: load the classes that are included in "java.*" package. Extention classloader: load the classes that are included in "javax>*" or under the directory "ext" of JRE(C:\jdk1.6\jre\lib\ext). application classloader: for loading class of application. 
JUnit Knowledges
mock objects: http://bigwhite.blogbus.com/logs/535124.html
2011-10-25 23:09 · java · 评论(0)
Eclipse
The Eclipse Web Tools Platform Project provides tools for Web Development, and is a platform for adopters making add-on tools for Web Development. All-in-one Packages For most uses, we recommend web-developers download the "all-in-one" package, Eclipse IDE for Java EE Developers , from the main Ecl…
2011-10-17 15:00 · eclipse · 评论(0)
Java跨平台程序设计规则
不是说所有的Java程序都具有Java跨平台的特性,事实上,相当一部分的Java程序是不能在别的操作系统上正确运行的,那么如何才能编写一个真正的跨平台的Java程序呢?下面是在编写跨平台的Java程序是需要注意的一些事情。 跨平台Java程序设计的规则 使用Java语言编写应用程序最大的优点在于“一次编译,处处运行”,然而这并不是说所有的Java程序都具有Java跨平台的特性,事实上,相当 一部分的Java程序是不能在别的操作系统上正确运行的,那么如何才能编写一个真正的跨平台的Java程序呢?下面是在编写跨平台的Java程序是需要注 意的一些事情: ◆1.编写Java跨平台应用程序时,你可以…
2011-09-20 12:38 · java · 评论(0)
Message format between client and web service server
As we known, data transferred between web services server and client are xml-format. There are lots of web service client invoke types: a) JAX-RPC SOAP invocation. This approach eschewed generating remote interfaces. Instead one used fixed Service and Call interfaces to explicitly invoke WSDL opera…
2011-09-20 11:14 · web service · 评论(0)
english evening
trail pound english is beautiful country, and have long history. diverse culture. transit holiday to work.. second - hand -store. business suprised at something. pagent keep cool = keel calm = not nerveous, not shy freezing to die he is freered of my. i am freeded so. wo do not need to worry about …
2011-09-20 10:39 · english · 评论(0)
Daily useful english
it has not effect get something for nothing. side effect overhead --- 日常开支
2011-09-07 14:52 · english · 评论(0)
English farewell letter
To all, I am very sad to tell you that I’ve just been fired over the phone by Yahoo’s Chairman of the Board. It has been my pleasure to work with all of you and I wish you only the best going forward.
2011-09-07 08:58 · english · 评论(0)
Servlet - life cycle and listener events
import database.BookDBAO; import javax.servlet.*; import util.Counter; import javax.ejb.*; import javax.persistence.*; public final class ContextListener implements ServletContextListener { private ServletContext context = null; @PersistenceUnit EntityManagerFactory emf; public void contextInitiali…
2011-08-25 15:56 · java · 评论(0)
Common Gateway Interface
A web server that supports CGI can be configured to interpret(解析) a URL that it serves as a reference to CGI scripts. A common convention is to have a cgi-bin/ directory at the base of the directory tree and treat all executable files within it as CGI scripts. Another popular convention is to use f…
2011-08-25 15:20 · java · 评论(0)
什么时候使用属性或者元素(Designing XML document)
Properties 是平面结构,想要表达结构复杂的信息有一定难度: font.name = song font.size=3 属性只应该在修改值的解释时使用,而不应该在指定值时使用, Html: 凡是不在页面上显示的都是属性 Parse: DOM(Documnet Object Model)--- 树形结构解析器 SAX(Simple API for XML)--流机制解析器 Jaxp--- pluggability sun 公司的xml库实现了可以插入(apache, ibm and so on)的解析器 -----------------------------------------…
2011-08-19 11:34 · java · 评论(0)
Java - Generic
Generics <!--[if !supportLists]-->1. <!--[endif]--> Functions: The compiler can now check the type correctness of the program at compile-time. A generic type declaration is compiled once and for all, and turned into a single class file, just like an ordinary class or interface declaration <!--[if !…
2011-07-19 12:35 · java · 评论(0)
Java Exception Study
Java Exception <!--[if !supportLists]--> 1. <!--[endif]--> Call Stack The set of possible "somethings" to handle the exception is the ordered list of methods that had been called to get to the method where the error occurred. The list of methods is known as the call stack (see the next figure) <!--…
2011-07-13 16:37 · java · 评论(0)
Framework comparision
Others Java Framework Quartz http://www.quartz-scheduler.org/ Quartz is a full-featured, open source job scheduling service that can be integrated with, or used alongside virtually any Java EE or Java SE application - from the smallest stand-alone application to the largest e-commerce system. Quart…
2011-07-13 09:28 · 面向对象设计的原则 与 概念 · 评论(0)
Useful links for studying Java, Framework, english, anything
Java study -- anything about Java http://www.allapplabs.com/java/java_collection_framework.htm index page: http://www.allapplabs.com/ XDotlet http://xdoclet.sourceforge.net/xdoclet/index.html JSTL: api: http://download.oracle.com/javaee/5/jstl/1.1/docs/tlddocs/overview-summary.html JSTL tutorial: h…
2011-07-12 09:52 · question - 问题 - need to do · 评论(0)