Overview
SASH2 is the second major release version of an open source stack supported by sourcelabs. SASH stands for Struts, Axis, Spring, Hibernate - the four major technologies supported in the SASH stack to support web application and web service development. MAP's version of SASH2 differs from the widely available SASH2 in that it replaces struts 1 with struts 2, and also includes sitemesh. It is likely that sourcelabs will support these technologies in a future release, at which point we will once again be on the vanilla SASH stack.
Java 4 and Java 5 Versions
SASH2 supports both Java 4 and Java 5 by offering two different sets of jars. Struts 2 is by default only supported in Java 5, but they offer retrotranslated core jars, and the means to generate retrotranslated jars for other non-core struts2 components. No version of sitemesh requires Java 5, so it is compatible with both. As such, the MAP SASH2 stack also has two versions. The Java 5 version consists of Java 5 SASH2 with Struts 1 replaced with Standard struts 2, and sitemesh. The Java 4 has Java 4 SASH2, with Struts 1 replaced with a retrotranslated version of Struts 2, the runtime retrotranslator jars, and sitemesh.
Java 5
Maven Dependencies
Following is a listing of maven dependencies recommended by MAP for Java 5.
<dependency> <groupId>com.sourcelabs.sash</groupId> <artifactId>spring-core</artifactId> <version>2.0.4-1</version> </dependency> <dependency> <groupId>com.sourcelabs.sash</groupId> <artifactId>spring-hibernate3</artifactId> <version>2.0.4-1</version> </dependency> <dependency> <groupId>com.sourcelabs.sash</groupId> <artifactId>spring-aop</artifactId> <version>2.0.4-1</version> </dependency> <dependency> <groupId>com.sourcelabs.sash</groupId> <artifactId>hibernate</artifactId> <version>3.2.3-2</version> <exclusions> <exclusion> <artifactId>jacc-api</artifactId> <groupId>javax.security</groupId> </exclusion> <exclusion> <artifactId>jta-api</artifactId> <groupId>javax.transaction</groupId> </exclusion> </exclusions> </dependency> <dependency> <groupId>com.sourcelabs.sash</groupId> <artifactId>hibernate-annotations</artifactId> <version>3.3.3-2</version> <exclusions> <exclusion> <artifactId>jacc-api</artifactId> <groupId>javax.security</groupId> </exclusion> <exclusion> <artifactId>jta-api</artifactId> <groupId>javax.transaction</groupId> </exclusion> </exclusions> </dependency> <dependency> <groupId>com.sourcelabs.sash</groupId> <artifactId>hibernate-commons-annotations</artifactId> <version>3.3.3-2</version> <exclusions> <exclusion> <artifactId>jacc-api</artifactId> <groupId>javax.security</groupId> </exclusion> <exclusion> <artifactId>jta-api</artifactId> <groupId>javax.transaction</groupId> </exclusion> <exclusion> <artifactId>jms-api</artifactId> <groupId>javax.jms</groupId> </exclusion> </exclusions> </dependency> <dependency> <groupId>com.sourcelabs.sash</groupId> <artifactId>hibernate-entity-manager</artifactId> <version>3.3.3-2</version> <exclusions> <exclusion> <artifactId>jacc-api</artifactId> <groupId>javax.security</groupId> </exclusion> <exclusion> <artifactId>jta-api</artifactId> <groupId>javax.transaction</groupId> </exclusion> </exclusions> </dependency> <dependency> <groupId>com.sourcelabs.sash</groupId> <artifactId>spring-jpa</artifactId> <version>2.0.4-1</version> <exclusions> <exclusion> <artifactId>jms-api</artifactId> <groupId>javax.jms</groupId> </exclusion> <exclusion> <artifactId>jacc-api</artifactId> <groupId>javax.security</groupId> </exclusion> <exclusion> <artifactId>jta-api</artifactId> <groupId>javax.transaction</groupId> </exclusion> </exclusions> </dependency> <dependency> <groupId>com.sourcelabs.sash</groupId> <artifactId>spring-mock</artifactId> <version>2.0.4-1</version> </dependency> <dependency> <groupId>org.apache.struts</groupId> <artifactId>struts2-core</artifactId> <version>2.0.9</version> </dependency> <dependency> <groupId>org.apache.struts</groupId> <artifactId>struts2-sitemesh-plugin</artifactId> <version>2.0.9</version> </dependency> <dependency> <groupId>org.apache.struts</groupId> <artifactId>struts2-spring-plugin</artifactId> <version>2.0.9</version> </dependency> <dependency> <groupId>opensymphony</groupId> <artifactId>sitemesh</artifactId> <version>2.3</version> </dependency> <dependency> <groupId>javax.persistence</groupId> <artifactId>persistence-api</artifactId> <version>1.0</version> </dependency> <dependency> <groupId>com.sourcelabs.sash</groupId> <artifactId>spring-remoting</artifactId> <version>2.0.4-1</version> </dependency>
Jar Listing
Java 5 |
Java 4 |
---|---|
Axis |
Axis |