About JNLP download structure for recorder

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

About JNLP download structure for recorder

Matt
    Java Web Start is a helper application that gets associated with a Web browser.
When a user clicks on a link that points to a jnlp file, it causes the browser to launch Java Web Start, which then automatically downloads and runs
the given Java Technology-based application.This process is completed without requiring any user interaction.
    How to implement this technology in recorder?
    Following is what I considered about this
    JnlpDownloadServlet is a servlet that simplifies the process of deploying Java Web Start applications on a web server
as well as providing enhanced functionality and we could import it related Jars through  
      <dependency>
                <groupId>org.codehaus.mojo.webstart</groupId>
                <artifactId>webstart-jnlp-servlet</artifactId>
                <version>1.0-6.0-02_ea_b02</version>
      </dependency>
and then editing web.xml
  <servlet>
                <servlet-name>JnlpDownloadServlet</servlet-name>
                <servlet-class>jnlp.sample.servlet.JnlpDownloadServlet</servlet-class>
        </servlet>
        <servlet-mapping>
            <servlet-name>JnlpDownloadServlet</servlet-name>
            <url-pattern>/{###}/*</url-pattern>
        </servlet-mapping>
this Servlet will deal with request about jnlp files

Importing recorder's jar and its resources files into some folder under nGrinder.war files

Finally to add this link <a href="nGrinder_Recorder.jnlp"> Launch Recorder </a> at nGrinder web page.

Note all jars that recorder will referenced must be signed,because it will occurs some security problems without signing.
Reply | Threaded
Open this post in threaded view
|

RE: About JNLP download structure for recorder

junoyoon
Administrator

Good understanding.

 

I think this can be used not only recorder but also for agent.

 

Reply | Threaded
Open this post in threaded view
|

RE: About JNLP download structure for recorder

amar

recorder jnlp file is not available , i am getting 404 error

http://ngrinder-demo.nhnopensource.org/jnlp/recorder/ngrinder-recorder.jnlp.

can you please send the correct URL for nGrinder recorder