Package org.apache.geronimo.test.jpa.entity

Examples of org.apache.geronimo.test.jpa.entity.Author


        BlogPersistenceService service = getBlogPersistenceService();
       
        service.createAuthor("john@gmail.com", new Date(), "John Doe", "JDoe", "Test Name");
        service.createBlogPost("john@gmail.com", "First Blog Entry", "Hello. This is my first blog entry", null);
       
        Author author = service.getAuthor("john@gmail.com");
       
        PrintWriter out = response.getWriter();
        out.println("<html><head><title>OSGi JPA Test Application</title></head></html>");
        out.println("<body><h1>");
        out.println("Blog entry successfully created: " + author.getDisplayName());
        out.println("</h1></body></html>");
    }
View Full Code Here

TOP

Related Classes of org.apache.geronimo.test.jpa.entity.Author

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.