Hi ,
I am facing memory issue in ofbiz when I run it on JBOSS . Can we use Event driven parser through out ofbiz code in place of dom parser ? If answer is Yes then is there any supportive document which can guide us to implement the same in our code? Thanks
RRH
|
Hi,
go to google.com type java sax parser example and hit "I am feelin' lucky" :) -- Deyan On Wed, 2010-06-02 at 00:26 -0700, rrhati2010 wrote: > Hi , > I am facing memory issue in ofbiz when I run it on JBOSS . Can we use Event > driven parser through out ofbiz code in place of dom parser ? If answer is > Yes then is there any supportive document which can guide us to implement > the same in our code? > Thanks > > ----- > RRH |
In reply to this post by rrhati2010
not sure that is your answer.
I open a connection and read line by line and parse it in my own code. I build a complete element for one thing then parse it with DOM I handle files that are gigabytes in size. Sax is already built into ofbiz. Note since I build a lot of import parsers, I have developed a set of workers so the actual import code is like 15-200 lines of code. I have looked at modifying the Datafile component to handle things like this but have not got anything yet. ========================= BJ Freeman http://bjfreeman.elance.com Strategic Power Office with Supplier Automation <http://www.businessesnetwork.com/automation/viewforum.php?f=52> Specialtymarket.com <http://www.specialtymarket.com/> Systems Integrator-- Glad to Assist Chat Y! messenger: bjfr33man <http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro> rrhati2010 sent the following on 6/2/2010 12:26 AM: > Hi , > I am facing memory issue in ofbiz when I run it on JBOSS . Can we use Event > driven parser through out ofbiz code in place of dom parser ? If answer is > Yes then is there any supportive document which can guide us to implement > the same in our code? > Thanks > > ----- > RRH |
In reply to this post by Deyan Tsvetanov-3
:-)
-- Ashish On Wed, Jun 2, 2010 at 1:03 PM, Deyan Tsvetanov <[hidden email]> wrote: > Hi, > > go to google.com > type > java sax parser example > and hit > "I am feelin' lucky" :) > > -- Deyan > > On Wed, 2010-06-02 at 00:26 -0700, rrhati2010 wrote: >> Hi , >> I am facing memory issue in ofbiz when I run it on JBOSS . Can we use Event >> driven parser through out ofbiz code in place of dom parser ? If answer is >> Yes then is there any supportive document which can guide us to implement >> the same in our code? >> Thanks >> >> ----- >> RRH > > > |
On Wed, Jun 9, 2010 at 12:26 PM, sachin kanojiya
<[hidden email]>wrote: > hi, > > > http://www.java2s.com/Code/Java/XML/UsingtheDOMParsertoBuildaDocumentTree.htm > http://cartan.cas.suffolk.edu/oopdocbook/html/parsing.html > http://snippets.dzone.com/posts/show/3575 > > http://www.java2s.com/Code/Java/XML/UsingtheDOMParsertoBuildaDocumentTree.htm > http://onjava.com/pub/a/onjava/2002/06/26/xml.html > http://www.javacommerce.com/displaypage.jsp?name=saxparser1.sql&id=18232 > > go through these websites ....... > i hope u will get your solution. > all d best..... > > Sachin Kanojiya > > > On Tue, Jun 8, 2010 at 8:04 PM, Ashish Vijaywargiya < > [hidden email]> wrote: > >> :-) >> >> -- >> Ashish >> >> On Wed, Jun 2, 2010 at 1:03 PM, Deyan Tsvetanov >> <[hidden email]> wrote: >> > Hi, >> > >> > go to google.com >> > type >> > java sax parser example >> > and hit >> > "I am feelin' lucky" :) >> > >> > -- Deyan >> > >> > On Wed, 2010-06-02 at 00:26 -0700, rrhati2010 wrote: >> >> Hi , >> >> I am facing memory issue in ofbiz when I run it on JBOSS . Can we use >> Event >> >> driven parser through out ofbiz code in place of dom parser ? If answer >> is >> >> Yes then is there any supportive document which can guide us to >> implement >> >> the same in our code? >> >> Thanks >> >> >> >> ----- >> >> RRH >> > >> > >> > >> > > |
Free forum by Nabble | Edit this page |