JAR, WAR and EAR

2005/08/15 02:22
Jar, War, Ear 파일들의 차이점은?

세 파일은 모두 압축 파일이고, 구조적인 차이는 없으므로 확장자를 서로 바꿔도 문제는 없지만,,,,,
만들어진 목적은 서로 틀리다.

Jar: 자바클래스 파일들이 주이며, EJB 파일들을 포함.
War: 웹 애플래케이션에 관련된 파일들을 포함한다. 주로 JSP, Servlet 파일들.
Ear: 엔터프라이즈 애플리케이션에 필요한 모든 파일들을 포함한다. Jar 파일과 War 파일들을 포함.



Differences .jar, .war and .ear files ???

There are no structural differences between the files; they are all archived using zip/jar compression. However, they are intended for different purposes.

Jar files (files with a .jar extension) are intended to hold generic libraries of Java classes, resources, auxiliary files, etc.

War files (files with a .war extension) are intended to contain complete Web applications. In this context, a Web application is defined as a single group of files, classes, resources, .jar files that can be packaged and accessed as one servlet context.

Ear files (files with a .ear extension) are intended to contain complete enterprise applications. In this context, an enterprise application is defined as a collection of .jar files, resources, classes, and multiple Web applications.

Each type of file (.jar, .war, .ear) is processed uniquely by application servers, servlet containers, EJB containers, etc.

Reference: http://expertanswercenter.techtarget.com/eac/knowledgebaseAnswer/0,295199,sid63_gci1105646,00.html





An EAR file contains all the JARs and WARs belonging to an application. JAR files contain the EJB classes and WAR files contain the web components (JSPs, static pages, servlets, gifs, etc.). The J2EE application client's class files are also stored in a JAR file. EARs, JARs, and WARs all contain an XML-based Deployment Descriptor

Reference: http://www-1.ibm.com/support/docview.wss?uid=swg21066338

주말...

2005/08/15 02:10
금요일
- Cisco 플젝했던 인도애들이랑 Siam에 가서 저녁 먹음.
- 혜진 언니네로 가서, 고기 꿔먹고, 수다 왕떨다 옴.

토요일
- Bellevue Nordstrom Rack에 쇼핑 감. 야눅 청바지와 따뜻한 콜럼비아 플리스 자켓 하나 삼.
(사무실이 추워서....ㅡ_ㅡ)
- 저녁에 지연이와 집에서 밥 먹고, 한국 TV 쇼보구 만빵 웃음.

일요일
- Alderwood Nordstrom Rack에 다시 떠줌. 한국에 보낼 레스포삭 가방 포획 성공.
- 한인마켓에 가서 장봄.
- 저녁 먹구 Fred Mayer가서 생활용품 구입.

음...계획으론 주말에 영화 좀 봐주고, 책도 좀 봐주고,
Green Lake나 Alki Beach가서 광합성 좀 해주려 했는데,
너무 점심때 일어나서 계획 실패.
담주에도 날씨가 좋다면 꼭 공원이나 해변가에 가서 광합성을 시도해봐야겠다.

주말 기다리기...

2005/08/13 01:59
정말 오랫동안 이 느낌을 잊고 살았다.
주말을 기다리는 느낌....

미국와서는 학생이라서 내내 요일 감각없이 살았는데..
일욜이나 월욜이나 그게 그거고...
이번 주는 정말 주말을 고대했다.
금욜은 물론...

이번 주말을 푹 쉬고, 알차게 지내야겠다고 생각했는데,,,
글쎄,,,,,그렇게 될지는..^^;;

암튼...
오늘 저녁엔 Siam에서 시스코 플젝했던 애들 만나서
배 터~~~지게 먹구,,,

간만에 혜진 언니네 집에 가서..
고기 꿔먹구..맥주 먹구....만두 먹구...
암튼...꽉 찬 배에 계속 집어 넣어서...
결국 집에 와서 토했다. ㅡ_ㅡ;;;
으메..아까운 것들...

아...............................
맥주 한캔을 먹었더니....무지 나른하고 졸립다.
낼은 푸욱~~~~ 자야겠다. ^_^