jpf

How to deal with LinkageErrors in Java?

Developing a heavily XML-based Java-application, I recently encountered an interesting problem on Ubuntu Linux. My application, using the Java Plugin Framework, appears unable to convert a dom4j-created XML document to Batik's implementation of the SVG specification. On the console, I learn that an error occurs: Exception in thread "...

How can I obfuscate a JPF-Project?

Hi, has anyone experience with obfuscating an JPF-Project ("Java Plugin Framework")? I wonder if it is possible to obfuscate the plugins of such a project and what steps are necessary to do this. Especially what changes to the plugin.xml are necessary? Thanks in advance. ...

Returning binary content from a JPF action with Weblogic Portal 10.2

Hi, One of the actions of my JPF controller builds up a PDF file and I would like to return this file to the user so that he can download it. Is it possible to do that or am I forced to write the file somewhere and have my action forward a link to this file? Note that I would like to avoid that as much as possible for security reasons a...

How to use implementation loaded with different Java classloader?

I am writing a library where I allow people to provide implementations of certain interfaces using a plugin framework (it's JPF if you're familiar). The plugins are not stored in the classpath. The framework gives me a ClassLoader for each plugin, so when implementation named "MyImpl" of interface "MyInterface" is requested, I can find...

Progress bar on splash screen in JPF

Hi, I am using JPF (Java Plugin Framework) for my application. I have one requirement to display progress bar on splash screen. I have searh a little for this but didn't find any solution. Can anybody commnet on it ? -Sameer ...

Find file in jpf zipped plugin.

I have zipped some classes and files. This is a jpf plugin. The zip file contains plugin.xml, file1, file2, and some dirs with classes My application can find the plugin. The problem is I don't know what path I should write to find the two files in the zip file. I try to acces them from a class inside the zip file. Maybe I am a dork, ...