<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>shin</author_name>
  <author_url>https://blog.hatena.ne.jp/shin/</author_url>
  <blog_title>しんさんの出張所 はてなブログ編</blog_title>
  <blog_url>https://shinsan.hatenablog.jp/</blog_url>
  <categories>
    <anon>Java</anon>
    <anon>小ネタ千夜一夜</anon>
    <anon>ソフトウェア技術</anon>
  </categories>
  <description>好評だった第43夜の続き。あの時はパラメータとして渡すためにHttpServletRequestを使った。それを使わない方法がある。ソースを見れば一発でわかる。第43夜と比べてほしい。 @Path(&quot;calc&quot;) public class CalcResource { @Path(&quot;{a}/{b}&quot;) @GET public Viewable add(@PathParam(&quot;a&quot;)int a, @PathParam(&quot;b&quot;)int b) { Map&lt;String,Object&gt; params = new HashMap&lt;String,Object&gt;(); params.put(&quot;a&quot;, a);…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fshinsan.hatenablog.jp%2Fentry%2F20111027%2Fp1&quot; title=&quot;第45夜 JAX-RSをWebアプリのフロントエンドとして利用する その２ - しんさんの出張所 はてなブログ編&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2011-10-27 00:00:00</published>
  <title>第45夜 JAX-RSをWebアプリのフロントエンドとして利用する その２</title>
  <type>rich</type>
  <url>https://shinsan.hatenablog.jp/entry/20111027/p1</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
