Post List

Showing posts with label study. Show all posts
Showing posts with label study. Show all posts

Friday, July 29, 2016

2. Spring MVC - Hello World example




1. Create a Maven Project

- File > New > Maven Project
- Select maven-archetype-webapp
- Enter an groupId and artifactId

ex) groupId : com.yunjee.springmvc / artifactId : SpringWeb

- Guide to naming
  https://maven.apache.org/guides/mini/guide-naming-conventions.html



2. Modify pom.xml

 Change pom.xml file to be the following :


3. Create web.xml

- Create webapp/WEB-INF/web.xml file to be the following :


4. Create ooo-servlet.xml


- Create webapp/WEB-INF/spring-servlet.xml file to be the following :


5. Create a JSP Page

- File > New > JSP file : webapp/WEB-INF/views/welcome.jsp
welcome.jsp file to be the following :


6. Create a Java Class

- File > New > Package > com.yunjee.spring
- File > New > Class > HelloWorldController.java
- HelloWorldController.java file to be the following :


7. Set a Server

- Window > show view > Server
- Create server > Select available project


8. Execute

- Run > Run (Ctrl + F11)
















** Error

The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path

- Check below Properties if tomcat is set

  • Java Build Path > add Library.. 
  • Targeted Runtimes
  • Project Facets > Runtimes

- Or, add servlet-api in Java Build Path > Libraries


Sunday, July 17, 2016

전화 및 화상영어 후기 - 메가스터디 vs 콩영어

간단히, 내 소개를 하자면 intermediate low level의 영어 실력을 가지고 있고,
기존에 필리핀에서 어학연수 경험이 있어 필리핀 문화에는 어느정도 익숙한
퓨어 한국 여자 사람이다.

캐나다 토론토에서 9개월 정도 체류하면서 카페에서 일했고,
한국 들어온지 2년 넘어서 영어는 전혀 쓰지 않다가 전화영어랑 화상영어를 통해 공부하고 있다.

메가스터디에서 3개월 동안 화상영어(영자신문)를 그리고,
콩영어에서는 2개월의 전화영어(회화) 및 화상영어(문법)를 경험에 근거하여 리뷰를 해보고자 한다.

1. 강사진
강사들 교육면에 대해서는 메가스터디가 조금 더 잘 되어있는 것 같다. 그렇지만, 어딜 가든 강사들의 티칭 스킬은 비슷한 수준까지 올라온 것 같다. 다만, 나와 맞는 강사를 찾느냐가 관건이다. 대부분 일로일로에 있는 강사를 채용하고 있고, 메가스터디와 콩 영어 모두 원하는 강사로 변경이 가능하다.

2. 가격
메가스터디에서 30분 화상영어로 한달에 약 16만원정도 꼴로 수업을 받았었고,
콩영어에서는 위메프에서 할인 쿠폰을 사서 전화영어 20분과 화상영어 30분으로 한달에 약 9만원 정도에 수업을 받았다.

3. 시스템 및 서비스
메가스터디와 콩영어에서는 동일한 화상 영어 솔루션 프로그램을 사용하고 있고, 필리핀의 기상이 많이 안좋은 상황 아니면 깨끗한 화면과 끈김 없는 수업을 진행할 수 있다. 전화도 물론 깨끗한 음질이 제공되고, 화상영어는 자신이 솔루션 프로그램 내의 녹화 버튼을 눌러 녹화해야하지만, 전화로 했을 경우에는 자동으로 시스템에 올라간다.

메가스터디의 경우 1:1 전담으로 Q&A를 처리, 콩영어는 1:2 전담으로 Q&A를 처리하고,두 업체 모두 처리 속도는 빠른 편이다.

시스템 적으로 수업 시간 변경에 대한 편의는 메가스터디가 좀 더 좋다. 1시간 전에 available한 강사 또는 내가 수업 받고 있는 강사의 시간에 맞게 변경 가능하다. 콩영어의 경우는 3시간 전에 1:1 게시판에 신청을 해야하고, 전담 매니저가 확인 후 변경을 해준다.

여기에서, 콩영어의 메리트를 하나 주목할 수 있는데, 메가스터디는 글자수가 제한이 있는 영작 첨삭 서비스인데 반해 콩영어는 길이 무제한 그리고 요청하면 MP3파일 까지 직접 강사님이 녹음해서 올려준다. 


>> 총평
좀 두서 없이 적은 거 같긴 한데, 전화영어와 화상영어는 본인의 의지 및 영어에 대한 목표가 있어야 하고, 그것을 잘 이끌어 줄 강사를 만나는 것이 제일 중요한 것 같다. 내 경우, 개인적으로는 큰 업체 (메가스터디) 도 좋았지만, 작은 업체 (콩영어)도 가격 대비 나쁘지 않아 계속 사용중이다.

Friday, July 15, 2016

1. Setting Environment

*** 07.15.2016 latest version
*** 08.02.2016 updated
*** based on window 10 64bit


1. Eclipse (eclipse-jee-neon-R-win32-x86_64)

- http://www.eclipse.org/downloads/eclipse-packages/


2. Spring STS 3.8.0

- Install Spring Framework STS 3.8.0
  Help > Install New software > http://springide.org/updatesite  Help > Eclipse Marketplace > search "STS" 

3. Maven

- if you already installed Spring STS 3.8.0, you do not need to install Maven


- https://maven.apache.org/what-is-maven.html
- http://stackoverflow.com/questions/3589562/why-maven-what-are-the-benefits

4. JDK (Java SE Development Kit 8u91)

- http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
- After installation, set environment variable

- JAVA_HOME : C:\Program Files\Java\jdk1.8.0_91
- PATH : %JAVA_HOME%\bin
- CLASSPATH : .;%JAVA_HOME%\lib\tools.jar


5. Tomcat (apache-tomcat-9.0.0.M9)

- http://tomcat.apache.org/
- After download Tomcat, unzip in Java folder
- set environment variable

- CATALINA_HOME : C:\Program Files\Java\Tomcat 9.0
- PATH : %CATALINA_HOME%\bin

- exec C:\Program Files\Java\Tomcat 8.5\bin\startup
- check http://localhost:8080/


6. Apache (httpd-2.4.23-win64-VC14)

- https://www.apachelounge.com/download/
- After unzip, relocate C drive : C:\Apache24


7. Connect with tomcat

- http://apache.tt.co.kr/tomcat/tomcat-connectors/jk/binaries/windows/
- download connector using mod_jk

1) Copy mod_jk.so file to C:\Apache24\modules
2) Check server.xml

    <!-- Define an AJP 1.3 Connector on port 8009 -->

    <Connector port="8009" protocol="AJP/1.3" redirectPort="8443" />


3) Create workers.properties file at C:\Apache24\conf

    worker.list=worker1
    worker.worker1.type=ajp13
    worker.worker1.host=localhost
    worker.worker1.port=8009

4) Set some parameters to httpd.conf file

    LoadModule jk_module modules/mod_jk.so


    JkWorkersFile conf/workers.properties

    JkLogFile logs/mod_jk.log

    JkLogLevel info



    JkMount /* worker1



* Refer to : http://joont.tistory.com/55

c.f) 
* vcruntime140.dll error
- https://ko.dll-files.com/
- download and copy to C:\Windows\System32

* make annotation (전체 주석)
- C:\Apache24\conf\extra\httpd-vhosts.conf


* 시스템 효용성 및 분산 처리를 위해서 apache 와 tomcat을 연동
  ( WEB Server -> html, WAS Server -> jsp )
* 최신라이브러리 관리와 프로젝트 관리를 위해 Maven 사용


Monday, February 8, 2016

[OPIC] 배경설문 - 자전거

1. 자전거 1
You indicated in the survey that you like riding a bicycle. Please describe your bicycle using as much detail as possible.
I'm glad to tell you about my bicycle. Actually, I bought a bicycle last month. It is so brand new. I'm really satisfied with the bicycle, you know? I paid more than I expected though. This bike is meant to be used for females. Because it is foldable and super light. So I can bring it anywhere. Plus, it's way convenient to be kept in my apartment. It doesn't need a big space at all, right?
There were 3 colors to choose from, which were black, green and pink. So I got the pink one that could make me feminine, you know. And it has a comfortable seat and wider handle bars. In addition, I installed flashlights in front and back of my bike and a smartphone holder on my bicycle. Just in case I get hurt at night when I ride the bicycle, but since I ride my bike my boyfriend most of the time, I wouldn’t worry about being hurt, because I know that my boyfriend got my back all the time! He is the sweetest man on earth! You would be shocked if you saw his face! He is pretty good-looking, you know?
What about you, Eva? Do you have a bicycle? What kind of bicycle do you have?
-------------------------------------------------------------------------------------------------------------------------
2. 자전거 2
Where do you usually ride a bicycle? What is your reason for riding a bicycle? Please tell me about it in detail.
-------------------------------------------------------------------------------------------------------------------------
Okay, Eva. I ride my bicycle in order to lose weight. As you know, I'm looking for a job these days. So I usually work on my resumes and prepare interviews while I sit at the desk most of the time. And I'm stressed out about that. For that reason, I need to go out and do some exercise, right? The best way to lose weight is riding a bicycle, I think. Plus, it helps me relieve my stress as well. I know myself that I get pretty laze sometimes, so there are some times that I don’t wanna ride my bike, but it is my boyfriend who always encourages me to go out and ride a bike with him. Well, things that my boyfriend does for me is just incredible, you know? He is so lovely.
I'm pretty busy during the week, so I usually ride my bike on weekends. 갑 river has the longest bicycle trail in Daejeon. So I love to go there. Especially, when it's sunny and nice, 갑 river is the best place to ride a bicycle.
If you visit to Daejeon, I will show you how cool it is.
-------------------------------------------------------------------------------------------------------------------------

4. 자전거 4
Tell me about your early memory of learning a bike? How did you learn it? Did someone teach you how to ride a bike? Please explain the first memory of learning a bike?
-------------------------------------------------------------------------------------------------------------------------
Okidoki, Eva. I'm a little bit ashamed to share about this. To be honest, I learned riding a bicycle when I was 22. So I still vividly remember the date when I learned how to ride a bicycle. I had a boyfriend who was 3 years older than me, back then. So I asked him to teach me how to ride a bicycle. So we rented bicycles from a subway station which was located near my apartment. After that, we moved to schoolyard and he kindly taught me how to ride it step by step. I wasn't good at riding the bicycle at first, so I kept falling off my bicycle. Therefore, I got bruises on my knees and I sprained my ankle as well. But I couldn't cry out loud cause I was old enough at that time. right? Haha. Whenever I think of learning a bike for the first time, it reminds me of my ex-boyfriend. He was just great.
Well, this is my first memory of learning a bike, Eva. Thank you for listening!
-------------------------------------------------------------------------------------------------------------------------

Friday, February 5, 2016

[OPIC] 배경 설문 - 공원

1. 공원가기1 (공원묘사)
You indicated in the survey that you like to go to the park.
Describe your favorite park in as much detail as possible. What makes it so special?

- That's a good question, Eva. Let me describe my favorite park that I go on a regular basis. The park I always go to is 둔산대(공원). It is quite far from my home, but it is quite close to 갑 river where I love to go too. In addition, there are attractive places near by the park such as an art museum, a concert hall and more. Inside the park, there are many people who jog and walk. The trail is very well-made. There is also a beautiful pond in the middle of the trail. Besides, I can enjoy the music echoing from the park whenever I go there.

2. 공원가기2 (공원에서 하는 일)
What is a typical day at the park like from beginning to end?

- Okidoki, Eva, I am pretty busy during the week because I spend a lot of time looking for a job these days. So I usually go to a park on weekends. The reason why I go to a park is to go for a walk. Whenever I have problems, so my mind is so complicated, I can refresh my mind while I go for a walk. In the middle of walking, I do stretch my body to be flexible. After that, I drop by a coffee shop that is near the park. The name doesn't ring a bell right now. I'm pretty sure coffee is so tasty.

3. 공원가기3 (예상하지 못했던 일)
Were and when did it occur? What were you doing at the time?

- Okay, Eva. It happened actually last year that something interesting happened to me. I was walking alone at 둔산대공원, because I just wanted to feel the rays of the sun. While I was walking in this park, someone followed me for around 30 mins. And then, he asked me out. Oh my gash, Eva!. My heart was so pounding and I didn't know what I was supposed to do. I just said "Yes" in a trembling voice. You know what? Actually, it turned out that he was a jerk. He asked my number, because he wanted me to go to his church, you know? I thought the reason he approached was to ask me out. So, I just told him that I go to another church, then he just left on me. Well, it was memorable, Eva. Because he was pretty good-looking, you know? My heart still pounds if I picture his face.

Tuesday, February 2, 2016

[OPIC] 자기소개

Hi, Eva, how are you? Good to see you.
Well,, let me introduce myself. My name is Jeehye. You can just call me Julie.
I graduated from -------University. I did a double major in Business Administrator and Information and Communication Engineering. I am currently looking for a job.
This is one of the reasons why I am taking this test.

I live in Daejeon. It is located in the middle of South Korea. Daejeon is a very peaceful and calm city. Some people say Daejeon is boring. But I love Daejeon. The thing is, I like people in Daejeon. Although they speak so slow, as for me it is pretty comfortable. you know? (hush, this is a secret! People who are born in Daejeon speak so slow including me. haha)

I live with my parents for now. There are 4 people in my family : my dad, mom,  a younger brother and me. My dad works for KT company, which is the largest and the best telecommunication company in Korea. He is extremely hard working. So he doesn't spend time with me. However, I understand about his passion. My mom is a housewife and she is really good at cooking. Her specialty is Kimchi JJigae. If you have it once, you will go crazy. Because it's so yummy. My younger brother is in University. He is very hectic for studies. He gets scholarship every semester. Isn't he so cool?

Eva, I am not a talkative actually, But as long as I communicate with people, I feel great. So I talk with people through social Media such as Facebook, Instagram and post something that I can share with them. I do that when I am free.
Moreover, I like to watch a movie and listen to music as well. I will tell you more details later if you are interested in.

Let me go to the next one.!

Saturday, March 29, 2014

He is breaking now... ????? what?


# This is one of episodes in Panera.

Betty : Where is Jay?
I : He is breaking now.
Betty : oh, I see.

Julia : (She is in front of me.)
        Hmm.. That means..He is getting hurt.
        You can say that he is on break.
I : (Embarrassed) Oh.. really?.. I see.. Huh Huh... Thank you for teaching me.

이렇게 코워커들이 하나씩 알려준다..ㅋㅋ아 지금 생각해도 너무 웃기다.ㅋㅋ
내 저질 영어도 대충 다 알아들어주고.. ㅋ 처음에 포크 발음을 잘 몰라서 이것저것 시도 해본 끝에 배운 포크 발음하며, 언제 한 번 내가 캔아이 해브 어 컨테이너 포 샌드위치? 이러니까 그래, 잘했어!! 하면서 컨테이너 건네주기도 하고 ㅋㅋㅋ

서빙 하다가 엎어져서 스프랑 파니니 떨어뜨리고, 그릇 정리하다가 볼 떨어뜨려서 깨뜨리고, 도와주려고 식기 세척기에서 나온 그릇들 나르다가 와장창 다 깨먹고;; 정말 엄청나게나 깨먹고 당황해서 울고ㅋㅋㅋ 코워커들이 괜찮다고 매니저까지 와서 다독이면서, 다 있는 일이라고 자기도 많이 깨먹었다고..어떤 매니저는 20달러라면서 장난치면서 무마하려고 하고.. 정말 파네라 식구들 너무 좋다. 참 따뜻한 사람들이다. 비록 내가 잘 못알아 들어도 이해해주고..신경쓰지 말라며 자기가 다 해버리는? ㅋㅋ 으잉?ㅋㅋㅋ 일은 진짜 너무너무 힘들지만 이런 사람들이 내 옆에 있다는 사실이 너무 좋다. 뭐랄까 이 나라 사람들의 여유로움이랄까? 내 나이 29에.. 아니지 여기에선 27이지! 암튼.. 처음 파트타임인데 이런 사람들과 함께 일한다는 것! 난 정말 운이 좋은 아이인 것 같다.!!ㅎㅎ

Wednesday, December 11, 2013

한문장에 동사를 두 개 쓰고자 할 때,


1. S + V + V-ing
                "먼저 일어난 일"

ex) I finished cleaning my room.

exception) suggest + v-ing
caution) enjoy, mind + v-ing

2. S + V + to V
                 "나중에 일어날 일"

ex) I want to go there.

Monday, September 16, 2013

Enjoy your errands


“Enjoy your errands”
“볼일 잘 보세요”

It can also mean “Good luck with your errands”.  There is more than one way to say that in English.  


refer to Alex.
Thanks :D

Wednesday, July 24, 2013

Differences between "every day" and "everyday"


In short, "everyday" is an adjective that describes something ordinary or commonplace, while the phrase "every day" means "each day."


every day      부사구      "매일"
everyday       형용사      "매일의, 일상의"


examples)
I'm most comfortable in my everyday clothes.
나는 평상복을 입을 때가 가장 편하다.

I take a shower every day.
나는 매일 샤워를 한다.