Giter VIP home page Giter VIP logo

webforum's Introduction

Web Forum

Build Status Build Status

This is a simple Web Forum using Java Servlets and PostgreSQL.

It was created as the final peer-reviewed assignment for a MOOC on Java advanced concepts on Coursera.

DISCLAIMER: This application is not supposed to be deployed. It's intended just a didactic exercise in Java programming.

Demo

Here is a simple Youtube video demonstrating basic functionality (in Portuguese): https://www.youtube.com/watch?v=qvY-XcWJtRA

webforum's People

Contributors

meunomemauricio avatar

Watchers

 avatar  avatar

webforum's Issues

Intermitent Failure on Unit Tests for User

Tests run: 15, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 1.907 sec <<< FAILURE! - in br.eng.mauriciofreitas.unit.TestUsers
incrementExistingPoints(br.eng.mauriciofreitas.unit.TestUsers)  Time elapsed: 0.023 sec  <<< ERROR!
org.postgresql.util.PSQLException: ERROR: update or delete on table "users" violates foreign key constraint "post_login_fkey" on table "posts"
  Detail: Key (login)=(mauricio) is still referenced from table "posts".
	at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2458)
	at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2158)
	at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:291)
	at org.postgresql.jdbc.PgStatement.executeInternal(PgStatement.java:432)
	at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:358)
	at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:305)
	at org.postgresql.jdbc.PgStatement.executeCachedSql(PgStatement.java:291)
	at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:269)
	at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:265)
	at org.dbunit.database.statement.SimpleStatement.executeBatch(SimpleStatement.java:69)
	at org.dbunit.operation.DeleteAllOperation.execute(DeleteAllOperation.java:126)
	at org.dbunit.operation.CompositeOperation.execute(CompositeOperation.java:79)
	at org.dbunit.AbstractDatabaseTester.executeOperation(AbstractDatabaseTester.java:199)
	at org.dbunit.AbstractDatabaseTester.onSetup(AbstractDatabaseTester.java:109)
	at br.eng.mauriciofreitas.unit.TestUsers.setupDatabase(TestUsers.java:219)
	at br.eng.mauriciofreitas.unit.TestUsers.incrementExistingPoints(TestUsers.java:142)

Seems to be a problem with DBUnit.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.