{"id":36398,"date":"2023-04-28T20:57:56","date_gmt":"2022-08-18T22:58:15","guid":{"rendered":"https:\/\/www.silicloud.com\/zh\/blog\/%e9%80%9a%e8%bf%87%e4%bd%bf%e7%94%a8apache-openwebbeans%ef%bc%8c%e6%88%91%e4%bb%ac%e5%8f%af%e4%bb%a5%e4%bd%bf%e7%94%a8cdi%e3%80%82\/"},"modified":"2024-01-15T08:54:40","modified_gmt":"2024-01-15T00:54:40","slug":"%e9%80%9a%e8%bf%87%e4%bd%bf%e7%94%a8apache-openwebbeans%ef%bc%8c%e6%88%91%e4%bb%ac%e5%8f%af%e4%bb%a5%e4%bd%bf%e7%94%a8cdi%e3%80%82","status":"publish","type":"post","link":"https:\/\/www.silicloud.com\/zh\/blog\/%e9%80%9a%e8%bf%87%e4%bd%bf%e7%94%a8apache-openwebbeans%ef%bc%8c%e6%88%91%e4%bb%ac%e5%8f%af%e4%bb%a5%e4%bd%bf%e7%94%a8cdi%e3%80%82\/","title":{"rendered":"\u901a\u8fc7\u4f7f\u7528Apache OpenWebBeans\uff0c\u6211\u4eec\u53ef\u4ee5\u4f7f\u7528CDI"},"content":{"rendered":"<h1>\u603b\u7ed3<\/h1>\n<p>\u4e3a\u4e86\u5728Apache Tomcat\u4e2d\u4f7f\u7528CDI\uff0c\u9700\u8981\u7f16\u5199\u548c\u914d\u7f6epom.xml\uff0c\u8fd9\u5f88\u9ebb\u70e6\u3002\u56e0\u6b64\uff0c\u8fd9\u6b21\u6253\u7b97\u4f7f\u7528Apache OpenWebBeans\u6765\u8f7b\u677e\u5730\u4f7f\u7528CDI\u3002<\/p>\n<h1>\u524d\u63d0\u6761\u4ef6 (Qian2 ti2 tiao2 jian4)<\/h1>\n<ol>\n<li style=\"list-style-type: none;\">\n<ol>\u53ef\u4ee5\u4f7f\u7528Java\u547d\u4ee4<\/ol>\n<\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<ol>\n<li style=\"list-style-type: none;\">\n<ol>\u53ef\u4ee5\u4f7f\u7528Git<\/ol>\n<\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<ol>\u53ef\u4ee5\u4f7f\u7528eclipse\uff08\u5982\u679c\u53ef\u4ee5\u7684\u8a71\uff09<\/ol>\n<h1>\u6574\u4f53\u6784\u6210<\/h1>\n<pre class=\"post-pre\"><code>\/\u4f5c\u696d\u5148\/\r\n  \u251c Tomcat\/\r\n  \u2502  \u251c apache-tomcat-9.0.22\/\r\n  \u2502  \u2502  \u251c bin\/\r\n  \u2502  \u2502  \u2502  \u251c startup.bat\r\n  \u2502  \u2502  \u2502  \u2514 startup.sh\r\n  \u2502  \u2502  \u2514 conf\/\r\n  \u2502  \u2502     \u251c Catalina\/\r\n  \u2502  \u2502     \u2502  \u2514 localhost\r\n  \u2502  \u2502     \u2502     \u2514 Sample.xml\r\n  \u2502  \u2502     \u251c context.xml\r\n  \u2502  \u2502     \u2514 logging.properties\r\n  \u2502  \u251c current -&gt; (\/\u4f5c\u696d\u5148\/Tomcat\/apache-tomcat-9.0.22\/)\r\n  \u2502  \u251c openwebbeans-distribution-2.0.9\r\n  \u2502  \u2502  \u251c install_owb_tomcat7.bat\r\n  \u2502  \u2502  \u2514 install_owb_tomcat7.sh\r\n  \u2502  \u251c apache-tomcat-9.0.22\r\n  \u2502  \u2514 openwebbeans-distribution-2.0.9-binary.zip\r\n  \u2514 quita\r\n     \u2514 cdi-sample\r\n        \u2514 WebContent\r\n          \u2514 WEB-INF\r\n            \u2514 beanse.xml\r\n<\/code><\/pre>\n<h1>\u4efb\u52a1\u6d41\u7a0b<\/h1>\n<ol>\n<li style=\"list-style-type: none;\">\n<ol>\u521b\u5efa\u4e00\u4e2a\u7528\u4e8e\u8fdb\u884c\u672c\u6b21\u64cd\u4f5c\u7684\u76ee\u5f55\uff08\u4ee5\u4e0b\u79f0\u4e3a&#8221;\u4f5c\u4e1a\u5148&#8221;\uff09\u3002<\/ol>\n<\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<ol>\n<li style=\"list-style-type: none;\">\n<ol>\u5728\u4f5c\u4e1a\u5148\u4e2d\u521b\u5efaTomcat\u76ee\u5f55\u3002<\/ol>\n<\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<ol>\n<li style=\"list-style-type: none;\">\n<ol>\u5c06Apache Tomcat\u4e0b\u8f7d\u5e76\u89e3\u538b\u5230Tomcat\u76ee\u5f55\u4e2d\u3002<\/ol>\n<\/li>\n<\/ol>\n<p>\u4e3a\u8003\u8651\u5230\u7248\u672c\u66f4\u6539\u65f6\u7684\u60c5\u51b5\uff0c\u521b\u5efa\u4e00\u4e2a\u6307\u5411\u5f53\u524d\u7248\u672c\u7684\u94fe\u63a5\u3002<\/p>\n<p># Windows\u64cd\u4f5c\u7cfb\u7edf\u7684\u60c5\u51b5\u4e0b<br \/>\nmklink \/j current apache-tomcat-9.0.22<\/p>\n<p># Linux\u64cd\u4f5c\u7cfb\u7edf\u7684\u60c5\u51b5\u4e0b<br \/>\nln -s apache-tomcat-9.0.22 .\/current<\/p>\n<p>\u3010\u4ec5\u9002\u7528\u4e8eWindows\u64cd\u4f5c\u7cfb\u7edf\u3011\u4e3a\u4e86\u9632\u6b62\u63a7\u5236\u53f0\u51fa\u73b0\u4e71\u7801\uff0c\u9700\u8981\u4fee\u6539Apache Tomcat\u76ee\u5f55\u5185\u7684conf\/logging.properties\u6587\u4ef6\u3002<\/p>\n<p>logging.properties<br \/>\n# \u5728\u5927\u7ea6\u7b2c51\u884c<br \/>\n# \u4fee\u6539\u524d<br \/>\njava.util.logging.ConsoleHandler.encoding = UTF-8<br \/>\n# \u4fee\u6539\u540e<br \/>\njava.util.logging.ConsoleHandler.encoding = SJIS<\/p>\n<p>\u4e0b\u8f7dApache OpenWebBeans\u5e76\u89e3\u538b\u5230Tomcat\u76ee\u5f55\u4e2d\u3002<\/p>\n<p>\u5728Apache OpenWebBeans\u76ee\u5f55\u4e2d\u6267\u884cinstall_owb_tomcat7\u3002<\/p>\n<p># Windows\u64cd\u4f5c\u7cfb\u7edf\u7684\u60c5\u51b5\u4e0b<br \/>\ninstall_owb_tomcat7.bat ..\\current<\/p>\n<p># Linux\u64cd\u4f5c\u7cfb\u7edf\u7684\u60c5\u51b5\u4e0b<br \/>\ninstall_owb_tomcat7.sh ..\/current<\/p>\n<p>\u3010\u4ec5\u9002\u7528\u4e8eWindows\u64cd\u4f5c\u7cfb\u7edf\u3011\u5728Apache Tomcat\u76ee\u5f55\u5185\u7684conf\/context.xml\u6587\u4ef6\u7684&#8221;&#8221;\u6807\u7b7e\u4e2d\u6dfb\u52a0\u4e00\u4e2a\u6807\u7b7e\uff0c\u5e76\u6309\u7167\u4ee5\u4e0b\u65b9\u5f0f\u4fee\u6539\u5176\u5185\u5bb9\u3002<\/p>\n<p>context.xml<\/p>\n<p><!-- Default set of monitored resources. If one of these changes, the --><br \/>\n<!-- web application will be reloaded. --><br \/>\nWEB-INF\/web.xml<br \/>\nWEB-INF\/tomcat-web.xml<br \/>\n${catalina.base}\/conf\/web.xml<br \/>\n<!-- \u2193\u6dfb\u52a0\u7684\u6807\u7b7e --><br \/>\n<!-- Uncomment this to disable session persistence across Tomcat restarts --><br \/>\n<!--\n<Manager pathname=\"\" \/>\n--><\/p>\n<p>\u5728\u4f5c\u4e1a\u5148\u4e2d\u514b\u9686\u4ee5\u4e0bGit\u4ed3\u5e93<\/p>\n<p>https:\/\/gitlab.com\/P488\/qiita.git<\/p>\n<p>\u5728Apache Tomcat\u76ee\u5f55\u5185\u7684conf\/Catalina\/localhost\u4e2d\u521b\u5efa\u4ee5\u4e0b\u5185\u5bb9\u7684xml\u6587\u4ef6\u3002<\/p>\n<p>Sample.xml<\/p>\n<p>\u6267\u884c\u4f4d\u4e8eApache Tomcat\u7684bin\u76ee\u5f55\u4e2d\u7684startup\u6587\u4ef6\u3002<\/p>\n<p># Windows\u64cd\u4f5c\u7cfb\u7edf\u7684\u60c5\u51b5\u4e0b<br \/>\nstartup.bat<\/p>\n<p># Linux\u64cd\u4f5c\u7cfb\u7edf\u7684\u60c5\u51b5\u4e0b<br \/>\nstartup.sh<\/p>\n<p>\u8bbf\u95eelocalhost:8080\/Sample\/SampleServlet\uff0c\u5e76\u786e\u8ba4\u662f\u5426\u8f93\u51fa&#8221;Served at: &#8220;\u3002<\/p>\n<h1>\u603b\u7ed3\u548c\u611f\u53d7<\/h1>\n<p>\u8fd9\u6b21\u6211\u4f7f\u7528\u4e86Apache OpenWebBeans\u6765\u5728Apache Tomcat\u4e0a\u4f7f\u7528CDI\u3002\u5bf9\u4e8eWindows\u7cfb\u7edf\u6765\u8bf4\uff0c\u53ef\u80fd\u6709\u4e9b\u9ebb\u70e6\u9700\u8981\u624b\u52a8\u64cd\u4f5c\u4e00\u4e0b\uff0c\u4f46\u53ea\u9700\u8fd0\u884c.bat\/.sh\u6587\u4ef6\u5c31\u53ef\u4ee5\u7b80\u5355\u5730\u4f7f\u7528CDI\u3002\u6211\u662f\u5728eclipse\u4e2d\u521b\u5efa\u7684\u8fd9\u4e2a\u9879\u76ee\uff0c\u5982\u679c\u4f60\u80fd\u591f\u7684\u8bdd\uff0c\u4e5f\u53ef\u4ee5\u5c1d\u8bd5\u8fdb\u884c\u4e00\u4e9b\u4fee\u6539\u3002\uff08\u5982\u679c\u5728eclipse\u4e2d\u4f7f\u7528\uff0c\u53ef\u4ee5\u901a\u8fc7\u9009\u62e9&#8221;\u7a97\u53e3&#8221; -&gt; &#8220;\u9996\u9009\u9879&#8221; -&gt; &#8220;\u670d\u52a1\u5668&#8221; -&gt; &#8220;\u8fd0\u884c\u65f6\u73af\u5883&#8221; -&gt; &#8220;Tomcat9(Java11)&#8221; -&gt; &#8220;\u7f16\u8f91&#8221;\u6765\u5c06Tomcat\u5b89\u88c5\u76ee\u5f55\u66f4\u6539\u4e3a\/\u4f5c\u4e1a\u76ee\u5f55\/Tomcat\/current\uff09\u3002<\/p>\n<p>\u5982\u679c\u6709\u9519\u8bef\u3001\u95ee\u9898\u7b49\uff0c\u8bf7\u7559\u8a00\u8bc4\u8bba\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u603b\u7ed3 \u4e3a\u4e86\u5728Apache Tomcat\u4e2d\u4f7f\u7528CDI\uff0c\u9700\u8981\u7f16\u5199\u548c\u914d\u7f6epom.xml\uff0c\u8fd9\u5f88\u9ebb\u70e6\u3002\u56e0\u6b64\uff0c\u8fd9\u6b21\u6253\u7b97\u4f7f\u7528 [&hellip;]<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-36398","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v21.5 (Yoast SEO v21.5) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u901a\u8fc7\u4f7f\u7528Apache OpenWebBeans\uff0c\u6211\u4eec\u53ef\u4ee5\u4f7f\u7528CDI - Blog - Silicon Cloud<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.silicloud.com\/zh\/blog\/\u901a\u8fc7\u4f7f\u7528apache-openwebbeans\uff0c\u6211\u4eec\u53ef\u4ee5\u4f7f\u7528cdi\u3002\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u901a\u8fc7\u4f7f\u7528Apache OpenWebBeans\uff0c\u6211\u4eec\u53ef\u4ee5\u4f7f\u7528CDI\" \/>\n<meta property=\"og:description\" content=\"\u603b\u7ed3 \u4e3a\u4e86\u5728Apache Tomcat\u4e2d\u4f7f\u7528CDI\uff0c\u9700\u8981\u7f16\u5199\u548c\u914d\u7f6epom.xml\uff0c\u8fd9\u5f88\u9ebb\u70e6\u3002\u56e0\u6b64\uff0c\u8fd9\u6b21\u6253\u7b97\u4f7f\u7528 [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.silicloud.com\/zh\/blog\/\u901a\u8fc7\u4f7f\u7528apache-openwebbeans\uff0c\u6211\u4eec\u53ef\u4ee5\u4f7f\u7528cdi\u3002\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog - Silicon Cloud\" \/>\n<meta property=\"article:published_time\" content=\"2022-08-18T22:58:15+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-01-15T00:54:40+00:00\" \/>\n<meta name=\"author\" content=\"\u6e05, \u5b87\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u6e05, \u5b87\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e9%80%9a%e8%bf%87%e4%bd%bf%e7%94%a8apache-openwebbeans%ef%bc%8c%e6%88%91%e4%bb%ac%e5%8f%af%e4%bb%a5%e4%bd%bf%e7%94%a8cdi%e3%80%82\/\",\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e9%80%9a%e8%bf%87%e4%bd%bf%e7%94%a8apache-openwebbeans%ef%bc%8c%e6%88%91%e4%bb%ac%e5%8f%af%e4%bb%a5%e4%bd%bf%e7%94%a8cdi%e3%80%82\/\",\"name\":\"\u901a\u8fc7\u4f7f\u7528Apache OpenWebBeans\uff0c\u6211\u4eec\u53ef\u4ee5\u4f7f\u7528CDI - Blog - Silicon Cloud\",\"isPartOf\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#website\"},\"datePublished\":\"2022-08-18T22:58:15+00:00\",\"dateModified\":\"2024-01-15T00:54:40+00:00\",\"author\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/1a6ecd3d914d22a5ac32791ffc1fbd8e\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e9%80%9a%e8%bf%87%e4%bd%bf%e7%94%a8apache-openwebbeans%ef%bc%8c%e6%88%91%e4%bb%ac%e5%8f%af%e4%bb%a5%e4%bd%bf%e7%94%a8cdi%e3%80%82\/#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.silicloud.com\/zh\/blog\/%e9%80%9a%e8%bf%87%e4%bd%bf%e7%94%a8apache-openwebbeans%ef%bc%8c%e6%88%91%e4%bb%ac%e5%8f%af%e4%bb%a5%e4%bd%bf%e7%94%a8cdi%e3%80%82\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e9%80%9a%e8%bf%87%e4%bd%bf%e7%94%a8apache-openwebbeans%ef%bc%8c%e6%88%91%e4%bb%ac%e5%8f%af%e4%bb%a5%e4%bd%bf%e7%94%a8cdi%e3%80%82\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.silicloud.com\/zh\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u901a\u8fc7\u4f7f\u7528Apache OpenWebBeans\uff0c\u6211\u4eec\u53ef\u4ee5\u4f7f\u7528CDI\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#website\",\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/\",\"name\":\"Blog - Silicon Cloud\",\"description\":\"\",\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/1a6ecd3d914d22a5ac32791ffc1fbd8e\",\"name\":\"\u6e05, \u5b87\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/4b2016c18459a605fc469c7566608f5686491baa112d0871ee613f61b7210565?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/4b2016c18459a605fc469c7566608f5686491baa112d0871ee613f61b7210565?s=96&d=mm&r=g\",\"caption\":\"\u6e05, \u5b87\"},\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/author\/qingyu\/\"},{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e9%80%9a%e8%bf%87%e4%bd%bf%e7%94%a8apache-openwebbeans%ef%bc%8c%e6%88%91%e4%bb%ac%e5%8f%af%e4%bb%a5%e4%bd%bf%e7%94%a8cdi%e3%80%82\/#local-main-organization-logo\",\"url\":\"\",\"contentUrl\":\"\",\"caption\":\"Blog - Silicon Cloud\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"\u901a\u8fc7\u4f7f\u7528Apache OpenWebBeans\uff0c\u6211\u4eec\u53ef\u4ee5\u4f7f\u7528CDI - Blog - Silicon Cloud","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.silicloud.com\/zh\/blog\/\u901a\u8fc7\u4f7f\u7528apache-openwebbeans\uff0c\u6211\u4eec\u53ef\u4ee5\u4f7f\u7528cdi\u3002\/","og_locale":"zh_CN","og_type":"article","og_title":"\u901a\u8fc7\u4f7f\u7528Apache OpenWebBeans\uff0c\u6211\u4eec\u53ef\u4ee5\u4f7f\u7528CDI","og_description":"\u603b\u7ed3 \u4e3a\u4e86\u5728Apache Tomcat\u4e2d\u4f7f\u7528CDI\uff0c\u9700\u8981\u7f16\u5199\u548c\u914d\u7f6epom.xml\uff0c\u8fd9\u5f88\u9ebb\u70e6\u3002\u56e0\u6b64\uff0c\u8fd9\u6b21\u6253\u7b97\u4f7f\u7528 [&hellip;]","og_url":"https:\/\/www.silicloud.com\/zh\/blog\/\u901a\u8fc7\u4f7f\u7528apache-openwebbeans\uff0c\u6211\u4eec\u53ef\u4ee5\u4f7f\u7528cdi\u3002\/","og_site_name":"Blog - Silicon Cloud","article_published_time":"2022-08-18T22:58:15+00:00","article_modified_time":"2024-01-15T00:54:40+00:00","author":"\u6e05, \u5b87","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"\u6e05, \u5b87","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"1 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e9%80%9a%e8%bf%87%e4%bd%bf%e7%94%a8apache-openwebbeans%ef%bc%8c%e6%88%91%e4%bb%ac%e5%8f%af%e4%bb%a5%e4%bd%bf%e7%94%a8cdi%e3%80%82\/","url":"https:\/\/www.silicloud.com\/zh\/blog\/%e9%80%9a%e8%bf%87%e4%bd%bf%e7%94%a8apache-openwebbeans%ef%bc%8c%e6%88%91%e4%bb%ac%e5%8f%af%e4%bb%a5%e4%bd%bf%e7%94%a8cdi%e3%80%82\/","name":"\u901a\u8fc7\u4f7f\u7528Apache OpenWebBeans\uff0c\u6211\u4eec\u53ef\u4ee5\u4f7f\u7528CDI - Blog - Silicon Cloud","isPartOf":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#website"},"datePublished":"2022-08-18T22:58:15+00:00","dateModified":"2024-01-15T00:54:40+00:00","author":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/1a6ecd3d914d22a5ac32791ffc1fbd8e"},"breadcrumb":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e9%80%9a%e8%bf%87%e4%bd%bf%e7%94%a8apache-openwebbeans%ef%bc%8c%e6%88%91%e4%bb%ac%e5%8f%af%e4%bb%a5%e4%bd%bf%e7%94%a8cdi%e3%80%82\/#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.silicloud.com\/zh\/blog\/%e9%80%9a%e8%bf%87%e4%bd%bf%e7%94%a8apache-openwebbeans%ef%bc%8c%e6%88%91%e4%bb%ac%e5%8f%af%e4%bb%a5%e4%bd%bf%e7%94%a8cdi%e3%80%82\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e9%80%9a%e8%bf%87%e4%bd%bf%e7%94%a8apache-openwebbeans%ef%bc%8c%e6%88%91%e4%bb%ac%e5%8f%af%e4%bb%a5%e4%bd%bf%e7%94%a8cdi%e3%80%82\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.silicloud.com\/zh\/blog\/"},{"@type":"ListItem","position":2,"name":"\u901a\u8fc7\u4f7f\u7528Apache OpenWebBeans\uff0c\u6211\u4eec\u53ef\u4ee5\u4f7f\u7528CDI"}]},{"@type":"WebSite","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#website","url":"https:\/\/www.silicloud.com\/zh\/blog\/","name":"Blog - Silicon Cloud","description":"","inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/1a6ecd3d914d22a5ac32791ffc1fbd8e","name":"\u6e05, \u5b87","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/4b2016c18459a605fc469c7566608f5686491baa112d0871ee613f61b7210565?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/4b2016c18459a605fc469c7566608f5686491baa112d0871ee613f61b7210565?s=96&d=mm&r=g","caption":"\u6e05, \u5b87"},"url":"https:\/\/www.silicloud.com\/zh\/blog\/author\/qingyu\/"},{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e9%80%9a%e8%bf%87%e4%bd%bf%e7%94%a8apache-openwebbeans%ef%bc%8c%e6%88%91%e4%bb%ac%e5%8f%af%e4%bb%a5%e4%bd%bf%e7%94%a8cdi%e3%80%82\/#local-main-organization-logo","url":"","contentUrl":"","caption":"Blog - Silicon Cloud"}]}},"_links":{"self":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/36398","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/comments?post=36398"}],"version-history":[{"count":2,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/36398\/revisions"}],"predecessor-version":[{"id":57965,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/36398\/revisions\/57965"}],"wp:attachment":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/media?parent=36398"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/categories?post=36398"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/tags?post=36398"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}