***** ThinkUI J2EE Project Setup Using WSAD 5.1.2 ***** 1. Install WSAD 5.1.2 (Disable use of tabs and use 4 spaces for each indentation level). 2. Install vss plugin and disable VMArgs=-Xj9 (in wsappdev.ini file) 3. Create and map the following projects to VSS: - ThinkUI (J2EE/Enterprise Application Project) - ThinkUICommon (Java/Java Project) - ThinkUIBDO (Java/Java Project) - ThinkUIDAO (Java/Java Project) - ThinkUIXMLProcessor (Java/Java Project) - ThinkUIReportGenerator (Java/Java Project) - ThinkUIEmailNotifier (Java/Java Project) - ThinkUIEJB (EJB/EJB 2.0 Project) - ThinkUIDelegate (Java/Java Project) - ThinkUIWeb (Web/Dynamic Web Project) Notes: ----- Once all files have been mapped, perform a Team/Refresh to retrieve files from VSS (Simply overwrite any files when prompted). Fix all compilation errors by setting up the required build paths for each project. Some projects may require a non-default JRE System Library (i.e. JRE 1.3 or higher). Some projects may require the j2ee.jar file to be included (e.g. XML parser, Cryptography). For EJB projects, need to add the "JavaSource" folder to the build path. 3. Regenerate all EJBs and perform a "Rebuild All". (Generate->Deployment and RMIC Code) 4. Configure WebSphere Test Environment: - Create a new "Server and Server Configuration" for WebSphere 5.0 Test Environment. - Open WTE and add JAAS Authentication entry for ThinkUI_owner/ThinkUI_owner (database user). - Add oracle-jdbc-1.2.zip to ws.ext.dirs (WebSphere specific class path) - Create ThinkUI JDBC Provider and configure Data source "jdbc/ThinkUIDataSource" for URL: jdbc:oracle:thin:@server:1521:ThinkUI (Select thinkui_user for both component and container managed authentication alias and indicate that this data source should be used for CMP). - Also configure the EJB Container to use the ThinkUI Data Source by default. - Finally run the ThinkUI Enterprise Project on the configured WTE (and cross your fingers!).