2009. 01. 05 CODELABOR Shin Sang Jae ([email protected]) Template Guide...
-
Upload
homer-bryant -
Category
Documents
-
view
218 -
download
0
Transcript of 2009. 01. 05 CODELABOR Shin Sang Jae ([email protected]) Template Guide...
2009. 01. 05CODELABORShin Sang Jae ([email protected])
Template Guide(codelabor-flex-lcds-template)
- 2 -
Project Template Repository
SVN URL: http://codelabor.googlecode.com/svn/trunk/
- 3 -
Project Template Checkout
Checkout Project
- 4 -
Project Template Import
Import Project
- 5 -
Project Template Jeus Library
Add Classpath Variable
- 6 -
Project Template Jeus Library
Variable Name: JEUS_LIB
Variable Path: C:/TmaxSoft/JEUS5.0/lib
- 7 -
Project Template JDBC Library
File: db2jcc.jar
Copy directory: C:\TmaxSoft\JEUS5.0\lib\datasource
- 8 -
Project Template LCDS Library
Project Properties > Flex Server
Deploy Flex WAR
Flex WAR file: C:\lcds\lcds.war
- 9 -
Project Template Flex Configuration
Revert File
1. remoting-config.xml
2. services-config.xml
- 10 -
Project Template Cairngorm Library
Download Site URL: http://opensource.adobe.com/wiki/display/cairngorm/Downloads
Download File:
1. cairngorm_enterprise2_2_1-bin.zip (for LDCS)
2. cairngorm_2_2_1-bin.zip (for BlazeDS)
Unzip File
- 11 -
Project Template Cairngorm Library
Copy SWC Files
- 12 -
Project Template Spring Library
Official Site URL: http://www.springframework.org/
Download Site URL: http://www.springsource.org/download
Download File: spring-framework-2.5.6.zip
Unzip File
Copy Files: spring-framework-2.5.6/dist/modules/*.*
Destination Directory: C:\workspace\codelabor-flex-lcds-template\WebContent\WEB-INF\lib
- 13 -
Project Template Anyframe Library
Official Site URL: http://www.anyframejava.org
Download Site URL: http://www.anyframejava.org/download/core#310
Download File: Anyframe-core-3.1.0-bin.zip
Unzip File
Copy Files: Anyframe-core-3.1.0-bin\lib\anyframe\*.*
Make Directory: C:\workspace\codelabor-flex-lcds-template\WebContent\WEB-INF\lib
Destination Directory: C:\workspace\codelabor-flex-lcds-template\WebContent\WEB-INF\lib
- 14 -
Project Template Anyframe 3rd-Party Library
Official Site URL: http://www.anyframejava.org
Download Site URL: http://www.anyframejava.org/download/core#310
Download File: Anyframe-core-3.1.0-bin.zip
Unzip File
Copy Files: Anyframe-core-3.1.0-bin\lib\3rd-party\*.*
Destination Directory: C:\workspace\codelabor-flex-lcds-template\WebContent\WEB-INF\lib
- 15 -
Project Template Anyframe Patch Library
Official Site URL: http://www.anyframejava.org
Download Site URL: http://dev.anyframejava.org/artifactory
Username: anyframe
Password: anyframe0
Browse repository tree: anyframe-repository-cache/anyframe/
- 16 -
Project Template Anyframe Patch Library
Download File:
1. anyframe.core.query-3.1.1.jar
2. anyframe.core.query.ext-3.1.1.jar
3. anyframe.core.query.ria-3.1.1.jar
Destination Directory: C:\workspace\codelabor-flex-lcds-template\WebContent\WEB-INF\lib
- 17 -
Project Template Unused Library
Delete File:
1. anyframe.core.query-3.1.0.jar
2. anyframe.core.query.ext-3.1.0.jar
3. anyframe.core.query.ria-3.1.0.jar
4. junit-3.8.1.jar
- 18 -
Project Template Ant
Install Optional Ant Task
- 19 -
Project Template Ant
Reload Ant Library
- 20 -
Project Template Ant
Configure Database
- 21 -
Project Template Jeus Server
Run Jeus Server
Prompt Command: jeus
- 22 -
Project Template Jeus Web Admin
Run Jeus Web Admin
URL: http://localhost:9744/webadmin/app
ID: administrator
Password: jeusadmin
- 23 -
Project Template Boot Jeus Node
Node
Select control
- 24 -
Project Template JDBC DataSource
Node > JEUS Manager Resources
Select JDBC
Creating a new JDBC DataSource
- 25 -
Project Template JDBC DataSource
DBMS: DB2
DataSources Available: DB2 JCC XADataSource
Export Name: db2JCCXADataSource
Database Name: sample
Port Number: 50000
Server Name: localhost
User: Your windows account ID
Password: Your windows account password
- 26 -
Project Template JDBC DataSource
Defualt Setting
- 27 -
Project Template JDBC DataSource
Bind / Test
- 28 -
Project Template Encoding
Node > Engine Containers > note_container1 > Engines > Servlet Engine > MyGroup
Select Encoding
Request Encoding
1. Default: UTF-8
2. Forced: UTF-8
Response Encoding
1. Default: UTF-8
2. Forced: UTF-8
POST Data Encoding
1. Default: UTF-8
2. Forced: UTF-8
- 29 -
Project Template Web Application
Node > Deploying J2EE Application Modules
Select Directory Selection
- 30 -
Project Template Web Application
Directory Selection: C:/workspace/codelabor-flex-lcds-template
Check module name: WebContent
- 31 -
Project Template Web Application
Context Root: codelabor-flex-lcds-template
Check permanent deploy
- 32 -
Project Template Web Application
Run webapplication
URL: http://localhost:8088/codelabor-flex-lcds-template
- 33 -
Java source directory
Project Template Directory Overview
Perspective: Java EE
TestCase output directory
Flex library directory
Flex source directory
Ant build file directory
Web content directory
- 34 -
Project Template Java Source Directory 1/2
Non java source directory for TestCase
Java source directory for TestCase
Non java source directory
Java source directory
- 35 -
Project Template Java Source Directory 2/2
Application context directory for anyframeApplication context directory for example
Application context directory for system
Message directory for example
Message directory for system
Queries directory for example (DB2)
Queries directory for system (DB2)
Queries directory for example (Oracle)
Queries directory for system (Oracle)
- 36 -
Project Template Flex Source Directory
Flex css directory
Flex images directory
Service locator, Delegate directory
Commnand directory
Front controller directory
Event directory
Model locator directory
- 37 -
Project Template Setup Directory 1/2
Ant build file directory for database setup
Ant build file directory for mxmlc (Flex)
Ant build file directory for javac (Java)
Ant build file directory for optional task setupAnt task jar directory
Ant build file for optional tasks installation
Ant build file for prompt system environmentAnt build file for common configuration
Ant build file for custom configuration
- 38 -
Project Template Setup Directory 2/2
SQL file directory for example (DB2)
SQL file directory for system (DB2)
Ant build file for database setup (DB2)
Properties file for database setup (DB2)
Ant build file for database setup (Common)
Properties file for database setup (Common)
- 39 -
Project Template Web Content Directory
Remote object configuration file
Spring factory configuration file