{"id":10363,"date":"2012-06-22T08:00:41","date_gmt":"2012-06-21T23:00:41","guid":{"rendered":"http:\/\/www.sssg.org\/blogs\/hiro345\/?p=10363"},"modified":"2012-06-19T11:36:38","modified_gmt":"2012-06-19T02:36:38","slug":"jboss5-0-1-seam-2-1-1-%e3%81%a7db%e3%82%a2%e3%82%af%e3%82%bb%e3%82%b9%e3%82%92%e3%81%99%e3%82%8b%e3%82%a2%e3%83%97%e3%83%aa%e3%82%b1%e3%83%bc%e3%82%b7%e3%83%a7%e3%83%b3%e7%94%9f%e6%88%90","status":"publish","type":"post","link":"https:\/\/www.hiro345.net\/blogs\/hiro345\/archives\/10363.html","title":{"rendered":"JBoss5.0.1 + Seam 2.1.1 \u3067DB\u30a2\u30af\u30bb\u30b9\u3092\u3059\u308b\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u751f\u6210"},"content":{"rendered":"<p>\u624b\u5143\u306b\u74b0\u5883\u304c\u3042\u3063\u305f\u306e\u3067\u3001\u3061\u3087\u3063\u3068\u53e4\u3044\u306e\u3067\u3059\u304c\u3001JBoss5.0.1 + Seam 2.1.1\u3067DB\u30a2\u30af\u30bb\u30b9\u3092\u3059\u308bSeam\u30a2\u30d7\u30ea\u3092\u4f5c\u6210\u3059\u308b\u65b9\u6cd5\u306b\u3064\u3044\u3066\u78ba\u8a8d\u3092\u3057\u3066\u307f\u307e\u3057\u305f\u3002Mac OS X \u3067\u52d5\u4f5c\u3055\u305b\u3066\u3044\u307e\u3059\u3002<br \/>\n<!--more--><br \/>\n\u6b21\u306e\u3088\u3046\u306a\u74b0\u5883\u3092\u7528\u610f\u3057\u3066\u3044\u307e\u3059\u3002workspace\/seam-gen\u306f\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u7f6e\u304f\u305f\u3081\u306e\u4f5c\u696d\u7528\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3067\u3059\u3002<\/p>\n<pre class=\"brush: bash; gutter: true\">\r\n\/Users\/user001\/Desktop\/workspace\/seam-gen\r\n\/Users\/user001\/applications\/jboss-5.0.1.GA\r\n\/Users\/user001\/applications\/jboss-seam-2.1.1.GA\r\n<\/pre>\n<p>\u524d\u306e\u8a18\u4e8b\u3092\u53c2\u8003\u306b\u3057\u3066\u3001sampleproject.ear \u306a\u3069\u3092\u30c7\u30d7\u30ed\u30a4\u3057\u3066\u3042\u308b\u5834\u5408\u306f\u3001\u524a\u9664\u3057\u3066\u304a\u3044\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre class=\"brush: bash; gutter: true\">\r\nrm -fr ~\/applications\/jboss-5.0.1.GA\/server\/default\/deploy\/sampleproject*\r\n<\/pre>\n<p>seam setup \u3092\u6b21\u306e\u3088\u3046\u306b\u3059\u308b\u3068\u3001\u5bfe\u8a71\u7684\u306b\u5024\u3092\u6307\u5b9a\u3067\u304d\u307e\u3059\u3002\u3053\u308c\u3067\u3001seam-gen\/build.properties\u30d5\u30a1\u30a4\u30eb\u304c\u751f\u6210\u3055\u308c\u307e\u3059\u3002<\/p>\n<pre class=\"brush: bash; gutter: true\">\r\n$ cd ~\/applications\/jboss-seam-2.1.1.GA\/\r\n$ chmod 755 seam\r\n$ JAVA_HOME=\/Library\/Java\/Home .\/seam setup\r\nSEAM_HOME: .\r\nUsing seam-gen sources from: .\/seam-gen\r\nBuildfile: .\/seam-gen\/build.xml\r\n\r\ninit:\r\n\r\nsetup:\r\n     [echo] Welcome to seam-gen :-)\r\n    [input] Enter your Java project workspace (the directory that contains your Seam projects) [C:\/Projects] [C:\/Projects]\r\n\/Users\/user001\/Desktop\/workspace\/seam-gen\r\n    [input] Enter your JBoss AS home directory [C:\/Program Files\/jboss-4.2.3.GA] [C:\/Program Files\/jboss-4.2.3.GA]\r\n\/Users\/user001\/applications\/jboss-5.0.1.GA\r\n    [input] Enter the project name [myproject] [myproject]\r\nsampledbproject\r\n     [echo] Accepted project name as: sampledbproject\r\n    [input] Do you want to use ICEfaces instead of RichFaces [n] (y, [n])\r\n\r\n    [input] skipping input as property icefaces.home.new has already been set.\r\n    [input] Select a RichFaces skin [classic] (blueSky, [classic], deepMarine, DEFAULT, emeraldTown, japanCherry, ruby, wine)\r\nblueSky\r\n    [input] Is this project deployed as an EAR (with EJB components) or a WAR (with no EJB support) [ear] ([ear], war)\r\n\r\n    [input] Enter the Java package name for your session beans [com.mydomain.sampledbproject] [com.mydomain.sampledbproject]\r\ncom.example.sampledbproject.session\r\n    [input] Enter the Java package name for your entity beans [com.example.sampledbproject.session] [com.example.sampledbproject.session]\r\ncom.example.sampledbproject.entity\r\n    [input] Enter the Java package name for your test cases [com.example.sampledbproject.session.test] [com.example.sampledbproject.session.test]\r\ncom.example.sampledbproject.test\r\n    [input] What kind of database are you using? [hsql] ([hsql], mysql, oracle, postgres, mssql, db2, sybase, enterprisedb, h2)\r\n\r\n    [input] Enter the Hibernate dialect for your database [org.hibernate.dialect.HSQLDialect] [org.hibernate.dialect.HSQLDialect]\r\n\r\n    [input] Enter the filesystem path to the JDBC driver jar [\/Users\/user001\/Applications\/jboss-seam-2.1.1.GA\/lib\/hsqldb.jar] [\/Users\/user001\/Applications\/jboss-seam-2.1.1.GA\/lib\/hsqldb.jar]\r\n\/Users\/user001\/applications\/jboss-seam-2.1.1.GA\/lib\/hsqldb.jar\r\n    [input] Enter JDBC driver class for your database [org.hsqldb.jdbcDriver] [org.hsqldb.jdbcDriver]\r\n\r\n    [input] Enter the JDBC URL for your database [jdbc:hsqldb:.] [jdbc:hsqldb:.]\r\njdbc:hsqldb:hsql:\/\/localhost:1701\/\r\n    [input] Enter database username [sa] [sa]\r\n\r\n    [input] Enter database password [] []\r\n\r\n    [input] Enter the database schema name (it is OK to leave this blank) [] []\r\n\r\n    [input] Enter the database catalog name (it is OK to leave this blank) [] []\r\n\r\n    [input] Are you working with tables that already exist in the database? [n] (y, [n])\r\ny\r\n    [input] Do you want to drop and recreate the database tables and data in import.sql each time you deploy? [n] (y, [n])\r\nn\r\n[propertyfile] Creating new property file: \/Users\/user001\/Applications\/jboss-seam-2.1.1.GA\/seam-gen\/build.properties\r\n     [echo] Installing JDBC driver jar to JBoss AS\r\n     [echo] Type &#039;.\/seam create-project&#039; to create the new project\r\n\r\nBUILD SUCCESSFUL\r\nTotal time: 1 minute 52 seconds\r\n<\/pre>\n<p>HSQLDB\u3092\u30b5\u30fc\u30d0\u30fc\u30e2\u30fc\u30c9\u3067\u7a3c\u50cd\u3055\u305b\u3001jdbc:hsqldb:hsql:\/\/localhost:1701\/ \u3067\u30a2\u30af\u30bb\u30b9\u3067\u304d\u308b\u3088\u3046\u306b\u3057\u3066\u304a\u304f\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u3067\u304d\u3042\u304c\u308b\u30d5\u30a1\u30a4\u30eb\u306f\u300c\/Users\/user001\/Applications\/jboss-seam-2.1.1.GA\/seam-gen\/build.properties\u300d\u3067\u306f\u306a\u304f\u3001\u300c\/Users\/user001\/applications\/jboss-seam-2.1.1.GA\/seam-gen\/build.properties\u300d\u3067\u3059\u3002\u306a\u305cApplications\u3068\u8868\u793a\u3055\u308c\u308b\u306e\u304b\u306f\u8b0e\u3002<\/p>\n<pre class=\"brush: bash; gutter: true\">\r\n#Generated by seam setup\r\n#Tue Jun 19 10:55:08 JST 2012\r\nhibernate.connection.password=\r\nworkspace.home=\/Users\/user001\/Desktop\/workspace\/seam-gen\r\nmodel.package=com.example.sampledbproject.entity\r\ndriver.jar=\/Users\/user001\/Applications\/jboss-seam-2.1.1.GA\/lib\/hsqldb.jar\r\naction.package=com.example.sampledbproject.session\r\ntest.package=com.example.sampledbproject.test\r\ndatabase.type=hsql\r\nrichfaces.skin=blueSky\r\nhibernate.default_catalog.null=\r\nhibernate.default_schema.null=\r\ndatabase.drop=n\r\nproject.name=sampledbproject\r\nhibernate.connection.username=sa\r\nhibernate.connection.driver_class=org.hsqldb.jdbcDriver\r\nhibernate.cache.provider_class=org.hibernate.cache.HashtableCacheProvider\r\nproject.type=ear\r\nicefaces.home=\r\ndatabase.exists=y\r\njboss.home=\/Users\/user001\/applications\/jboss-5.0.1.GA\r\nhibernate.dialect=org.hibernate.dialect.HSQLDialect\r\nhibernate.connection.url=jdbc\\:hsqldb\\:hsql\\:\/\/localhost\\:1701\/\r\nicefaces=n\r\n<\/pre>\n<p>HSQLDB\u3092\u30b5\u30fc\u30d0\u30e2\u30fc\u30c9\u3067\u8d77\u52d5\u3059\u308b\u305f\u3081\u306bhsqldb-ds.xml, bindings.xml<br \/>\n\u306e\u4fee\u6b63\u304c\u5fc5\u8981\u306a\u306e\u3067\u3001standalone\u30e2\u30fc\u30c9\u304b\u3089server\u30e2\u30fc\u30c9\u3078\u5909\u66f4\u3002\u5ff5\u306e\u305f\u3081\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u306f\u3068\u3063\u3066\u304a\u304f\u3002<\/p>\n<pre class=\"brush: bash; gutter: true\">\r\n$ cp ~\/applications\/jboss-5.0.1.GA\/server\/default\/deploy\/hsqldb-ds.xml  ~\/applications\/jboss-5.0.1.GA\/server\/default\/deploy\/hsqldb-ds.xml.original\r\n$ cp ~\/applications\/jboss-5.0.1.GA\/server\/default\/conf\/bootstrap\/bindings.xml  ~\/applications\/jboss-5.0.1.GA\/server\/default\/conf\/bootstrap\/bindings.xml.original\r\n<\/pre>\n<p>\u6b21\u306e\u3088\u3046\u306b\u4fee\u6b63\u3002<\/p>\n<pre class=\"brush: bash; gutter: true\">\r\n$ cat ~\/applications\/jboss-5.0.1.GA\/server\/default\/deploy\/hsqldb-ds.xml\r\n&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;\r\n&lt;datasources&gt;\r\n   &lt;local-tx-datasource&gt;\r\n      &lt;jndi-name&gt;DefaultDS&lt;\/jndi-name&gt;\r\n      &lt;connection-url&gt;jdbc:hsqldb:hsql:\/\/${jboss.bind.address}:1701&lt;\/connection-url&gt;\r\n      &lt;driver-class&gt;org.hsqldb.jdbcDriver&lt;\/driver-class&gt;\r\n      &lt;user-name&gt;sa&lt;\/user-name&gt;\r\n      &lt;password&gt;&lt;\/password&gt;\r\n      &lt;min-pool-size&gt;5&lt;\/min-pool-size&gt;\r\n      &lt;max-pool-size&gt;20&lt;\/max-pool-size&gt;\r\n      &lt;idle-timeout-minutes&gt;0&lt;\/idle-timeout-minutes&gt;\r\n      &lt;track-statements\/&gt;\r\n      &lt;security-domain&gt;HsqlDbRealm&lt;\/security-domain&gt;\r\n      &lt;prepared-statement-cache-size&gt;32&lt;\/prepared-statement-cache-size&gt;\r\n      &lt;metadata&gt;\r\n         &lt;type-mapping&gt;Hypersonic SQL&lt;\/type-mapping&gt;\r\n      &lt;\/metadata&gt;\r\n      &lt;depends&gt;jboss:service=Hypersonic&lt;\/depends&gt;\r\n   &lt;\/local-tx-datasource&gt;\r\n   &lt;mbean code=&quot;org.jboss.jdbc.HypersonicDatabase&quot; \r\n     name=&quot;jboss:service=Hypersonic&quot;&gt;\r\n     &lt;attribute name=&quot;Port&quot;&gt;        \r\n        &lt;value-factory bean=&quot;ServiceBindingManager&quot; method=&quot;getIntBinding&quot; \r\n           parameter=&quot;jboss:service=Hypersonic&quot;\/&gt;\r\n      &lt;\/attribute&gt;\r\n     &lt;attribute name=&quot;BindAddress&quot;&gt;${jboss.bind.address}&lt;\/attribute&gt;     \r\n     &lt;attribute name=&quot;Silent&quot;&gt;true&lt;\/attribute&gt;\r\n     &lt;attribute name=&quot;Database&quot;&gt;default&lt;\/attribute&gt;\r\n     &lt;attribute name=&quot;Trace&quot;&gt;false&lt;\/attribute&gt;\r\n     &lt;attribute name=&quot;No_system_exit&quot;&gt;true&lt;\/attribute&gt;\r\n   &lt;\/mbean&gt;\r\n&lt;\/datasources&gt;\r\n\r\n$ cat ~\/applications\/jboss-5.0.1.GA\/server\/default\/conf\/bootstrap\/bindings.xml\r\n\u7565\r\n\t\t\t&lt;!-- Commented out as tcp\/ip access to Hypersonic is not enabled by default --&gt;\r\n            &lt;bean class=&quot;org.jboss.services.binding.ServiceBindingMetadata&quot;&gt;\r\n               &lt;property name=&quot;serviceName&quot;&gt;jboss:service=Hypersonic&lt;\/property&gt;\r\n               &lt;property name=&quot;port&quot;&gt;1701&lt;\/property&gt;\r\n            &lt;\/bean&gt;\r\n\u7565\r\n<\/pre>\n<p>\u3053\u308c\u3067\u3001JBoss\u304c\u8d77\u52d5\u3059\u308b\u3068\u3001HSQLDB\u304c\u30b5\u30fc\u30d0\u30fc\u30e2\u30fc\u30c9\u3067\u8d77\u52d5\u3059\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002\u78ba\u8a8d\u306e\u305f\u3081\u3001JBoss\u3092\u8d77\u52d5\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"brush: bash; gutter: true\">\r\n$ \/Users\/user001\/applications\/jboss-5.0.1.GA\/bin\/run.sh\r\n<\/pre>\n<p>org.hsqldb.util.DatabaseManager\u3092\u4f7f\u3063\u3066\u3001HSQLDB\u306e\u30b5\u30fc\u30d0\u30fc\u30e2\u30fc\u30c9\u3078\u63a5\u7d9a\u3057\u3001\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e\u6e96\u5099\u3092\u3057\u307e\u3059\u3002\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u7528\u610f\u3057\u3066\u304a\u304d\u307e\u3059\u3002\u307e\u305a\u306f\u3001\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u7528\u610f\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"brush: bash; gutter: true\">\r\n$ mkdir ~\/applications\/jboss-5.0.1.GA\/server\/default\/tool\/\r\n<\/pre>\n<p>\u6b21\u306edbm.sh\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u4f5c\u6210\u3057\u3066\u3001\u5b9f\u884c\u53ef\u80fd\u3068\u3057\u3066\u304b\u3089\u3001\u5b9f\u884c\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"brush: bash; gutter: true\">\r\n$ cat ~\/applications\/jboss-5.0.1.GA\/server\/default\/tool\/dbm.sh \r\n#!\/bin\/sh\r\nJBOSS_HOME=&quot;\/Users\/user001\/applications\/jboss-5.0.1.GA&quot;\r\njava -cp ${JBOSS_HOME}\/common\/lib\/hsqldb.jar org.hsqldb.util.DatabaseManager\r\n\r\n$ chmod 755 ~\/applications\/jboss-5.0.1.GA\/server\/default\/tool\/dbm.sh\r\n$ ~\/applications\/jboss-5.0.1.GA\/server\/default\/tool\/dbm.sh\r\n<\/pre>\n<p>org.hsqldb.util.DatabaseManager\u306eGUI\u304c\u8868\u793a\u3055\u308c\u308b\u306e\u3067\u3001\u4e0b\u8a18\u306e\u3088\u3046\u306b\u6307\u5b9a\u3057\u3066\u3001[OK]\u3092\u30af\u30ea\u30c3\u30af\u3057\u3066\u63a5\u7d9a\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"brush: bash; gutter: true\">\r\nSetting Name: sampledb\r\nType: HSQL Database Engine Server\r\nDriver: org.hsqldb.jdbcDriver\r\nURL: jdbc:hsqldb:hsql:\/\/localhost:1701\/\r\nUser: sa\r\nPassword:\r\n<\/pre>\n<p>SQL\u6587\u3092\u5b9f\u884c\u3059\u308b\u3068\u3053\u308d\u3067\u3001\u4e0b\u8a18\u306e\u3088\u3046\u306b\u3057\u3066\u3001\u30c6\u30fc\u30d6\u30eb\u3092\uff12\u3064\u7528\u610f\u3002\u307e\u305f\u3001\u30c7\u30fc\u30bf\u3092\u5165\u308c\u3066\u304a\u304d\u307e\u3059\u3002<\/p>\n<pre class=\"brush: bash; gutter: true\">\r\ncreate table items_list (\r\n id int,\r\n name varchar(30) not null,\r\n primary key(id)\r\n);\r\ncreate table item (\r\n id int,\r\n items_list_id int not null,\r\n name varchar(30) not null,\r\n primary key(id),\r\n foreign key(items_list_id) references items_list(id)\r\n);\r\ninsert into items_list values(1, &#039;list1&#039;);\r\ninsert into items_list values(2, &#039;list2&#039;);\r\ninsert into item values(1, 2, &#039;item10&#039;);\r\ninsert into item values(2, 2, &#039;item11&#039;);\r\ninsert into item values(3, 1, &#039;item20&#039;);\r\ninsert into item values(4, 1, &#039;item21&#039;);\r\n<\/pre>\n<p>\u3053\u3053\u307e\u3067\u3067\u3001\u6e96\u5099\u304c\u3067\u304d\u305f\u306e\u3067\u3001\u6b21\u306e\u3088\u3046\u306b\u3057\u3066\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u751f\u6210\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"brush: bash; gutter: true\">\r\n$ JAVA_HOME=\/Library\/Java\/Home .\/seam create-project\r\n<\/pre>\n<p>\u7121\u4e8b\u751f\u6210\u3055\u308c\u308b\u3068\u3001\u305d\u308c\u3067\u3082\u3046\u6e96\u5099OK\u3067\u3059\u3002\/Users\/user001\/Desktop\/workspace\/seam-gen\/sampledbproject\/ \u306b\u5fc5\u8981\u306a\u30d5\u30a1\u30a4\u30eb\u304c\u3067\u304d\u3042\u304c\u3063\u3066\u3044\u308b\u306f\u305a\u3067\u3059\u3002Eclipse\u3078\u30a4\u30f3\u30dd\u30fc\u30c8\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3057\u3001NetBeans\u3078\u30a4\u30f3\u30dd\u30fc\u30c8\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre class=\"brush: bash; gutter: true\">\r\n\u7565\r\ncreate-project:\r\n     [echo] A new Seam project named &#039;sampledbproject&#039; was created in the \/Users\/user001\/Desktop\/workspace\/seam-gen directory\r\n     [echo] Type &#039;.\/seam explode&#039; and go to http:\/\/localhost:8080\/sampledbproject\r\n     [echo] Eclipse Users: Import the project using File &gt; Import... &gt; Existing Projects into Workspace, set the root directory to \/Users\/user001\/Desktop\/workspace\/seam-gen, then select the project named sampledbproject\r\n     [echo] NetBeans Users: Open the project using File &gt; Open project... and select the project folder \/Users\/user001\/Desktop\/workspace\/seam-gen\/sampledbproject \r\n     [echo] IDEA Users: Open the project using File &gt; Open project... and select the file \/Users\/user001\/Desktop\/workspace\/seam-gen\/sampledbproject\/sampledbproject.ipr\r\n\r\nBUILD SUCCESSFUL\r\nTotal time: 14 seconds\r\n<\/pre>\n<p>\u3068\u308a\u3042\u3048\u305a\u3001\u6b21\u306e\u3088\u3046\u306b\u3057\u3066seam explode\u3059\u308b\u3068\u3001JBoss\u3078\u5c55\u958b\u3057\u305f\u5f62\u3067\u30d5\u30a1\u30a4\u30eb\u304c\u30c7\u30d7\u30ed\u30a4\u3055\u308c\u307e\u3059\u3002\u52d5\u4f5c\u78ba\u8a8d\u3092\u3059\u308b\u306b\u306f\u3001JBoss\u3092\u8d77\u52d5\u3057\u3066\u304b\u3089\u3001http:\/\/localhost:8080\/sampledbproject \u3078Web\u30d6\u30e9\u30a6\u30b6\u304b\u3089\u30a2\u30af\u30bb\u30b9\u3057\u3066\u307f\u307e\u3059\u3002\u30ed\u30b0\u30a4\u30f3\u306b\u306f\u3001admin, \u30d1\u30b9\u30ef\u30fc\u30c9\u306a\u3057 \u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"brush: bash; gutter: true\">\r\n$ JAVA_HOME=\/Library\/Java\/Home .\/seam explode\r\n\u7565\r\nBUILD SUCCESSFUL\r\nTotal time: 2 seconds\r\n$ \/Users\/user001\/applications\/jboss-5.0.1.GA\/bin\/run.sh\r\n<\/pre>\n<p>\u753b\u9762\u304c\u8868\u793a\u3067\u304d\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3057\u305f\u3089\u3001seam\u30b3\u30de\u30f3\u30c9\u3067DB\u30c6\u30fc\u30d6\u30eb\u304b\u3089\u30d7\u30ed\u30b0\u30e9\u30e0\u3068\u753b\u9762\u3092\u81ea\u52d5\u751f\u6210\u3057\u3066\u307f\u307e\u3059\u3002\u6210\u529f\u3059\u308b\u3068\u3001\u753b\u9762\u306a\u3069\u304c\u3067\u304d\u3042\u304c\u308a\u307e\u3059\u3002<\/p>\n<pre class=\"brush: bash; gutter: true\">\r\n$ JAVA_HOME=\/Library\/Java\/Home .\/seam generate\r\n\u7565\r\n[javaformatter] Java formatting of 27 files completed. Skipped 0 file(s).\r\n     [echo] Type &#039;.\/seam restart&#039; and go to http:\/\/localhost:8080\/sampledbproject\r\n\r\ngenerate:\r\n\r\nBUILD SUCCESSFUL\r\nTotal time: 12 seconds\r\n<\/pre>\n<p>seam\u30b3\u30de\u30f3\u30c9\u3067restart\u3057\u3066\u304b\u3089\u3001http:\/\/localhost:8080\/sampledbproject \u3078\u30a2\u30af\u30bb\u30b9\u3057\u3001Home\u306a\u3069\u3092\u30af\u30ea\u30c3\u30af\u3059\u308b\u3068\u753b\u9762\u304c\u3067\u304d\u3066\u3044\u308b\u3053\u3068\u304c\u308f\u304b\u308a\u307e\u3059\u3002<\/p>\n<pre class=\"brush: bash; gutter: true\">\r\n$ JAVA_HOME=\/Library\/Java\/Home .\/seam restart\r\n<\/pre>\n<p>http:\/\/localhost:8080\/sampledbproject\/ItemsListList.seam \u3084\u3001http:\/\/localhost:8080\/sampledbproject\/ItemList.seam \u3078\u30a2\u30af\u30bb\u30b9\u3059\u308b\u3068DB\u306e\u30c7\u30fc\u30bf\u3092\u64cd\u4f5c\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002\u7c21\u5358\u306a\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u30a2\u30d7\u30ea\u306a\u3089\u3001\u3053\u308c\u3067\u5b9f\u88c5\u304c\u3067\u304d\u3066\u3057\u307e\u3044\u307e\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u624b\u5143\u306b\u74b0\u5883\u304c\u3042\u3063\u305f\u306e\u3067\u3001\u3061\u3087\u3063\u3068\u53e4\u3044\u306e\u3067\u3059\u304c\u3001JBoss5.0.1 + Seam 2.1.1\u3067DB\u30a2\u30af\u30bb\u30b9\u3092\u3059\u308bSeam\u30a2\u30d7\u30ea\u3092\u4f5c\u6210\u3059\u308b\u65b9\u6cd5\u306b\u3064\u3044\u3066\u78ba\u8a8d\u3092\u3057\u3066\u307f\u307e\u3057\u305f\u3002Mac OS X \u3067\u52d5\u4f5c\u3055\u305b\u3066\u3044\u307e\u3059\u3002<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[1207,246,709],"class_list":["post-10363","post","type-post","status-publish","format-standard","hentry","category-java","tag-java","tag-jboss","tag-mac-os"],"_links":{"self":[{"href":"https:\/\/www.hiro345.net\/blogs\/hiro345\/wp-json\/wp\/v2\/posts\/10363","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hiro345.net\/blogs\/hiro345\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hiro345.net\/blogs\/hiro345\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hiro345.net\/blogs\/hiro345\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hiro345.net\/blogs\/hiro345\/wp-json\/wp\/v2\/comments?post=10363"}],"version-history":[{"count":19,"href":"https:\/\/www.hiro345.net\/blogs\/hiro345\/wp-json\/wp\/v2\/posts\/10363\/revisions"}],"predecessor-version":[{"id":10376,"href":"https:\/\/www.hiro345.net\/blogs\/hiro345\/wp-json\/wp\/v2\/posts\/10363\/revisions\/10376"}],"wp:attachment":[{"href":"https:\/\/www.hiro345.net\/blogs\/hiro345\/wp-json\/wp\/v2\/media?parent=10363"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hiro345.net\/blogs\/hiro345\/wp-json\/wp\/v2\/categories?post=10363"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hiro345.net\/blogs\/hiro345\/wp-json\/wp\/v2\/tags?post=10363"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}