SOAP Binding Properties
http://fusesource.com/docs/framework/2.2/jaxws/JAXWSServiceDevJavaFirstAnnotateOptionalSOAPBinding.html
http://fusesource.com/docs/framework/2.2/jaxws/JAXWSServiceDevJavaFirstAnnotateOptionalSOAPBinding.html
http://oreilly.com/java/archive/what-is-a-portlet.html http://www.onjava.com/pub/a/onjava/2006/02/01/what-is-a-portlet-2.html
This page is made up of different "windows." There is one window for the weather update, another window for news, a third for a stock price update, and so on. Each of these windows represents a portlet. Under the covers, these windows are different applications, developed independently of each other. The developer of the news …
Portlets are similar to servlets, in that: 1. Portlets are managed by a specialized container. 2. Portlets generate dynamic content. 3. A portlet’s life cycle is managed by the container. 4. Portlets interact with web client via a request/response paradigm. Portlets are different from servlets, in that: 1. Portlets only …
我以前就是这样做的,自我感觉挺轻便,却被别人强烈鄙视,说是不合规范! 现在你看,Rod Johnson自己都这么做,还有什么可说的? 这样做还有个好处:“The advantages of expanded deployment in development are that it often enables individual files to be updated without full redeployment”
今天看到了Rod Johnson在他很久以前写的书上说, JXPath不错。 于是我去它的官方网站看了一下,确实很牛!看这一段就知道了! ====================================================== Address address = (Address)JXPathContext.newContext(vendor). getValue(“locations[address/zipCode=’90210′]/address”); This XPath expression is equivalent to the following Java code: Address address = null; Collection locations = vendor.getLocations(); Iterator it = locations.iterator(); while (it.hasNext()){ Location location = (Location)it.next(); String zipCode = location.getAddress().getZipCode(); if (zipCode.equals(“90210”)){ address = location.getAddress(); break; } }
今天才知道,真土!
1. sqlException.getErrorCode() 2. sqlException.getSQLState() 3. sqlException.getNextException() 4. Remember to retrieve sqlWarnings from ResultSet/Statement/Conenciton
原文说: "Thus, to ensure correct replication behavior, always rebind a session attribute when the session data is changed." 比如,假设session中现有这样一个对象 session.setAtrribute("employee", employee); 现在改变一下这个对象的值 employee.setName("Changed Name"); 那么当前服务器节点上, session.getAtrribute("employee").getName() 就自动变成了"Changed Name". 但是Cluster上的其他节点呢? 会不会自动更新? 不同的应用服务器有不同的实现。为了避免不一致的情况,应该在改变employee的值之后重新调用一下 session.setAtrribute("employee", employee),这样的话可以保证其它其他节点跟着一起更新,因为这是Servlet规范所规定的。