IBM Developer is your one-stop location for getting hands-on training and learning in-demand skills on relevant technologies such as generative AI, data science, AI, and open source.
Restletは,JavaでRestアプリケーションを構築するための,軽量フレームワークである.これを使用すると,サーバ,クライアントのどちら側のRestアプリケーションでも簡単に作成できそうなので,試してみた. 基本(Restlet 1.1.1) WADL拡張(Restlet 1.1.1) 基本(Restlet 1.1.1) まずは基本.バージョン1.0と1.1では多少雰囲気が異なるようだが,機能が充実してそうなtestingの1.1.1を試してみる. はじめにいつもの 2008-11-28T22:30+09:00 matsu まず,Restletについて簡単に調査したあと,入門の手始めとして例によってHelloしてみる. リソースの基本バリエーション 2008-11-29T01:10+09:00 matsu RESTなんだから,まずはリソースに注目してみたい.Restletではリソース
This tutorial needs a review. You can edit it in GitHub following these contribution guidelines. REST (REpresentational State Transfer)は、World Wide Webなどの分散ハイパーメディア・システム用アーキテクチャ・スタイルです。RESTfulアーキテクチャで中心となるのは、URI (Universal Resource Identifier)によって識別されるリソースという概念です。これらのリソースはHTTPなどの標準インタフェースを使用して操作でき、情報はこれらのリソースの表現を使用して交換されます。このチュートリアルでは、最初にRESTについて少し学習した後、NetBeans IDEがこのアーキテクチャ・スタイルをサポートする方法について説明しま
People implementing systems using REST often do not know how to translate their familiar state-transition diagrams into resources. This article shows how. Introduction The word "state" has two meanings -- these can be somewhat confusing. The first meaning of "state" is the data associated with an object. The second is like a "step" in a multi-step conversation or computation. The latter t
GAE/JでRestlet(server-side)を使い、JSONをやり取りするようにしてみました。使用したRestletのバージョンは、Version 2.1 Snapshot (testing)です。 jarファイル RestletにはGAE/J版が用意されているので、それをダウンロードし、配備します。配布されているアーカイブには、Restlet本体の他にorg.restlet.ext.*パッケージが含まれているのですが、今回はその中から以下のjarファイルを使用しています。 org.restlet.jar org.restlet.ext.servlet.jar org.restlet.ext.json.jar org.json.jar web.xml ServletはRestletのServerServletを使うようにします。RestletにはApplicationのサブクラスを
What is an API (application programming interface)? Definition and examples A lot of people who work in technology have an intuitive understanding of what an API (application programming interface) is — but if you asked them to define it, they might have trouble putting an explanation into words. In simple terms, an API is both a piece of software running on a networked server and a component of p
Abstract: Jini has served Orbitz well, but at the cost of tight coupling due in part to shared code and Java™ platform serialization rules. To improve agility, Orbitz is migrating to a RESTful Web services architecture using protocol buffers to define message formats. The result is loosely coupled services with autonomous lifecycles supporting evolvability and innovative mashup-style development.
JSR 311: JAX-RS: The Java API for RESTful Web Services JSR 311は、JavaプラットフォームにおいてREST(REpresentational State Transfer)スタイルのWebアプリケーションを開発するためのAPI仕様で、「JAX-RS」という略称で呼ばれている。現在RESTスタイルのアプローチは、WebアプリケーションにおいてはSOAPベースのアプローチと同様に一般的なものとなっている。 JavaプラットフォームではJAX-WS 2.0においてSOAPをサポートしており、比較的容易にSOAPベースのWebアプリケーションを作成することができる。一方RESTについてはSOAPに比べると低レベルなAPIしか用意されていないため実装が複雑になりやすいという問題を抱えていた。 JAX-RSの目的は、RESTスタイルのWeb
少し間が空いてしまいましたが、本日は ActiveResource の使い方の中編です。前編では概念的な部分や利用例などをご紹介しましたので、本日は各メソッドの具体的な使用方法をご紹介します。リファレンスの翻訳のようなものを作っても仕方ないので、目的別に分類して書いてみました。このほうが、これから使い始める方には役に立つかと思います。 とは言ってみたものの、一回で ActiveResource の主要なメソッドをすべて扱うのは、ちと無謀だったかもしれません・・・ orz 。説明が足りず、だいぶわかりづらくなってしまいました。不明な点は、コメントしていただければできるだけサポートしたいと思います。無念。 それでは、まずは ActiveResource の各モデルのコンフィギュレーションを行うメソッドを見ていきましょう。 ActiveResource はリソースごとに ActiveResour
Data Where You Need It Apache CouchDB ™ lets you access your data where you need it. The Couch Replication Protocol is implemented in a variety of projects and products that span every imaginable computing environment from globally distributed server-clusters, over mobile phones to web browsers. Store your data safely, on your own servers, or with any leading cloud provider. Your web- and native a
Memotuneでは現在、Web APIを開発している。GDataに準拠しているので、Web APIの形式はRESTfulだ。ただ、RESTfulは最近の流行とは言え、問題がない訳ではない。 最大の問題はテスト環境だ。PUTやDELETEといったHTTPメソッドを手軽に試せない。IEやFirefoxは対応しているようだが、おそらく手軽には試せないだろう。 そこで専用のクライアントを使うのが良い。RESTfulに限らず、XMLを経由したMashup開発者は必須ではないだろうか。 今回紹介するフリーウェアはeXeve、RESTfulなWebアプリケーション開発ユーティリティだ。 eXeveを使うとWeb APIとやり取りするXMLが簡単に作成できる。構造チェックやDTDによる検証ができればよけいなミスも減るはずだ。 また、PUTやDELETEといったHTTPメソッドを使ってデータを授受する事も
Part of the on-going argument against using REST to implement the AtomAPI is the workability of REST on commonly used architectures. With this in mind I wrote a very simplistic AtomAPI in Perl. Yet, I would prefer to do it in PHP. PHP looked to be a stumbling block - however user-friendly the web-focused language seemed to hide the essential ingredients needed to write a REST web service using it.
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く