Scalatraで作成されJettyを組み込んだ実行可能なjarをServer::Starterで実行して、ホットデプロイを可能にするまでの簡単な手順です。
これにより、クラスローダーを利用した運用からLLと同様な形態でアプリケーションを運用することが可能となります(アプリケーションごとにJVMプロセスを起動する)。
package example; | |
import org.apache.commons.beanutils.BeanUtils; | |
import org.apache.struts.Globals; | |
import org.apache.struts.action.ActionForm; | |
import org.apache.struts.action.ActionMapping; | |
import org.apache.struts.action.ActionServletWrapper; | |
import org.apache.struts.action.RequestProcessor; | |
import org.apache.struts.config.ModuleConfig; | |
import org.apache.struts.taglib.html.Constants; |
.button-icon-shape { | |
-fx-scale-x: 2.0; | |
-fx-scale-y: 2.0; | |
} | |
.stop-button-icon { | |
-fx-fill: black; | |
} | |
.circle-button { |
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>Label</key> | |
<string>fxxk_it_alert</string> | |
<key>ProgramArguments</key> | |
<array> | |
<string>/usr/bin/osascript</string> | |
<string>/Users/ozaki/bin/fxxk_it_alert.scpt</string> |
/* | |
* tp は Executors.newCachedThreadPool 等を使って生成 | |
*/ | |
// Rhino(JavaScript) | |
tp.submit(new Callable({call: function(){ return 1;}})); | |
// Groovy | |
tp.submit({1} as Callable) |
#ifndef MAP_HPP | |
#define MAP_HPP | |
//#include <cstdint> | |
#include <stdint.h> | |
#include <cstddef> | |
#include <map> | |
#include <functional> | |
#include <boost/functional/hash.hpp> | |
#include <memory> | |
#include <utility> |
// | |
// ToyGC.swift | |
// ToyGC | |
// | |
// Created by satoshia on 2015/08/31. | |
// Copyright © 2015 satoshia. All rights reserved. | |
// | |
import Darwin | |
import Foundation |
using System; | |
using System.Runtime.CompilerServices; | |
using System.Runtime.InteropServices; | |
//Interfaces for working with excel | |
//this file allows me to not have a reference to excel in the project | |
//Adding a reference is to a specific version, these interfaces apply to all | |
//see Kenny Ker's blog http://weblogs.asp.net/kennykerr/archive/2008/12/16/Rtd7.aspx |
Scalatraで作成されJettyを組み込んだ実行可能なjarをServer::Starterで実行して、ホットデプロイを可能にするまでの簡単な手順です。
これにより、クラスローダーを利用した運用からLLと同様な形態でアプリケーションを運用することが可能となります(アプリケーションごとにJVMプロセスを起動する)。