Question

I am using Aspose Slide to generate PPT (2003) in Struts 2 Web Project, As it is greedy in RAM, we used Threads to do it in asynchronous mode, using FIFO Stack, to run threads a after one, it works fine, but regarding to the number of users, generating a PPT could consume long time, so I am thinking to an issue to that but I am not sure, the question is:

Could I use Applet to run the PPT generation in client side? does it a good practice for that?

Thanks

Was it helpful?

Solution

You certainly can generate the presentations on the client side, and for the very reason you mentioned, time consuming processes should always be done on the client if at all possible.

You may want to consider using javascript on the client to generate the file instead of an applet though, as an applet will require the user to have the java plugin installed on their system, and you would need a security certificate to sign the applet.

Javascript on the other hand would not require any special plugins, and would not require a security certificate, since you can generate the file data and dynamically create a link using a data URI for the user to download/launch the presentation

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top