Eliminate Java redeploys while maintaining application state.
[Jude開発記] はじめに 去る1999年7月30日に私達は,Jude(Java and UML Developers' Enviroment)というUMLダイヤグラムエディタをフリー公開しました。Judeは、JavaTM言語とUML(Unified Modeling Language)によるオブジェクト指向設計を支援するツールです。ここでは、Judeの設計、方針、苦労話、ぶつかった問題などなど、公開に到るまでの記録を開発事例として紹介します。オブジェクト指向開発を実際に行っている方々、特にJavaを利用して対話型アプリケーションを作成する際のヒントになれば幸いです。 開発動機 1997年12月、JOMT(ジョムト)というコードネームでJudeの開発プロジェクトはスタートしました。手軽に使えるOMTツールがなかったことGUIを持つグラフィックアプリケーションを一度作って見たかったこと、j
What is SQLJet SQLJet is an independent pure Java implementation of a popular SQLite database management system. SQLJet is a software library that provides API that enables Java application to read and modify SQLite databases. SQLJet does not support SQL queries; there is an API to work with the database on a lower level. SQLJet Google Group. SQLJet API Tutorial. SQLJet Sample Application: SQLite
Overview QDox QDox is a high speed, small footprint parser for extracting class/interface/method definitions from source files complete with JavaDoc @tags. It is designed to be used by active code generators or documentation tools. In A Nutshell A custom built parser has been built using JFlex and BYacc/J. These have been chosen because of their proven performance and they require no external libr
scripting.dev.java.net Java SE 6 will contain JSR 223: Scripting for the JavaTM Platform API classes. This Framework can be used to host Script Engines in Java Applications. Sun's implementation of Java SE 6 includes a Script Engine based on Rhino: JavaScript for Java version 1.6R2 The Scripting Framework also supports third-party Script Engines that implement the JSR 223 Scripting APIs . The pr
Contents: What are type annotations? Download Support and community Documentation Mailing lists Bug reports For the impatient: Download and use pluggable type-checkers now. What are type annotations? Java's declaration annotation syntax is useful but limited. As of Java 8, Java's type annotation syntax permits annotations to be written in more places, such as generic type arguments: List<@NonNull
Java 上で利用できるほとんどの画像操作用ライブラリは Java 標準の AWT をベースにしている。Unix 上で AWT を使用するためには X が起動されていなければならないが、サーバ用途の Unix ではそもそも GUI 環境がインストールされていないこともある。X が起動されていない状態で強引に AWT を利用しようとすれば以下のようなエラーが出るだろう。 torao@cobalt$ java Awt Exception in thread "main" java.lang.InternalError: Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable. at sun.awt.X11GraphicsEnvironment.initDisplay(Native
Google just announced that their Google App Engine cloud hosting platform now supports other languages than Python: namely Java and Groovy! You can now effectively write your Google App Engine applications in Groovy! A couple of weeks ago, the SpringSource Groovy team and the Google App Engine Java team worked together, hand in hand, to iron out the details, to ensure that the popular and award-wi
This is the third post in a series detailing information about the newly announced Google App Engine support for Java. In this post I thought I’d go through the steps you need to take to get a JRuby on Rails application working on GAE/J, and also what kind of characteristics you should expect from your application. You need a fairly new copy of JRuby. Most of the changes needed to JRuby was added
あなたにとって重要なトピックや同僚の最新情報を入手しましょう最新の洞察とトレンドに関する最新情報を即座に受け取りましょう。 継続的な学習のために、無料のリソースに手軽にアクセスしましょうミニブック、トランスクリプト付き動画、およびトレーニング教材。 記事を保存して、いつでも読むことができます記事をブックマークして、準備ができたらいつでも読めます。
enum basics - しげるメモで基本的なことをおさらいしたので、私がよく使ってるenum関係のパターンをいくつか。 ステートパターンをenumで enumを使うようになってまず一番変わったのが、 private static final int SOME_STATE = 1; みたいな典型的なアンチパターンを書かなくなりました。これはステートパターンを非常に書きやすくなったためだと思います。 よくこんなコード書いてます。本当はもうちょっとロック処理とかを書かないとだめですが、ステート部分は大抵こんな感じです。 public class Lifecycle { // 初期状態はINITIALに固定 private State state = State.INITIAL; // 外側に公開する状態遷移メソッド public void start() { state = state.st
いくらAjaxが流行ってもJavaScriptよりJavaの方が楽しい・・・なんて自分のために、JavaをメインとしたRhinoの使い方をまとめておきます。ここから情報源ががくっと減るのはRhinoがあまり流行ってないからでしょうか・・・。 JavaからちょくちょくRhinoを呼ぶ手法の例として、以下の三つを実装してみます。 一つのスクリプトを何度も実行する 一つの関数を何度も実行させる Javaのインタフェースを実装する 1. 一つのスクリプトを何度も実行 発生したイベントに対してJavaScriptを実行するようなパターンがこの例です。ここでは、一定時間毎にJavaScriptを実行することで、単純にカウントを行うプログラムを作ります。 まず、interval.jsを以下のように用意します。これは、Javaから呼ばれて時刻を表示するJavaScriptです。なお、このアプリのJavaS
[編集]Mozilla.org, Mozilla.gr.jp # Rhino - JavaScript for Java http://www.mozilla.org/rhino/ Embedding Rhino 自分の用途(自分のアプリケーションをJavaScriptで制御)なら、まずはこの手順を見てみる。 Small Footprint Compiler、Debuggerなどを含まない smalljs.jar を作る方法。付属の build.xml のsmalljar ターゲットを使う。 Rhino - Java による JavaScript http://jt.mozilla.gr.jp/rhino/ JavaScript http://jt.mozilla.gr.jp/js/ ↑ [編集]他 # 特集: Java+スクリプト言語のイロハ なぜJava+スクリプト言語が求められたのか
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く