장뽕뽕의 개발일기
close
프로필 배경
프로필 로고

장뽕뽕의 개발일기

  • 분류 전체보기 (153)
    • Java (61)
      • Springboot (28)
      • Architecture (0)
      • Algorithm (17)
      • Trouble-Shooting (3)
      • Basic (13)
    • Security (20)
      • Practice (4)
      • System (7)
      • Network (4)
      • Application (5)
    • Mobile (0)
      • Android (0)
      • Flutter (0)
    • JavaScript (16)
      • Node.js (16)
    • Linux (8)
    • Network (6)
    • Docker (4)
    • Project (5)
      • SecuriSuite (5)
    • Certificate (2)
      • 정보처리기사 (1)
      • 정보보안기사 (1)
    • Legacy (27)
      • JS+PHP+SQL (27)
    • 루트권한 없는 나의 하루 (4)
  • 홈
Java - 좌석 예약 프로그램

Java - 좌석 예약 프로그램

자바로 만든 간단한 좌석 예약 프로그램입니다. 좌석표는 총 10개번호를 입력받아서 예약가능은 0, 이미 예약된 좌석은 1로 표현했습니다. package Test;import java.util.Scanner;public class ReservationTest { public static void main(String[] args) { int[] seats = new int[10]; Scanner sc = new Scanner(System.in); while (true) { int cnt = 0; System.out.println("===================================좌석표==================================="); for (int i = ..

  • format_list_bulleted Java/Basic
  • · 2025. 2. 22.
  • textsms
Spring Boot - 빌드하고 실행하기

Spring Boot - 빌드하고 실행하기

mac os 기준입니다.우선 터미널을 통해 프로젝트가 있는 폴더로 이동합니다. 명령어를 통해 빌드 해줍니다../gradlew build빌드 중..빌드 완료! build라는 폴더가 생겼어요.build - libs 폴더로 이동해 줍니다.  jar 파일이 생성된 것을 확인할 수 있습니다.java -jar 빌드된파일.jar 실행을 확인해 줍니다.저는 java -jar hello-spring-0.0.1-SNAPSHOT.jar 이 되겠네요.  8080포트가 이미 사용하고 있다네요..다른 개발 환경에서 실행되고 있으면 다음과 같이 에러가 뜹니다.저는 인텔리 제이에서 실행되고 있었어요.. 꺼주고 다시 실행을 확인해 주면.. 실행 성공!!

  • format_list_bulleted Java/Springboot
  • · 2025. 2. 21.
  • textsms
Spring Boot - API

Spring Boot - API

package hello.hellospring.controller;import org.springframework.stereotype.Controller;import org.springframework.ui.Model;import org.springframework.web.bind.annotation.GetMapping;import org.springframework.web.bind.annotation.RequestParam;import org.springframework.web.bind.annotation.ResponseBody;@Controllerpublic class HelloController { @GetMapping("hello-api") @ResponseBody public H..

  • format_list_bulleted Java/Springboot
  • · 2025. 2. 21.
  • textsms
Spring Boot - MVC 2

Spring Boot - MVC 2

이번엔 GET 방식으로 파라미터를 받아서 페이지에 띄워보도록 할게요.hello-template타임리프 템플릿hello! empty Controllerpackage hello.hellospring.controller;import org.springframework.stereotype.Controller;import org.springframework.ui.Model;import org.springframework.web.bind.annotation.GetMapping;import org.springframework.web.bind.annotation.RequestParam;import org.springframework.web.bind.annotation.ResponseBody;@Controllerpubl..

  • format_list_bulleted Java/Springboot
  • · 2025. 2. 21.
  • textsms
Spring Boot - MVC 1

Spring Boot - MVC 1

MVC : Model View Controller이라는 하나의 디자인 패턴Spring MVC : 스프링이 제공하는 웹 전용 MVC Framework Model : 비즈니스 로직 처리View : 사용자가 보는 UIController : Model과 View 사이에서 데이터를 처리 indexHello SpringHello Page Controllerpackage hello.hellospring.controller;import org.springframework.stereotype.Controller;import org.springframework.ui.Model;import org.springframework.web.bind.annotation.GetMapping;import org.springframewo..

  • format_list_bulleted Java/Springboot
  • · 2025. 2. 21.
  • textsms
Spring Boot - 프로젝트 생성

Spring Boot - 프로젝트 생성

https://www.oracle.com/ Oracle | Cloud Applications and Cloud PlatformNew AI infrastructure company, whose partners include Oracle, SoftBank, OpenAI, and MGX, aims to invest $500 billion to help secure American AI leadership, create hundreds of thousands of domestic jobs, and generate global economic benefits.www.oracle.com 자바가 설치되어 있지 않다면 스프링 부트 버전과 호환되는 jdk를 먼저 설치해 줍니다.아마 오라클 회원가입해야 될 거예요.. ht..

  • format_list_bulleted Java/Springboot
  • · 2025. 2. 20.
  • textsms
  • navigate_before
  • 1
  • ···
  • 5
  • 6
  • 7
  • 8
  • navigate_next
공지사항
  • 장뽕뽕 사이트를 오픈합니다.
  • 개발 일기 사이트 이전 안내
전체 카테고리
  • 분류 전체보기 (153)
    • Java (61)
      • Springboot (28)
      • Architecture (0)
      • Algorithm (17)
      • Trouble-Shooting (3)
      • Basic (13)
    • Security (20)
      • Practice (4)
      • System (7)
      • Network (4)
      • Application (5)
    • Mobile (0)
      • Android (0)
      • Flutter (0)
    • JavaScript (16)
      • Node.js (16)
    • Linux (8)
    • Network (6)
    • Docker (4)
    • Project (5)
      • SecuriSuite (5)
    • Certificate (2)
      • 정보처리기사 (1)
      • 정보보안기사 (1)
    • Legacy (27)
      • JS+PHP+SQL (27)
    • 루트권한 없는 나의 하루 (4)
최근 글
인기 글
최근 댓글
태그
  • #SQL
  • #phpMyAdmin
  • #php
  • #javascript
  • #algorithm
  • #html
  • #Spring
  • #springboot
  • #java
  • #dothome
전체 방문자
오늘
어제
전체
Copyright © 쭈미로운 생활 All rights reserved.
Designed by JJuum

티스토리툴바