PdfSignature Plugin

Questions and answers on developing, deploying and using plugins and JavaBeans

PdfSignature Plugin

Postby Roberto Blasco » Mon Jan 06, 2014 12:08 am

Hi all.

I'm rewriting the PdfSignature plugin with the new version of iText (5.3.4). This version has the AFFERO GENERAL PUBLIC LICENSE (AGPL).

Is it ilegal to place this plugin in Servoy Forge with this kind of license?

Best regards. Roberto Blasco
Un saludo. Roberto.

Madrid - Spain
Tfno: (+34) 625653066
E-mail: roberto.blasco.serrano@gmail.com
User avatar
Roberto Blasco
007
 
Posts: 355
Joined: Tue Apr 08, 2008 7:18 pm
Location: Madrid / Spain

Re: PdfSignature Plugin

Postby ROCLASI » Mon Jan 06, 2014 7:34 am

Hi Roberto,

AGPL complies with the Open Source Definition and is also reviewed and approved by The Open Source Initiative (OSI).
So to answer your question, a component with the AGPL license is fine to be hosted on ServoyForge.
Robert Ivens
SAN Developer / Servoy Valued Professional / Servoy Certified Developer

ROCLASI Software Solutions / JBS Group, Partner
Mastodon: @roclasi
--
ServoyForge - Building Open Source Software.
PostgreSQL - The world's most advanced open source database.
User avatar
ROCLASI
Servoy Expert
 
Posts: 5438
Joined: Thu Oct 02, 2003 9:49 am
Location: Netherlands/Belgium

Re: PdfSignature Plugin

Postby Roberto Blasco » Mon Jan 06, 2014 12:15 pm

Thanks a lot ROCLASI.
Un saludo. Roberto.

Madrid - Spain
Tfno: (+34) 625653066
E-mail: roberto.blasco.serrano@gmail.com
User avatar
Roberto Blasco
007
 
Posts: 355
Joined: Tue Apr 08, 2008 7:18 pm
Location: Madrid / Spain

Re: PdfSignature Plugin

Postby ptalbot » Tue Jan 07, 2014 10:49 pm

Roberto, just be aware that most other plugins (Jasper/Velocity/PDF output) are still using v3.1.7 of iText, so using a newer version in your plugin will introduce some compatibility issues with these other plugins...
Patrick Talbot
Freelance - Open Source - Servoy Valued Professional
https://www.servoyforge.net
Velocity rules! If you don't use it, you don't know what you're missing!
User avatar
ptalbot
 
Posts: 1654
Joined: Wed Mar 11, 2009 5:13 am
Location: Montreal, QC

Re: PdfSignature Plugin

Postby Roberto Blasco » Thu Jan 09, 2014 12:45 pm

Thanks ptalbot

The libraries are placed in a separate directory inside the plugins directory

[+] plugins
- jpdfsign.jar
- jpdfsign.jar.jnlp
[+] jpdfsing
- bcpkix-jdk15on-1.47.jar
- bcprov-jdk15on-1.47.jar
-itextpdf-5.3.4.jar


There will be compatibility issues with this structure?

Best Regards. Roberto Blasco,
Un saludo. Roberto.

Madrid - Spain
Tfno: (+34) 625653066
E-mail: roberto.blasco.serrano@gmail.com
User avatar
Roberto Blasco
007
 
Posts: 355
Joined: Tue Apr 08, 2008 7:18 pm
Location: Madrid / Spain

Re: PdfSignature Plugin

Postby ptalbot » Thu Jan 09, 2014 3:50 pm

Doesn't matter where iText is placed, all the jars in /plugins will be loaded (in headless and web client and in developer and via their respective jnlp for smart client). If another version is somewhere in your plugins directory, then there's no guarantee which version will be loaded first and used (could be 3.1.7 or your 5.3.4), so you will probably have some ClassNotFoundException or MethodNotFoundException at some point, either in your PDFSignature plugin or in Jasper/Velocity/PDF output plugins. There's only one classloader in the end.
Patrick Talbot
Freelance - Open Source - Servoy Valued Professional
https://www.servoyforge.net
Velocity rules! If you don't use it, you don't know what you're missing!
User avatar
ptalbot
 
Posts: 1654
Joined: Wed Mar 11, 2009 5:13 am
Location: Montreal, QC

Re: PdfSignature Plugin

Postby Roberto Blasco » Thu Jan 09, 2014 7:45 pm

Ok, thanks, ptalbot.
Un saludo. Roberto.

Madrid - Spain
Tfno: (+34) 625653066
E-mail: roberto.blasco.serrano@gmail.com
User avatar
Roberto Blasco
007
 
Posts: 355
Joined: Tue Apr 08, 2008 7:18 pm
Location: Madrid / Spain


Return to Plugins and Beans

Who is online

Users browsing this forum: No registered users and 12 guests