Start a RESTful Web Service with Spring Tools Suite (STS)

Official examples from spring.io Building a RESTful Web Service It provides a RESTFul Web Service built with Maven, Gradle and STS. In fact, it will be more convenient to build with STS. STS Installation Reference.   target Enter url in the browser: http://localhost:8080/greeting The results of the visit were as follows: {"id":1," ...

Posted on Thu, 27 Dec 2018 18:39:07 -0500 by cdog5000

Java for Web Learning Notes (136) Mapping (12) FetchType.LAZY

Explain In the previous study (see) Java for Web Learning Notes (127) Mapping (3) OneToOne Plus fetch = FetchType.LAZY is a collection or Map. Reflected in SQL, it reads information from other tables (whether through join or whatever). For example, @OneToMany, @ElementCollection, as we learned earlier. As far as a single table ...

Posted on Wed, 26 Dec 2018 12:51:06 -0500 by PHP Novice

demo of a simple express+jade+mysql+bootstrap+nodejs

Nodejs With the rapid development of Nodejs, the hottest framework for Nodejs construction is not express. Github It can be proved by 32 K star. Let's build a simple demo with Nodejs as the center, which includes both front and back ends. Whatever project you develop, it's easy to understand and develop with scaffolding. Simple demo allows you ...

Posted on Mon, 24 Dec 2018 05:18:06 -0500 by LarryK

jqgrid table column option edittype for text, checkbox, select, textarea, function, hyperlink, add custom buttons

jqgrid data source: When it is static data, it can be defined directly in the page, for example: var grid_data = [ {id:"1", name:"Zhang San", note:"Long text 1", stock:"yes", ship:"first grade", sdate:"2007-12-03"}, {id:"2", name:"Li Si", note:"Long text 2", stock:"no", ship:"second grade", sdate:"2007-12-03"}, {id:"3", nam ...

Posted on Mon, 24 Dec 2018 04:33:06 -0500 by pendelton

Data Table component of layUI (parent-child table management value transfer/data table combined with select&laydate, etc.)

Data Table Data Table Component of layUI [TOC] Summary There are many requirements for table operation in company projects, such as "data transfer by parent-child table association", "select component in table", "date control in table", "validation of table input format", "adding (delet ...

Posted on Sun, 23 Dec 2018 22:48:06 -0500 by Brandito520

Spring Integrated redis (Spring Data Redis)

Reprint address: http://blog.csdn.net/zhu_tianwei/article/details/44923001 Spring-data-redis is a part of spring family. It provides access to redis services through simple configuration in srping applications, highly encapsulates the reids underlying development kit (Jedis, JRedis, and RJC). RedisTemplate provides redis operations, exception ...

Posted on Sun, 23 Dec 2018 22:06:05 -0500 by Grim...

Summary of Spring MVC Learning (9) - Spring MVC implements RESTful and JSON (Spring MVC provides services for front-end)

Most of the time, the front end needs to call back-end services to achieve interactive functions. The common data exchange format is JSON or XML. This paper mainly explains that Spring MVC provides JSON format data for the front end and realizes interaction with the front end. RESTful is a software architecture style and design style, not a sta ...

Posted on Sun, 23 Dec 2018 12:54:07 -0500 by intercampus

[smart-transform] Babeljs/coffeescript/type Escript intelligent transfer es5 library from Atom

brief introduction There will always be some gains when there is time to study the source code of open source libraries. Note that when writing Atom plug-ins, you can use babel, coffeescript, or typescript directly. Surprisingly, after all, the built-in node engine in Electron must not be fully compatible with es6, let alone coffeescript and ty ...

Posted on Sun, 23 Dec 2018 03:51:06 -0500 by mherr170

Echarts Dynamic Load Echarts Map Data

This is the end of Echarts map making. We have already made the map of the custom area. How to combine the data to make the map "dynamic" according to our business logic is the most important. Most demo s on Echarts are static and dead map data. This article will explain how to dynamically load map data in echarts. This article is bas ...

Posted on Sat, 22 Dec 2018 18:45:24 -0500 by catlover

Android-JSON parsing (Gson, org.json, Jackson, FastJson)

I would like to record the learning process with articles. If there are any mistakes, please indicate. JSON introduction Definition: A Lightweight Text Data Exchange Format Effect: Data Marking, Storage & Transfer Brief usage: {} denotes an object; [] denotes an array; "" denotes an attribute or a valu ...

Posted on Sat, 22 Dec 2018 05:54:05 -0500 by njm