Since resin in eclipse is no less than Tomcat, the 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 decided to take the risk of a try.
1. New-server in Eclipse, select "Download Additional server Adapters" and select "Resin (Java EE Web profile) server".
2. Like running a tomcat server, when New-server, select Resin, and go down the road next.
3. It is important to note that the resin is running the JDK, not the JRE, so you need to select the JDK when you run 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 at runtime and then publishes it to the resin container.