At line 5 changed 8 lines. |
#Load AppFuse |
|
##get from cvs |
|
#Create new instance |
|
##ant new |
|
#Load AppFuse - get from cvs |
#Create new instance via ''ant new'' |
At line 14 removed 1 line. |
|
At line 16 removed 1 line. |
|
At line 18 removed 1 line. |
|
At line 20 removed 1 line. |
|
At line 22 removed 1 line. |
|
At line 25 removed 1 line. |
|
At line 27 removed 1 line. |
|
At line 29 removed 1 line. |
|
At line 31 removed 1 line. |
|
At line 33 removed 1 line. |
|
At line 35 removed 1 line. |
|
At line 37 removed 1 line. |
|
At line 39 removed 3 lines. |
|
#Copy the web/WEB-INF/classes/* to |
|
At line 43 removed 1 line. |
|
At line 45 removed 1 line. |
|
At line 47 removed 1 line. |
|
At line 49 removed 1 line. |
|
At line 51 removed 1 line. |
|
At line 53 removed 1 line. |
|
At line 55 removed 2 lines. |
|
|
At line 58 removed 2 lines. |
|
|
At line 61 removed 1 line. |
|
At line 63 removed 1 line. |
|
At line 65 removed 1 line. |
|
At line 67 removed 1 line. |
|
At line 70 removed 1 line. |
|
At line 72 removed 1 line. |
|
At line 37 added 4 lines. |
##Run Ant setup-db |
##Run Ant package-web |
#Compile WSAD web project |
#Bind the web.xml resource reference for jdbc/<name> to the JNDI name you defined for your datasource |
At line 42 added 2 lines. |
!MySQL Datasource in WSAD/WAS |
Borrowed from: |
At line 76 changed 1 line. |
##Run Ant setup-db |
[http://www.webspherepower.com/issues/issue200403/00001236001.html] |
At line 78 changed 1 line. |
##Run Ant package-web |
{{{JDBC Provider |
# Name: MySQL |
# Description: MySQL JDBC 2.0-compliant Provider configuration |
# Classpath: ${User-defined_JDBC_DRIVER_PATH}/mysql-connector-java-3.1.7-bin.jar |
#(or the appropriate name for the version of MySQL Connector/J that you are using) |
# Native Library Path: <leave blank> |
# Implementation Classname: com.mysql.jdbc.jdbc2.optional.MysqlConnectionPoolDataSource |
At line 80 changed 1 line. |
#Compile WSAD web project |
Data source (defined in the JDBC provider selected above) |
# Name: <data source name> |
# JNDI (Java Naming and Directory Interface) Name: jdbc/<data source name> |
# Description: <data source description> |
# Statement Cache Size: 10 (the default) |
# Category: <leave blank> |
# Datasource Helper Classname: com.ibm.websphere.rsadapter.ConnectJDBCDataStoreHelper |
# Component-managed Authentication Alias: <leave blank> |
# Container-managed Authentication Alias: <leave blank> |
At line 82 changed 1 line. |
#Bind the web.xml resource reference for jdbc/<name> to the JNDI name you defined for your datasource |
Resource Properties (defined in the data source selected above) |
databaseName java.lang.String <database-name>?autoReconnect=true&useUnicode=true&characterEncoding=utf-8 |
factory java.lang.String com.mysql.jdbc.jdbc2.optional.MysqlDataSourceFactory |
password java.lang.String <password> |
port java.lang.String 3306 (or your MySQL port, if you have changed it) |
serverName java.lang.String <server-name> |
user java.lang.String <user-name> |
}}} |
At line 74 added 15 lines. |
|
|
!!AppFuse v1.9 Pre-built WSAD 5.1 Workspace Running on IBM WebSphere 5.1 |
Released March 13 2006 by Joel Cohen [email protected] |
|
To make getting started with appfuse in WSAD easier, Joel Cohen has provided a pre-built |
WSAD workspace, tested, and ready to run/develop/debug Appfuse on WebSphere 5.1 server. |
|
The view layer is Struts. The DAO layer is Hibernate (w/ |
MySQL database). The workspace contains the minimal amount of |
libraries to make the application run. You can download the |
complete WSAD workspace and be up and running within a |
couple of minutes! |
|
Download the workspace below: |