I have been trying to use Toplink as part of a RCP app in Netbeans. For the most of it - it works, but I do get a warning with regards to Toplink:
[i]
INFO [org.netbeans.ProxyClassLoader]
java.lang.IllegalStateException: You are trying to access file: persistence_1_0.xsd from the default package. Please see http://bits.netbeans.org/dev/javadoc/org-openide-modules/org/openide/modules/doc-files/classpath.html#default_package
at org.netbeans.ProxyClassLoader.printDefaultPackageWarning(ProxyClassLoader.java:500)
[....]
[/i]