METHOD AND SYSTEM FOR BIT STREAMING FOR DATA CENTRIC APPLICATIONS
First Claim
1. A method for streaming Java Content Repository (JCR) binary data for data centric applications from a source JCR/portal to a target JCR/portal, the method comprising the steps of:
- a. saving node property path information of the binary data within the serialized XML node files;
b. looking up the node property path information; and
c. streaming the binary data from the source JCR into the target JCR based upon the node property path information.
1 Assignment
0 Petitions
Accused Products
Abstract
The present invention utilizes the main Java package (javax.jcr.binary) for saving the node property path and other relevant retrieving information within the serialized XML node files so that the intended large binary data remains inside the content repository while the corresponding node is being serialized. A data centric application which requires processing of the serialized XML node file can then deal with a much reduced sized XML file. This can improve the performance greatly in terms of memory usage and processing speed for XML processors such as DOM. During the consuming phase of the data centric applications, the binary data property is streamed from its source JCR repository into the target repository by looking up its original property path and other retrieving information.
-
Citations
17 Claims
-
1. A method for streaming Java Content Repository (JCR) binary data for data centric applications from a source JCR/portal to a target JCR/portal, the method comprising the steps of:
-
a. saving node property path information of the binary data within the serialized XML node files; b. looking up the node property path information; and c. streaming the binary data from the source JCR into the target JCR based upon the node property path information. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A method for providing Java Content Repository (JCR) binary streaming for data centric applications in two phases, the method comprising the steps of:
-
a. serializing the JCR nodes; b. obtaining the concerned binary property path; c. serializing its property value along with a unique token to identify that the property is a streaming property; d. serializing other relevant retrieving information such as source server information; e. processing, by the data centric applications, the serialized node file as usual with any XML processors such as DOM or SAX parser; f. identifying, by the data centric applications, the property being streamed by the unique property token; g. saving the path and other information into the streamed property; and h. allowing the consuming applications to successfully retrieve the actual binary data by streaming through from the source JCR repository with the saved property path.
-
-
8. A method in a system for Java Content Repository (JCR) binary streaming for a data centric application (JCR Migration Framework) for a WebSphere Portal environment, the system comprising a source JCR/Portal, a target JCR/Portal, an export servlet, an import servlet, an export streaming visitor, an import streaming visitor, a streaming servlet, a source exported system view (ESV), a target ESV, and the JCR Migration Framework, the method comprising the steps of:
-
a. allowing the migration from the source JCR/Portal to the target JCR/Portal of user data saved in a source application model to the user data of a target application model that is based on JCR; and b. enabling the migration by exporting to XML node files on a file system by transforming and importing to the target JCR/Portal from the source JCR/Portal.
-
-
9. A computer program product in a computer readable medium for implementing a method for streaming Java Content Repository binary data for data centric applications, the method comprising the steps of:
-
a. saving node property path information of the binary data within the serialized XML node files; b. looking up the node property path information; and c. streaming the binary data from the source JCR into the target JCR based upon the node property path information. - View Dependent Claims (10, 11, 12, 13, 14)
-
-
15. A computer program product in a computer readable medium for providing Java Content Repository (JCR) binary streaming for data centric applications in two phases, the method comprising the steps of:
-
a. serializing the JCR nodes; b. obtaining the concerned binary property path; c. serializing its property value along with a unique token to identify that the property is a streaming property; d. serializing other relevant retrieving information such as source server information; e. processing, by the data centric applications, the serialized node file as usual with any XML processors such as DOM or SAX parser; f. identifying, by the data centric applications, the property being streamed by the unique property token; g. saving the path and other information into the streamed property; and h. allowing the consuming applications to successfully retrieve the actual binary data by streaming through from the source JCR repository with the saved property path.
-
-
16. A computer program product in a computer readable medium for implementing a method in a system for Java Content Repository (JCR) binary streaming for a data centric application (JCR Migration Framework) for a WebSphere Portal environment, the system comprising a source JCR/Portal, a target JCR/Portal, an export servlet, an import servlet, an export streaming visitor, an import streaming visitor, a streaming servlet, a source exported system view (ESV), a target ESV, and the JCR Migration Framework, the method comprising the steps of:
-
a. allowing the migration from the source JCR/Portal to the target JCR/Portal of user data saved in a source application model to the user data of a target application model that is based on JCR; and b. enabling the migration by exporting to XML node files on a file system by transforming and importing to the target JCR/Portal from the source JCR/Portal.
-
-
17. A system for streaming Java Content Repository (JCR) binary data for data centric applications comprising:
-
a. a source JCR; b. a target JCR for receiving streamed data from the source JCR; c. an export servlet for handling exporting of nodes for the source JCR; d. an import servlet for handling importing of nodes to the target JCR; e. a streaming servlet for handling streaming a binary property request and for streaming out the actual binary property data to the requester; f. an export streaming visitor for writing binary property information with a unique identifier, property path and other relevant information such as source server information; g. an import streaming visitor for identifying binary property information and for calling the streaming servlet to stream the binary property information from source JCR; h. a source exported system view (ESV) for providing the exported system view of the source JCR repository with XML node files; i. a target ESV for providing the exported system view of the transformed XML node files; and j. a JCR Migration Framework (JMF) for transforming the source nodes to the target nodes according to predetermined transform rules.
-
Specification