1 2 3 4 5 6 7 8 9 10 11 package com.example.demo; import org.springframework.stereotype.Controller; @Controller public class HomeController { public String home(){ return "index.html"; } } Colored by Color Scripter cs 1 2 3 4 5 6 7 8 9 10 Title Hello Spring Boot !! cs
1 2 3 xmlns:jdbc="http://www.springframework.org/schema/jdbc" xsi:schemaLocation="http://www.springframework.org/schema/jdbc http://www.springframework.org/schema/jdbc/spring-jdbc-3.0.xsd "> cs 태그를 사용하기 위해서는 위와 같은 네임스페이스가 선언되어있어야 한다. 태그에 의해 만들어지는 EmbeddedDatabase 타입 빈은 스프링 커네팅너가 종료될 때 자동으로 shutdown()메소드가 호출되도록 설정되어 있다. 따라서 내장형 DB를 종료시키기 위한 별도의 코드나 설정은 필요하지 않다.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 package com.wego.web.test; import java.util.ArrayList; import java.util.List; import org.jsoup.Connection; import org.jsoup.Jsoup; import org.jsoup.nodes.Document; import org.jsoup.nodes.Element; import org.jsoup.select.Elements; public class Crawler { public static void main(String[] args) { try { Document rawDa..
http://tcpschool.com/java/java_intro_java8 코딩교육 티씨피스쿨 4차산업혁명, 코딩교육, 소프트웨어교육, 코딩기초, SW코딩, 기초코딩부터 자바 파이썬 등 tcpschool.com 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 public interface Predicate { boolean test(T t); } public interface Function { R apply(T t); } public interface BinaryOperator { T apply(T left, T right); } public interface Consumer { void accept(T t); } public interface Supplier { T get(); } ..
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071package com.hanbit.oop.serviceImpl; import com.hanbit.oop.domain.MemberBean;import com.hanbit.oop.service.AdminService; public class AdminServiceImpl implements AdminService{int count;MemberBean member;MemberBean[] list;public AdminServiceImpl(int limit){ count=0; ..
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 12..
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768package com.hanbit.oop.controller; import javax.swing.JOptionPane; import com.hanbit.oop.domain.MemberBean;import com.hanbit.oop.service.AdminService;import com.hanbit.oop.serviceImpl.AdminServiceImpl; public class AdminController {public static void main(String[] args) ..
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 12..
12345678package lotto; public class LottoMain { public static void main(String[] args) { LottoUI ui = new LottoUI(); ui.init(); }}Colored by Color Scriptercs 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778package lotto; import java.awt.BorderLayout;import java.awt.event.ActionEvent;import java.awt..
- Total
- Today
- Yesterday
- SQLAlchemy
- Git
- Mlearn
- JUnit
- database
- JPA
- AWS
- Eclipse
- intellij
- FLASK
- Mongo
- nodejs
- Python
- SpringBoot
- docker
- ERD
- KAFKA
- terms
- React
- vscode
- springMVC
- mariadb
- Oracle
- Algorithm
- tensorflow
- COLAB
- maven
- Java
- jQuery
- Django
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |