1. °³¹ßȯ°æ
- ÀÌŬ¸³½º.
- ANT ¼³Ä¡.
- CVS
2. JDK ANT ¼³Ä¡ ¹× PATH ¼öÁ¤.
2-1. ´Ù¿î·Îµå http://ant.apache.org/
2-2. ¾ÐÃàÇ®±â.
2-3. binÆú´õ PATH¿¡ µî·ÏÇϱâ.
ex) Path=C:\Tools\apache-ant-1.7.0\bin;C:\SDKs\jdk1.5.0_12\bin;C:\WINDOWS\system32;C:\WINDOWS;
3. CAF ´Ù¿î·Îµå http://chalranjdbccomp.sourceforge.net/
4. WAS ¼³Ä¡ ÈÄ ROOT Context(<¼³Ä¡Æú´õ>) ¿¡ caf-2.0.0.zip À» ¾ÐÃàÀ» Ǭ´Ù.
5. <¼³Ä¡Æú´õ>/WEB-INF/src/dbmanager.properties ¸¦ ¼³Ä¡µÈ °æ·Î·Î SQL_XML_PATH ¸¦ ¼öÁ¤.
6. <¼³Ä¡Æú´õ>/WEB-INF/xmls/application-dbmanager.xml ¸¦ DB¿¡ ¸Â°Ô ¼öÁ¤.
7. JDK ¹öÀü¿¡ µû¸¥ Àû¿ë.
- JDK 1.4
1. À¥¼ºñ½º °ü·Ã »ùÇà ¼Ò½º »èÁ¦.
<¼³Ä¡Æú´õ>/WEB-INF/src/samples/webservices Æú´õ »èÁ¦.
- JDK 1.5
1. ÆÄÀϼöÁ¤.
<¼³Ä¡Æú´õ>/WEB-INF/src/dbmanager.properties ¼öÁ¤.(¿É¼Ç»çÇ×-¼º´É°³¼±) - useTrove=true ·Î ¼öÁ¤.
<¼³Ä¡Æú´õ>/WEB-INF/web.xml ¼öÁ¤. ( CompressingFilter ÁÖ¼® Ç®±â. )
2. json-lib ÆÄÀϱ³Ã¼.
<¼³Ä¡Æú´õ>/WEB-INF/lib/json-lib-2.2.1-jdk13.jar »èÁ¦.
<¼³Ä¡Æú´õ>/¹®¼°ü·Ã/library/json-lib-2.2.1-jdk15.jar ÆÄÀÏ <¼³Ä¡Æú´õ>/WEB-INF/lib/ Æú´õ·Î º¹»ç.
8. Apache CXF »ç¿ë½Ã. ( JDK 1.5ÀÌ»ó )
- <¼³Ä¡Æú´õ>/WEB-INF/web.xml ¼öÁ¤. ( Apache CXF ÁÖ¼® Ç®±â )
- jar ÆÄÀÏ º¹»ç.
<¼³Ä¡Æú´õ>/¹®¼°ü·Ã/library/CXF/*.jar -> <¼³Ä¡Æú´õ>/WEB-INF/lib/ Æú´õ·Î ¸ðµÎ º¹»ç.
7. cmd âÀ» ¶ç¿ö <¼³Ä¡Æú´õ> µð·ºÅ丮·Î À̵¿.
8. ant clean compile ½ÇÇà.
9. WAS º° Àû¿ë»çÇ×.
- caf.webmvc.actions.RequestObject.java ÀÚ¹Ù¼Ò½ºÆÄÀϼöÁ¤.
public void fileDownload(String filename, String filepath) ¸Þ¼Òµå ¼öÁ¤. ÁÖ¼®ÂüÁ¶.
- weblogic ÀÎ °æ¿ì.
C:\bea\user_projects\domains\mydomain\bin\setDomainEnv.cmd ÆÄÀϼöÁ¤. ( Xml export ½Ã »ç¿ëÇÔ. )
set CLASSPATH_CAF=<¼³Ä¡Æú´õ>\WEB-INF\lib\xalan.jar;<¼³Ä¡Æú´õ>\WEB-INF\lib\geronimo-ws-metadata_2.0_spec-1.1.1.jar
set CLASSPATH=%CLASSPATH_CAF%;%PRE_CLASSPATH%;%WEBLOGIC_CLASSPATH%;%POST_CLASSPATH%;%WLP_POST_CLASSPATH%
űװ¡ get¹æ½ÄÀ¸·Î 󸮵Ǵ µ¥ ÀÌ¿¡ ´ëÇÑ ÀÎÄÚµùÀÌ ¾ÈµÊ.
import µÇ´Â ÆÄÀÏ¿¡¼ ÀÎÄÚµùÀ» º°µµ·Î Àû¿ëÇÔ.
- JEUS 5.0 ÀÎ °æ¿ì
±âº»ÀûÀ¸·Î classpath¿¡ Ãß°¡ÇϵÇ, ¾ÈµÉ°æ¿ì´Â
/jre/lib/endorsed ·Î jarÆÄÀÏÀ» º¹»çÇÔ.
/jre/lib/endorsed Æú´õ¿¡ ¾Æ·¡ ÆÄÀÏ º¹»çÇؼ ³Ö±â. ( Xml export ½Ã »ç¿ëÇÔ. )
xalan.jar
Apache CXF »ç¿ë½Ã - /jre/lib/endorsed Æú´õ¿¡ ¾Æ·¡ ÆÄÀÏ º¹»çÇؼ ³Ö±â.
geronimo-activation_1.1_spec-1.0-M1.jar
geronimo-stax-api_1.0_spec-1.0.jar
geronimo-ws-metadata_2.0_spec-1.1.1.jar
jaxb-api-2.0.jar
jaxb-impl-2.0.5.jar
xalan.jar
10. WAS ±âµ¿ÈÄ Å×½ºÆ®. ( http://localhost:/caf/generator Á¢¼Ó ÈÄ Á¶È¸¹öÆ° Ŭ¸¯½Ã ¿¡·¯°¡ ¾ø¾î¾ß ÇÔ. )
- ³×Æ®¿öÅ©°¡ ¿¬°áÀÌ ¾ÈµÇ¾îÀÖ´Â °æ¿ì´Â /WEB-INF/sql/generator/Q_Generator.xml ÆÄÀÏÀ» ¼öÁ¤.(ÁÖ¼®ÂüÁ¶.)