Firefox ExtensionでC++プログラムを動かしてみるテスト 〜その5 XULの実装〜 - かーねる・う゛いえむにっきからの続き。 もちろんJavaでもExtention書きたいよね? って事で試してみた。 本当はXPCOMで実装してJS側は無変更と行きたいところなのだが、如何せん情報が少なくて良く分からない。 そこで、MozillaのJSからJavaを呼ぶための独自拡張であるLiveConnectを用いて実装してみる事とした。 例によって、Javaの実装はこんな感じ: TestKVS.java package com.dokukino.testkvs; import java.util.HashMap; import java.util.Map; public class TestKVS { private Map<Integer, Integer> store = new