@Override
    public void save(IArticle article) throws ArticleWriteException {
        try {
            em.getTransaction().begin();
            persistResources(article);
            em.persist(article);
            em.getTransaction().commit();
        } catch (IOException e) {
            throw new ArticleWriteException(e.getMessage(), e);
        }
    }