S2 requires JDK1.4 or JDK1.5 to run. The operation test is checked by Eclipse3.
SETUP
Download S2xxx.zip, and Unzip it!
Import seasar2 directory as an existing project to Eclipse.
Select menu 'File -> Import... -> Existing Project into workspace'
You can find a sample in src/examples.
CLASSPATH
For using the basic function of Seasar2(S2Container, S2AOP), you need to include the following files in CLASSPATH.
lib/javassist-3.4.ga.jar
lib/commons-logging-1.0.4.jar
lib/log4j-1.2.8.jar
lib/ognl-2.6.9-patch-20070624.jar
lib/aopalliance.jar
lib/geronimo-j2ee_1.4_spec-1.0.jar
lib/s2-framework-2.x.x.jar
src/log4j.properties
For using the extended function of Seasar2(S2JTA, S2D BCP, S2JDBC, S2Unit, S2Tx, and S2DataSet), you need to include the following files in CLASSPATH.
lib/jta.jar
lib/junit-3.8.1.jar
lib/poi-3.0-FINAL.jar
lib/s2-extension-2.x.x.jar
src/j2ee.dicon
src/aop.dicon
HSQLDB is included so that you can try the function of a database easily.
When you try, run HSQLDB first(double-click bin/runHsqldb.bat (for Windows)).
The file 'lib/hsqldb.jar' is unnecessary except when running HSQLDB.
The file 'sql/demo-oracle.sql' is also contained so that you can try the function of Oracle easily.
After running it by SQL*Plus, you need to configurate XADataSourceImpl in j2ee.dicon in accordance with your environment.