发布时间:2014-06-15 10:41:27
每个servlet只有一个实例,怎样保证servlet是线程安全(thread-safe)的?servlet容器启动过程:1.reads web.xml;2.finds the declared Servlets in the classpath; and3. loads and instantiates each Servlet only once.对该过程的代码描述:String urlPattern = parseWebXmlAndRetrieveServletUrlPattern().........【阅读全文】
发布时间:2014-05-26 18:45:19
http://stackoverflow.com/questions/2216007/eclipse-java-ee-pluginI warmly suggest to install Eclipse IDE for Java EE developers which already includes the Web Tools Platform (WTP) and much more (see this page for a full comparison).As an alternative, y.........【阅读全文】
发布时间:2014-05-23 18:39:05
Secure hash functions in Java (ctd)From http://www.javamex.com/tutorials/cryptography/hash_functions_algorithms.shtmlNow we've seen an introduction to hash functions, let's look at how to compute a hash in Java. As mentioned, secure hashes are sometimes calledmessage digests. And.........【阅读全文】
发布时间:2014-02-26 15:47:12
war包部署位置:/jboss/jboss-eap-6.1/standalone/deployments执行以下命令启动jboss 6.1 cd /jboss/jboss-eap-6.1/bin ./standalone.sh -b 10.20.30.161 -Djboss.bind.address.management=10.20.30.161修改配置文件,更改端口信息 vi /jboss/jboss-eap-6.1/standalone/configurat.........【阅读全文】
发布时间:2013-11-20 17:00:02
修改配置文件/jboss-5.1.0.GA/server/default/conf/bindingservice.beans/META-INF/bindings-jboss-beans.xmlThis works on jboss-5.1.0.GA : Edit the file ${JBOSS_HOME}/server/default/conf/bindingservice.beans/META-INF/bindings-jboss-beans.xml as follows -> Change ${jboss.service.binding.set:ports-defau.........【阅读全文】