Author Component performance and save issue
Oxygen general issues.
-
- Posts: 2
- Joined: Tue Sep 17, 2013 7:33 am
Author Component performance and save issue
Post by jayakrishnanvpk »
Dear Radu
While implementing the author component in applet all the jar's(lib) getting downloaded for this browser gets hanging for a while.
Please clear us this will occur each and every time.
Also please guide us to achieve custom save option using reader object i.e editorComponent.getWSEditorAccess().createReader(); step by step in server side.
NOTE:
IDE: Netbeans
Project: J2ee( html+applet)
Thanks
Jayakrishnan.pichandi@integra.co.in
While implementing the author component in applet all the jar's(lib) getting downloaded for this browser gets hanging for a while.
Please clear us this will occur each and every time.
Also please guide us to achieve custom save option using reader object i.e editorComponent.getWSEditorAccess().createReader(); step by step in server side.
NOTE:
IDE: Netbeans
Project: J2ee( html+applet)
Thanks
Jayakrishnan.pichandi@integra.co.in
-
- Posts: 9445
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Author Component performance and save issue
Hi,
About the long time it takes the applet to load even on subsequent runs (when all libraries are already cached on disk), this is probably related to a new security check which was enabled by default in Java 1.7:
http://www.java.com/en/download/help/re ... ptions.xml
Basically if you open the Java Control Panel, in the Advanced tab you have the option to:
Check for certificate revocation using
If you set that option to "Certificate Revocation Lists" the loading should be faster.
About saving the applet's modified XML back to the server:
The applet runs on the client side. It is your responsibility in the applet's client Java code to read the XML contents using "editorComponent.getWSEditorAccess().createReader()" and then call maybe a PHP script to upload the content to the server. For example something like:
http://bytes.com/topic/java/answers/720 ... quest-java
But there needs to be some means on the server to accept some data from a client and then to modify a resource on it in order to reflect the data. We will not help with the server configuration, we can only help you with customizing the client.
Regards,
Radu
About the long time it takes the applet to load even on subsequent runs (when all libraries are already cached on disk), this is probably related to a new security check which was enabled by default in Java 1.7:
http://www.java.com/en/download/help/re ... ptions.xml
Basically if you open the Java Control Panel, in the Advanced tab you have the option to:
Check for certificate revocation using
If you set that option to "Certificate Revocation Lists" the loading should be faster.
About saving the applet's modified XML back to the server:
The applet runs on the client side. It is your responsibility in the applet's client Java code to read the XML contents using "editorComponent.getWSEditorAccess().createReader()" and then call maybe a PHP script to upload the content to the server. For example something like:
http://bytes.com/topic/java/answers/720 ... quest-java
But there needs to be some means on the server to accept some data from a client and then to modify a resource on it in order to reflect the data. We will not help with the server configuration, we can only help you with customizing the client.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 2
- Joined: Tue Sep 17, 2013 7:33 am
Re: Author Component performance and save issue
Post by jayakrishnanvpk »
I updated the applet java control panel settings which you provide the above post.
Then also when loading the AuthorcomponentSampleApplet classic, the downloading time will be very high.
Nearly 120MB files are getting downloaded for each time. Can you tell me is there any way to fast up the jar downloading time.
If i reload the same page then am getting exception message like "Please dispose a component provider which is not necessary anymote using AuthorComponentFactory.disposeEditorComponentProvider()". If you want further reference about this reload issue, please let me know i will update the screenshot in your technical support forum.
We are having custom DTD so unable to follow the DITA. So Is there any way to access our custom XML like your Dita? in the below example http://www.oxygenxml.com/demo/AuthorDem ... assic.html
Then also when loading the AuthorcomponentSampleApplet classic, the downloading time will be very high.
Nearly 120MB files are getting downloaded for each time. Can you tell me is there any way to fast up the jar downloading time.
If i reload the same page then am getting exception message like "Please dispose a component provider which is not necessary anymote using AuthorComponentFactory.disposeEditorComponentProvider()". If you want further reference about this reload issue, please let me know i will update the screenshot in your technical support forum.
We are having custom DTD so unable to follow the DITA. So Is there any way to access our custom XML like your Dita? in the below example http://www.oxygenxml.com/demo/AuthorDem ... assic.html
-
- Posts: 9445
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Author Component performance and save issue
Hi,
Please see some answers below:
It might be possible that the Java plugin container in the web browser downloads the JARs multiple times but I do not think there anything on the client side which can be done to avoid this.
http://www.oxygenxml.com/doc/ug-oxygen/ ... intro.html
The document type configuration comes with CSS stylesheets to be used for rendering content in the Author mode, with XML catalogs and schemas used to validate the XML document. It can also come with custom operations to be mounted on the applet's toolbar, like we do for DITA.
Regards,
Radu
Please see some answers below:
The sample applet's JARs should be about 30 MBs in size, you can compute their sizes on disk. How exactly did you find out that 120 MBs are downloaded each time? On what operating system did you test and with what web browser?Then also when loading the AuthorcomponentSampleApplet classic, the downloading time will be very high.
Nearly 120MB files are getting downloaded for each time. Can you tell me is there any way to fast up the jar downloading time.
It might be possible that the Java plugin container in the web browser downloads the JARs multiple times but I do not think there anything on the client side which can be done to avoid this.
The classic applet type reuses the same Java VM between page reloads. On the method "ro.sync.ecss.samples.AuthorComponentSampleApplet.destroy()" called before the page reload occurs, please try to call AuthorComponentFactory.getInstance().disposeEditorComponentProvider on the editor component provider which was created over the URL. We'll also try to fix this on our side.If i reload the same page then am getting exception message like "Please dispose a component provider which is not necessary anymote using AuthorComponentFactory.disposeEditorComponentProvider()". If you want further reference about this reload issue, please let me know i will update the screenshot in your technical support forum.
What do you mean? You need to define a document type configuration in an Oxygen standalone installation and then use this configuration with the applet:We are having custom DTD so unable to follow the DITA.
http://www.oxygenxml.com/doc/ug-oxygen/ ... intro.html
The document type configuration comes with CSS stylesheets to be used for rendering content in the Author mode, with XML catalogs and schemas used to validate the XML document. It can also come with custom operations to be mounted on the applet's toolbar, like we do for DITA.
That is just an example. It is up to you to create the HTML content around the applet by querying the server to display the resources which can be edited.So Is there any way to access our custom XML like your Dita? in the below example http://www.oxygenxml.com/demo/AuthorDem ... assic.html
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service