Yserz / Auto-B-Day

Auto-B-Day ||| Prototypische Entwicklung eines Systems zum automatischen Versand von Geburtstagsmails

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

#Auto-B-Day


prototypische Entwicklung eines Systems zum automatischen Versand von Geburtstagsmails

#Configure MasterPassword

  1. Open SystemChiperPassword.properties.
  2. Enter a 8 sign password.
  3. Save and close the file.

#Configure SystemAccount

  1. Browse to Auto-B-Day/Auto-B-Day-ejb/src/java.
  2. Rename SystemMailAccountTemplate.properties to SystemMailAccount.properties.
  3. Enter your credentials into the file.
  4. If your working with git, add the SystemMailAccount.properties to the ignore-file.

#Configure SystemMail

  1. Browse to Auto-B-Day/Auto-B-Day-ejb/src/java.
  2. Just change the values in SystemMail.properties as you like, e.g. Changing the port.

#How to Deploy Auto-B-Day

  1. Install an Application Server, e.g. Glassfish.
  1. Configure the Mailsystem and the MasterPassword.
  2. Browse to Auto-B-Day-Folder.
  3. Run the build-script in the Auto-B-Day-Folder with ant.
  • Note: if you want to test, just type ant test or ant test-integration and ant clear to clear the Project-Folder.
  1. Check out the dist-Folder and copy the Auto-B-Day.ear-File into your application server autodeploy-folder.
  2. Set up the Database take care to name the db autobday.
  3. Put a MySQL Connector into the lib-folder of the Glassfish (/glassfish/domains/domain1/lib).
  4. Start the Server.
  5. Go to the admin-console of the server ( http://localhost:4848 )
  6. Set up a JDBC-Connectionpool with name AutoBDayPool for your database and a JDBC-Ressource with the name jdbc/autobday.
  7. Access Auto-B-Day with this URL http://localhost:8080/Auto-B-Day-war/

About

Auto-B-Day ||| Prototypische Entwicklung eines Systems zum automatischen Versand von Geburtstagsmails


Languages

Language:Java 100.0%