일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- jsp
- 참조타입
- 버추얼머신
- 라우터
- 네트워크관리사
- 네트워크
- sql
- 이것이 자바다
- html
- 리눅스
- 자바
- ospf
- 정처기필기
- autoset
- 정보처리기사
- 원형그래프
- cisco packet
- rinux
- Cisco
- 데이터베이스
- Java
- NCS
- VLAN
- javaee
- ciscopacket
- w3school
- php
- jsp연결
- 오라클
- Oracle
- Today
- Total
목록Spring (41)
기록해! 정리해!
======================================================================= package com.springbook.biz.board.impl; import java.util.List; import javax.sql.DataSource; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.jdbc.core.JdbcTemplate; import org.springframework.jdbc.core.support.JdbcDaoSupport; import org.springframework.stereotype.Repository; import c..

1. org.springframework spring-jdbc ${org.springframework-version} commons-dbcp commons-dbcp 1.4 ======================================================================= ========================================================================== package com.springbook.biz.board.impl; import java.sql.*; import java.util.List; import javax.sql.DataSource; import org.springframework.beans.factory...
1. ======================================================================== package com.springbook.biz.common; import org.aspectj.lang.annotation.Aspect; import org.aspectj.lang.annotation.Before; import org.aspectj.lang.annotation.Pointcut; import org.springframework.stereotype.Service; @Service @Aspect public class LogAdvice { @Pointcut("execution(* com.springbook.biz..*ServiceImpl.*(..))") ..
[ Before 어드바이스 ] : 비즈니스 로직 메소드 이름과 매개변수 값 을 사용 할 수 있다. package com.springbook.biz.common; import org.aspectj.lang.JoinPoint; public class BeforeAdvice { void beforeLog(JoinPoint jp) { String method = jp.getSignature().getName(); // 비즈니스 로직 메소드 이름 불러오기 Object[] args = jp.getArgs(); // 비즈니스 로직 메소드의 매개변수에 들어오는 args 값 읽어오기 System.out.println("[사전처리]" + method + "()메소드 ARGS 정보: " + args[0].toString()..

[ pom.xml ] 1.11 5.3.9 1.6.10 1.6.6 public https://repo1.maven.org/maven2/ com.oracle.database.jdbc ojdbc8 19.7.0.0 com.h2database h2 2.1.214 org.projectlombok lombok 1.18.24 org.springframework spring-context ${org.springframework-version} commons-logging commons-logging org.springframework spring-webmvc ${org.springframework-version} org.aspectj aspectjrt ${org.aspectj-version} org.aspectj asp..
[ applicationContext.xml ] --------------------------------------------------------------------------------------------------------------------------- package com.springbook.biz.user.impl; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import com.springbook.biz.user.UserDao; import com.springbook.biz.user.UserService; import com.sp..