Getting Started with Resin

Simple 10-minute overviews of various Resin topics are available below:

Installing Resin

  1. Download Resin Pro
  2. Install Resin and compile native I/O extensions for faster-than-Nginx™ performance:

    • Windows XP/Vista/7/8: bundled with precompiled binaries
    • deb64 and rpm64 downloads: bundled with precompiled binaries
    • tar.gz downloads
            make install
  3. Browse the web admin at: http://localhost:8080/resin-admin/
  4. Deploy your webapps:
    • Unix, Linux, Solaris, and Mac OS X

            resinctl deploy mywebapp.war
  5. Browse your webapp at: http://localhost:8080/mywebapp

Documentation for configuring every aspect Resin to your needs

Embedding Resin

package example;

import com.caucho.resin.*;

public class TestResin {

  public static void main(String []args)
    ResinEmbed resin = new ResinEmbed();

    HttpEmbed http = new HttpEmbed(8080);

    WebAppEmbed webApp = new WebAppEmbed("/", "/var/www/htdocs");


Video: Installing Resin