Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

file 36 lines (31 sloc) 1.166 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
Nailgun
=======
  Nailgun is server that preloads JVM so no need to load JVM on each request.
  More you can read http://martiansoftware.com/nailgun
  nailgun is a ruby wrapper of nailgun server and itc command
  Make sure before installing You have to set class path environment variable
  which is point to jre/lib path.

Install
=======
> ./script/plugin install
Configuration
===========

These are the default settings which can be overwritten in your enviroment configuration file:

   Nailgun::NailgunConfig.options = {
    :java_bin => "java", # java binary
    :server_address =>'localhost',
    :port_no=>'2113'
  }
    
Example
=======
To start nailgun server(if you want you can overwrite default configuration)
 script/nailgun start
To start nailgun server
 script/nailgun stop
To add client side jar
 Nailgun::NgCommand.ng_cp(absolute jar path)
To create alias of class
 Nailgun::NgCommand.ng_alias(alias name,class name)
 Make sure that class name is exist in client side jar path and its contain main
 To easy to use nailgun server best way is combine all jar to make one jar

Copyright (c) 2010 [amardaxini], released under the MIT license
Something went wrong with that request. Please try again.