README markdown
Readme file in GitHub markdown format.
<?xml version="1.0" encoding="UTF-8"?> | |
<persistence version="2.0" | |
xmlns="http://java.sun.com/xml/ns/persistence" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd"> | |
<persistence-unit name="CustomerDBSpringPU" transaction-type="JTA"> | |
<provider>org.eclipse.persistence.jpa.PersistenceProvider</provider> | |
<jta-data-source>jdbc/sample</jta-data-source> | |
<class>customerdb.Customer</class> | |
<class>customerdb.DiscountCode</class> |
<!-- | |
A TomEE 1.5 Resource definition file used to configure application specific resources. | |
Location: <webapp>/WEB-INF/classes/META-INF/resources.xml | |
--> | |
<resources> | |
<Resource id="jdbc/sample" type="DataSource"> | |
JdbcDriver org.apache.derby.jdbc.ClientDriver | |
JdbcUrl jdbc:derby://localhost:1527/sample | |
UserName app | |
Password app |
package net.playermanager.examples; | |
import javax.ws.rs.GET; | |
import javax.ws.rs.Path; | |
import javax.ws.rs.Produces; | |
/** Example resource class hosted at the URI path "/myresource" | |
*/ | |
@Path("/myresource") |
Readme file in GitHub markdown format.
*.class | |
# Package Files # | |
*.jar | |
*.war | |
*.ear |
package net.playermanager.samples.HelloWorld; | |
public class HelloWorldFootballApp { | |
public static void main(String[] args) { | |
System.out.println("Hello World Football"); | |
} | |
} |