{"id":105479,"date":"2024-09-24T07:10:10","date_gmt":"2024-09-23T23:10:10","guid":{"rendered":"https:\/\/lrxjmw.cn\/?p=105479"},"modified":"2024-09-24T07:10:10","modified_gmt":"2024-09-23T23:10:10","slug":"spring-boot-java","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/spring-boot-java.html","title":{"rendered":"\u7528Spring Boot\u98a0\u8986Java\u5e94\u7528\u5f00\u53d1"},"content":{"rendered":"

\u4f7f\u7528Java\u505aWeb\u5e94\u7528\u5f00\u53d1\u5df2\u7ecf\u6709\u8fd120\u5e74\u7684\u5386\u53f2\u4e86\uff0c\u4ece\u6700\u521d\u7684Servlet1.0\u4e00\u6b65\u6b65\u6f14\u5316\u5230\u73b0\u5728\u5982\u6b64\u591a\u7684\u6846\u67b6\uff0c\u5e93\u4ee5\u53ca\u6574\u4e2a\u751f\u6001\u7cfb\u7edf\u3002\u7ecf\u8fc7\u8fd9\u4e48\u957f\u65f6\u95f4\u7684\u53d1\u5c55\uff0cJava\u4f5c\u4e3a\u4e00\u4e2a\u6210\u719f\u7684\u8bed\u8a00\uff0c\u4e5f\u6f14\u5316\u51fa\u4e86\u975e\u5e38\u6210\u719f\u7684\u751f\u6001\u7cfb\u7edf\uff0c\u8fd9\u4e5f\u662f\u8bb8\u591a\u516c\u53f8\u91c7\u7528Java\u4f5c\u4e3a\u4e3b\u6d41\u7684\u8bed\u8a00\u8fdb\u884c\u670d\u52a1\u5668\u7aef\u5f00\u53d1\u7684\u539f\u56e0\uff0c\u4e5f\u662f\u4e3a\u4ec0\u4e48Java\u4e00\u76f4\u4fdd\u6301\u7740\u975e\u5e38\u6d3b\u8dc3\u7684\u7528\u6237\u7fa4\u3002\u7136\u800c\u8fd9\u4e2a\u751f\u6001\u7cfb\u7edf\u7eb7\u7e41\u590d\u6742\uff0c\u4e00\u4e2a\u975e\u5e38\u7b80\u5355\u7684Java Web\u5e94\u7528\u7a0b\u5e8f\u90fd\u6709\u53ef\u80fd\u5e94\u7528\u5230\u4ee5\u4e0b\u6280\u672f\uff1a<\/p>\n

\"\"<\/p>\n

Java\u5f00\u53d1\u5206\u4e3a\u4e24\u4e2a\u9635\u8425\uff0c\u4e00\u4e2a\u662f\u7531Oracle \u4e3a\u4ee3\u8868\u7684Java EE\u9635\u8425\uff0c\u8fd9\u662fWeb\u5f00\u53d1\u7684\u5b98\u65b9\u53c2\u8003\u6807\u51c6\u3002\u5176\u4e2d\u6838\u5fc3\u6280\u672f\u4e3b\u8981\u6709Servlet, EJB, JMS, JSF, JDBC\/JPA, JAXB, JAX-WS\u7b49\u3002\u53e6\u4e00\u4e2a\u9635\u8425\u5219\u662f\u7531\u5f00\u6e90\u793e\u533a\u4ee5\u53caPivotal\u4ee3\u8868\u7684Spring\u9635\u8425\uff0c\u5176\u4e2d\u6838\u5fc3\u6280\u672f\u4e3b\u8981\u6709 Spring Framework, Spring MVC, Spring Data, Spring Security\u7b49\u7b49\u3002<\/p>\n

Spring\u4ece\u6700\u5f00\u59cb\u4f5c\u4e3a\u4f9d\u8d56\u6ce8\u5165\u7684Bean container\uff0c\u9010\u6e10\u53d1\u5c55\u4e3aJava\u5e94\u7528\u5f00\u53d1\u7684\u4e3b\u6d41\u6846\u67b6\u3002Java EE\u56e0\u4e3a\u5176\u81c3\u80bf\uff0c\u590d\u6742\uff0c\u96be\u4ee5\u4f7f\u7528\u7684\u7ed3\u6784\uff0c\u88ab\u5f88\u591aJava\u7a0b\u5e8f\u5458\u629b\u5f03\u3002\u4eceJava EE6\u5f00\u59cb\u624d\u5f15\u5165\u4e86CDI (Context Dependency Injection)\uff0c\u800c\u4e14Java EE \u7684\u8bbe\u8ba1\u601d\u60f3\u975e\u5e38\u5b66\u672f\u5316, Gavin King\u7b49\u4eba\u8131\u79bb\u4e86\u5de5\u4e1a\u754c\u7684\u9700\u6c42\uff0c\u4f7f\u5f97Java EE\u5f00\u53d1\u975e\u5e38\u590d\u6742\u3002JSF\u751a\u81f3\u4e3aJava\u4e4b\u7236James Gosling\u8bdf\u75c5\u3002\u76f8\u53cd\u5728Spring\u793e\u533a\uff0c\u8d8a\u6765\u8d8a\u591a\u73b0\u4ee3\u5316\u7684\u5e94\u7528\u5f00\u53d1\u65b9\u6cd5\u88ab\u878d\u5165\u8fdb\u6765\uff0c\u5f62\u6210\u4e0d\u540c\u7684Spring\u9879\u76ee\u3002<\/p>\n

\n

\u539f\u6587\u6765\u81ea\uff1ahttp:\/\/news.51cto.com\/art\/201805\/574607.htm<\/a><\/p>\n

\u672c\u6587\u5730\u5740\uff1ahttps:\/\/lrxjmw.cn\/spring-boot-java.html<\/a>\u7f16\u8f91\uff1a\u5434\u5eb7\u5b81\uff0c\u5ba1\u6838\u5458\uff1a\u9004\u589e\u5b9d<\/span><\/p>\n<\/blockquote>\n","protected":false},"excerpt":{"rendered":"

\u4f7f\u7528Java\u505aWeb\u5e94\u7528\u5f00\u53d1\u5df2\u7ecf\u6709\u8fd120\u5e74\u7684\u5386\u53f2\u4e86\uff0c\u4ece\u6700\u521d\u7684Servlet1.0\u4e00\u6b65\u6b65\u6f14\u5316\u5230\u73b0\u5728\u5982\u6b64\u591a\u7684\u6846\u67b6\uff0c […]<\/p>\n","protected":false},"author":1470,"featured_media":105619,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[21],"tags":[],"class_list":["post-105479","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-news"],"acf":[],"_links":{"self":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/105479","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/users\/1470"}],"replies":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/comments?post=105479"}],"version-history":[{"count":4,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/105479\/revisions"}],"predecessor-version":[{"id":105690,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/105479\/revisions\/105690"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media\/105619"}],"wp:attachment":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media?parent=105479"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/categories?post=105479"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/tags?post=105479"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}