fcxx182的博客
fcxx182 · 共 11 篇文章
我的测试
import java.io.BufferedInputStream; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.IOException; import java.sql.Connection; import java.sql.DriverManager; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLExce…
Spring中的定时调度(Scheduling)和线程池(Thread Pooling)
Chapter 23. Spring中的定时调度(Scheduling)和线程池(Thread Pooling) 23.1. 简介 Spring包含了对定时调度服务的内置支持类。当前,Spring支持从JDK1.3开始内置的Timer类和Quartz Scheduler(http://www.opensymphony.com/quartz/)。二者都可以通过FactoryBean,分别指向Timer或Trigger实例的引用进行配置。更进一步,有个对Quartz Scheduler和Timer都有效的工具类可以让你调用某个目标对象的方法(类似通常的MethodInvokingFactoryB…
2011-03-01 00:18 · 评论(0)
我眼中的w3c
package w3c; import java.io.File; import java.io.IOException; import org.w3c.dom.Document; import org.w3c.dom.Element; import org.w3c.dom.NodeList; import org.xml.sax.SAXException; import com.sun.org.apache.xerces.internal.parsers.DOMParser; public class ParseXmlWithW3c { /** * @param args */ publi…
2010-08-08 21:15 · 评论(0)
我的理解
1:同步多个sage,那么首先把sms.local.config.xml中的action全部读入, 在通知时,获取出notifyAction中的targetName,然后根据targetName去sms.message.config.xml中,读取出targetName的信息,放入消息头,进行发送通知。此时达到通知多个sag的情况。 疑问:需求中有HN和HCM的归属地,如何区分是去通知HN或者HCM的?? 规格中好像是要求在从表中增加一个字段,用于表示属于哪个归属地,我们不用实现吗?
2010-07-27 23:12 · 评论(0)
apache cxf在线阅读(http://cxf.apache.org/docs/jax-rs.html)
Apache CXF Apache CXF Documentation > Index > RESTful Services > JAX-RS Download | Documentation Overview How-Tos Frontends DataBindings Transports Configuration Debugging and Logging Tools RESTful Services WSDL Bindings Service Routing Dynamic Languages WS-* Support Advanced Integration Deployment…
2010-04-11 08:32 · 评论(0)
jdk 与 jaxb冲突问题
http://queue19.iteye.com/blog/418748 http://lxj8495138.iteye.com/blog/338384 http://haiyupeter.iteye.com/blog/306557 http://a3mao.iteye.com/blog/306308 7.1. Migrating JAXB 2.0 applications to JavaSE 6 JavaSE 6 ships with its own JAXB 2.0 implementation. This implementation is based on the JAXB RI, …
2010-04-11 08:26 · 评论(0)
手动添加schema文件
手动添加schema文件,方法如下: windwos->preferences->myeclipse->files and editors->xml->xmlcatalog 点"add",在出现的窗口中的Key Type中选择URI,在location中选"File system",然后在spring解压目录的dist/resources目录中选择spring-beans-2.5.xsd,回到设置窗口的时候不要急着关闭窗口,应把窗口中的Key Type改为Schema location,Key改为http://www.springframework.org/schema/beans/spri…
2010-04-09 22:50 · 评论(0)
jaxrs:server
org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 14 in XML document from ServletContext resource is invalid; nested exception is org.xml.sax.SAXParseException: cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'jaxrs:serv…
2010-04-09 22:18 · 评论(1)
lllllllllllllllllllllllllllll
http://fuyanqing03.iteye.com/blog/478684 http://java.sun.com/developer/technicalArticles/WebServices/restful/ http://true-cp.iteye.com/blog/213006
2010-04-06 20:12 · 评论(0)