Skip to content

notmeatall/coachingsoftware

Repository files navigation

coachingsoftware

Download Glassfish 5.0 from: https://javaee.github.io/glassfish/download

Install Glassfish and run the following commands:

  1. Create GlassFish domain:
    asadmin create-domain --savelogin=true coachingeleven

  2. Start GlassFish server:
    asadmin start-domain --verbose coachingeleven

  3. Create JDBC connection pool:
    asadmin create-jdbc-connection-pool --datasourceclassname org.apache.derby.jdbc.ClientDataSource --restype javax.sql.DataSource --property ServerName=localhost:Port=1527:DatabaseName=coachingeleven:User=app:Password=app:ConnectionAttributes="'create=true'" ConnectionPool

  4. Create JDBC datasource:
    asadmin create-jdbc-resource --connectionpoolid ConnectionPool jdbc/coachingeleven

  5. Create JMS queue:
    asadmin create-jms-resource --restype javax.jms.Queue --property Name=PhysicalQueue jms/orderQueue

  6. Create JMS connection factory:
    asadmin create-jms-resource --restype javax.jms.ConnectionFactory jms/connectionFactory

  7. Start the database:
    asadmin start-database

Download Maven from: https://maven.apache.org/
Install maven

Open the project and run the following commands:
mvn clean install -DskipTests
asadmin deploy coachingsoftware-app/target/coachingsoftware-app-1.0.ear

If you need to redeploy the application run:
asadmin redeploy coachingsoftware-app/target/coachingsoftware-app-1.0.ear
and type: coachingsoftware-app

Open your browser and go to: http://localhost:8080/coachingsoftware/

To run all tests, install TestNG on your preferred IDE and run them after the deployment of the application.

Version 1.0.0:

  • Create Teams

  • Create Seasons

  • Create Clubs

  • Create Games (4 types)

  • Create players

  • Add statistics to players and games

  • List players and teams

  • Manage teams, seasons, clubs, games and players

  • IMPORTANT: Currently there are default values set when deploying the application, to log use the credentials username: "elias", password: "elias"

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published