2023年全國碩士研究生考試考研英語一試題真題(含答案詳解+作文范文)_第1頁
已閱讀1頁,還剩33頁未讀 繼續(xù)免費(fèi)閱讀

下載本文檔

版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)

文檔簡介

1、此文檔是畢業(yè)設(shè)計(jì)外文翻譯成品( 含英文原文+中文翻譯) ,無需調(diào)整復(fù)雜的格式!下載之后直接可用,方便快捷!本文價(jià)格不貴,也就幾十塊錢!一輩子也就一次的事!外文標(biāo)題:Web Applications with Spring Boot外文作者:K. Siva Prasad Reddy文獻(xiàn)出處:Beginning Spring Boot 2: pp 107-132, 2019 (如覺得年份太老,可改為近 2 年,畢竟很多畢業(yè)生都這樣做)英文

2、 4390 單詞,25155 字符(字符就是印刷符),中文 7121 漢字。 (如果字?jǐn)?shù)多了,可自行刪減,大多數(shù)學(xué)校都是要求選取外文的一部分內(nèi)容進(jìn)行翻譯的。 )Web Applications with Spring BootNowadays, the web is the main channel for any type of application—from desktop to mobile devices, from soci

3、al and business applications to games, and from simple content to streaming data. With this is mind, Spring Boot can help you easily develop the next generation of web applications.This chapter shows you how to create Sp

4、ring Boot web applications with ease. You have already learned, with some examples in earlier chapters, what you can do with the web. You learned that Spring Boot makes it easier to create web apps with a few lines of co

5、de and that you don’t need to worry about configuration files or look for an application server to deploy your web application. By using Spring Boot and its auto- configuration, you can have an embedded application serve

6、r, such as Tomcat, Netty, Undertow, or Jetty, which makes your app very distributable and portable.Spring MVCLet’s start talking about the Spring MVC technology and some of its features. Remember that the Spring Framewor

7、k consists of about 20 modules or technologies, and the web technology is one of them. For the web technology, the Spring public, / resources, or / META- I NF/ resources, which should be in you class path or in your curr

8、ent directory. Spring Boot picks it up and serves them upon request. You can change this easily by modifying the spring. mvc. static- path- pattern or the spring. resources. static- locations properties. One of the cool

9、features with Spring Boot and web applications is that if you create an index. ht ml file, Spring Boot serves it automatically without registering any other bean or the need for extra configuration.? Http Message Convert

10、ers. If you are using a regular Spring MVC application and you want to get a JSON response, you need to create the necessary configuration (XMLor JavaConfig) for the Http Message Converter s bean. Spring Boot adds this s

11、upport by default so you don’t have to; this means that you get the JSON format by default (due to the Jackson libraries that the spring- boot - starter - web provides as dependencies). And if Spring Boot auto-configurat

12、ion finds that you have the Jackson XML extension in you class path, it aggregates an XML Http Message Conver t er to the converters, meaning that your application can server based on your content - type request, either

13、application/ j son or application/ xml .? JSON serializers and deserializers. If you want to have more control over the serialization/ deserialization to/ from JSON, Spring Boot provides an easy way to create your own by

14、 extending from JsonSerializer and/ or JsonDeserializer , and annotating your class with the @JsonComponent so that it can be registered for usage. Another feature of Spring Boot is the Jackson support; by default, Spri

15、ng Boot serializes the date fields as 2018- 05-01T23: 31: 38. 141+0000 , but you can change this default behavior by changing the spring. jackson. date- f or mat =yyyy- MM- dd property (you can apply any date format patt

16、ern); the previous value generates the output, such as 2018- 05- 01.? Path matching and content negotiation. One of the Spring MVC application practices is the ability to respond to any suffix to represent the content-ty

17、pe response and its content negotiation. If you have something like/ api / todo. json or / api / todo. pdf , the content - type is set to application/ json and application/ pdf ; so the response is JSON format or a PDF f

18、ile, respectively. In other words, Spring MVC performs . * suffix pattern matching, such as / api / todo. *. Spring Boot disables this by default. You can still use a feature where you can add a parameter, by using the s

溫馨提示

  • 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
  • 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 眾賞文庫僅提供信息存儲(chǔ)空間,僅對(duì)用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
  • 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。

最新文檔

評(píng)論

0/150

提交評(píng)論