| 일 | 월 | 화 | 수 | 목 | 금 | 토 | 
|---|---|---|---|---|---|---|
| 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 | 
- 네트워크
- ssh
- Mac
- web.xml
- GIT
- grep
- Quartz
- Windows
- find
- Source
- lsof
- netsh
- tomcat
- bash
- import
- plugin
- VirtualBox
- port
- JavaScript
- IntelliJ
- vscode
- profile
- resource
- Eclipse
- context
- xargs
- Windows 10
- 단축키
- maVen
- 줄바꿈 문자
- Today
- Total
목록Dev/Java (163)
develog
try { InetAddress localhost = InetAddress.getLocalHost(); System.out.println(localhost.getHostAddress());} catch (UnknownHostException e) { e.printStackTrace();}
1. Derby Eclipse plug-in 다운로드http://db.apache.org/derby/derby_downloads.html- derby_core_plugin_10.8.2.zip- derby_ui_doc_plugin_1.1.3.zip 2. plug-in 설치- eclipse 종료- 다운로드 받은 파일 압축 풀고 eclipse/ 밑에 압축 해제- eclipse 실행 3. java 프로젝트 생성 4. Add Apache Derby Nature- 프로젝트 마우스 우 클릭 - Apache Derby - Add Apache Derby Nature 5. Start Derby Network Server- 프로젝트 마우스 우 클릭 - Apache Derby - Start Derby Network Serve..
http://www.devexp.eu/2009/08/18/quartz-test-a-cron-expression/ public static void testCronExpression(String expression) { System.out.println(">> testCronExpression() : " + expression); try { CronExpression cronExpression = new CronExpression(expression); Date nextValidDate = new Date(); for (int i = 0; i < 10; i++) { nextValidDate = cronExpression.getNextValidTimeAfter(nextValidDate); SimpleDate..
Quartz Test - test_Quartz-1.8.6- test_Quartz-2.1.6- test_Quartz-spring2.5
public void getApplicationContext1() { ApplicationContext context = new ClassPathXmlApplicationContext("classpath:spring-config.xml"); System.out.println(">> getApplicationContext1() : " + context);} public void getApplicationContext2() { ApplicationContext context = new FileSystemXmlApplicationContext("classpath:spring-config.xml"); System.out.println(">> getApplicationContext2() : " + context)..
