{"id":652,"date":"2007-12-13T10:31:34","date_gmt":"2007-12-13T01:31:34","guid":{"rendered":"http:\/\/www.kazu.tv\/blog\/?p=652"},"modified":"2007-12-13T10:31:34","modified_gmt":"2007-12-13T01:31:34","slug":"jboss_40_jboss","status":"publish","type":"post","link":"https:\/\/kazu.tv\/blog\/2007\/12\/13\/jboss_40_jboss\/","title":{"rendered":"JBoss 4.0 + JBoss IDE 2.0"},"content":{"rendered":"<p>\u4eca\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3067JBoss\u3092\u4f7f\u3063\u305f\u65e2\u5b58\u306e\u30b7\u30b9\u30c6\u30e0\u306b\u6a5f\u80fd\u8ffd\u52a0\u3092\u3057\u3066\u308b\u3002<br \/>\n\u7d50\u69cb\u6238\u60d1\u3063\u305f\u70b9\u304c\u3042\u3063\u305f\u3002<br \/>\n\uff11\uff0eJBoss\u3001Eclipse\u3063\u3066\u30d0\u30fc\u30b8\u30e7\u30f3\u306b\u3088\u3063\u3066\u4f7f\u3048\u308b\u6a5f\u80fd\u3084\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u304c\u9055\u3063\u305f\u308a\u3057\u3066\u3001Web\u306e\u60c5\u5831\u3092\u305d\u306e\u307e\u307e\u771f\u4f3c\u3059\u308b\u3063\u3066\u306e\u306f\u4e2d\u3005\u96e3\u3057\u3044\u3002\u4f8b\u3048\u3070\u3001EJB3\u3068\u305d\u308c\u4ee5\u524d\u306e\u958b\u767a\u306a\u3093\u3066\u968f\u5206\u9055\u3046\u3002EJB3\u306b\u6163\u308c\u3061\u3083\u3046\u3068XDoclet\u3067\u3059\u3089\u9762\u5012\u3067\u4f7f\u3063\u3066\u3089\u3093\u306a\u3044\u3002<br \/>\n\uff12\uff0eTomcat\u306f\u4eca\u307e\u3067\u30dc\u30c1\u30dc\u30c1\u89e6\u3063\u3066\u305f\u3051\u3069JBoss\u306f\u305d\u308c\u7a0b\u3067\u3082\u306a\u304b\u3063\u305f\u3057\u3001\u540c\u3058\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3067\u3082\u5fae\u5999\u306b\u9055\u3046\u4e8b\u304c\u3042\u3063\u305f\u3002<br \/>\n\uff13\uff0eJBoss\u306e\u8a2d\u5b9a\u306f\u8272\u3005\u60c5\u5831\u304c\u898b\u3064\u304b\u308b\u3051\u3069\u3001Eclipse\u4e0a\u3067\u306e\u958b\u767a\u74b0\u5883\u306e\u69cb\u7bc9\u306f\u60c5\u5831\u304c\u5c11\u306a\u304f\u3066\u6b63\u76f4\u304b\u306a\u308a\u624b\u9593\u53d6\u3063\u305f\u3002<br \/>\n\u3068\u8a00\u3046\u3053\u3068\u3067\u3001\u3044\u304f\u3064\u304b\u6c17\u306b\u306a\u3063\u305f\u70b9\u3092\u30e1\u30e2\u66f8\u304d\u3002<br \/>\n\u3068\u308a\u3042\u3048\u305a\u74b0\u5883\u304b\u3089<br \/>\n\u30fbJBoss 4.0.3 SP1<br \/>\n\u30fbEclipse 3.2 (Web Tools Platform 2.0.1)<br \/>\n\u30fbJBoss IDE 2.0.0 Beta2<br \/>\n\u30fbJDK 5<\/p>\n<p><!--more--><br \/>\n\u25cb\u74b0\u5883\u69cb\u7bc9<br \/>\nWTP all in one\u30d1\u30c3\u30b1\u30fc\u30b8\u306bJBoss IDE 2.0.0\u30d7\u30e9\u30b0\u30a4\u30f3\uff08All\uff09\u3092\u5165\u308c\u308b\u3002<br \/>\n\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306f\u3053\u308c\u3067\u5b8c\u4e86\u3002<br \/>\n\u30fb\u30b5\u30fc\u30d0\u30fc\u30e9\u30f3\u30bf\u30a4\u30e0\u306e\u8a2d\u5b9a<br \/>\n\u30c4\u30fc\u30eb\u30d0\u30fc\u304b\u3089Window-&gt;Preferences\u3092\u9078\u629e\u3057\u3066\u8a2d\u5b9a\u753b\u9762\u3092\u51fa\u3059\u3002<br \/>\n\u5de6\u306e\u30c4\u30ea\u30fc\u304b\u3089Server-&gt;Installed Runtimes\u3092\u9078\u629e\u3002<br \/>\nAdd\u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3002<br \/>\n\u300cJBoss\u300d\u3068\u300cJBoss Inc\u300d\u3063\u30662\u3064\u306e\u30d5\u30a9\u30eb\u30c0\u304c\u3042\u308b\u3051\u3069\u5f8c\u8005\u3092\u9078\u629e\u3002<br \/>\n\u4f7f\u3063\u3066\u308b\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u9078\u629e\u3057\u3066Next\u3092\u30af\u30ea\u30c3\u30af\u3002<br \/>\n\u540d\u524d\u3001JBoss\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3001JRE\u306e\u5834\u6240\u3092\u5165\u529b\u3057\u3066\u304a\u3057\u307e\u3044\u3002<br \/>\n\u30fb\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u4f5c\u6210<br \/>\nEclipse\u3067\u65b0\u898f\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u4f5c\u6210\u3002\u300cWeb-&gt;Dynamic Web Project\u300d\u3092\u9078\u629e\u3002<br \/>\nTarget Runtime\u3067\u5148\u307b\u3069\u4f5c\u6210\u3057\u305fJBoss\u3092\u9078\u629e\u3002<br \/>\n\u6b21\u306e\u30da\u30fc\u30b8\u3067Java\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u81ea\u5206\u304c\u4f7f\u3063\u3066\u308b\u306e\u306b\u5909\u66f4\u3002<br \/>\n\u5f8c\u306f\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u307e\u307e\u6700\u5f8c\u307e\u3067\u3044\u304f\u3002<br \/>\n\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u4f5c\u6210\u5f8c\u3001Package Explorer\u3092\u53f3\u30af\u30ea\u30c3\u30afBuild Path-&gt;Configure Build Path\u3092\u9078\u629e\u3002<br \/>\nLibraries\u30bf\u30d6\u3092\u9078\u629e\u3002<br \/>\nAdd Library\u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3002<br \/>\nJ2EE 1.4 Libraries (JBoss-IDE)\u3092\u9078\u629e\u3057\u3066\u6b21\u306b\u9032\u3080\u3002<br \/>\nFinish!<br \/>\n\u25cb\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306e\u5834\u6240<br \/>\n\u4eca\u56de\u3044\u3058\u308b\u30d5\u30a1\u30a4\u30eb\u306f\u4ee5\u4e0b\u306e\u901a\u308a<br \/>\nweb.xml<br \/>\njboss-web.xml<br \/>\nlogin-config.xml<br \/>\nxxxx-ds.xml \uff08\u540d\u524d\u306f\u4efb\u610f\uff09<br \/>\nweb.xml\u3068jboss-web.xml\u306fEclipse\u3067\u3044\u3046\u3068WebContent\/WEB-INF\u306e\u76f4\u4e0b\u306b\u7f6e\u304f\u3002<br \/>\nlogin-config.xml\u3068xxxx-ds.xml\u306fEclipse\u304b\u3089\u30c7\u30d7\u30ed\u30a4\u3059\u308b\u65b9\u6cd5\u304c\u5206\u304b\u3089\u306a\u304b\u3063\u305f\u306e\u3067\u3068\u308a\u3042\u3048\u305a\u624b\u52d5\u3067\u4ee5\u4e0b\u306e\u5834\u6240\u306b\u7f6e\u304f\u3002<br \/>\n$JBOSS_HOME\/server\/default\/deploy\/xxxx-ds.xml<br \/>\n$JBOSS_HOME\/server\/default\/conf\/login-config.xml<br \/>\n\u3053\u308c\u3067\u4e00\u901a\u308a\u306f\u5b8c\u4e86\u3002EJB\u3068\u304b\u305d\u306e\u8fba\u306e\u8a2d\u5b9a\u306f\u3053\u308c\u304b\u3089\u3002J2EE 1.4\u3060\u3068XDoclet\u3092\u4f7f\u3063\u305f\u65b9\u304c\u3044\u3044\u306e\u304b\u306a\u3002J2EE 5(\u3068\u3044\u3046\u304bEJB3)\u3060\u3068\u30a2\u30ce\u30c6\u30fc\u30b7\u30e7\u30f3\u3067ok\u307f\u305f\u3044\u3060\u304b\u3089\u697d\u306a\u3093\u3060\u3051\u3069\u3002<br \/>\n\u25cbJSTL\u306e\u4f7f\u7528<br \/>\n\u4eca\u304b\u3089\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u59cb\u3081\u308b\u306a\u3089EJB 3 + JSF 1.2\u3067\u3084\u308b\u3068\u601d\u3046\u3051\u3069\u3001\u65e2\u5b58\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u6539\u4fee\u3060\u3057\u3001\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3068\u304b\u3092\u65b0\u305f\u306b\u4f7f\u3044\u59cb\u3081\u308b\u307b\u3069\u306e\u898f\u6a21\u3067\u306a\u3044\u306e\u3067\u3001\u30b5\u30fc\u30d6\u30ec\u30c3\u30c8\uff0bJSP\u3067\u3084\u308b\u3053\u3068\u306b\u306a\u3063\u305f\u3002\u305d\u308c\u306b\u52a0\u3048\u3066JSTL\uff0b\u4ee5\u524d\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3067\u4f7f\u3063\u305f\u30ab\u30b9\u30bf\u30e0\u30bf\u30b0\u30e9\u30a4\u30d6\u30e9\u30ea\u306a\u3069\u3067\u30d7\u30ed\u30b0\u30e9\u30e0\u91cf\u3092\u6e1b\u3089\u3059\u4e88\u5b9a\u3002<br \/>\nTomcat\u3068\u540c\u3058\u3067web.xml\u3092\u3061\u3087\u3063\u3068\u5909\u66f4\u3057\u3066TLD\u30d5\u30a1\u30a4\u30eb\u3092WEB-INF\u4ee5\u4e0b\u306b\u7f6e\u3051\u3070\u3044\u3044\u3093\u3060\u308d\u3046\u3068\u601d\u3063\u305f\u3051\u3069\u3001WEB-INF\u306e\u66f8\u304d\u65b9\u304c\u82e5\u5e72\u5909\u308f\u3063\u305f\u3089\u3057\u3044\u3002\u8a73\u3057\u304f\u306f\u3053\u306e<a href=\"http:\/\/www.kawaz.jp\/pukiwiki\/?JBoss%203.2.3%A2%AA3.2.4\" target=\"_blank\">\u30da\u30fc\u30b8<\/a>\u306e\u771f\u3093\u4e2d\u8fba\u308a\u3092\u53c2\u7167\u3002<br \/>\n\u5f8c\u306f\u4ee5\u4e0b\u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u30d5\u30a1\u30a4\u30eb\u3092WEB-INF\/lib\u4ee5\u4e0b\u306b\u7f6e\u304f\u3002<br \/>\njstl.jar<br \/>\nstandard.jar<br \/>\nJSTL\u306f\u3069\u306eJSP\u30da\u30fc\u30b8\u3067\u3082\u4f7f\u3046\u306e\u3067\u3001@IT\u306e<a href=\"http:\/\/www.atmarkit.co.jp\/fjava\/javatips\/119jspservlet39.html\">\u8a18\u4e8b<\/a>\u3092\u53c2\u8003\u306bJSP\u3092\u81ea\u52d5\u7684\u306b\u8aad\u307f\u8fbc\u307e\u305b\u308b\u3088\u3046\u306bweb.xml\u3092\u4fee\u6b63\u3002<br \/>\nweb.xml\u306f\u3053\u3093\u306a\u611f\u3058\u3002<\/p>\n<div class=\"code\">&lt;jsp-config&gt;<br \/>\n&lt;jsp-property-group&gt;<br \/>\n&lt;url-pattern&gt;*.jsp&lt;\/url-pattern&gt;<br \/>\n&lt;page-encoding&gt;UTF-8&lt;\/page-encoding&gt;<br \/>\n&lt;include-prelude&gt;\/jsp\/header.jsp&lt;\/include-prelude&gt;<br \/>\n&lt;\/jsp-property-group&gt;<br \/>\n&lt;taglib&gt;<br \/>\n&lt;taglib-uri&gt;\/c&lt;\/taglib-uri&gt;<br \/>\n&lt;taglib-location&gt;c.tld&lt;\/taglib-location&gt;<br \/>\n&lt;\/taglib&gt;<br \/>\n&lt;\/jsp-config&gt;\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>JBoss 4.0\uff08\u4eca\u66f4\uff09\u7528\u306e\u30b7\u30b9\u30c6\u30e0\u3092Eclipse 3.2+JBoss IDE 2.0\u4e0a\u3067\u958b\u767a\u3059\u308b\u969b\u306e\u57fa\u672c\u7684\u306a\u8a2d\u5b9a\u3002<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[60],"tags":[67,953,202,205,204,206],"class_list":["post-652","post","type-post","status-publish","format-standard","hentry","category-java","tag-eclipse","tag-java","tag-jboss","tag-jboss-ide","tag-web-tools-platform","tag-wtp"],"_links":{"self":[{"href":"https:\/\/kazu.tv\/blog\/wp-json\/wp\/v2\/posts\/652","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kazu.tv\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kazu.tv\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kazu.tv\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kazu.tv\/blog\/wp-json\/wp\/v2\/comments?post=652"}],"version-history":[{"count":0,"href":"https:\/\/kazu.tv\/blog\/wp-json\/wp\/v2\/posts\/652\/revisions"}],"wp:attachment":[{"href":"https:\/\/kazu.tv\/blog\/wp-json\/wp\/v2\/media?parent=652"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kazu.tv\/blog\/wp-json\/wp\/v2\/categories?post=652"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kazu.tv\/blog\/wp-json\/wp\/v2\/tags?post=652"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}