Step 1: Create a feature project named com.icode.rcp.demo.feature
Step 2: Add Plug-ins and Included Features into com.icode.demo.feature
Step 3: Export the feature project for Java Web Start
Note: exporting may take some time. So be patient!
Step 4: Deploy to a server (Web server or App server), tomcat 7 is used for this example
- create a start.jnlp as shown:
- go to your browser: http://localhost:8080/demo/start.jnlp (Sometimes, this is not working, you may try this from the terminal: javaws http://localhost:8080/demo/start.jnlp
- it works!
Your hard work is paid off! Enjoy it!?
Note: if you run into some errors like resources (jar files) not found, you may try to comment out those jar files in .jnlp files that located at features folder.
No comments:
Post a Comment