April 2016 | Trần Đình Thoại

How to setup web development environment for using Seasar framework

Today, Dependency-Injection is the most popular technology of Java. However, did it make our development work really easy? You must be still irritated with writing configuration files. Seasar2, the most popular open source framework in Japan, frees you from such annoyance and brings you comfortable DI Life. You will never look back at the DI as we know today.

1. JDK 6


- Download JDK 6 at jdk-6u45-windows-i586.exe or at Java SE 6 Downloads

- Install JDK 6


2. Tomcat 6


- Download Tomcat 6 at apache-tomcat-6.0.45-windows-x86.zip or at Tomcat 6 Software Downloads

- Unzip and copy Tomcat folder to "Z:\programs" (for example)


3. Eclipse 3.5.2 Galileo


- Download Eclipse 3.5.2 at eclipse-jee-galileo-SR2-win32.zip or at Eclipse Galileo SR2 Packages

- Unzip and copy Eclipse folder to "Z:\programs" (for example)

- Create shortcut to "eclipse.exe", named "Eclipse EE (Seasar)", open property of shortcut, add "-vm <path to javaw.exe in JDK folder>" (for example: '-vm "C:\Program Files (x86)\Java\jdk1.6.0_45\bin\javaw.exe"')

- Create folder "Z:\workspaces\eclipse-ee" (for example), open Eclipse from shortcut, select above folder as workspace folder


4. Maven Integration for Eclipse


- In Eclipse, open "Help -> Install New Software", click "Add", enter "M2E" and "http://m2eclipse.sonatype.org/sites/m2e", then click "OK"


- Choose "Maven Integration for Eclipse" and continue to install plugin



5. Omondo UML Plugin


- Download Omondo UML Plugin at eclipseUML_E352_2010_studioEdition_3.5.2.v20100509.jar or at EJB3

- Open downloaded .jar file in File Explorer

- Enter Eclipse installation path when being asked



6. Kijimuna Plugin


- In Eclipse, open "Help -> Install New Software", click "Add", enter "Kijimuna" and "http://www.seasar.org/eclipse/updates/3.1/", then click "OK"


- Choose "Kijimuna" and continue to install plugin



7. Eclipse Tomcat Launcher Plugin


- Download Tomcat Launcher at tomcatPluginV321.zip or at Sysdeo Eclipse Tomcat Launcher plugin


- Unzip and copy to "dropins" folder of Eclipse installation folder


- In Eclipse, open "Window -> Preferences", select "Tomcat" in left panel, select "Tomcat version 6.x" and select Tomcat installation folder



In tutorial of S2Structs, they talk about using S2StrutsBlankVx.x.x.zip but I can not find where to download this file. After 3 days trying and false, I make similar one, S2StructsHello.zip.
Wednesday, April 27, 2016 at 9:15 PM