2008/6/10 Fabio Braga de Oliveira <[EMAIL PROTECTED]>: > Hi list, > > I'm developing a 3-tier system, and I want to distribute the desktop using > the Java Webstart. Until now, I already did great progresses in my quest. > > In the server side I'm deploying a web application using Spring, and I > publish some services using RMI. > > In the desktop, I'm using the Netbeans RCP, packaging all the code and > libraries using the webstart-maven-plugin. To give the necessary > permissions, I'm using the <sign></sign> configuration section, signing all > the jars with a valid certificate, and everything works well. > > But now some problems: I'm using hibernate, and the hibernate use the cglib > library to do some bytecode manipulations. The code in the client side is > signed, and the SecurityManager doesn't allow this unknown, > runtime-generated code to run in the desktop. Every time I query the > database and try to use one database mapped object, everything blows up. > > To fix the mess, I did, manually, a war file with the domain libraries, > hibernate.jar and cglib.jar signed. And everything worked! > > But know I want to do automatically. Does someone know how to create a war > where each dependency jar file is signed? Something like what the > webstart-maven-plugin do while generating the jnlp application. > > Thanks in advance, and I apologize my English mistakes.
I wrote both the jar:sign and webstart mojos and I am not aware of an off the shelf war-with-signed-dependencies solution. If you find one, or end up creating yours, please let us know :) Jerome --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
