{"id":390,"date":"2014-04-09T22:59:12","date_gmt":"2014-04-09T13:59:12","guid":{"rendered":"http:\/\/www.typea.info\/blog\/index.php\/2014\/04\/09\/java_ee_7_mysql_jdbcglassfish_v4\/"},"modified":"2014-04-09T22:59:12","modified_gmt":"2014-04-09T13:59:12","slug":"java_ee_7_mysql_jdbcglassfish_v4","status":"publish","type":"post","link":"https:\/\/www.typea.info\/blog\/index.php\/2014\/04\/09\/java_ee_7_mysql_jdbcglassfish_v4\/","title":{"rendered":"Java EE 7 \u691c\u8a3c\u74b0\u5883\u3092\u3064\u304f\u308b MySQL \u3078\u306ejdbc\u63a5\u7d9a\u3092GlassFish v4 \u306b\u4f5c\u6210"},"content":{"rendered":"<ol>\n<li><a href=\"https:\/\/www.typea.info\/blog\/index.php\/2014\/03\/27\/java_ee_7_centos_glassfish\">Java EE 7 \u3092\u8a66\u3059\u305f\u3081\u306b CentOS \u306b GlassFish \u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/a>\n<li><a href=\"https:\/\/www.typea.info\/blog\/index.php\/2014\/03\/27\/ubuntu_glassfish_v4_java_ee_7\">Ubuntu \u306b GlassFish v4 \u306b\u3088\u308b Java EE 7 \u691c\u8a3c\u74b0\u5883\u3092\u3064\u304f\u308b<\/a>\n<li><a href=\"https:\/\/www.typea.info\/blog\/index.php\/2014\/04\/02\/ubuntu_spring_tool_suite_java_ee_7\">Ubuntu \u306b Spring Tool Suite \u3092\u5165\u308c\u3066 Java EE 7 \u691c\u8a3c\u74b0\u5883\u3092\u3064\u304f\u308b<\/a>\n<li><a href=\"https:\/\/www.typea.info\/blog\/index.php\/2014\/04\/06\/java_ee_7_rest_web\">Java EE 7 \u691c\u8a3c\u74b0\u5883\u3092\u3064\u304f\u308b REST Web\u30b5\u30fc\u30d3\u30b9<\/a>\n<li><a href=\"https:\/\/www.typea.info\/blog\/index.php\/2014\/04\/07\/java_ee_7_ejb\">Java EE 7 \u691c\u8a3c\u74b0\u5883\u3092\u3064\u304f\u308b EJB\u7de8<\/a><\/li>\n<\/ol>\n<p>\u3053\u3093\u306a\u611f\u3058\u3067\u9032\u3093\u3067\u304d\u305f\u306e\u3067\u3001\u6b21\u306fJPA\u306b\u3001\u3001\u3001\u5165\u308b\u524d\u306b\u3001JDBC\u3092\u69cb\u6210\u3059\u308b\u3002<\/p>\n<h2>1.<a href=\"http:\/\/www.amazon.co.jp\/gp\/product\/4798124230\/ref=as_li_ss_tl?ie=UTF8&amp;camp=247&amp;creative=7399&amp;creativeASIN=4798124230&amp;linkCode=as2&amp;tag=typea09-22\">MySQL<\/a><img loading=\"lazy\" decoding=\"async\" style=\"border-top-style: none !important; border-left-style: none !important; border-bottom-style: none !important; border-right-style: none !important; margin: 0px\" border=\"0\" alt=\"\" src=\"http:\/\/ir-jp.amazon-adsystem.com\/e\/ir?t=typea09-22&amp;l=as2&amp;o=9&amp;a=4798124230\" width=\"1\" height=\"1\"> \u74b0\u5883\u3092\u3064\u304f\u308b<\/h2>\n<h3>1.1 Ubuntu\u306b<a href=\"http:\/\/www.amazon.co.jp\/gp\/product\/4798124230\/ref=as_li_ss_tl?ie=UTF8&amp;camp=247&amp;creative=7399&amp;creativeASIN=4798124230&amp;linkCode=as2&amp;tag=typea09-22\">MySQL<\/a><img loading=\"lazy\" decoding=\"async\" style=\"border-top-style: none !important; border-left-style: none !important; border-bottom-style: none !important; border-right-style: none !important; margin: 0px\" border=\"0\" alt=\"\" src=\"http:\/\/ir-jp.amazon-adsystem.com\/e\/ir?t=typea09-22&amp;l=as2&amp;o=9&amp;a=4798124230\" width=\"1\" height=\"1\"> \u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h3>\n<p><a href=\"http:\/\/typea.info\/tips\/wiki.cgi?page=MySQL\">CentOS\u306a\u3069\u3078\u306f\u3053\u3061\u3089\u53c2\u7167<\/a>\u3002<\/p>\n<pre class=\"prettyprint linenums\">$ sudo apt-get install mysql-server<\/pre>\n<p>\u9014\u4e2d\u3067\u30d1\u30b9\u30ef\u30fc\u30c9\u306e\u5165\u529b\u3092\u6c42\u3081\u3089\u308c\u307e\u3059\u3002<\/p>\n<p><a href=\"https:\/\/www.typea.info\/blog\/wp-content\/uploads\/image\/JavaEE7MySQLjdbcGlassFishv4_A8B\/mysql_password.png\"><img loading=\"lazy\" decoding=\"async\" title=\"mysql_password\" style=\"border-left-width: 0px; border-right-width: 0px; border-bottom-width: 0px; display: inline; border-top-width: 0px\" border=\"0\" alt=\"mysql_password\" src=\"https:\/\/www.typea.info\/blog\/wp-content\/uploads\/image\/JavaEE7MySQLjdbcGlassFishv4_A8B\/mysql_password_thumb.png\" width=\"267\" height=\"173\"><\/a> <\/p>\n<p><strong>\u8d77\u52d5\u3068\u505c\u6b62\u3068\u518d\u8d77\u52d5<\/strong><\/p>\n<\/p>\n<pre class=\"prettyprint linenums\">$ sudo \/etc\/init.d\/mysql\u3000start\r\n$ sudo \/etc\/init.d\/mysql\u3000stop\r\n$ sudo \/etc\/init.d\/mysql\u3000restart\r\n<\/pre>\n<p><strong>\u63a5\u7d9a<\/strong><\/p>\n<pre class=\"prettyprint linenums\">$ mysql -u root mysql\r\n<\/pre>\n<h3>1.2 \u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e\u4f5c\u6210\u3068\u78ba\u8a8d<\/h3>\n<pre class=\"prettyprint linenums\">mysql&gt; create database tallarico default character set utf8;\r\nQuery OK, 1 row affected (0.00 sec)\r\n\r\nmysql&gt; show create database tallarico;\r\n+-----------+--------------------------------------------------------------------+\r\n| Database  | Create Database                                                    |\r\n+-----------+--------------------------------------------------------------------+\r\n| tallarico | CREATE DATABASE `tallarico` \/*!40100 DEFAULT CHARACTER SET utf8 *\/ |\r\n+-----------+--------------------------------------------------------------------+\r\n1 row in set (0.02 sec)\r\n<\/pre>\n<p><a href=\"http:\/\/typea.info\/tips\/wiki.cgi?page=MySQL\"><a href=\"http:\/\/www.amazon.co.jp\/gp\/product\/4798124230\/ref=as_li_ss_tl?ie=UTF8&amp;camp=247&amp;creative=7399&amp;creativeASIN=4798124230&amp;linkCode=as2&amp;tag=typea09-22\">MySQL<\/a><img loading=\"lazy\" decoding=\"async\" style=\"border-top-style: none !important; border-left-style: none !important; border-bottom-style: none !important; border-right-style: none !important; margin: 0px\" border=\"0\" alt=\"\" src=\"http:\/\/ir-jp.amazon-adsystem.com\/e\/ir?t=typea09-22&amp;l=as2&amp;o=9&amp;a=4798124230\" width=\"1\" height=\"1\"> \u306e\u305d\u306e\u4ed6\u60c5\u5831<\/a><\/p>\n<h3>1.3 MySQL JDBC \u30c9\u30e9\u30a4\u30d0\u306e\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9<\/h3>\n<p><a title=\"http:\/\/dev.mysql.com\/downloads\/connector\/\" href=\"http:\/\/dev.mysql.com\/downloads\/connector\/\">http:\/\/dev.mysql.com\/downloads\/connector\/<\/a><\/p>\n<p><a href=\"http:\/\/www.amazon.co.jp\/gp\/product\/4798124230\/ref=as_li_ss_tl?ie=UTF8&amp;camp=247&amp;creative=7399&amp;creativeASIN=4798124230&amp;linkCode=as2&amp;tag=typea09-22\">MySQL<\/a><img loading=\"lazy\" decoding=\"async\" style=\"border-top-style: none !important; border-left-style: none !important; border-bottom-style: none !important; border-right-style: none !important; margin: 0px\" border=\"0\" alt=\"\" src=\"http:\/\/ir-jp.amazon-adsystem.com\/e\/ir?t=typea09-22&amp;l=as2&amp;o=9&amp;a=4798124230\" width=\"1\" height=\"1\"> Connectors \u304b\u3089 Connector\/J \u3092\u9078\u629e<\/p>\n<p><a href=\"https:\/\/www.typea.info\/blog\/wp-content\/uploads\/image\/JavaEE7MySQLjdbcGlassFishv4_A8B\/mysql_jdbc_driver01.png\"><img loading=\"lazy\" decoding=\"async\" title=\"mysql_jdbc_driver01\" style=\"border-left-width: 0px; border-right-width: 0px; border-bottom-width: 0px; display: inline; border-top-width: 0px\" border=\"0\" alt=\"mysql_jdbc_driver01\" src=\"https:\/\/www.typea.info\/blog\/wp-content\/uploads\/image\/JavaEE7MySQLjdbcGlassFishv4_A8B\/mysql_jdbc_driver01_thumb.png\" width=\"382\" height=\"220\"><\/a><\/p>\n<p>Download Now<\/p>\n<p><a href=\"https:\/\/www.typea.info\/blog\/wp-content\/uploads\/image\/JavaEE7MySQLjdbcGlassFishv4_A8B\/mysql_jdbc_driver02.png\"><img loading=\"lazy\" decoding=\"async\" title=\"mysql_jdbc_driver02\" style=\"border-left-width: 0px; border-right-width: 0px; border-bottom-width: 0px; display: inline; border-top-width: 0px\" border=\"0\" alt=\"mysql_jdbc_driver02\" src=\"https:\/\/www.typea.info\/blog\/wp-content\/uploads\/image\/JavaEE7MySQLjdbcGlassFishv4_A8B\/mysql_jdbc_driver02_thumb.png\" width=\"379\" height=\"266\"><\/a> <\/p>\n<p>\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u305f\u30d5\u30a1\u30a4\u30eb\u3092\u89e3\u51cd\u3059\u308b\u3068\u3001\u4e2d\u306b mysql-connector-java &lt;Version&gt; \u2013bin.jar \u304c<\/p>\n<p>\u542b\u307e\u308c\u308b\u306e\u3067\u3001\u305d\u3044\u3064\u3092\u53d6\u308a\u51fa\u3057\u3066\u304a\u304f\u3002<\/p>\n<p>&nbsp;<a href=\"https:\/\/www.typea.info\/blog\/wp-content\/uploads\/image\/JavaEE7MySQLjdbcGlassFishv4_A8B\/mysql_jdbc_driver03.png\"><img loading=\"lazy\" decoding=\"async\" title=\"mysql_jdbc_driver03\" style=\"border-left-width: 0px; border-right-width: 0px; border-bottom-width: 0px; display: inline; border-top-width: 0px\" border=\"0\" alt=\"mysql_jdbc_driver03\" src=\"https:\/\/www.typea.info\/blog\/wp-content\/uploads\/image\/JavaEE7MySQLjdbcGlassFishv4_A8B\/mysql_jdbc_driver03_thumb.png\" width=\"350\" height=\"217\"><\/a> <\/p>\n<h2>2.GlassFish JDBC\u306e\u69cb\u6210\u3092\u884c\u3046<\/h2>\n<h3>2.1 JDBC \u30c9\u30e9\u30a4\u30d0\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h3>\n<p>\u4e0a\u8a181.3\u3067\u5165\u624b\u3057\u305fJDBC\u30c9\u30e9\u30a4\u30d0\u30fc\u3092\u3001\u4ee5\u4e0b\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u7f6e\u304f\u3053\u3068\u3067\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u5b8c\u4e86\u3002<\/p>\n<p>&lt;GlassFish\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u30c7\u30a3\u30ec\u30af\u30c8\u30ea&gt;glassfish\/domains\/&lt;\u5bfe\u8c61\u30c9\u30e1\u30a4\u30f3&gt;\/lib\/ext<\/p>\n<p><a href=\"https:\/\/www.google.co.jp\/url?sa=t&amp;rct=j&amp;q=&amp;esrc=s&amp;source=web&amp;cd=3&amp;cad=rja&amp;uact=8&amp;ved=0CEEQFjAC&amp;url=https%3A%2F%2Fglassfish.java.net%2Fdocs%2F4.0%2Fapplication-development-guide.pdf&amp;ei=17tCU-KGJ8GQkQWp-4HQDw&amp;usg=AFQjCNGDYRkbXTj_PFAJDnsfmLsRuNkqcQ&amp;sig2=WiCcjp2Y0GmgpU4oT92--g&amp;bvm=bv.64125504,d.dGI\">GlassFish&nbsp; Application Development Guide Release 4.0<\/a><\/p>\n<blockquote>\n<p>Using the Java Optional Package Mechanism <\/p>\n<p>Optional packages are packages of Java classes and associated native code that<br \/>application developers can use to extend the functionality of the core platform.<br \/>To use the Java optional package mechanism, copy the JAR files into the<br \/>domain-dir\/lib\/ext directory, or use the asadmin add-library command with the<br \/>&#8211;type ext option, then restart the server. For more information about the asadmin<br \/>add-library command, see the GlassFish Server Open Source Edition Reference Manual.<\/p>\n<\/blockquote>\n<p><a href=\"https:\/\/www.typea.info\/blog\/wp-content\/uploads\/image\/JavaEE7MySQLjdbcGlassFishv4_A8B\/mysql_jdbc_driver_install_gf.png\"><img loading=\"lazy\" decoding=\"async\" title=\"mysql_jdbc_driver_install_gf\" style=\"border-left-width: 0px; border-right-width: 0px; border-bottom-width: 0px; display: inline; border-top-width: 0px\" border=\"0\" alt=\"mysql_jdbc_driver_install_gf\" src=\"https:\/\/www.typea.info\/blog\/wp-content\/uploads\/image\/JavaEE7MySQLjdbcGlassFishv4_A8B\/mysql_jdbc_driver_install_gf_thumb.png\" width=\"420\" height=\"167\"><\/a> <\/p>\n<h3>2.2 JDBC\u63a5\u7d9a\u30d7\u30fc\u30eb\u306e\u8a2d\u5b9a<\/h3>\n<p>\u7ba1\u7406\u30b3\u30f3\u30bd\u30fc\u30eb\u3092\u7acb\u3061\u4e0a\u3052\u3001\u5de6\u5074\u306e\u30c4\u30ea\u30fc\u304b\u3089\u3001JDBC\u63a5\u7d9a\u30d7\u30fc\u30eb\u3092\u9078\u629e\u3057\u3001\u65b0\u898f\u30dc\u30bf\u30f3\u3092\u62bc\u4e0b<\/p>\n<p><a href=\"https:\/\/www.typea.info\/blog\/wp-content\/uploads\/image\/JavaEE7MySQLjdbcGlassFishv4_A8B\/gf_jdbc_pool_new.png\"><img loading=\"lazy\" decoding=\"async\" title=\"gf_jdbc_pool_new\" style=\"border-left-width: 0px; border-right-width: 0px; border-bottom-width: 0px; display: inline; border-top-width: 0px\" border=\"0\" alt=\"gf_jdbc_pool_new\" src=\"https:\/\/www.typea.info\/blog\/wp-content\/uploads\/image\/JavaEE7MySQLjdbcGlassFishv4_A8B\/gf_jdbc_pool_new_thumb.png\" width=\"378\" height=\"177\"><\/a> <\/p>\n<p>\u9069\u5f53\u306b\u30d7\u30fc\u30eb\u540d\u3092\u540d\u4ed8\u3051\u3001\u30ea\u30bd\u30fc\u30b9\u30bf\u30a4\u30d7\u3092\u9078\u629e\u3057\u3001\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u30c9\u30e9\u30a4\u30d0\u30fc\u306e\u30d9\u30f3\u30c0\u30fc\u306b<a href=\"http:\/\/www.amazon.co.jp\/gp\/product\/4798124230\/ref=as_li_ss_tl?ie=UTF8&amp;camp=247&amp;creative=7399&amp;creativeASIN=4798124230&amp;linkCode=as2&amp;tag=typea09-22\">MySQL<\/a><img loading=\"lazy\" decoding=\"async\" style=\"border-top-style: none !important; border-left-style: none !important; border-bottom-style: none !important; border-right-style: none !important; margin: 0px\" border=\"0\" alt=\"\" src=\"http:\/\/ir-jp.amazon-adsystem.com\/e\/ir?t=typea09-22&amp;l=as2&amp;o=9&amp;a=4798124230\" width=\"1\" height=\"1\"> \u3092\u6307\u5b9a\u3057\u3001\u6b21\u3078\u3002<\/p>\n<p><a href=\"https:\/\/www.typea.info\/blog\/wp-content\/uploads\/image\/JavaEE7MySQLjdbcGlassFishv4_A8B\/gf_jdbc_pool_step2.png\"><img loading=\"lazy\" decoding=\"async\" title=\"gf_jdbc_pool_step2\" style=\"border-left-width: 0px; border-right-width: 0px; border-bottom-width: 0px; display: inline; border-top-width: 0px\" border=\"0\" alt=\"gf_jdbc_pool_step2\" src=\"https:\/\/www.typea.info\/blog\/wp-content\/uploads\/image\/JavaEE7MySQLjdbcGlassFishv4_A8B\/gf_jdbc_pool_step2_thumb.png\" width=\"389\" height=\"147\"><\/a> <\/p>\n<p><a href=\"http:\/\/yoshio3.com\/2010\/02\/08\/glassfish-%E3%83%87%E3%83%BC%E3%82%BF%E3%83%99%E3%83%BC%E3%82%B9%E3%81%AE%E8%A8%AD%E5%AE%9A\/\">Ping \u3092\u6709\u52b9\u306b\u3057\u3001\u6700\u4f4e\u4ee5\u4e0b\u306e\u30d7\u30ed\u30d1\u30c6\u30a3\u3092\u8a2d\u5b9a\u3002<\/a><\/p>\n<table cellspacing=\"0\" cellpadding=\"2\" width=\"420\" border=\"1\">\n<tbody>\n<tr>\n<td valign=\"top\" width=\"129\">\u30d7\u30ed\u30d1\u30c6\u30a3<\/td>\n<td valign=\"top\" width=\"289\">\u8a2d\u5b9a\u5024<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"129\">user<\/td>\n<td valign=\"top\" width=\"289\">root<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"129\">password<\/td>\n<td valign=\"top\" width=\"289\">\u4e0a\u8a181.1\u3067\u8a2d\u5b9a\u3057\u305f\u30d1\u30b9\u30ef\u30fc\u30c9<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"129\">DatabaseName<\/td>\n<td valign=\"top\" width=\"289\">\u4e0a\u8a181.2\u3067\u4f5c\u6210\u3057\u305f\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u540d<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"129\">ServerName<\/td>\n<td valign=\"top\" width=\"289\">localhost (\u9069\u5b9c)<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"129\">port<\/td>\n<td valign=\"top\" width=\"289\">3306<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"129\">URL<\/td>\n<td valign=\"top\" width=\"289\">jdbc:mysql:\/\/localhost:3306\/&lt;\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u540d&gt;<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><a href=\"https:\/\/www.typea.info\/blog\/wp-content\/uploads\/image\/JavaEE7MySQLjdbcGlassFishv4_A8B\/gf_jdbc_pool_step3.png\"><img loading=\"lazy\" decoding=\"async\" title=\"gf_jdbc_pool_step3\" style=\"border-left-width: 0px; border-right-width: 0px; border-bottom-width: 0px; display: inline; border-top-width: 0px\" border=\"0\" alt=\"gf_jdbc_pool_step3\" src=\"https:\/\/www.typea.info\/blog\/wp-content\/uploads\/image\/JavaEE7MySQLjdbcGlassFishv4_A8B\/gf_jdbc_pool_step3_thumb.png\" width=\"396\" height=\"185\"><\/a> <\/p>\n<p>\u30d7\u30ed\u30d1\u30c6\u30a3\u306e\u8a2d\u5b9a<\/p>\n<p><a href=\"https:\/\/www.typea.info\/blog\/wp-content\/uploads\/image\/JavaEE7MySQLjdbcGlassFishv4_A8B\/gf_jdbc_pool_properties.png\"><img loading=\"lazy\" decoding=\"async\" title=\"gf_jdbc_pool_properties\" style=\"border-left-width: 0px; border-right-width: 0px; border-bottom-width: 0px; display: inline; border-top-width: 0px\" border=\"0\" alt=\"gf_jdbc_pool_properties\" src=\"https:\/\/www.typea.info\/blog\/wp-content\/uploads\/image\/JavaEE7MySQLjdbcGlassFishv4_A8B\/gf_jdbc_pool_properties_thumb.png\" width=\"402\" height=\"188\"><\/a> <\/p>\n<p>\u5b8c\u4e86\u3001ping \u6210\u529f\uff01\uff01<\/p>\n<p><a href=\"https:\/\/www.typea.info\/blog\/wp-content\/uploads\/image\/JavaEE7MySQLjdbcGlassFishv4_A8B\/gf_jdbc_pool_success.png\"><img loading=\"lazy\" decoding=\"async\" title=\"gf_jdbc_pool_success\" style=\"border-left-width: 0px; border-right-width: 0px; border-bottom-width: 0px; display: inline; border-top-width: 0px\" border=\"0\" alt=\"gf_jdbc_pool_success\" src=\"https:\/\/www.typea.info\/blog\/wp-content\/uploads\/image\/JavaEE7MySQLjdbcGlassFishv4_A8B\/gf_jdbc_pool_success_thumb.png\" width=\"396\" height=\"187\"><\/a> <\/p>\n<h3>2.2 JDBC\u30ea\u30bd\u30fc\u30b9\u306e\u8a2d\u5b9a<\/h3>\n<p>\u5de6\u30e1\u30cb\u30e5\u30fc\u304b\u3089\u3001JDBC\u30ea\u30bd\u30fc\u30b9\u3092\u9078\u629e\u3057\u3001\u65b0\u898f\u30dc\u30bf\u30f3\u62bc\u4e0b<\/p>\n<p><a href=\"https:\/\/www.typea.info\/blog\/wp-content\/uploads\/image\/JavaEE7MySQLjdbcGlassFishv4_A8B\/gf_jdbc_resource_new.png\"><img loading=\"lazy\" decoding=\"async\" title=\"gf_jdbc_resource_new\" style=\"border-left-width: 0px; border-right-width: 0px; border-bottom-width: 0px; display: inline; border-top-width: 0px\" border=\"0\" alt=\"gf_jdbc_resource_new\" src=\"https:\/\/www.typea.info\/blog\/wp-content\/uploads\/image\/JavaEE7MySQLjdbcGlassFishv4_A8B\/gf_jdbc_resource_new_thumb.png\" width=\"354\" height=\"132\"><\/a> <\/p>\n<p>JNDI\u540d\u3092\u8a2d\u5b9a\u3001\u4f5c\u6210\u3057\u305fJDBC\u30d7\u30fc\u30eb\u3092\u6307\u5b9a\u3057\u3066\u5b8c\u4e86<\/p>\n<p><a href=\"https:\/\/www.typea.info\/blog\/wp-content\/uploads\/image\/JavaEE7MySQLjdbcGlassFishv4_A8B\/gf_jdbc_resource_new02.png\"><img loading=\"lazy\" decoding=\"async\" title=\"gf_jdbc_resource_new02\" style=\"border-left-width: 0px; border-right-width: 0px; border-bottom-width: 0px; display: inline; border-top-width: 0px\" border=\"0\" alt=\"gf_jdbc_resource_new02\" src=\"https:\/\/www.typea.info\/blog\/wp-content\/uploads\/image\/JavaEE7MySQLjdbcGlassFishv4_A8B\/gf_jdbc_resource_new02_thumb.png\" width=\"355\" height=\"149\"><\/a> <\/p>\n<p>\u3042\u3068\u306f\u3001\u3053\u306eJNDI\u540d\u3067\u3001\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306b\u30a2\u30af\u30bb\u30b9\u3067\u304d\u308b\u306f\u305a\u3002<\/p>\n<p><iframe style=\"height: 240px; width: 120px\" marginheight=\"0\" src=\"http:\/\/rcm-fe.amazon-adsystem.com\/e\/cm?lt1=_blank&amp;bc1=FFFFFF&amp;IS2=1&amp;bg1=FFFFFF&amp;fc1=000000&amp;lc1=0000FF&amp;t=typea09-22&amp;o=9&amp;p=8&amp;l=as4&amp;m=amazon&amp;f=ifr&amp;ref=ss_til&amp;asins=4798124230\" frameborder=\"0\" marginwidth=\"0\" scrolling=\"no\"><\/iframe><\/p>\n<p>MySQL\u306b\u3064\u3044\u3066\u306f\u3001\u3053\u306e\u672c\u304c\u4e01\u5be7\u3067\u308f\u304b\u308a\u3084\u3059\u304b\u3063\u305f\uff01<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Java EE 7 \u3092\u8a66\u3059\u305f\u3081\u306b CentOS \u306b GlassFish \u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb Ubuntu \u306b GlassFish v4 \u306b\u3088\u308b Java EE 7 \u691c\u8a3c\u74b0\u5883\u3092\u3064\u304f\u308b Ubuntu \u306b Spring Tool  [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"sns_share_botton_hide":"","vkExUnit_sns_title":"","_vk_print_noindex":"","sitemap_hide":"","_veu_custom_css":"","veu_display_promotion_alert":"","vkexunit_cta_each_option":"","footnotes":""},"categories":[65,46,59],"tags":[],"class_list":["post-390","post","type-post","status-publish","format-standard","hentry","category-glassfish","category-java-ee","category-mysql"],"veu_head_title_object":{"title":"","add_site_title":""},"_links":{"self":[{"href":"https:\/\/www.typea.info\/blog\/index.php\/wp-json\/wp\/v2\/posts\/390","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.typea.info\/blog\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.typea.info\/blog\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.typea.info\/blog\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.typea.info\/blog\/index.php\/wp-json\/wp\/v2\/comments?post=390"}],"version-history":[{"count":0,"href":"https:\/\/www.typea.info\/blog\/index.php\/wp-json\/wp\/v2\/posts\/390\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.typea.info\/blog\/index.php\/wp-json\/wp\/v2\/media?parent=390"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.typea.info\/blog\/index.php\/wp-json\/wp\/v2\/categories?post=390"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.typea.info\/blog\/index.php\/wp-json\/wp\/v2\/tags?post=390"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}