Important Notice - Forums is archived

To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.

Product icon

Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.

JPAContainer liscense

armen donigian
1 decade ago Sep 06, 2011 1:16am
Charles Anthony
1 decade ago Sep 06, 2011 7:02am

armen donigian: 1. Can a developer be able to use JPAContainer AGPL 3.0 for profit making sites without disclosing the source code?

No. JPAContainer is dual-licensed, which (basically) means that you can buy a license (from Vaadin Ltd) to use JPAContainer commercially.

For more info on the Dual-Licensing, see this sticky post.
For more info on the AGPL, the wikipedia article is as good as an summary as anything else

2. If not, what data binding options besides JPAContainer can I use for a profit making site without disclosing the source code?

Several are available as addons.
Or, you can write your own - depending on your requirements, it's needn't be too difficult (the Container API has lots of superflous stuff that you often don't need to implement. The tricky bit is finding which bits those are!).

For my projects, we only use the container for reading (and manage the writing ourselves); our containers actually talk to a separate server, using our own interfaces and methods to query the database (i.e. it's an n-tier client-server configuration)

HTH a little,



Last updated on Sep, 6th 2011
Marko Grönroos
1 decade ago Sep 06, 2011 8:42am

Thanks Charles for your post.

...you can buy a license (...) to use JPAContainer commercially.

To be really exact, AGPL does not mind if you use the library for commercial use, it just disallows closed-source use (or use with an incompatible license), which you probably meant to say.

Well, the two things correlate rather heavily, so in practice it's usually the same thing.

Last updated on Sep, 6th 2011
armen donigian
1 decade ago Sep 07, 2011 12:13am