Method of JP data export based on JAVA
Junfeng Wang · Applied science and technology · 2010
The traditional methods of data export have some disadvantages,including dealing with documents disunity,long execution time,complicated implementation and poor synchronization.To overcome these problems,a new method using JP class package is presented.With facade pattern,the JP class package consists of JACOB(JAVA-COM bridge) package dealing with word documents and POI(poor obfuscation implementation) package dealing with Excel documents.And then concrete procedure and implementation code of encapsulation with JP class package are explained.Experimental results showed that with JP class package the synchronicity of data export was implemented,traditional document processing mode which can only deal with one kind of documents every time was solved,the speed of data export was improved,and the user's common operations in daily work was largely facilitated.