java database project interface