Because resin in eclipse performance is no less than Tomcat, small series decided to lead the younger brother to learn to use resin. Although there is no small part of Daniel in the use of resin, but see resin advertising has blown to the horizon. So I decided to take a chance and try it.
1. New-server in Eclipse. Select "Download Additional server Adapters". Then select "Resin (Java EE Web profile) Server".
watermark/2/text/ahr0cdovl2jsb2cuy3nkbi5uzxqvc2hlahvumq==/font/5a6l5l2t/fontsize/400/fill/i0jbqkfcma==/ Dissolve/70/gravity/southeast "align=" Middle ">
2. As with the execution of Tomcatserver, at New-server. Choose Resin, you can go all the way next.
watermark/2/text/ahr0cdovl2jsb2cuy3nkbi5uzxqvc2hlahvumq==/font/5a6l5l2t/fontsize/400/fill/i0jbqkfcma==/ Dissolve/70/gravity/southeast "align=" Middle ">
3. It is important to note that the resin execution environment is the JDK, not the JRE, so it is necessary to select the JDK when executing the environment. Otherwise, you might see an error such as the following:
Com.caucho.jsp.JspParseException:javac compiler is not a available in Java (TM) SE Runtime environment 1.7.0_45-b18. Check that is using the JDK, not the JRE. |
4. Click "Publish/debug", similar to Tomcat, to successfully publish the project. One thing that is different from Tomcat is that resin the entire project first when it executes. Again to the resin container.
Eclipse Integration Resinserver