There's no royalty fee on using Swing or JDBC. And do you even know what JNDI is?
Sun does charge a license fee for their application server though.
If you're a diehard C or C++ evangelist then I forgive your ignorance. If not, please inform yourself before going hemroid about it.
© 2014, O’Reilly Media, Inc.
All trademarks and registered trademarks appearing on oreilly.com are the property of their respective owners.